Port-xen archive

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

Re: [PAE support] Types + cosmetic fixes



On Feb 24, 2010, at 4:51 PM, Jean-Yves Migeon wrote:

> On 02/25/10 00:42, Jason Thorpe wrote:
>> 
>> On Feb 23, 2010, at 7:57 AM, Jean-Yves Migeon wrote:
>> 
>>> Yep, i386-pae. IMHO, modules cannot be "safely" shared between PAE and
>>> non-PAE.
>> 
>> Why not?
> 
> bus_dma/bus_space(9), like drm(4). Using non-PAE modules that manipulate 32 
> bits bus_addr_t with a kernel expecting 64 bits ones (PAE), mixed with some 
> DMA in: I would expect nasty, unexpected breakage.

The right solution is to find a unified ABI that works for both PAE and 
non-PAE.  The i386 port's bus_addr_t should probably just be made 64-bit.

-- thorpej



Home | Main Index | Thread Index | Old Index