From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWbMv-0002zq-8Y for qemu-devel@nongnu.org; Tue, 23 Sep 2014 21:27:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWbMt-0000wt-93 for qemu-devel@nongnu.org; Tue, 23 Sep 2014 21:27:45 -0400 Received: from ozlabs.org ([2401:3900:2:1::2]:43820) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWbMs-0000uB-VF for qemu-devel@nongnu.org; Tue, 23 Sep 2014 21:27:43 -0400 Date: Wed, 24 Sep 2014 10:56:01 +1000 From: David Gibson Message-ID: <20140924005601.GE24332@voom.redhat.com> References: <20140923171355.6258.48511.stgit@bling.home> <20140923171457.6258.99078.stgit@bling.home> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AjmyJqqohANyBN/e" Content-Disposition: inline In-Reply-To: <20140923171457.6258.99078.stgit@bling.home> Subject: Re: [Qemu-devel] [PULL 2/2] vfio: make rom read endian sensitive List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Williamson Cc: Alexey Kardashevskiy , qemu-devel@nongnu.org, Nikunj A Dadhania --AjmyJqqohANyBN/e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 23, 2014 at 11:14:57AM -0600, Alex Williamson wrote: > From: Nikunj A Dadhania >=20 > 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. >=20 > This fixes endiannes for ROM BARs the same way as it is done > for other BARs. >=20 > This has been tested on PPC64 BE/LE host/guest in all possible > combinations including TCG. >=20 > Signed-off-by: Nikunj A Dadhania > [aik: added commit log] > Signed-off-by: Alexey Kardashevskiy > Signed-off-by: Alex Williamson Reviewed-by: David Gibson --=20 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 --AjmyJqqohANyBN/e Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUIhahAAoJEGw4ysog2bOSSgUP/3s61jJ17Nkq5/3L3/yUymbf uJ/x2+wngFs+P5FG6Pu013b3tet2EogMvRX21keQmjad12/Zy49W4EFpP93mrAW3 5Rr+7AzNCIoZHB5H37m7kAWJ36SoiNh2Vsm2O2Ar+Zq9oRs2/YL7JOAPTKvkcalx EqbGfONmo8WOJRDBbE7R5iUuXYLnhFkM667iNCXSpZgFneJgBpx1dWR+zSn/RGBp BBYHajN/riVBgwb6GuZ5b5pILsqcyGUW5itfPkl7gzAcRSZQIuoljMGYUruB4a0a 7gv0Y4TGmGl7VlXh0FDB9NgmH9IT4aulOqGxGHZWt6IF7fMRI+Reu90hUDYSC4ei 5FBlagRgefV7Fy08lu9SkbDyl1MTAV/i67W3NVUrKHtYt0qVeziw3NWQpzxQf26V 4CKFVMSjoJ2uVf9aV//BjjYPGXgbpZzvwK+tRJXHxx09f8WTk07QhAqJ/CykQV5l N3G4BZKcZ0oTV8Xk2XvlCY6OhNwjZUAz+jyJm60N1t9C1Psx5GB92fN7voOQK9l6 T9D6VIo103NX5zMRgwbk4Spkj3p8WoRuAGfmM+cuZNhFCRcKtAWccB9lETGDdLYT Sw/EBt56UAT/pOC7jl2dXWMlAz14c6LLm1xgmqq2+oBUm8bQH+tzNmkAIG0k59sL JQQJf+e//OzNwiAHXrMj =5CeN -----END PGP SIGNATURE----- --AjmyJqqohANyBN/e--