Re: [Qemu-devel] [PATCH v3 1/2] VFIO: Clear stale MSIx table during EEH reset

2015-03-31 Thread Gavin Shan
On Tue, Mar 31, 2015 at 07:16:43PM -0600, Alex Williamson wrote: >On Wed, 2015-04-01 at 11:20 +1100, Gavin Shan wrote: >> On Tue, Mar 31, 2015 at 01:36:30PM -0600, Alex Williamson wrote: >> >On Mon, 2015-03-30 at 20:34 +1100, Gavin Shan wrote: >> >> On Mon, Mar 30, 2015 at 01:39:16PM +1100, David G

Re: [Qemu-devel] [PATCH v3 1/2] VFIO: Clear stale MSIx table during EEH reset

2015-03-31 Thread Alex Williamson
On Wed, 2015-04-01 at 11:20 +1100, Gavin Shan wrote: > On Tue, Mar 31, 2015 at 01:36:30PM -0600, Alex Williamson wrote: > >On Mon, 2015-03-30 at 20:34 +1100, Gavin Shan wrote: > >> On Mon, Mar 30, 2015 at 01:39:16PM +1100, David Gibson wrote: > >> >On Thu, Mar 26, 2015 at 04:35:01PM +1100, Gavin Sh

Re: [Qemu-devel] [PATCH v3 1/2] VFIO: Clear stale MSIx table during EEH reset

2015-03-31 Thread Gavin Shan
On Tue, Mar 31, 2015 at 01:36:30PM -0600, Alex Williamson wrote: >On Mon, 2015-03-30 at 20:34 +1100, Gavin Shan wrote: >> On Mon, Mar 30, 2015 at 01:39:16PM +1100, David Gibson wrote: >> >On Thu, Mar 26, 2015 at 04:35:01PM +1100, Gavin Shan wrote: >> >> The PCI device MSIx table is cleaned out in h

Re: [Qemu-devel] [PATCH v3 1/2] VFIO: Clear stale MSIx table during EEH reset

2015-03-31 Thread Alex Williamson
On Mon, 2015-03-30 at 20:34 +1100, Gavin Shan wrote: > On Mon, Mar 30, 2015 at 01:39:16PM +1100, David Gibson wrote: > >On Thu, Mar 26, 2015 at 04:35:01PM +1100, Gavin Shan wrote: > >> The PCI device MSIx table is cleaned out in hardware after EEH PE > >> reset. However, we still hold the stale MSI

Re: [Qemu-devel] [PATCH v3 1/2] VFIO: Clear stale MSIx table during EEH reset

2015-03-30 Thread Gavin Shan
On Mon, Mar 30, 2015 at 01:39:16PM +1100, David Gibson wrote: >On Thu, Mar 26, 2015 at 04:35:01PM +1100, Gavin Shan wrote: >> The PCI device MSIx table is cleaned out in hardware after EEH PE >> reset. However, we still hold the stale MSIx entries in QEMU, which >> should be cleared accordingly. Ot

Re: [Qemu-devel] [PATCH v3 1/2] VFIO: Clear stale MSIx table during EEH reset

2015-03-30 Thread Gavin Shan
On Fri, Mar 27, 2015 at 05:00:25PM +1100, David Gibson wrote: >On Thu, Mar 26, 2015 at 04:35:01PM +1100, Gavin Shan wrote: >> The PCI device MSIx table is cleaned out in hardware after EEH PE >> reset. However, we still hold the stale MSIx entries in QEMU, which >> should be cleared accordingly. Ot

Re: [Qemu-devel] [PATCH v3 1/2] VFIO: Clear stale MSIx table during EEH reset

2015-03-29 Thread David Gibson
On Thu, Mar 26, 2015 at 04:35:01PM +1100, Gavin Shan wrote: > The PCI device MSIx table is cleaned out in hardware after EEH PE > reset. However, we still hold the stale MSIx entries in QEMU, which > should be cleared accordingly. Otherwise, we will run into another > (recursive) EEH error and the

Re: [Qemu-devel] [PATCH v3 1/2] VFIO: Clear stale MSIx table during EEH reset

2015-03-26 Thread David Gibson
On Thu, Mar 26, 2015 at 04:35:01PM +1100, Gavin Shan wrote: > The PCI device MSIx table is cleaned out in hardware after EEH PE > reset. However, we still hold the stale MSIx entries in QEMU, which > should be cleared accordingly. Otherwise, we will run into another > (recursive) EEH error and the

[Qemu-devel] [PATCH v3 1/2] VFIO: Clear stale MSIx table during EEH reset

2015-03-25 Thread Gavin Shan
The PCI device MSIx table is cleaned out in hardware after EEH PE reset. However, we still hold the stale MSIx entries in QEMU, which should be cleared accordingly. Otherwise, we will run into another (recursive) EEH error and the PCI devices contained in the PE have to be offlined exceptionally.