Re: ioremap_xxx() with EXEC enabled

From: Andi Kleen
Date: Wed Jan 30 2008 - 12:31:02 EST


On Wed, Jan 30, 2008 at 07:45:40AM -0800, Arjan van de Ven wrote:
> On Wed, 30 Jan 2008 17:32:10 +0800
> "Huang, Ying" <ying.huang@xxxxxxxxx> wrote:
>
> > Hi,
> >
> > On i386, EFI may need to map EFI runtime code area as EXEC enabled
> > with ioremap(). But, I found that the memory are mapped as EXEC
> > disabled when mapped with ioremap() now. I think we may need a method
> > to map memory area as EXEC enabled with ioremap_xxx(). Some possible
> > interface schemes for mapping as EXEC enabled are as follow:
> >
> > - Interface scheme 1:
>
> scheme 3:
>
> set_memory_x(... )

On i386 EFI is unlikely to be in the direct mapping ...

-Andi

--
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/