aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2017-01-25 15:25:11 -0800
committerDan Williams <dan.j.williams@intel.com>2017-04-19 15:14:36 -0700
commit60fcd55cc236dbb3d6587f48120f00f59cb08540 (patch)
tree00da188329133a05706b69a0add1ee06033ff6aa /arch/powerpc/platforms
parentpmem: add dax_operations support (diff)
downloadlinux-dev-60fcd55cc236dbb3d6587f48120f00f59cb08540.tar.xz
linux-dev-60fcd55cc236dbb3d6587f48120f00f59cb08540.zip
axon_ram: add dax_operations support
Setup a dax_device to have the same lifetime as the axon_ram block device and add a ->direct_access() method that is equivalent to axon_ram_direct_access(). Once fs/dax.c has been converted to use dax_operations the old axon_ram_direct_access() will be removed. Reported-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r--arch/powerpc/platforms/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig
index 7e3a2ebba29b..33244e3d9375 100644
--- a/arch/powerpc/platforms/Kconfig
+++ b/arch/powerpc/platforms/Kconfig
@@ -284,6 +284,7 @@ config CPM2
config AXON_RAM
tristate "Axon DDR2 memory device driver"
depends on PPC_IBM_CELL_BLADE && BLOCK
+ select DAX
default m
help
It registers one block device per Axon's DDR2 memory bank found