Skip to contentSkip to conversation

Patch "ARCv2: Check for LL-SC livelock only if LLSC is enabled" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Jul 13, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

ARCv2: Check for LL-SC livelock only if LLSC is enabled

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
arcv2-check-for-ll-sc-livelock-only-if-llsc-is-enabled.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 4d0cb15fccd1db9dac0c964b2ccf10874e69f5b8 Mon Sep 17 00:00:00 2001

From: Vineet Gupta <[email protected]>
Date: Fri, 29 Jan 2016 16:47:44 +0530
Subject: ARCv2: Check for LL-SC livelock only if LLSC is enabled

From: Vineet Gupta <[email protected]>

commit 4d0cb15fccd1db9dac0c964b2ccf10874e69f5b8 upstream.

---
 arch/arc/kernel/setup.c |    1 +
 1 file changed, 1 insertion(+)
arch/arc/kernel/setup.c +1 -0
@@ -334,6 +334,7 @@ static void arc_chk_core_config(void)
 		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");
 }

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/arcv2-check-for-ll-sc-livelock-only-if-llsc-is-enabled.patch queue-4.4/arcv2-llsc-software-backoff-is-not-needed-starting-hs2.1c.patch