qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] hw/mips/gt64xxx_pci: Fix endianness swap on big-endian hosts
@ 2023-01-04 13:39 Philippe Mathieu-Daudé
  2023-01-04 13:39 ` [PATCH 1/6] hw/pci/pci_host: Trace config accesses on unexisting functions Philippe Mathieu-Daudé
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-01-04 13:39 UTC (permalink / raw)
  To: qemu-devel
  Cc: Bernhard Beschow, Aurelien Jarno, Jiaxun Yang,
	Philippe Mathieu-Daudé

While working on endianness consolidation I figured
a long-standing bug in the GT64120 while accessing
PCI config/data registers from the CPU bus (via the
ISD).
While the debugging was painful, the fix is quite
easy: simply use the endianness MemoryRegionOps
provided by the abstract PCI_HOST_BRIDGE class.

Patches 1-3 were useful while debugging.
patch 5 is the fix and patch 6 add a test to keep
testing on BE hosts.

Philippe Mathieu-Daudé (6):
  hw/pci/pci_host: Trace config accesses on unexisting functions
  hw/mips/malta: Split FPGA LEDs/ASCII display updates
  hw/mips/malta: Trace FPGA LEDs/ASCII display updates
  hw/mips/gt64xxx_pci: Accumulate address space changes
  hw/mips/gt64xxx_pci: Endian-swap using PCI_HOST_BRIDGE MemoryRegionOps
  tests/avocado: Add tests booting YAMON ROM on MIPS Malta machines

 hw/mips/gt64xxx_pci.c               | 78 +++++++++++++++++++++--------
 hw/mips/malta.c                     | 16 ++++--
 hw/mips/trace-events                |  4 ++
 hw/pci/pci_host.c                   |  6 +++
 tests/avocado/machine_mips_malta.py | 52 +++++++++++++++++--
 5 files changed, 127 insertions(+), 29 deletions(-)

-- 
2.38.1



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-02-20 22:45 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-04 13:39 [PATCH 0/6] hw/mips/gt64xxx_pci: Fix endianness swap on big-endian hosts Philippe Mathieu-Daudé
2023-01-04 13:39 ` [PATCH 1/6] hw/pci/pci_host: Trace config accesses on unexisting functions Philippe Mathieu-Daudé
2023-01-04 13:39 ` [PATCH 2/6] hw/mips/malta: Split FPGA LEDs/ASCII display updates Philippe Mathieu-Daudé
2023-01-04 13:39 ` [PATCH 3/6] hw/mips/malta: Trace " Philippe Mathieu-Daudé
2023-01-04 13:39 ` [PATCH 4/6] hw/mips/gt64xxx_pci: Accumulate address space changes Philippe Mathieu-Daudé
2023-01-04 13:39 ` [PATCH 5/6] hw/mips/gt64xxx_pci: Endian-swap using PCI_HOST_BRIDGE MemoryRegionOps Philippe Mathieu-Daudé
2023-01-23 21:52   ` Nathan Chancellor
2023-01-24  2:17     ` BALATON Zoltan
2023-02-20 22:43     ` Alex Bennée
2023-01-04 13:39 ` [PATCH 6/6] tests/avocado: Add tests booting YAMON ROM on MIPS Malta machines Philippe Mathieu-Daudé
2023-01-04 14:12   ` Philippe Mathieu-Daudé
2023-01-04 18:20 ` [PATCH 0/6] hw/mips/gt64xxx_pci: Fix endianness swap on big-endian hosts Richard Henderson
2023-01-13  8:29 ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).