summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/pseries/Makefile
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2018-10-15 02:18:28 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2018-10-18 16:56:17 +0300
commitb5beae5e224f1c72c4482b0ab36fc3d89481a6b2 (patch)
tree84e8f94b18e4df68f701c866840d86d4e736e60d /arch/powerpc/platforms/pseries/Makefile
parent4c5d87db497832c493ed296157bd1749dddc69f1 (diff)
downloadlinux-b5beae5e224f1c72c4482b0ab36fc3d89481a6b2.tar.xz
powerpc/pseries: Add driver for PAPR SCM regions
Adds a driver that implements support for enabling and accessing PAPR SCM regions. Unfortunately due to how the PAPR interface works we can't use the existing of_pmem driver (yet) because: a) The guest is required to use the H_SCM_BIND_MEM h-call to add add the SCM region to it's physical address space, and b) There is currently no mechanism for relating a bare of_pmem region to the backing DIMM (or not-a-DIMM for our case). Both of these are easily handled by rolling the functionality into a seperate driver so here we are... Acked-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/pseries/Makefile')
-rw-r--r--arch/powerpc/platforms/pseries/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/Makefile b/arch/powerpc/platforms/pseries/Makefile
index 892b27ced973..a43ec843c8e2 100644
--- a/arch/powerpc/platforms/pseries/Makefile
+++ b/arch/powerpc/platforms/pseries/Makefile
@@ -24,6 +24,7 @@ obj-$(CONFIG_IO_EVENT_IRQ) += io_event_irq.o
obj-$(CONFIG_LPARCFG) += lparcfg.o
obj-$(CONFIG_IBMVIO) += vio.o
obj-$(CONFIG_IBMEBUS) += ibmebus.o
+obj-$(CONFIG_PAPR_SCM) += papr_scm.o
ifdef CONFIG_PPC_PSERIES
obj-$(CONFIG_SUSPEND) += suspend.o