Message ID | 20211012132510.42134-1-alexandru.elisei@arm.com (mailing list archive) |
---|---|
Headers | show |
Series | vfio/pci: Fix MSIX table and PBA size allocation | expand |
On Tue, 12 Oct 2021 14:25:03 +0100, Alexandru Elisei wrote: > This series is meant to rework the way the MSIX table and PBA are allocated > to prevent situations where the size allocated by kvmtool is larger than > the size of the BAR that holds them. > > Patches 1-3 are fixes for stuff I found when I was investing a bug > triggered by the incorrect sizing of the table and PBA. > > [...] Applied to kvmtool (master), thanks! [1/7] arm/gicv2m: Set errno when gicv2_update_routing() fails https://git.kernel.org/will/kvmtool/c/e3b0ade2de2b [2/7] vfio/pci.c: Remove double include for assert.h https://git.kernel.org/will/kvmtool/c/3d3dca077ae2 [3/7] pci: Fix pci_dev_* print macros https://git.kernel.org/will/kvmtool/c/34bfe5f632a4 [4/7] vfio/pci: Rename PBA offset in device descriptor to fd_offset https://git.kernel.org/will/kvmtool/c/5f44d5d6e45f [5/7] vfio/pci: Rework MSIX table and PBA physical size allocation https://git.kernel.org/will/kvmtool/c/f93acc042fbd [6/7] vfio/pci: Print an error when offset is outside of the MSIX table or PBA https://git.kernel.org/will/kvmtool/c/b20d6e302940 [7/7] vfio/pci: Align MSIX Table and PBA size to guest maximum page size https://git.kernel.org/will/kvmtool/c/39181fc6429f Cheers,