[Qemu-devel] [PATCH 0/3] spapr/pci: Improve MSI tracking

Greg Kurz posted 3 patches 4 years, 9 months ago
Test asan passed
Test FreeBSD passed
Test s390x passed
Test docker-mingw@fedora passed
Test docker-clang@ubuntu failed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/156415227297.1064338.9181963275184520284.stgit@bahia.lan
Maintainers: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c             |    4 ----
hw/ppc/spapr_irq.c         |    7 ++-----
hw/ppc/spapr_pci.c         |   26 +++++++++++++++++---------
include/hw/ppc/spapr_irq.h |    1 -
4 files changed, 19 insertions(+), 19 deletions(-)
[Qemu-devel] [PATCH 0/3] spapr/pci: Improve MSI tracking
Posted by Greg Kurz 4 years, 9 months ago
Some recent tests with AIX guests showed that we don't tear down
MSIs that were allocated with the "change-msi" RTAS call, when
the guest is rebooted. This series teach PHBs to do the cleanup
at reset time.

This bug has always been there. Not sure it is worth the pain to
have this fixed in 4.1.

--
Greg

---

Greg Kurz (3):
      spapr/pci: Consolidate de-allocation of MSIs
      spapr/pci: Free MSIs during reset
      spapr/irq: Drop spapr_irq_msi_reset()


 hw/ppc/spapr.c             |    4 ----
 hw/ppc/spapr_irq.c         |    7 ++-----
 hw/ppc/spapr_pci.c         |   26 +++++++++++++++++---------
 include/hw/ppc/spapr_irq.h |    1 -
 4 files changed, 19 insertions(+), 19 deletions(-)


Re: [Qemu-devel] [PATCH 0/3] spapr/pci: Improve MSI tracking
Posted by David Gibson 4 years, 9 months ago
On Fri, Jul 26, 2019 at 04:44:33PM +0200, Greg Kurz wrote:
> Some recent tests with AIX guests showed that we don't tear down
> MSIs that were allocated with the "change-msi" RTAS call, when
> the guest is rebooted. This series teach PHBs to do the cleanup
> at reset time.
> 
> This bug has always been there. Not sure it is worth the pain to
> have this fixed in 4.1.

Since we've only recently started looking at AIX as a supported guest,
and these bugs don't appear to break Linux guests, no, I don't think
it is.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson