[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] PCI passthrough to QEMU traditional stubdom not working when option ROM present



>>> On 24.10.16 at 14:30, <eshelton@xxxxxxxxx> wrote:
> As best as I can tell, the current code already writes out the proper
> value for sizing ("pci_write_long(d, reg, ~0)" in the above code
> snippet).

No - for sizing a ROM BAR, only the address portion is supposed to
be written with all 1s as per the PCI spec. In particular it should be
quite clear that writing the enable bit with 1 is a bad thing when the
address portion is also written with all 1s.

I'd like to note though that as of commit d2bd05d88d ("xen-pciback:
return proper values during BAR sizing") the handling there is more
relaxed - previously writes of 0xFFFFFFFE were the only ones
considered to be sizing ones.

Jan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.