]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: add DAX2 support to dax driver
authorAllen Pais <allen.pais@oracle.com>
Thu, 22 Jun 2017 07:06:21 +0000 (12:36 +0530)
committerAllen Pais <allen.pais@oracle.com>
Sat, 24 Jun 2017 01:27:49 +0000 (06:57 +0530)
commite36ca7533dce9818f600ca286086fdf0cb348f90
tree2dbb1884c8caedcd6ca4376ca050827f10e25bb7
parent26a0620352fb9731d8a0521c48cb48c9a46a3c50
sparc64: add DAX2 support to dax driver

Orabug: 25904994

Introduce DAX2 support in the driver. This involves negotiating the right
version with hypervisor as well as exposing a new INIT_V2 ioctl. This new
ioctl will return failure if DAX2 is not present on the system, otherwise
it will attempt to initialize the DAX2. A user should first call INIT_V2
and on failure call INIT_V1. See Documentation/sparc/dax.txt for more
detail.

Signed-off-by: Jonathan Helman <jonathan.helman@oracle.com>
Reviewed-by: Sanath Kumar <sanath.s.kumar@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
Documentation/sparc/dax.txt
arch/sparc/dax/dax_impl.h
arch/sparc/dax/dax_main.c
arch/sparc/dax/sys_dax.h
arch/sparc/include/asm/hypervisor.h
arch/sparc/kernel/hvapi.c