From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyrill Gorcunov Date: Tue, 06 Dec 2011 11:47:55 +0000 Subject: Re: [PATCH 23/28] kvm tools: Endian-sanitise pci.h and PCI device Message-Id: <20111206114755.GC29781@moon> List-Id: References: <4EDD8F16.6060104@ozlabs.org> <20111206102856.GB29781@moon> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: Pekka Enberg Cc: Matt Evans , kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, Asias He , Sasha Levin , Ingo Molnar On Tue, Dec 06, 2011 at 01:41:56PM +0200, Pekka Enberg wrote: > On Tue, Dec 6, 2011 at 12:28 PM, Cyrill Gorcunov wro= te: > > On Tue, Dec 06, 2011 at 12:25:29PM +0200, Pekka Enberg wrote: > >> On Tue, Dec 6, 2011 at 5:42 AM, Matt Evans wrote: > >> > vesa, pci-shmem and virtio-pci devices need to set up config space w= ith > >> > little-endian conversions (as config space is LE). =A0The pci_config= _address > >> > bitfield also needs to be reversed when building on BE systems. > >> > > >> > Signed-off-by: Matt Evans > >> > >> Looks OK to me. Sasha, Cyrill? > >> > > > > BIOS part looks pretty good to me. LE/BE part as well. Thanks Matt! >=20 > Hmm. This seems to break "make check" for me: > If you change back to static struct pci_device_header pci_shmem_pci_device =3D { ... .class =3D 0xFF0000, /* misc pci device */ ... }; does it help? Cyrill