Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1449820 > unrolled thread

[PATCH 4.4 049/146] ARCv2: LLSC: software backoff is NOT needed starting HS2.1c

Started byGreg Kroah-Hartman <gregkh@linuxfoundation.org>
First post2016-07-25 23:00 +0200
Last post2016-07-25 23:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 4.4 049/146] ARCv2: LLSC: software backoff is NOT needed starting HS2.1c Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-07-25 23:00 +0200

#1449820 — [PATCH 4.4 049/146] ARCv2: LLSC: software backoff is NOT needed starting HS2.1c

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2016-07-25 23:00 +0200
Subject[PATCH 4.4 049/146] ARCv2: LLSC: software backoff is NOT needed starting HS2.1c
Message-ID<rYV8L-Pn-49@gated-at.bofh.it>
4.4-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Vineet Gupta <vgupta@synopsys.com>

commit b31ac42697bef4a3aa5d0aa42375a55657f57174 upstream.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 arch/arc/Kconfig        |    2 +-
 arch/arc/kernel/setup.c |    5 -----
 2 files changed, 1 insertion(+), 6 deletions(-)

--- 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
--- a/arch/arc/kernel/setup.c
+++ b/arch/arc/kernel/setup.c
@@ -332,11 +332,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");
 }
 
 /*

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web