[PATCH v3 0/2] EEH Error Injection Support for VFIO Devices

Gavin Shan
2015-03-20T19:59:44Z

Those two patches are extention to EEH support for VFIO PCI devices,
which allows to inject EEH errors to VFIO PCI devices from userspace
for testing purpose.

Changelog
=========
v2 -> v3:
* Use offsetofend(), instead of sizeof(struct vfio_eeh_pe_op)
to calculate argument buffer size.
v1 -> v2:
* Use EEH_ERR_FUNC_{MIN,MAX} to validate PCI error function.
* Put additional arguments for error injection to union in
struct vfio_eeh_pe_op.

Gavin Shan (2):
powerpc/eeh: Introduce eeh_pe_inject_err()
drivers/vfio: Support EEH error injection

Documentation/vfio.txt | 12 ++++++++++++
arch/powerpc/include/asm/eeh.h | 26 ++++++++++++++++++++++++++
arch/powerpc/kernel/eeh.c | 35 +++++++++++++++++++++++++++++++++++
drivers/vfio/vfio_spapr_eeh.c | 10 ++++++++++
include/uapi/linux/vfio.h | 36 +++++++++++++++++++++++++++++++++++-
5 files changed, 118 insertions(+), 1 deletion(-)

--
1.8.3.2