Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964793AbbFKS0e (ORCPT ); Thu, 11 Jun 2015 14:26:34 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:40722 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932471AbbFKS0a (ORCPT ); Thu, 11 Jun 2015 14:26:30 -0400 From: "Jonathan (Zhixiong) Zhang" To: leif.lindholm@linaro.org, fu.wei@linaro.org, al.stone@linaro.org, bp@alien8.de, Matt Fleming , tony.luck@gmail.com, ying.huang@intel.com Cc: "Jonathan (Zhixiong) Zhang" , linux-kernel@vger.kernel.org Subject: [PATCH V3 2/4] arm64: acpi: define uncached page flag Date: Thu, 11 Jun 2015 11:25:58 -0700 Message-Id: <1434047160-23358-3-git-send-email-zjzhang@codeaurora.org> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1434047160-23358-1-git-send-email-zjzhang@codeaurora.org> References: <1434047160-23358-1-git-send-email-zjzhang@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1119 Lines: 32 From: "Jonathan (Zhixiong) Zhang" This defintion is used in ACPI code when needing to map page as uncached. Signed-off-by: Jonathan (Zhixiong) Zhang --- arch/arm64/include/asm/acpi.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/include/asm/acpi.h b/arch/arm64/include/asm/acpi.h index 59c05d8ea4a0..518b91dc5acd 100644 --- a/arch/arm64/include/asm/acpi.h +++ b/arch/arm64/include/asm/acpi.h @@ -93,4 +93,8 @@ static inline bool acpi_psci_use_hvc(void) { return false; } static inline void acpi_init_cpus(void) { } #endif /* CONFIG_ACPI */ +#ifdef CONFIG_ACPI_APEI +#define ARCH_APEI_PAGE_KERNEL_UC (PROT_DEVICE_nGnRE) +#endif /*CONFIG_ACPI_APEI */ + #endif /*_ASM_ACPI_H*/ -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/