Skip to content

hw/mips/fuloong2e: PoC to fix hang after reboot

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 23 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12MAINTAINERS: Add Huacai Chen as fuloong2e co-maintainerMAINTAINERS+2 -01 reply
2/12hw/mips/fuloong2e: Rename PMON BIOS namehw/mips/mips_fulong2e.c+1 -11 reply
3/12hw/mips/fuloong2e: Move code and update a commenthw/mips/mips_fulong2e.c+2 -31 reply
4/12hw/mips/fuloong2e: Fix typo in Fuloong machine nameMAINTAINERS default-configs/mips64el-softmmu.mak docs/system/target-mips.rst +6 more+36 -347 replies
5/12hw/pci-host: Use CONFIG_PCI_BONITO to select the Bonito North Bridgehw/mips/Kconfig hw/pci-host/Kconfig hw/pci-host/Makefile.objs+6 -11 reply
6/12hw/pci-host/bonito: Fix DPRINTF() format stringshw/pci-host/bonito.c+3 -31 reply
7/12hw/pci-host/bonito: Map peripheral using physical addresshw/pci-host/bonito.c+2 -21 reply
8/12hw/pci-host/bonito: Map all the Bonito64 I/O rangehw/pci-host/Kconfig hw/pci-host/bonito.c+4 -01 reply
9/12hw/pci-host/bonito: Map the different PCI ranges more detailledhw/pci-host/bonito.c+26 -42 replies
10/12hw/pci-host/bonito: Better describe the I/O CS regionshw/pci-host/bonito.c+11 -21 reply
11/12hw/pci-host/bonito: Set the Config register reset value with FIELD_DP32hw/pci-host/bonito.c+20 -13 replies
12/12POC hw/pci-host/bonito: Fix BONGENCFG value after a warm-resethw/pci-host/bonito.c+8 -10 replies

Reviews trailers per patch

8 of 12 patches have a Reviewed-by or Acked-by.

PatchAleksandar MarkovicHuacai Chen
1/12R-b
2/12
3/12R-b
4/12
5/12R-b R-b
6/12R-b
7/12R-b
8/12R-b
9/12
10/12R-b
11/12R-b
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/12] hw/mips/fuloong2e: PoC to fix hang after reboot

The PMON firmware behave differently regarding it is run after a cold/warm reset. A simple bit flip fix the issue, however we need to know the type of reset to set it. Currently QEMU only supports COLD reset.

This series contains various of my current Fuloong queue,
- Welcome Huacai Chen as co-maintainer,
- Fix typo in machine name,
- Few cleanups in Bonito64,
- Report various Bonito64 accesses as UNIMP,
- Proof-of-concept fix for the reset bit.

The last patch is not for merging, but is included to see if the Multi-phase reset mechanism can fix the problem.

Regards,

Phil.

Huacai Chen (1):
MAINTAINERS: Add Huacai Chen as fuloong2e co-maintainer

Philippe Mathieu-Daudé (11):
hw/mips/fuloong2e: Rename PMON BIOS name hw/mips/fuloong2e: Move code and update a comment hw/mips/fuloong2e: Fix typo in Fuloong machine name hw/pci-host: Use CONFIG_PCI_BONITO to select the Bonito North Bridge hw/pci-host/bonito: Fix DPRINTF() format strings hw/pci-host/bonito: Map peripheral using physical address hw/pci-host/bonito: Map all the Bonito64 I/O range hw/pci-host/bonito: Map the different PCI ranges more detailled hw/pci-host/bonito: Better describe the I/O CS regions hw/pci-host/bonito: Set the Config register reset value with

    FIELD_DP32

POC hw/pci-host/bonito: Fix BONGENCFG value after a warm-reset

 docs/system/target-mips.rst              |  2 +-
 default-configs/mips64el-softmmu.mak     |  2 +-
 hw/isa/vt82c686.c                        |  2 +-
 hw/mips/{mips_fulong2e.c => fuloong2e.c} | 41 +++++------
 hw/pci-host/bonito.c                     | 92 +++++++++++++++++++-----
 tests/qtest/endianness-test.c            |  2 +-
 MAINTAINERS                              |  6 +-
 hw/mips/Kconfig                          |  3 +-
 hw/mips/Makefile.objs                    |  2 +-
 hw/pci-host/Kconfig                      |  5 ++
 hw/pci-host/Makefile.objs                |  2 +-
 11 files changed, 114 insertions(+), 45 deletions(-)
 rename hw/mips/{mips_fulong2e.c => fuloong2e.c} (91%)
Signature · 1 line
2.21.3