vpci/msix: separate out common MSI-X code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | vpci/msix: move helpers to commonxen/ xen/ xen/ +3 more | +25 | 1 reply | |
| 2/3 | vpci/msix: move msix region removal to msix.cxen/ xen/ xen/ | +42 | 0 replies | |
| 3/3 | vpci/msix: move common msix code to common filexen/ xen/ xen/ +1 more | +215 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/3] vpci/msix: separate out common MSI-X code
This is preparatory work to make vPCI MSI-X functional on Arm. Split the vPCI MSI-X code so that intercepting the MSI-X table and PBA stays x86 only, while the MSI-X capability handling becomes common. No functional change intended.
This is a continuation of work done by Rahul from February 2022[1].
The approach is inverted, instead of moving out the x86 parts, move out the common ones that will be needed on Arm. Subsequent arm patches for reference can be found here[2].
[1] https://lore.kernel.org/xen-devel/[email protected]/T/#t
[2] https://github.com/stewdk/xen/tree/pcie-passthrough-arm-vpci-v26
Rahul Singh (1):
vpci/msix: move helpers to common
Stewart Hildebrand (2):
vpci/msix: move msix region removal to msix.c
vpci/msix: move common msix code to common file
xen/arch/x86/include/asm/msi.h | 21 --- xen/arch/x86/msi.c | 2 +- xen/drivers/passthrough/amd/iommu.h | 2 +- xen/drivers/vpci/Makefile | 6 +- xen/drivers/vpci/header.c | 30 +---- xen/drivers/vpci/msi.c | 3 +- xen/drivers/vpci/msix.c | 197 ++++++--------------------- xen/drivers/vpci/msix_common.c | 202 ++++++++++++++++++++++++++++ xen/drivers/vpci/private.h | 2 + xen/include/xen/msi.h | 21 +++ xen/include/xen/vpci.h | 5 + 11 files changed, 282 insertions(+), 209 deletions(-) create mode 100644 xen/drivers/vpci/msix_common.c
Signature · 1 line
2.55.0