Patchwork [v2,10/11] Enable PRRN

login
register
mail settings
Submitter Nathan Fontenot
Date March 25, 2013, 7:01 p.m.
Message ID <51509F03.6040501@linux.vnet.ibm.com>
Download mbox | patch
Permalink /patch/230976/
State Accepted, archived
Commit 1b1218d32efdc81134eeb908935a18659cb3d9d7
Delegated to: Michael Ellerman
Headers show

Comments

Nathan Fontenot - March 25, 2013, 7:01 p.m.
The Linux kernel and platform firmware negotiate their mutual support
of the PRRN option via the ibm,client-architecture-support interface.
This patch simply sets the appropriate fields in the client architecture
vector to indicate Linux support and will cause the firmware to begin
sending PRRN events via the RTAS event-scan mechanism.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
---
 arch/powerpc/kernel/prom_init.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

Index: powerpc/arch/powerpc/kernel/prom_init.c
===================================================================
--- powerpc.orig/arch/powerpc/kernel/prom_init.c	2013-03-20 12:25:38.000000000 -0500
+++ powerpc/arch/powerpc/kernel/prom_init.c	2013-03-20 12:27:50.000000000 -0500
@@ -698,7 +698,7 @@ 
 #else
 	0,
 #endif
-	OV5_FEAT(OV5_TYPE1_AFFINITY),
+	OV5_FEAT(OV5_TYPE1_AFFINITY) | OV5_FEAT(OV5_PRRN),
 	0,
 	0,
 	0,