linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] EEH Error Injection Support for VFIO Devices
@ 2015-03-20 19:58 Gavin Shan
  2015-03-20 19:58 ` [PATCH v3 1/2] powerpc/eeh: Introduce eeh_pe_inject_err() Gavin Shan
  2015-03-20 19:58 ` [PATCH v3 2/2] drivers/vfio: Support EEH error injection Gavin Shan
  0 siblings, 2 replies; 14+ messages in thread
From: Gavin Shan @ 2015-03-20 19:58 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: kvm, aik, Gavin Shan, agraf, alex.williamson, david

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-03-24  2:42 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-20 19:58 [PATCH v3 0/2] EEH Error Injection Support for VFIO Devices Gavin Shan
2015-03-20 19:58 ` [PATCH v3 1/2] powerpc/eeh: Introduce eeh_pe_inject_err() Gavin Shan
2015-03-23  1:33   ` David Gibson
2015-03-20 19:58 ` [PATCH v3 2/2] drivers/vfio: Support EEH error injection Gavin Shan
2015-03-23  1:39   ` David Gibson
2015-03-23  1:56     ` Gavin Shan
2015-03-23  3:43       ` David Gibson
2015-03-23  5:03         ` Gavin Shan
2015-03-23  5:10           ` David Gibson
2015-03-23  5:20             ` Gavin Shan
2015-03-23 16:14               ` Alex Williamson
2015-03-23 22:47                 ` Gavin Shan
2015-03-24  1:22                   ` David Gibson
2015-03-24  2:41                     ` Gavin Shan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).