Current-Users archive

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

Re: paddr_t change to 64-bits



On Sep 27, 2010, at 3:48 24PM, Thor Lancelot Simon wrote:

> On Mon, Sep 27, 2010 at 08:33:23PM +0100, Iain Hibbert wrote:
>> Hi
>> 
>> the recent change to arch/i386/include/types.h which forces paddr_t to be
>> 64-bits for userland has (I think) broken my xserver which passes a
>> structure agp_allocate with ioctl which contains a paddr_t. The kernel is
>> expecting this to be 32-bits but the xserver passes 64-bits and the ioctl
>> is now unrecognized (as the size is embedded in the cmd value)
> 
> It sounds more to me like the struct agp_allocate is broken.  If a physical
> address is 64 bits, then it's 64 bits.

Sure, but binary compatibility would seem to require a new ioctl with 64-bit 
addresses.

                --Steve Bellovin, http://www.cs.columbia.edu/~smb







Home | Main Index | Thread Index | Old Index