Skip to content

Commit 5928543

Browse files
committed
ARCv3: Default ATLD/LLSC configuration
HS5x: ATLD=y LLSC=n HS6x: ATLD=n LLSC=y
1 parent 277d160 commit 5928543

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

arch/arc/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ config ARC_CANT_LLSC
425425

426426
config ARC_HAS_LLSC
427427
bool "Insn: LLOCK/SCOND (efficient atomic ops)"
428-
default y
428+
default n
429429
depends on !ARC_CANT_LLSC
430430

431431
config ARC_HAS_ATLD

arch/arc/configs/haps_arc64_defconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ CONFIG_EXPERT=y
1616
CONFIG_PERF_EVENTS=y
1717
# CONFIG_COMPAT_BRK is not set
1818
CONFIG_SLAB=y
19+
CONFIG_ARC_HAS_LLSC=y
20+
# CONFIG_ARC_HAS_ATLD is not set
1921
CONFIG_ISA_ARCV3=y
2022
CONFIG_PGTABLE_LEVELS=4
2123
# CONFIG_ARC_HAS_ACCL_REGS is not set

arch/arc/configs/haps_arc64_smp_defconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ CONFIG_PERF_EVENTS=y
1717
# CONFIG_COMPAT_BRK is not set
1818
CONFIG_SLAB=y
1919
CONFIG_SMP=y
20+
CONFIG_ARC_HAS_LLSC=y
21+
# CONFIG_ARC_HAS_ATLD is not set
2022
CONFIG_ISA_ARCV3=y
2123
CONFIG_PGTABLE_LEVELS=4
2224
# CONFIG_ARC_HAS_ACCL_REGS is not set

0 commit comments

Comments
 (0)