qemu/include/hw/pci-host
Frederic Barrat fa9dc22aec pnv_phb4_pec: Move pnv_phb4_get_pec() to rightful file
The function pnv_phb4_get_pec() exposes some internals of the PEC and
PHB logic, yet it was in the higher level hw/ppc/pnv.c file for
historical reasons: P8 implements the PHBs from pnv.c directly, but on
P9/P10, it's done through the CEC model, which has its own file. So
move pnv_phb4_get_pec() to hw/pci-host/pnv_phb4_pec.c, where it fits
naturally.

While at it, replace the PnvPHB4 parameter by the PnvPHB front-end,
since it has all the information needed and simplify it a bit.

No functional changes.

Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Message-Id: <20230302163715.129635-4-fbarrat@linux.ibm.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
2023-03-03 16:50:17 -03:00
..
bonito.h hw/pci-host/bonito: Declare TYPE_BONITO_PCI_HOST_BRIDGE in header 2023-01-13 16:22:57 +01:00
designware.h include/hw/pci: Break inclusion loop pci_bridge.h and cxl.h 2023-01-08 01:54:22 -05:00
dino.h dino: move from hw/hppa to hw/pci-host 2022-05-08 18:52:36 +01:00
gpex.h include/hw/pci: Split pci_device.h off pci.h 2023-01-08 01:54:22 -05:00
grackle.h hw/ppc/mac.h: Move grackle-pcihost type declaration out to a header 2022-10-31 18:48:23 +00:00
i440fx.h include/hw/pci: Split pci_device.h off pci.h 2023-01-08 01:54:22 -05:00
ls7a.h include/hw/pci: Break inclusion loop pci_bridge.h and cxl.h 2023-01-08 01:54:22 -05:00
mv64361.h hw/pci-host: Add emulation of Marvell MV64361 PPC system controller 2021-05-04 11:41:25 +10:00
pam.h hw/pci-host/pam: Replace magic number by PAM_REGIONS_COUNT definition 2020-12-13 17:07:05 +01:00
pnv_phb3.h include/hw/ppc include/hw/pci-host: Drop extra typedefs 2023-01-20 07:25:22 +01:00
pnv_phb3_regs.h ppc: Define SETFIELD for the ppc target 2022-07-06 10:22:38 -03:00
pnv_phb4.h pnv_phb4_pec: Move pnv_phb4_get_pec() to rightful file 2023-03-03 16:50:17 -03:00
pnv_phb4_regs.h ppc/pnv: Add support for PHB5 "Address-based trigger" mode 2022-03-02 06:51:39 +01:00
ppce500.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
q35.h include/hw/pci: Split pci_device.h off pci.h 2023-01-08 01:54:22 -05:00
remote.h Clean up header guards that don't match their file name 2022-05-11 16:49:06 +02:00
sabre.h include/hw/pci: Split pci_device.h off pci.h 2023-01-08 01:54:22 -05:00
spapr.h spapr: Adjust firmware path of PCI devices 2021-02-10 10:43:50 +11:00
uninorth.h uninorth: use qdev gpios for PCI IRQs 2020-10-18 16:21:42 +01:00
xilinx-pcie.h include/hw/pci: Break inclusion loop pci_bridge.h and cxl.h 2023-01-08 01:54:22 -05:00