[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/2] s390x/pci: small set of fixes
From: |
Matthew Rosato |
Subject: |
[PATCH v2 0/2] s390x/pci: small set of fixes |
Date: |
Fri, 10 Nov 2023 12:51:06 -0500 |
The following set of changes are associated with issues exposed by testing
of the 'vfio: Adopt iommufd' series.
The first patch fixes an existing assumption that a vfio device will always
have a group fd (which is no longer true if cdev is used, which can only
happen once the iommufd backend is used). This patch really only needs to
go into 8.2 if the 'vfio: Adopt iommufd' series does (but would be fine to
go into 8.2 without it too).
The second patch fixes an issue where we do not detect that a vfio DMA limit
was never read from vfio. This is actually an existing bug as it's possible
for an older host kernel to be missing this support today; so ideally this one
should be targeted for 8.2 regardless.
Changes for v2:
- minor style changes (Phil, Thomas)
Matthew Rosato (2):
s390x/pci: bypass vfio DMA counting when using cdev
s390x/pci: only limit DMA aperture if vfio DMA limit reported
hw/s390x/s390-pci-vfio.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
--
2.41.0
- [PATCH v2 0/2] s390x/pci: small set of fixes,
Matthew Rosato <=