On 29/04/2025 19.03, Rakesh Jeyasingh wrote:
Changes since v4:
1.Introduced needs_bswap() helper for clean endianness logic
2.use the existing pci_host_data_le_ops.read/write from hw/pci/pci_host.c

v4:https://patchew.org/QEMU/20250331184820.34673-1-rakeshjb...@gmail.com/

Rakesh Jeyasingh (2):
   hw/pci-host/gt64120: Fix endianness handling
   hw/pci-host: Remove unused pci_host_data_be_ops

  hw/pci-host/gt64120.c      | 82 ++++++++++++++++++++++----------------
  hw/pci/pci_host.c          |  6 ---
  include/hw/pci-host/dino.h |  4 --
  include/hw/pci/pci_host.h  |  1 -
  4 files changed, 48 insertions(+), 45 deletions(-)

Thanks for tackling this ... I gave it a try on both, little and big endian host and it seems to work as expected now.

Series
Tested-by: Thomas Huth <th...@redhat.com>


Reply via email to