@samitouri / QOSamiQemu / commits / fa8d22f628

include/hw/s390x: Move CLP definitions for easier BIOS access

Move the s390-pci-clp definitions into the "ipl" sub-directory, which is visible to the s390-bios. This allows the bios to reuse the architected definitions and prevents code duplication. Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Eric Farman <farman@linux.ibm.com> Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com> Signed-off-by: Jared Rossi <jrossi@linux.ibm.com> Message-ID: <20260309003601.242634-8-jrossi@linux.ibm.com> Signed-off-by: Thomas Huth <thuth@redhat.com>

Jared Rossi committed Mar 8, 2026 at 20:35 UTC fa8d22f628ecc7117ddb47af6a39921dae352c74
4 files changed +3 -2
MAINTAINERS
+1
@@ -1882,6 +1882,7 @@ R: Eric Farman <farman@linux.ibm.com>
1882 S: Supported
1883 F: hw/s390x/s390-pci*
1884 F: include/hw/s390x/s390-pci*
1885 +F: include/hw/s390x/ipl/s390-pci*
1886 F: util/s390x_pci_mmio.c
1887 L: qemu-s390x@nongnu.org
1888
hw/s390x/s390-pci-vfio.c
+1 -1
@@ -17,7 +17,7 @@
17
18 #include "trace.h"
19 #include "hw/s390x/s390-pci-bus.h"
20 -#include "hw/s390x/s390-pci-clp.h"
20 +#include "hw/s390x/ipl/s390-pci-clp.h"
21 #include "hw/s390x/s390-pci-vfio.h"
22 #include "hw/vfio/pci.h"
23 #include "hw/vfio/vfio-container-legacy.h"
include/hw/s390x/ipl/s390-pci-clp.h renamed
include/hw/s390x/s390-pci-bus.h
+1 -1
@@ -19,7 +19,7 @@
19 #include "hw/s390x/sclp.h"
20 #include "hw/s390x/s390_flic.h"
21 #include "hw/s390x/css.h"
22 -#include "hw/s390x/s390-pci-clp.h"
22 +#include "hw/s390x/ipl/s390-pci-clp.h"
23 #include "qom/object.h"
24
25 #define TYPE_S390_PCI_HOST_BRIDGE "s390-pcihost"