]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/vfio: Support EEH error injection
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Thu, 26 Mar 2015 05:42:09 +0000 (16:42 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 12 May 2015 10:33:35 +0000 (20:33 +1000)
commitc9a46739ad926335fc995f677ac466f4783f6dac
treeaa46575bc541b0680021a47e80df098bcc16789b
parent49b69eb9bfd98356c35b1e51b522fa7e084faf43
drivers/vfio: Support EEH error injection

The patch adds one more EEH sub-command (VFIO_EEH_PE_INJECT_ERR)
to inject the specified EEH error, which is represented by
(struct vfio_eeh_pe_err), to the indicated PE for testing purpose.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Documentation/vfio.txt
drivers/vfio/vfio_spapr_eeh.c
include/uapi/linux/vfio.h