]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit68cbbc3a9d1fc231810b2490bca73b3b444ef542
treeaa46575bc541b0680021a47e80df098bcc16789b
parentec33d36e5ab5d52d59a8f696f7efb682bfc58494
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