[RFC] Prohibit ioremap() on kernel managed RAM
George G. Davis
gdavis at mvista.com
Wed May 5 12:33:13 EDT 2010
Hi,
On Wed, May 05, 2010 at 05:30:12PM +0100, Russell King - ARM Linux wrote:
> On Wed, May 05, 2010 at 12:23:45PM -0400, George G. Davis wrote:
> > So could we similarly we relax this "Prohibit ioremap() on kernel managed
> > RAM" change for reserved pages? Like so:
> >
> > /*
> > * Don't allow RAM to be mapped - this causes problems with ARMv6+
> > */
> > if (WARN_ON(pfn_valid(pfn) && !PageReserved(pfn_to_page(pfn)))
> > return NULL;
> >
>
> Only once the rest of the solution gets implemented; making this change
> on its own doesn't mean very much or have very much effect.
That's fine, I'm just (trying ; ) to think ahead.
Thanks!
--
Regards,
George
More information about the linux-arm-kernel
mailing list