Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARCv2: LLSC: software backoff is NOT needed starting HS2.1c

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>

+1 -6
+1 -1
arch/arc/Kconfig
··· 387 387 388 388 config ARC_STAR_9000923308 389 389 bool "Workaround for llock/scond livelock" 390 - default y 390 + default n 391 391 depends on ISA_ARCV2 && SMP && ARC_HAS_LLSC 392 392 393 393 config ARC_HAS_SWAPE
-5
arch/arc/kernel/setup.c
··· 357 357 pr_warn("CONFIG_ARC_FPU_SAVE_RESTORE needed for working apps\n"); 358 358 else if (!cpu->extn.fpu_dp && fpu_enabled) 359 359 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"); 365 360 } 366 361 367 362 /*