]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: add ccb kill and info to DAX driver
authorJonathan Helman <jonathan.helman@oracle.com>
Fri, 21 Apr 2017 01:15:44 +0000 (18:15 -0700)
committerAllen Pais <allen.pais@oracle.com>
Fri, 16 Jun 2017 08:47:20 +0000 (14:17 +0530)
commitc04d24ab02084b65546c4a169eb11d847a105b89
treeca4eb43b79b3360cd87cb40a818ab7471929bc98
parent2fef41cdc75563dcce211ad1bd6ec4035d3a8ad5
sparc64: add ccb kill and info to DAX driver

Orabug: 25825763

Introduces ccb kill and ccb info into the DAX driver. An application may
use this functionality by specifying a completion area offset, which
corresponds to a submitted CCB, to the new ccb_kill and ccb_info ioctls.
This completion area offset is converted into an RA and provided to the
hypervisor. Additionally, this patch adds the functionality to kill ccbs
which timeout within the driver (during cleanup or any of the dax/fw
functionality tests).

Signed-off-by: Jonathan Helman <jonathan.helman@oracle.com>
Reviewed-by: Sanath Kumar <sanath.s.kumar@oracle.com>
Reviewed-by: Rob Gardner <rob.gardner@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/dax_misc.c
arch/sparc/dax/sys_dax.h
arch/sparc/include/asm/hypervisor.h
arch/sparc/kernel/hvcalls.S
arch/sparc/kernel/sparc_ksyms_64.c