Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755249AbbFKS1T (ORCPT ); Thu, 11 Jun 2015 14:27:19 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:40711 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932197AbbFKS01 (ORCPT ); Thu, 11 Jun 2015 14:26:27 -0400 From: "Jonathan (Zhixiong) Zhang" To: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Matt Fleming , fu.wei@linaro.org, al.stone@linaro.org, bp@alien8.de, tony.luck@gmail.com, ying.huang@intel.com Cc: "Jonathan (Zhixiong) Zhang" , linux-kernel@vger.kernel.org Subject: [PATCH V3 1/4] x86: acpi: define uncached page flag Date: Thu, 11 Jun 2015 11:25:57 -0700 Message-Id: <1434047160-23358-2-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: 1089 Lines: 34 From: "Jonathan (Zhixiong) Zhang" This definition is used in APEI code when needing to map pages as uncached. Signed-off-by: Jonathan (Zhixiong) Zhang --- arch/x86/include/asm/acpi.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/x86/include/asm/acpi.h b/arch/x86/include/asm/acpi.h index 3a45668f6dc3..6afb27682b00 100644 --- a/arch/x86/include/asm/acpi.h +++ b/arch/x86/include/asm/acpi.h @@ -138,6 +138,10 @@ static inline void disable_acpi(void) { } #endif /* !CONFIG_ACPI */ +#ifdef CONFIG_ACPI_APEI +#define ARCH_APEI_PAGE_KERNEL_UC (PAGE_KERNEL_NOCACHE) +#endif /*CONFIG_ACPI_APEI */ + #define ARCH_HAS_POWER_INIT 1 #ifdef CONFIG_ACPI_NUMA -- 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/