foss-for-synopsys-dwc-arc-processors / linux

Helpful resources for users & developers of Linux kernel for ARC
22 stars 13 forks source link

ARCv3: Default ATLD=y LLSC=n configuration #165

Open xxkent opened 6 months ago

pavelvkozlov commented 6 months ago

Why do you need this change? The default haps_hs5x_smp_defconfig already has:

# CONFIG_ARC_HAS_LLSC is not set
CONFIG_ARC_HAS_ATLD=y

See commit: https://github.com/foss-for-synopsys-dwc-arc-processors/linux/commit/da7891b5f2e42e85c5ded4a1588d4d0f2598dfd0

xxkent commented 6 months ago

When we have ARC_HAS_LLSC: default y in Kconfig, after applying haps_hs5x_smp_defconfig, we get both ATLD and LLSC are set, but we don't want this, right? When we set ARC_HAS_LLSC: default n then we need also explicitly specify LLSC=y for HS6x_UP and HS6x_SMP defconfigs since ATLD is not applicable for HS6x yet.