Skip to content

Commit b31ac42

Browse files
committed
ARCv2: LLSC: software backoff is NOT needed starting HS2.1c
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
1 parent c2ff5cf commit b31ac42

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

‎arch/arc/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ config ARC_HAS_LLSC
387387

388388
config ARC_STAR_9000923308
389389
bool "Workaround for llock/scond livelock"
390-
default y
390+
default n
391391
depends on ISA_ARCV2 && SMP && ARC_HAS_LLSC
392392

393393
config ARC_HAS_SWAPE

‎arch/arc/kernel/setup.c‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -357,11 +357,6 @@ static void arc_chk_core_config(void)
357357
pr_warn("CONFIG_ARC_FPU_SAVE_RESTORE needed for working apps\n");
358358
else if (!cpu->extn.fpu_dp && fpu_enabled)
359359
panic("FPU non-existent, disable CONFIG_ARC_FPU_SAVE_RESTORE\n");
360-
361-
if (is_isa_arcv2() && IS_ENABLED(CONFIG_SMP) && cpu->isa.atomic &&
362-
IS_ENABLED(CONFIG_ARC_HAS_LLSC) &&
363-
!IS_ENABLED(CONFIG_ARC_STAR_9000923308))
364-
panic("llock/scond livelock workaround missing\n");
365360
}
366361

367362
/*

0 commit comments

Comments
 (0)