Skip to content

s390x: zPCI detangling

Cornelia Huck qemu-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest9 patches 16 repliesIn review
  2. v39 patches 18 repliesSuperseded
  3. v2 RFC9 patches 31 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC7 patches11 repliesSuperseded

Changes in v4 from the cover letter

- introduce pci_available boolean
- use pci_available to fence off setting the zcpi facility bit
- collected tags

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9kvm: remove hard dependency on pciaccel/kvm/kvm-all.c hw/pci/pci-stub.c hw/pci/pci.c +1 more+20 -30 replies
2/9s390x/pci: add stubshw/s390x/Makefile.objs hw/s390x/s390-pci-stub.c+76 -10 replies
3/9s390x: chsc nt2 events are pci-onlyhw/s390x/s390-pci-bus.c hw/s390x/s390-pci-bus.h hw/s390x/s390-pci-stub.c +1 more+22 -60 replies
4/9s390x/pci: do not advertise pci on non-pci buildstarget/s390x/kvm.c+3 -11 reply
5/9s390x/ccw: create s390 phb conditionallyhw/s390x/s390-virtio-ccw.c+7 -54 replies
6/9s390x/sclp: properly guard pci-specific functionshw/s390x/sclp.c+15 -40 replies
7/9s390x/pci: fence off instructions for non-pcitarget/s390x/kvm.c+41 -133 replies
8/9s390x/kvm: msi route fixup for non-pcitarget/s390x/kvm.c+6 -02 replies
9/9s390x: refine pci dependenciesdefault-configs/s390x-softmmu.mak+1 -11 reply

Reviews trailers per patch

6 of 9 patches have a Reviewed-by or Acked-by.

PatchDavid HildenbrandThomas HuthChristian Borntraeger
1/9
2/9R-b
3/9
4/9R-b
5/9R-b A-b
6/9R-b
7/9R-b
8/9
9/9R-b 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.

Read the v4 thread

Cover letter [Qemu-devel] [PATCH v4 0/9] s390x: zPCI detangling

Next version, not so many changes from v3.

As you might have guessed, the goals are still the same:
- Being able to disable PCI support in a build completely.
- Properly fencing off PCI if the relevant facility bit is not provided.

Changes v3->v4:
- introduce pci_available boolean
- use pci_available to fence off setting the zcpi facility bit
- collected tags

Branch is still git://github.com/cohuck/qemu no-zpci-cpumodel

Cornelia Huck (9):
kvm: remove hard dependency on pci s390x/pci: add stubs
s390x: chsc nt2 events are pci-only s390x/pci: do not advertise pci on non-pci builds s390x/ccw: create s390 phb conditionally s390x/sclp: properly guard pci-specific functions s390x/pci: fence off instructions for non-pci s390x/kvm: msi route fixup for non-pci
s390x: refine pci dependencies

 accel/kvm/kvm-all.c               |  6 ++--
 default-configs/s390x-softmmu.mak |  2 +-
 hw/pci/pci-stub.c                 | 13 +++++++
 hw/pci/pci.c                      |  2 ++
 hw/s390x/Makefile.objs            |  3 +-
 hw/s390x/s390-pci-bus.c           |  4 +--
 hw/s390x/s390-pci-bus.h           |  4 +--
 hw/s390x/s390-pci-stub.c          | 74 +++++++++++++++++++++++++++++++++++++++
 hw/s390x/s390-virtio-ccw.c        | 12 ++++---
 hw/s390x/sclp.c                   | 19 +++++++---
 include/hw/pci/pci.h              |  2 ++
 target/s390x/ioinst.c             | 16 +++++++++
 target/s390x/kvm.c                | 64 +++++++++++++++++++++++++--------
 13 files changed, 189 insertions(+), 32 deletions(-)
 create mode 100644 hw/s390x/s390-pci-stub.c
Signature · 1 line
2.13.3