[PATCH 00/18] hw/pci-host/bonito: Remap PCI "lo" regions when PCIMAP reg is modified

Philippe Mathieu-Daudé posted 18 patches 4 years, 10 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20201231224911.1467352-1-f4bug@amsat.org
Maintainers: "Philippe Mathieu-Daudé" <f4bug@amsat.org>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>, Aurelien Jarno <aurelien@aurel32.net>
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
[PATCH 00/18] hw/pci-host/bonito: Remap PCI "lo" regions when PCIMAP reg is modified
Posted by Philippe Mathieu-Daudé 4 years, 10 months ago
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

Re: [PATCH 00/18] hw/pci-host/bonito: Remap PCI "lo" regions when PCIMAP reg is modified
Posted by Philippe Mathieu-Daudé 4 years, 10 months ago
On 12/31/20 11:48 PM, Philippe Mathieu-Daudé wrote:
> 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()

Patches 2-4 applied to mips-next.