Simplify the module and kconfig structure in vfio
Status from this message: Applied to vfio next branch for v6.2. Thanks,
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest5 patches 3 repliesApplied
- v45 patches 9 repliesSuperseded
- v35 patches 7 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 4 patches | 10 replies | Superseded | |
| v1 | 4 patches | 2 replies | Superseded |
Changes in v5 from the cover letter
- Reword commit messages
- Remove whitespace change from drivers/vfio/pci/vfio_pci_priv.h
v4: https://lore.kernel.org/r/[email protected]
- Copy IBM copyright header to vfio_iommu_spapr_tce.c
- Use "return" not "ret = " in vfio_spapr_ioctl_eeh_pe_op()
- Use just "#if IS_ENABLED(CONFIG_EEH)"
v3: https://lore.kernel.org/r/[email protected]
- New patch to fold SPAPR VFIO_CHECK_EXTENSION EEH code into the actual ioctl
- Remove the 'case VFIO_EEH_PE_OP' indenting level
- Just open code the calls and #ifdefs to eeh_dev_open()/release() instead of using inline wrappers
- Rebase to v6.1-rc1
v2: https://lore.kernel.org/r/[email protected]
- Add stubs for vfio_virqfd_init()/vfio_virqfd_exit() so that linking works even if vfio_pci/etc is not selected
v1: https://lore.kernel.org/r/[email protected]
Patches in v5 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | vfio/pci: Move all the SPAPR PCI specific logic to vfio_pci_core.kodrivers/ drivers/ include/ | +9 | 1 reply | |
| 2/5 | vfio/spapr: Move VFIO_CHECK_EXTENSION into tce_iommu_ioctl()drivers/ drivers/ | +4 | 0 replies | |
| 3/5 | vfio: Move vfio_spapr_iommu_eeh_ioctl into vfio_iommu_spapr_tce.cdrivers/ drivers/ drivers/ +1 more | +53 | 0 replies | |
| 4/5 | vfio: Remove CONFIG_VFIO_SPAPR_EEHdrivers/ drivers/ | +3 | 0 replies | |
| 5/5 | vfio: Fold vfio_virqfd.ko into vfio.kodrivers/ drivers/ drivers/ +2 more | +25 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Christoph Hellwig | Philippe Mathieu-Daudé | Cornelia Huck |
|---|---|---|---|
| 1/5 | R-b | R-b | |
| 2/5 | R-b | R-b | R-b |
| 3/5 | R-b | R-b | |
| 4/5 | R-b | R-b | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v5 0/5] Simplify the module and kconfig structure in vfio
This series does a little house cleaning to remove the SPAPR exported symbols, presence in the public header file, and reduce the number of modules that comprise VFIO.
v5:
- Reword commit messages
- Remove whitespace change from drivers/vfio/pci/vfio_pci_priv.h
v4: https://lore.kernel.org/r/[email protected]
- Copy IBM copyright header to vfio_iommu_spapr_tce.c
- Use "return" not "ret = " in vfio_spapr_ioctl_eeh_pe_op()
- Use just "#if IS_ENABLED(CONFIG_EEH)"
v3: https://lore.kernel.org/r/[email protected]
- New patch to fold SPAPR VFIO_CHECK_EXTENSION EEH code into the actual ioctl
- Remove the 'case VFIO_EEH_PE_OP' indenting level
- Just open code the calls and #ifdefs to eeh_dev_open()/release() instead of using inline wrappers
- Rebase to v6.1-rc1
v2: https://lore.kernel.org/r/[email protected]
- Add stubs for vfio_virqfd_init()/vfio_virqfd_exit() so that linking works even if vfio_pci/etc is not selected
v1: https://lore.kernel.org/r/[email protected]
Jason Gunthorpe (5):
vfio/pci: Move all the SPAPR PCI specific logic to vfio_pci_core.ko vfio/spapr: Move VFIO_CHECK_EXTENSION into tce_iommu_ioctl()
vfio: Move vfio_spapr_iommu_eeh_ioctl into vfio_iommu_spapr_tce.c
vfio: Remove CONFIG_VFIO_SPAPR_EEH
vfio: Fold vfio_virqfd.ko into vfio.ko
drivers/vfio/Kconfig | 7 +- drivers/vfio/Makefile | 5 +- drivers/vfio/pci/vfio_pci_core.c | 11 ++- drivers/vfio/vfio.h | 13 ++++ drivers/vfio/vfio_iommu_spapr_tce.c | 65 ++++++++++++++--- drivers/vfio/vfio_main.c | 7 ++ drivers/vfio/vfio_spapr_eeh.c | 107 ---------------------------- drivers/vfio/virqfd.c | 17 +---- include/linux/vfio.h | 23 ------ 9 files changed, 91 insertions(+), 164 deletions(-) delete mode 100644 drivers/vfio/vfio_spapr_eeh.c
base-commit: 9abf2313adc1ca1b6180c508c25f22f9395cc780
Signature · 1 line
2.38.1