Re: [Qemu-devel] [PATCH v5 4/4] sPAPR: Support RTAS call ibm, errinjct

2015-08-20 Thread Thomas Huth
On 18/08/15 17:26, Gavin Shan wrote: > On Tue, Aug 18, 2015 at 11:04:59AM -0700, Thomas Huth wrote: >> On 17/08/15 18:47, Gavin Shan wrote: >>> The patch supports RTAS call "ibm,errinjct" to allow injecting >>> EEH errors to VFIO PCI devices. The implementation is similiar >>> to EEH support for VF

Re: [Qemu-devel] [PATCH v5 4/4] sPAPR: Support RTAS call ibm, errinjct

2015-08-20 Thread Gavin Shan
On Wed, Aug 19, 2015 at 08:48:20AM -0700, Thomas Huth wrote: >On 18/08/15 17:26, Gavin Shan wrote: >> On Tue, Aug 18, 2015 at 11:04:59AM -0700, Thomas Huth wrote: >>> On 17/08/15 18:47, Gavin Shan wrote: The patch supports RTAS call "ibm,errinjct" to allow injecting EEH errors to VFIO PCI

Re: [Qemu-devel] [PATCH v5 4/4] sPAPR: Support RTAS call ibm, errinjct

2015-08-18 Thread David Gibson
On Wed, Aug 19, 2015 at 10:26:04AM +1000, Gavin Shan wrote: > On Tue, Aug 18, 2015 at 11:04:59AM -0700, Thomas Huth wrote: > >On 17/08/15 18:47, Gavin Shan wrote: > >> The patch supports RTAS call "ibm,errinjct" to allow injecting > >> EEH errors to VFIO PCI devices. The implementation is similiar

Re: [Qemu-devel] [PATCH v5 4/4] sPAPR: Support RTAS call ibm, errinjct

2015-08-18 Thread Gavin Shan
On Tue, Aug 18, 2015 at 11:04:59AM -0700, Thomas Huth wrote: >On 17/08/15 18:47, Gavin Shan wrote: >> The patch supports RTAS call "ibm,errinjct" to allow injecting >> EEH errors to VFIO PCI devices. The implementation is similiar >> to EEH support for VFIO PCI devices: The RTAS request is captured

Re: [Qemu-devel] [PATCH v5 4/4] sPAPR: Support RTAS call ibm, errinjct

2015-08-18 Thread Thomas Huth
On 17/08/15 18:47, Gavin Shan wrote: > The patch supports RTAS call "ibm,errinjct" to allow injecting > EEH errors to VFIO PCI devices. The implementation is similiar > to EEH support for VFIO PCI devices: The RTAS request is captured > by QEMU and routed to sPAPRPHBClass::eeh_inject_error() where

[Qemu-devel] [PATCH v5 4/4] sPAPR: Support RTAS call ibm,errinjct

2015-08-17 Thread Gavin Shan
The patch supports RTAS call "ibm,errinjct" to allow injecting EEH errors to VFIO PCI devices. The implementation is similiar to EEH support for VFIO PCI devices: The RTAS request is captured by QEMU and routed to sPAPRPHBClass::eeh_inject_error() where the request is translated to VFIO container I