Skip to content

s390x/pci: s390-pci updates for kernel 5.10-rc1

Matthew Rosato kvm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13update-linux-headers: Add vfio_zdev.hscripts/update-linux-headers.sh+1 -10 replies
2/13linux-headers: update against 5.10-rc1include/standard-headers/drivers/infiniband/hw/vmw_pvrdma/pvrdma_ring.h include/standard-headers/drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h include/standard-headers/linux/ethtool.h +26 more+301 -232 replies
3/13s390x/pci: Move header files to include/hw/s390xMAINTAINERS hw/s390x/s390-pci-bus.c hw/s390x/s390-pci-inst.c +3 more+6 -50 replies
4/13vfio: Create shared routine for scanning info capabilitieshw/vfio/common.c+13 -80 replies
5/13vfio: Find DMA available capabilityhw/vfio/common.c include/hw/vfio/vfio-common.h+33 -00 replies
6/13s390x/pci: Add routine to get the vfio dma available counthw/s390x/meson.build hw/s390x/s390-pci-vfio.c include/hw/s390x/s390-pci-vfio.h+72 -00 replies
7/13s390x/pci: Honor DMA limits set by vfiohw/s390x/s390-pci-bus.c hw/s390x/s390-pci-inst.c hw/s390x/s390-pci-vfio.c +3 more+109 -110 replies
8/13s390x/pci: create a header dedicated to PCI CLPinclude/hw/s390x/s390-pci-bus.h include/hw/s390x/s390-pci-clp.h include/hw/s390x/s390-pci-inst.h+212 -1960 replies
9/13s390x/pci: use a PCI Group structurehw/s390x/s390-pci-bus.c hw/s390x/s390-pci-inst.c include/hw/s390x/s390-pci-bus.h+66 -90 replies
10/13s390x/pci: clean up s390 PCI groupshw/s390x/s390-pci-bus.c+12 -00 replies
11/13s390x/pci: use a PCI Function structurehw/s390x/s390-pci-bus.c hw/s390x/s390-pci-inst.c include/hw/s390x/s390-pci-bus.h+15 -60 replies
12/13vfio: Add routine for finding VFIO_DEVICE_GET_INFO capabilitieshw/vfio/common.c include/hw/vfio/vfio-common.h+12 -00 replies
13/13s390x/pci: get zPCI function info from hosthw/s390x/s390-pci-bus.c hw/s390x/s390-pci-vfio.c hw/s390x/trace-events +3 more+202 -71 reply

Reviews trailers per patch

12 of 13 patches have a Reviewed-by or Acked-by.

PatchCornelia HuckPhilippe Mathieu-Daudé
1/13A-b
2/13
3/13R-b
4/13R-b R-b
5/13R-b
6/13R-b
7/13R-b
8/13R-b
9/13R-b
10/13R-b
11/13R-b
12/13R-b
13/13R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/13] s390x/pci: s390-pci updates for kernel 5.10-rc1

Combined set of patches that exploit vfio/s390-pci features available in kernel 5.10-rc1. This patch set is a combination of

[PATCH v4 0/5] s390x/pci: Accomodate vfio DMA limiting

and

[PATCH v3 00/10] Retrieve zPCI hardware information from VFIO

with duplicate patches removed and a single header sync. All patches have prior maintainer reviews except for:

- Patch 1 (update-linux-headers change to add new file)
- Patch 2 (header sync against 5.10-rc1)
- Patch 13 - contains a functional (debug) change; I switched from using DPRINTFs to using trace events per Connie's request.

Matthew Rosato (10):
update-linux-headers: Add vfio_zdev.h
linux-headers: update against 5.10-rc1
s390x/pci: Move header files to include/hw/s390x
vfio: Create shared routine for scanning info capabilities
vfio: Find DMA available capability
s390x/pci: Add routine to get the vfio dma available count s390x/pci: Honor DMA limits set by vfio
s390x/pci: clean up s390 PCI groups
vfio: Add routine for finding VFIO_DEVICE_GET_INFO capabilities s390x/pci: get zPCI function info from host

