Enabling runtime P2V by default (Re: [PATCH 3/5] mach-u300: patch physoffset by default)
Will Deacon
will.deacon at arm.com
Thu Aug 11 04:46:26 EDT 2011
Hi Russell,
On Thu, Aug 11, 2011 at 09:24:13AM +0100, Russell King - ARM Linux wrote:
> Right, I'm now committing a patch to hide the option unless EMBEDDED
> is enabled. I think this means we should get rid of the 'select
> ARM_PATCH_PHYS_VIRT' statements from the various platforms, so that
> folk can optimize away that code if they know what they're doing.
>
> Note: this patch will conflict with the removal of the 16-bit P2V
> patching, so we need to sort that out.
>
> 8<---------
> From: Russell King - ARM Linux <linux at arm.linux.org.uk>
> ARM: enable ARM_PATCH_PHYS_VIRT by default
>
> Enable virtual to physical translation patching by default in all
> kernels. Hide the option behind EMBEDDED.
>
> This can still be turned off if people desire, and they know what
> they're doing, to shrink the size of the kernel to a minimum.
>
> Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
> ---
> arch/arm/Kconfig | 8 ++++++--
> 1 files changed, 6 insertions(+), 2 deletions(-)
With the typo fix, you can have my ack if you like:
Acked-by: Will Deacon <will.deacon at arm.com>
Cheers,
Will
More information about the linux-arm-kernel
mailing list