powerpc/pseries: Enable PRRN handling
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Wed, 24 Apr 2013 06:06:17 +0000 (06:06 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 26 Apr 2013 06:08:26 +0000 (16:08 +1000)
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 for PRRN and will allow the firmware to
report PRRN events via the RTAS event-scan mechanism.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/prom_init.c

index 1b0000a..5eccda9 100644 (file)
@@ -698,7 +698,7 @@ unsigned char ibm_architecture_vec[] = {
 #else
        0,
 #endif
-       OV5_FEAT(OV5_TYPE1_AFFINITY),
+       OV5_FEAT(OV5_TYPE1_AFFINITY) | OV5_FEAT(OV5_PRRN),
        0,
        0,
        0,