Pierre Morel (3):
s390x/pci: create a header dedicated to PCI CLP
s390x/pci: use a PCI Group structure
s390x/pci: use a PCI Function structure

 MAINTAINERS                                        |   1 +
 hw/s390x/meson.build                               |   1 +
 hw/s390x/s390-pci-bus.c                            |  91 ++++++-
 hw/s390x/s390-pci-inst.c                           |  78 ++++--
 hw/s390x/s390-pci-vfio.c                           | 276 +++++++++++++++++++++
 hw/s390x/s390-virtio-ccw.c                         |   2 +-
 hw/s390x/trace-events                              |   6 +
 hw/vfio/common.c                                   |  62 ++++-
 {hw => include/hw}/s390x/s390-pci-bus.h            |  22 ++
 .../hw/s390x/s390-pci-clp.h                        | 123 +--------
 include/hw/s390x/s390-pci-inst.h                   | 119 +++++++++
 include/hw/s390x/s390-pci-vfio.h                   |  23 ++
 include/hw/vfio/vfio-common.h                      |   4 +
 .../drivers/infiniband/hw/vmw_pvrdma/pvrdma_ring.h |  14 +-
 .../infiniband/hw/vmw_pvrdma/pvrdma_verbs.h        |   2 +-
 include/standard-headers/linux/ethtool.h           |   2 +
 include/standard-headers/linux/fuse.h              |  50 +++-
 include/standard-headers/linux/input-event-codes.h |   4 +
 include/standard-headers/linux/pci_regs.h          |   6 +-
 include/standard-headers/linux/virtio_fs.h         |   3 +
 include/standard-headers/linux/virtio_gpu.h        |  19 ++
 include/standard-headers/linux/virtio_mmio.h       |  11 +
 include/standard-headers/linux/virtio_pci.h        |  11 +-
 linux-headers/asm-arm64/kvm.h                      |  25 ++
 linux-headers/asm-arm64/mman.h                     |   1 +
 linux-headers/asm-generic/hugetlb_encode.h         |   1 +
 linux-headers/asm-generic/unistd.h                 |  18 +-
 linux-headers/asm-mips/unistd_n32.h                |   1 +
 linux-headers/asm-mips/unistd_n64.h                |   1 +
 linux-headers/asm-mips/unistd_o32.h                |   1 +
 linux-headers/asm-powerpc/unistd_32.h              |   1 +
 linux-headers/asm-powerpc/unistd_64.h              |   1 +
 linux-headers/asm-s390/unistd_32.h                 |   1 +
 linux-headers/asm-s390/unistd_64.h                 |   1 +
 linux-headers/asm-x86/kvm.h                        |  20 ++
 linux-headers/asm-x86/unistd_32.h                  |   1 +
 linux-headers/asm-x86/unistd_64.h                  |   1 +
 linux-headers/asm-x86/unistd_x32.h                 |   1 +
 linux-headers/linux/kvm.h                          |  19 ++
 linux-headers/linux/mman.h                         |   1 +
 linux-headers/linux/vfio.h                         |  29 ++-
 linux-headers/linux/vfio_zdev.h                    |  78 ++++++
 scripts/update-linux-headers.sh                    |   2 +-
 43 files changed, 961 insertions(+), 173 deletions(-)
 create mode 100644 hw/s390x/s390-pci-vfio.c
 rename {hw => include/hw}/s390x/s390-pci-bus.h (94%)
 rename hw/s390x/s390-pci-inst.h => include/hw/s390x/s390-pci-clp.h (59%)
 create mode 100644 include/hw/s390x/s390-pci-inst.h
 create mode 100644 include/hw/s390x/s390-pci-vfio.h
 create mode 100644 linux-headers/linux/vfio_zdev.h
Signature · 1 line
1.8.3.1