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

Re: [Xen-devel] MMIO ioremap() error with PCI passthrough



On 1/7/08 16:44, "Andy Burns" <lists.xensource.com@xxxxxxxxxxxxxx> wrote:

> Perhaps the rounding up to 8K is happening because the address isn't
> aligned on a page boundary, so is split over two pages?

Yes, since the argument to ioremap() is 0x1000, the underlying ioremap
implementation is doing the right thing.

> So I assume it is the driver at fault for mapping a larger resource area
> than the card actually supports?
> 
> I'll try changing the size argument to 0x400 and rebuilding the saa7134
> module.

Yes, it's the driver's fault. 0x400 would be correct.

>> So, could be a bug specific to the FC8 kernel.
> 
> Actually centos5.2 is the domU, FC8 is the dom0, since it's x86_64, I
> assume it's the Fedora/Redhat forward-port effort, rather than the
> paravirt_ops effort.

Yes, it will be the FC/RH forward-port. Anyhow, the bug isn't in the generic
ioremap code after all.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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