Patchwork [10/11] Enable PRRN

login
register
mail settings
Submitter Nathan Fontenot
Date March 9, 2013, 4:08 a.m.
Message ID <513AB5CC.1060006@linux.vnet.ibm.com>
Download mbox | patch
Permalink /patch/226307/
State Superseded, archived
Headers show

Comments

Nathan Fontenot - March 9, 2013, 4:08 a.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-08 19:57:14.000000000 -0600
+++ powerpc/arch/powerpc/kernel/prom_init.c	2013-03-08 19:58:18.000000000 -0600
@@ -689,7 +689,7 @@ 
 	OV5_FEAT(OV5_MSI),
 	0,
 	OV5_FEAT(OV5_CMO) | OV5_FEAT(OV5_XCMO),
-	OV5_FEAT(OV5_TYPE1_AFFINITY),
+	OV5_FEAT(OV5_TYPE1_AFFINITY) | OV5_FEAT(OV5_PRRN),
 	0,
 	0,
 	0,