summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/rtasd.c
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2018-10-15 01:18:27 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2018-10-18 15:56:17 +0200
commit4c5d87db497832c493ed296157bd1749dddc69f1 (patch)
tree34a3f35c2fa01a60110a6b5839452091839bbd6c /arch/powerpc/kernel/rtasd.c
parentpowerpc/traps: fix machine check handlers to use pr_cont() (diff)
downloadlinux-4c5d87db497832c493ed296157bd1749dddc69f1.tar.xz
linux-4c5d87db497832c493ed296157bd1749dddc69f1.zip
powerpc/pseries: PAPR persistent memory support
This patch implements support for discovering storage class memory devices at boot and for handling hotplug of new regions via RTAS hotplug events. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> [mpe: Fix CONFIG_MEMORY_HOTPLUG=n build] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/rtasd.c')
-rw-r--r--arch/powerpc/kernel/rtasd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/rtasd.c b/arch/powerpc/kernel/rtasd.c
index c1378661b12f..38cadae4ca4f 100644
--- a/arch/powerpc/kernel/rtasd.c
+++ b/arch/powerpc/kernel/rtasd.c
@@ -91,6 +91,8 @@ static char *rtas_event_type(int type)
return "Dump Notification Event";
case RTAS_TYPE_PRRN:
return "Platform Resource Reassignment Event";
+ case RTAS_TYPE_HOTPLUG:
+ return "Hotplug Event";
}
return rtas_type[0];