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 <nf...@linux.vnet.ibm.com>
---
 arch/powerpc/kernel/prom_init.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to