ARCv2: LLSC: software backoff is NOT needed starting HS2.1c
authorVineet Gupta <vgupta@synopsys.com>
Tue, 15 Mar 2016 06:06:43 +0000 (11:36 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Tue, 15 Mar 2016 10:34:44 +0000 (16:04 +0530)
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/Kconfig
arch/arc/kernel/setup.c

index 7981ea86c5bd47c2ab6361cc0af35d963830ede9..8ce09280122131177d3907c961b7ce5a59480f44 100644 (file)
@@ -387,7 +387,7 @@ config ARC_HAS_LLSC
 
 config ARC_STAR_9000923308
        bool "Workaround for llock/scond livelock"
-       default y
+       default n
        depends on ISA_ARCV2 && SMP && ARC_HAS_LLSC
 
 config ARC_HAS_SWAPE
index cdc821df1809209df9792bcf9ecada0bc991753f..fa1fa9aa0e0b1876b0bf0ca11c724cb5f777f28b 100644 (file)
@@ -357,11 +357,6 @@ static void arc_chk_core_config(void)
                pr_warn("CONFIG_ARC_FPU_SAVE_RESTORE needed for working apps\n");
        else if (!cpu->extn.fpu_dp && fpu_enabled)
                panic("FPU non-existent, disable CONFIG_ARC_FPU_SAVE_RESTORE\n");
-
-       if (is_isa_arcv2() && IS_ENABLED(CONFIG_SMP) && cpu->isa.atomic &&
-           IS_ENABLED(CONFIG_ARC_HAS_LLSC) &&
-           !IS_ENABLED(CONFIG_ARC_STAR_9000923308))
-               panic("llock/scond livelock workaround missing\n");
 }
 
 /*