Re: [PATCH] firewire: Enable physical DMA above 4GB

From: Clemens Ladisch
Date: Tue Mar 26 2013 - 14:24:31 EST


Peter Hurley wrote:
> On Tue, 2013-03-26 at 17:12 +0100, Clemens Ladisch wrote:
>> Peter Hurley wrote:
>>> Write the PhyUpperBound register with the end-of-memory value. If
>>> end-of-memory is beyond the OHCI limit of 0x0000ffff00000000,
>>> clamp to that value.
>>
>> You will have to lower this limit; there are protcols that assume that
>> addresses like 0xecc000000000 are available for software.
>
> Maybe 0x0000e80000000000 is a better maximum upper bound?

Why the space of 0x04c000000000? ;-)

There's also 0xc007dedadada (although this address isn't used on the PC
side). Maybe we should just round down to 0x800000000000 and revisit
the question when there are 256 TB memory machines. (Directly accessing
the full 256 TB will not be possible in any case.)


Regards,
Clemens
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/