Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751361AbbHGJuO (ORCPT ); Fri, 7 Aug 2015 05:50:14 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:34851 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751026AbbHGJuL (ORCPT ); Fri, 7 Aug 2015 05:50:11 -0400 Date: Fri, 7 Aug 2015 10:50:09 +0100 From: Matt Fleming To: Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" Cc: "Jonathan (Zhixiong) Zhang" , Matt Fleming , linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, Ard Biesheuvel Subject: Re: [PATCH 7/8] arm64: apei: implement arch_apei_get_mem_attributes() Message-ID: <20150807095009.GC2625@codeblueprint.co.uk> References: <20150806203232.GH4332@codeblueprint.co.uk> <1438936621-5215-7-git-send-email-matt@codeblueprint.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1438936621-5215-7-git-send-email-matt@codeblueprint.co.uk> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1270 Lines: 31 On Fri, 07 Aug, at 09:37:00AM, Matt Fleming wrote: > From: "Jonathan (Zhixiong) Zhang" > > Table 8 of UEFI 2.5 section 2.3.6.1 defines mappings from EFI > memory types to MAIR attribute encodings for arm64. > > If the physical address has memory attributes defined by EFI > memmap as EFI_MEMORY_[UC|WC|WT], return approprate page protection > type according to the UEFI spec. Otherwise, return PAGE_KERNEL. > > Reviewed-by: Catalin Marinas > Acked-by: Hanjun Guo > Signed-off-by: Jonathan (Zhixiong) Zhang > Signed-off-by: Matt Fleming > --- > arch/arm64/include/asm/acpi.h | 27 +++++++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > Ard Biesheuvel has brought up a concern with this patch and it's currently under discussion here, https://lkml.kernel.org/r/CAKv+Gu8+g3dTaNzXjSD=5GxproaHM+Eu1hLmRWp7cVrQimzbHQ@mail.gmail.com -- Matt Fleming, Intel Open Source Technology Center -- 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/