Re: [PATCH 4/4] vfio/pci: Restore MSIx message prior to enabling

2014-09-26 Thread Gavin Shan
On Thu, Sep 25, 2014 at 09:46:44PM -0600, Alex Williamson wrote: On Fri, 2014-09-26 at 13:19 +1000, Gavin Shan wrote: On Wed, Sep 10, 2014 at 06:13:42PM +1000, Gavin Shan wrote: On Mon, May 19, 2014 at 01:01:10PM +1000, Gavin Shan wrote: The MSIx vector table lives in device memory, which may

Re: [PATCH 4/4] vfio/pci: Restore MSIx message prior to enabling

2014-09-25 Thread Gavin Shan
On Wed, Sep 10, 2014 at 06:13:42PM +1000, Gavin Shan wrote: On Mon, May 19, 2014 at 01:01:10PM +1000, Gavin Shan wrote: The MSIx vector table lives in device memory, which may be cleared as part of a backdoor device reset. This is the case on the IBM IPR HBA when the BIST is run on the device.

Re: [PATCH 4/4] vfio/pci: Restore MSIx message prior to enabling

2014-09-25 Thread Alex Williamson
On Fri, 2014-09-26 at 13:19 +1000, Gavin Shan wrote: On Wed, Sep 10, 2014 at 06:13:42PM +1000, Gavin Shan wrote: On Mon, May 19, 2014 at 01:01:10PM +1000, Gavin Shan wrote: The MSIx vector table lives in device memory, which may be cleared as part of a backdoor device reset. This is the case

Re: [PATCH 4/4] vfio/pci: Restore MSIx message prior to enabling

2014-09-10 Thread Gavin Shan
On Mon, May 19, 2014 at 01:01:10PM +1000, Gavin Shan wrote: The MSIx vector table lives in device memory, which may be cleared as part of a backdoor device reset. This is the case on the IBM IPR HBA when the BIST is run on the device. When assigned to a QEMU guest, the guest driver does a

Re: [PATCH 4/4] vfio/pci: Restore MSIx message prior to enabling

2014-06-04 Thread Gavin Shan
On Mon, Jun 02, 2014 at 10:57:05AM -0600, Bjorn Helgaas wrote: On Sat, May 31, 2014 at 5:42 AM, Gavin Shan gws...@linux.vnet.ibm.com wrote: On Fri, May 30, 2014 at 04:12:32PM -0600, Bjorn Helgaas wrote: On Mon, May 19, 2014 at 01:01:10PM +1000, Gavin Shan wrote: .../... [ Remove the confusing

Re: [PATCH 4/4] vfio/pci: Restore MSIx message prior to enabling

2014-06-02 Thread Bjorn Helgaas
On Sat, May 31, 2014 at 5:42 AM, Gavin Shan gws...@linux.vnet.ibm.com wrote: On Fri, May 30, 2014 at 04:12:32PM -0600, Bjorn Helgaas wrote: On Mon, May 19, 2014 at 01:01:10PM +1000, Gavin Shan wrote: The MSIx vector table lives in device memory, which may be cleared as part of a backdoor device

Re: [PATCH 4/4] vfio/pci: Restore MSIx message prior to enabling

2014-05-31 Thread Gavin Shan
On Fri, May 30, 2014 at 04:12:32PM -0600, Bjorn Helgaas wrote: On Mon, May 19, 2014 at 01:01:10PM +1000, Gavin Shan wrote: The MSIx vector table lives in device memory, which may be cleared as part of a backdoor device reset. This is the case on the IBM IPR HBA when the BIST is run on the

Re: [PATCH 4/4] vfio/pci: Restore MSIx message prior to enabling

2014-05-30 Thread Bjorn Helgaas
On Mon, May 19, 2014 at 01:01:10PM +1000, Gavin Shan wrote: The MSIx vector table lives in device memory, which may be cleared as part of a backdoor device reset. This is the case on the IBM IPR HBA when the BIST is run on the device. When assigned to a QEMU guest, the guest driver does a

Re: [PATCH 4/4] vfio/pci: Restore MSIx message prior to enabling

2014-05-18 Thread Gavin Shan
On Tue, May 13, 2014 at 11:35:24AM +1000, Gavin Shan wrote: The MSIx vector table lives in device memory, which may be cleared as part of a backdoor device reset. This is the case on the IBM IPR HBA when the BIST is run on the device. When assigned to a QEMU guest, the guest driver does a

[PATCH 4/4] vfio/pci: Restore MSIx message prior to enabling

2014-05-18 Thread Gavin Shan
The MSIx vector table lives in device memory, which may be cleared as part of a backdoor device reset. This is the case on the IBM IPR HBA when the BIST is run on the device. When assigned to a QEMU guest, the guest driver does a pci_save_state(), issues a BIST, then does a pci_restore_state().

[PATCH 4/4] vfio/pci: Restore MSIx message prior to enabling

2014-05-12 Thread Gavin Shan
The MSIx vector table lives in device memory, which may be cleared as part of a backdoor device reset. This is the case on the IBM IPR HBA when the BIST is run on the device. When assigned to a QEMU guest, the guest driver does a pci_save_state(), issues a BIST, then does a pci_restore_state().