PCI: PCIe access should always be little endian
commita6c242aaf52409ea827665e6f5f84b446d17a859
authorMatt Redfearn <matt.redfearn@imgtec.com>
Tue, 15 Aug 2017 14:44:17 +0000 (15 15:44 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 15 Oct 2017 02:54:42 +0000 (15 05:54 +0300)
tree7909ea8dc3510975608be26cf5369d3a5f6c61dd
parentb81b948ecc8659d78066f374c787ed12379d21dd
PCI: PCIe access should always be little endian

PCIe busses are always little endian, so set the endianness of the
memory region to little endian rather than native such that operations
work as expected on big endian targets.

Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pcie_host.c