Patches I wrote while reviewing/testing Jiaxun's v3 [1] trying to understand the problem with "Fixup pci.lomem mapping" [2].
The issue should be fixed by patch #8 of this series: 'Remap PCI "lo" regions when PCIMAP reg is modified'. The rest are cleanups patches. Happy new year, Phil. [1] https://www.mail-archive.com/qemu-devel@nongnu.org/msg769286.html [2] https://www.mail-archive.com/qemu-devel@nongnu.org/msg769294.html Philippe Mathieu-Daudé (18): hw/pci-host/bonito: Remove unused definitions hw/pci-host/bonito: Display hexadecimal value with '0x' prefix hw/pci-host/bonito: Use PCI_DEVFN() macro hw/pci-host/bonito: Use pci_config_set_interrupt_pin() hw/pci-host/bonito: Simplify soft reset using FIELD_EX32() hw/pci-host/bonito: Do not allow big-endian targets hw/pci-host/bonito: Make BONPONCFG register read-only hw/pci-host/bonito: Remap PCI "lo" regions when PCIMAP reg is modified hw/pci-host/bonito: Rename north bridge helpers hw/pci-host/bonito: Rename PCI host helpers hw/pci-host/bonito: Rename PCI function helpers hw/pci-host/bonito: Rename PCIBonitoState -> BonitoPciState hw/pci-host/bonito: Create PCI regions in bonito_host_realize() hw/pci-host/bonito: Simplify using pci_host_conf_le_ops MemoryRegionOps hw/pci-host/bonito: Map north bridge region in bonito_host_realize() hw/pci-host/bonito: Create TYPE_PCI_BONITO in bonito_host_realize() hw/pci-host/bonito: Declare TYPE_BONITO_PCI_HOST_BRIDGE in include/ hw/mips/fuloong2e: Inline bonito_init() include/hw/mips/mips.h | 3 - include/hw/pci-host/bonito.h | 34 ++++ hw/mips/fuloong2e.c | 7 +- hw/pci-host/bonito.c | 357 +++++++++++++++-------------------- MAINTAINERS | 1 + 5 files changed, 197 insertions(+), 205 deletions(-) create mode 100644 include/hw/pci-host/bonito.h -- 2.26.2