[SLOF] [PATCH slof] pci: Put non-prefetchable 64bit BARs into 32bit MMIO window
Nikunj A Dadhania
nikunj at linux.vnet.ibm.com
Thu Apr 27 17:25:20 AEST 2017
Alexey Kardashevskiy <aik at ozlabs.ru> writes:
> On Wed, 26 Apr 2017 15:23:40 +0200
> Thomas Huth <thuth at redhat.com> wrote:
>
>
> XHCI's usb_hcd_dev::base == 0xc0000000 which is a bus address while it
> is supposed to be a mapped address, i.e. 800000020000000.
>
> It used to work before the patch as pci address is the same as mapped
> address - 210000000000 - and I am not sure if this is not an accident,
> could be QEMU's PCI MMIO windows/spacing rework David did some time ago.
>
> I am trying to figure out now where usb_hcd_dev::base is set in SLOF,
> it is tricky :-/
slof/fs/devices/pci-class_0c.fs::usb-setup-hcidev()
( io-base ) r@ hcd>base !
Regards
Nikunj
More information about the SLOF
mailing list