diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-02-21 00:53:35 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-03-10 11:43:45 -0500 |
commit | b511d75d6150892e67c8ebfa9dc8eb37ebd02aa3 (patch) | |
tree | 0cec12cd64edeecac2b737f2788b012eab538285 /arch/arm/Kconfig | |
parent | 80f0aad77f3e1e9d9e518b09ac46963d628ae2be (diff) |
ARM: 6747/1: P2V: Thumb2 support
Adding Thumb2 support to the runtime patching of the virt_to_phys and
phys_to_virt opcodes.
Tested both the 8-bit and the 16-bit fixups, using different placements
in memory to exercize all code paths.
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Reviewed-by: Dave Martin <dave.martin@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index b357c29e7dfc..0233c8ff1f19 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -194,13 +194,13 @@ config VECTORS_BASE | |||
194 | config ARM_PATCH_PHYS_VIRT | 194 | 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 && MMU |
198 | depends on !ARCH_REALVIEW || !SPARSEMEM | 198 | depends on !ARCH_REALVIEW || !SPARSEMEM |
199 | help | 199 | help |
200 | Patch phys-to-virt translation functions at runtime according to | 200 | Patch phys-to-virt translation functions at runtime according to |
201 | the position of the kernel in system memory. | 201 | the position of the kernel in system memory. |
202 | 202 | ||
203 | This can only be used with non-XIP, non-Thumb2, MMU kernels where | 203 | This can only be used with non-XIP with MMU kernels where |
204 | the base of physical memory is at a 16MB boundary. | 204 | the base of physical memory is at a 16MB boundary. |
205 | 205 | ||
206 | config ARM_PATCH_PHYS_VIRT_16BIT | 206 | config ARM_PATCH_PHYS_VIRT_16BIT |