Re: [PATCH v3 2/2] drivers/vfio: Support EEH error injection

2015-03-23 Thread Gavin Shan
On Tue, Mar 24, 2015 at 12:22:25PM +1100, David Gibson wrote: >On Tue, Mar 24, 2015 at 09:47:54AM +1100, Gavin Shan wrote: >> On Mon, Mar 23, 2015 at 10:14:59AM -0600, Alex Williamson wrote: >> >On Mon, 2015-03-23 at 16:20 +1100, Gavin Shan wrote: >> >> On Mon, Mar 23, 2015 at 04:10:20PM +1100, Dav

Re: [PATCH v3 2/2] drivers/vfio: Support EEH error injection

2015-03-23 Thread David Gibson
On Tue, Mar 24, 2015 at 09:47:54AM +1100, Gavin Shan wrote: > On Mon, Mar 23, 2015 at 10:14:59AM -0600, Alex Williamson wrote: > >On Mon, 2015-03-23 at 16:20 +1100, Gavin Shan wrote: > >> On Mon, Mar 23, 2015 at 04:10:20PM +1100, David Gibson wrote: > >> >On Mon, Mar 23, 2015 at 04:03:59PM +1100, G

Re: [PATCH v3 2/2] drivers/vfio: Support EEH error injection

2015-03-23 Thread Gavin Shan
On Mon, Mar 23, 2015 at 10:14:59AM -0600, Alex Williamson wrote: >On Mon, 2015-03-23 at 16:20 +1100, Gavin Shan wrote: >> On Mon, Mar 23, 2015 at 04:10:20PM +1100, David Gibson wrote: >> >On Mon, Mar 23, 2015 at 04:03:59PM +1100, Gavin Shan wrote: >> >> On Mon, Mar 23, 2015 at 02:43:03PM +1100, Dav

Re: [PATCH v3 2/2] drivers/vfio: Support EEH error injection

2015-03-23 Thread Alex Williamson
On Mon, 2015-03-23 at 16:20 +1100, Gavin Shan wrote: > On Mon, Mar 23, 2015 at 04:10:20PM +1100, David Gibson wrote: > >On Mon, Mar 23, 2015 at 04:03:59PM +1100, Gavin Shan wrote: > >> On Mon, Mar 23, 2015 at 02:43:03PM +1100, David Gibson wrote: > >> >On Mon, Mar 23, 2015 at 12:56:36PM +1100, Gavi

Re: [PATCH v3 2/2] drivers/vfio: Support EEH error injection

2015-03-22 Thread Gavin Shan
On Mon, Mar 23, 2015 at 04:10:20PM +1100, David Gibson wrote: >On Mon, Mar 23, 2015 at 04:03:59PM +1100, Gavin Shan wrote: >> On Mon, Mar 23, 2015 at 02:43:03PM +1100, David Gibson wrote: >> >On Mon, Mar 23, 2015 at 12:56:36PM +1100, Gavin Shan wrote: >> >> On Mon, Mar 23, 2015 at 12:39:45PM +1100,

Re: [PATCH v3 2/2] drivers/vfio: Support EEH error injection

2015-03-22 Thread David Gibson
On Mon, Mar 23, 2015 at 04:03:59PM +1100, Gavin Shan wrote: > On Mon, Mar 23, 2015 at 02:43:03PM +1100, David Gibson wrote: > >On Mon, Mar 23, 2015 at 12:56:36PM +1100, Gavin Shan wrote: > >> On Mon, Mar 23, 2015 at 12:39:45PM +1100, David Gibson wrote: > >> >On Sat, Mar 21, 2015 at 06:58:45AM +110

Re: [PATCH v3 2/2] drivers/vfio: Support EEH error injection

2015-03-22 Thread Gavin Shan
On Mon, Mar 23, 2015 at 02:43:03PM +1100, David Gibson wrote: >On Mon, Mar 23, 2015 at 12:56:36PM +1100, Gavin Shan wrote: >> On Mon, Mar 23, 2015 at 12:39:45PM +1100, David Gibson wrote: >> >On Sat, Mar 21, 2015 at 06:58:45AM +1100, Gavin Shan wrote: >> >> The patch adds one more EEH sub-command (

Re: [PATCH v3 2/2] drivers/vfio: Support EEH error injection

2015-03-22 Thread David Gibson
On Mon, Mar 23, 2015 at 12:56:36PM +1100, Gavin Shan wrote: > On Mon, Mar 23, 2015 at 12:39:45PM +1100, David Gibson wrote: > >On Sat, Mar 21, 2015 at 06:58:45AM +1100, Gavin Shan wrote: > >> The patch adds one more EEH sub-command (VFIO_EEH_PE_INJECT_ERR) > >> to inject the specified EEH error, wh

Re: [PATCH v3 2/2] drivers/vfio: Support EEH error injection

2015-03-22 Thread Gavin Shan
On Mon, Mar 23, 2015 at 12:39:45PM +1100, David Gibson wrote: >On Sat, Mar 21, 2015 at 06:58:45AM +1100, Gavin Shan wrote: >> 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

Re: [PATCH v3 2/2] drivers/vfio: Support EEH error injection

2015-03-22 Thread David Gibson
On Sat, Mar 21, 2015 at 06:58:45AM +1100, Gavin Shan wrote: > 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 Reviewed-

[PATCH v3 2/2] drivers/vfio: Support EEH error injection

2015-03-20 Thread Gavin Shan
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 --- Documentation/vfio.txt| 12 drivers/vfio/vfio_spapr_ee