Paul Mackerras wrote:
Note that that check is also wrong for ppc64.  I think it is going to
be wrong for most 64-bit platforms, since it is assuming that you can
never have ram at a higher physical address than any I/O devices.  On
64-bit platforms it is quite common to have some ram and some I/O
below 4GB, and some more ram above 4GB.

I don't see why we need the check anyway, unless some architecture
(x86?) will actually panic if you try to ioremap a physical address
that is below virt_to_phys(high_memory) or something.
Wouldn't this check even break on x86 with PAE? Those boxes certainly have parts of their ram mapped above io memory too. Or does that high_memory variable stay below 4GB with PAE?

Roland


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to