powerpc/pseries: PAPR persistent memory support
authorOliver O'Halloran <oohall@gmail.com>
Sun, 14 Oct 2018 23:18:27 +0000 (10:18 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 18 Oct 2018 13:56:17 +0000 (00:56 +1100)
commit4c5d87db497832c493ed296157bd1749dddc69f1
tree34a3f35c2fa01a60110a6b5839452091839bbd6c
parent422123ccb9a13dcea2e008194ae6c262fbb64604
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>
arch/powerpc/include/asm/firmware.h
arch/powerpc/include/asm/hvcall.h
arch/powerpc/include/asm/rtas.h
arch/powerpc/kernel/rtasd.c
arch/powerpc/platforms/pseries/Makefile
arch/powerpc/platforms/pseries/dlpar.c
arch/powerpc/platforms/pseries/firmware.c
arch/powerpc/platforms/pseries/pmem.c [new file with mode: 0644]
arch/powerpc/platforms/pseries/pseries.h
arch/powerpc/platforms/pseries/ras.c