Port-i386 archive

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

Re: bus_space/bus_dma and PAE

On Sun, Jan 25, 2009 at 12:47:36AM +0100, Manuel Bouyer wrote:

> I started looking at PCI passthough for Xen, and as part of this
> at getting a XEN3PAE i386 kernel building (which is usefull if we ever want
> to suppport native i386 PAE too). The attached patch allows to build
> a XEN3PAE_XENU kernel with bus_space and bus_dma linked in.
> What it does is change bus_addr_t to be paddr_t (so its size changes with
> options PAE); and remplace a view bus_addr_t with vaddr_t where
> the value is used as a virtual address (and so is not a physical bus
> address, strictly speaking).
> comment ?

Looks ok to me, since I guess for >4GB PCI bounce buffering / IOMMU we
need paddr_t to be 64-bit anyway.

I would suggest going further and making paddr_t always a 64-bit quantity.
I plan to do this at some point in the future.


Home | Main Index | Thread Index | Old Index