From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755629Ab2GXBNn (ORCPT ); Mon, 23 Jul 2012 21:13:43 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:49219 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755529Ab2GXBKK (ORCPT ); Mon, 23 Jul 2012 21:10:10 -0400 From: Cyril Chemparathy To: CC: , , , , Vitaly Andrianov , Cyril Chemparathy Subject: [RFC 01/23] ARM: LPAE: disable phys-to-virt patching on PAE systems Date: Mon, 23 Jul 2012 21:09:03 -0400 Message-ID: <1343092165-9470-2-git-send-email-cyril@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1343092165-9470-1-git-send-email-cyril@ti.com> References: <1343092165-9470-1-git-send-email-cyril@ti.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Vitaly Andrianov The current phys-to-virt patching mechanism is broken on PAE machines with 64-bit physical addressing. This patch disables the patching mechanism in such configurations. Signed-off-by: Vitaly Andrianov Signed-off-by: Cyril Chemparathy --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index a91009c..55da671 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -191,6 +191,7 @@ config ARM_PATCH_PHYS_VIRT default y depends on !XIP_KERNEL && MMU depends on !ARCH_REALVIEW || !SPARSEMEM + depends on !ARCH_PHYS_ADDR_T_64BIT help Patch phys-to-virt and virt-to-phys translation functions at boot and module load time according to the position of the -- 1.7.9.5 From mboxrd@z Thu Jan 1 00:00:00 1970 From: cyril@ti.com (Cyril Chemparathy) Date: Mon, 23 Jul 2012 21:09:03 -0400 Subject: [RFC 01/23] ARM: LPAE: disable phys-to-virt patching on PAE systems In-Reply-To: <1343092165-9470-1-git-send-email-cyril@ti.com> References: <1343092165-9470-1-git-send-email-cyril@ti.com> Message-ID: <1343092165-9470-2-git-send-email-cyril@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org From: Vitaly Andrianov The current phys-to-virt patching mechanism is broken on PAE machines with 64-bit physical addressing. This patch disables the patching mechanism in such configurations. Signed-off-by: Vitaly Andrianov Signed-off-by: Cyril Chemparathy --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index a91009c..55da671 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -191,6 +191,7 @@ config ARM_PATCH_PHYS_VIRT default y depends on !XIP_KERNEL && MMU depends on !ARCH_REALVIEW || !SPARSEMEM + depends on !ARCH_PHYS_ADDR_T_64BIT help Patch phys-to-virt and virt-to-phys translation functions at boot and module load time according to the position of the -- 1.7.9.5