summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2016-03-15 07:06:43 +0100
committerVineet Gupta <vgupta@synopsys.com>2016-03-15 11:34:44 +0100
commitb31ac42697bef4a3aa5d0aa42375a55657f57174 (patch)
tree8aaa78c949e9e3ba66d4ed7c900d990af662c70e /arch
parentARC: mm: Use virt_to_pfn() for addr >> PAGE_SHIFT pattern (diff)
downloadlinux-b31ac42697bef4a3aa5d0aa42375a55657f57174.tar.xz
linux-b31ac42697bef4a3aa5d0aa42375a55657f57174.zip
ARCv2: LLSC: software backoff is NOT needed starting HS2.1c
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arc/Kconfig2
-rw-r--r--arch/arc/kernel/setup.c5
2 files changed, 1 insertions, 6 deletions
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index 7981ea86c5bd..8ce092801221 100644
--- a/arch/arc/Kconfig
+++ b/arch/arc/Kconfig
@@ -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
diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c
index cdc821df1809..fa1fa9aa0e0b 100644
--- a/arch/arc/kernel/setup.c
+++ b/arch/arc/kernel/setup.c
@@ -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");
}
/*