On Tue, Sep 23, 2014 at 11:14:57AM -0600, Alex Williamson wrote: > From: Nikunj A Dadhania <nik...@linux.vnet.ibm.com> > > All memory regions used by VFIO are LITTLE_ENDIAN and they > already take care of endiannes when accessing real device BARs > except ROM - it was broken on BE hosts. > > This fixes endiannes for ROM BARs the same way as it is done > for other BARs. > > This has been tested on PPC64 BE/LE host/guest in all possible > combinations including TCG. > > Signed-off-by: Nikunj A Dadhania <nik...@linux.vnet.ibm.com> > [aik: added commit log] > Signed-off-by: Alexey Kardashevskiy <a...@ozlabs.ru> > Signed-off-by: Alex Williamson <alex.william...@redhat.com>
Reviewed-by: David Gibson <da...@gibson.dropbear.id.au> -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
pgpxVm9fo3HAE.pgp
Description: PGP signature