aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-01-04 14:39:29 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-02-17 18:27:33 -0500
commitcada3c0841e1deaec4c0f92654610b028dc683ff (patch)
tree9c6085c8b8447795ddc749315a31fd3906a6159d /arch/arm/Kconfig
parentdc21af99fadcfa0ae65b52fd0895f85824f0c288 (diff)
ARM: P2V: extend to 16-bit translation offsets
MSM's memory is aligned to 2MB, which is more than we can do with our existing method as we're limited to the upper 8 bits. Extend this by using two instructions to 16 bits, automatically selected when MSM is enabled. Acked-by: Tony Lindgren <tony@atomide.com> Reviewed-by: Nicolas Pitre <nicolas.pitre@linaro.org> Tested-by: Nicolas Pitre <nicolas.pitre@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 4147f76e7988..b357c29e7dfc 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -195,7 +195,6 @@ config ARM_PATCH_PHYS_VIRT
195 bool "Patch physical to virtual translations at runtime (EXPERIMENTAL)" 195 bool "Patch physical to virtual translations at runtime (EXPERIMENTAL)"
196 depends on EXPERIMENTAL 196 depends on EXPERIMENTAL
197 depends on !XIP_KERNEL && !THUMB2_KERNEL && MMU 197 depends on !XIP_KERNEL && !THUMB2_KERNEL && MMU
198 depends on !ARCH_MSM
199 depends on !ARCH_REALVIEW || !SPARSEMEM 198 depends on !ARCH_REALVIEW || !SPARSEMEM
200 help 199 help
201 Patch phys-to-virt translation functions at runtime according to 200 Patch phys-to-virt translation functions at runtime according to
@@ -204,6 +203,10 @@ config ARM_PATCH_PHYS_VIRT
204 This can only be used with non-XIP, non-Thumb2, MMU kernels where 203 This can only be used with non-XIP, non-Thumb2, MMU kernels where
205 the base of physical memory is at a 16MB boundary. 204 the base of physical memory is at a 16MB boundary.
206 205
206config ARM_PATCH_PHYS_VIRT_16BIT
207 def_bool y
208 depends on ARM_PATCH_PHYS_VIRT && ARCH_MSM
209
207source "init/Kconfig" 210source "init/Kconfig"
208 211
209source "kernel/Kconfig.freezer" 212source "kernel/Kconfig.freezer"