Skip to contentSkip to conversation

Patch "powerpc/64s: Simple RFI macro conversions" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Feb 17, 2018

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

powerpc/64s: Simple RFI macro conversions

to the 4.9-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:
powerpc-64s-simple-rfi-macro-conversions.patch
and it can be found in the queue-4.9 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 222f20f140623ef6033491d0103ee0875fe87d35 Mon Sep 17 00:00:00 2001

From: Nicholas Piggin <[email protected]>
Date: Wed, 10 Jan 2018 03:07:15 +1100
Subject: powerpc/64s: Simple RFI macro conversions

From: Nicholas Piggin <[email protected]>

commit 222f20f140623ef6033491d0103ee0875fe87d35 upstream.

[just the top part of this commit, to fix a 4.9.y build error - gregkh]

This commit does simple conversions of rfi/rfid to the new macros that include the expected destination context. By simple we mean cases where there is a single well known destination context, and it's simply a matter of substituting the instruction for the appropriate macro.

---
 arch/powerpc/kernel/entry_64.S |    5 +++++
 1 file changed, 5 insertions(+)
arch/powerpc/kernel/entry_64.S +5 -0
@@ -39,6 +39,11 @@
 #include <asm/tm.h>
 #include <asm/ppc-opcode.h>
 #include <asm/export.h>
+#ifdef CONFIG_PPC_BOOK3S
+#include <asm/exception-64s.h>
+#else
+#include <asm/exception-64e.h>
+#endif
 
 /*
  * System calls.

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

queue-4.9/powerpc-64s-simple-rfi-macro-conversions.patch