From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932868AbdJaTEp (ORCPT ); Tue, 31 Oct 2017 15:04:45 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:56509 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932501AbdJaTEn (ORCPT ); Tue, 31 Oct 2017 15:04:43 -0400 X-Google-Smtp-Source: ABhQp+Snw8OVRDoEiBCu51mFoiHMtI49N7gcrOqc5AfcDsjQt8wYGaAyviZ3cJhSOF7A62qKi4wfWA== Date: Tue, 31 Oct 2017 20:04:38 +0100 From: Ingo Molnar To: James Morse Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, x86@kernel.org, Catalin Marinas , Will Deacon , Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Borislav Petkov , "Rafael J . Wysocki" , Len Brown , Tony Luck , Tyler Baicar , Dongjiu Geng , Xie XiuQi , torvalds@linux-foundation.org Subject: Re: [RFC/RFT PATCH 2/6] x86/mm/fixmap: Add GHES fixmap entries Message-ID: <20171031190438.u6ctvc7lyeedo5dw@gmail.com> References: <20171031153832.17746-1-james.morse@arm.com> <20171031153832.17746-3-james.morse@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171031153832.17746-3-james.morse@arm.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * James Morse wrote: > GHES is switching to use fixmap for its dynamic mapping of CPER records, > to avoid using ioremap_page_range() in IRQ/NMI context. > > Signed-off-by: James Morse > --- > arch/x86/include/asm/fixmap.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/x86/include/asm/fixmap.h b/arch/x86/include/asm/fixmap.h > index dcd9fb55e679..be3cc32db7f0 100644 > --- a/arch/x86/include/asm/fixmap.h > +++ b/arch/x86/include/asm/fixmap.h > @@ -104,6 +104,10 @@ enum fixed_addresses { > FIX_GDT_REMAP_BEGIN, > FIX_GDT_REMAP_END = FIX_GDT_REMAP_BEGIN + NR_CPUS - 1, > > + /* Used for GHES mapping from assorted contexts */ > + FIX_APEI_GHES_IRQ, > + FIX_APEI_GHES_NMI, > + Acked-by: Ingo Molnar Thanks, Ingo