Skip to content

Commit 582ebc1

Browse files
pavelvkozlovabrodkin
authored andcommitted
ARCv3:HS5x: update defconfigs for HS5x and enable atld
Update hs5x defconfigs. Enable use of LLSC and atld instructions for UP and disable LLSC and leave only atld atomics for SMP (LLSC could be not desirable because of llock/scond livelock issue). Signed-off-by: Pavel Kozlov <pavel.kozlov@synopsys.com>
1 parent 974ed6c commit 582ebc1

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

arch/arc/configs/haps_hs5x_defconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ CONFIG_PERF_EVENTS=y
1818
CONFIG_SLAB=y
1919
CONFIG_ISA_ARCV3=y
2020
CONFIG_ARC_CPU_HS5X=y
21-
# CONFIG_ARC_HAS_LL64 is not set
22-
# CONFIG_ARC_HAS_ACCL_REGS is not set
21+
CONFIG_ARC_HAS_ATLD=y
2322
CONFIG_LINUX_LINK_BASE=0x00000000
2423
CONFIG_LINUX_MAP_SIZE=0x60000000
2524
CONFIG_ARC_BUILTIN_DTB_NAME="haps_hs5x"

arch/arc/configs/haps_hs5x_smp_defconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ CONFIG_SLAB=y
1919
CONFIG_SMP=y
2020
CONFIG_ISA_ARCV3=y
2121
CONFIG_ARC_CPU_HS5X=y
22-
# CONFIG_ARC_HAS_LL64 is not set
23-
# CONFIG_ARC_HAS_ACCL_REGS is not set
22+
# CONFIG_ARC_HAS_LLSC is not set
23+
CONFIG_ARC_HAS_ATLD=y
2424
CONFIG_LINUX_LINK_BASE=0x00000000
2525
CONFIG_LINUX_MAP_SIZE=0x60000000
2626
CONFIG_ARC_BUILTIN_DTB_NAME="haps_hs5x_idu"

0 commit comments

Comments
 (0)