mbox series

[v2,0/2] hw/pci-host/gt64120: Fix regression on big-endian targets

Message ID 20230118095751.49728-1-philmd@linaro.org
Headers show
Series hw/pci-host/gt64120: Fix regression on big-endian targets | expand

Message

Philippe Mathieu-Daudé Jan. 18, 2023, 9:57 a.m. UTC
Klaus reported a regression on big-endian targets, introduced
by commit 145e2198d749 ("hw/mips/gt64xxx_pci: Endian-swap using
PCI_HOST_BRIDGE MemoryRegionOps"). Fix it and add the Klaus'
reproducer as Avocado test.

Since v1:
- Add Klaus Tested-by tag in patch #1
- Add parenthesis in "(v & b) ? x : y" expression

Philippe Mathieu-Daudé (2):
  hw/pci-host/gt64120: Fix PCI I/O config register endianness
  tests/avocado: Add test accessing NVMe on big-endian MIPS target

 hw/pci-host/gt64120.c               | 25 +++++-----------
 tests/avocado/boot_linux_console.py | 44 +++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+), 18 deletions(-)