From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-f70.google.com (mail-ot1-f70.google.com [209.85.210.70]) by kanga.kvack.org (Postfix) with ESMTP id 8B0066B7AD7 for ; Thu, 6 Dec 2018 11:18:51 -0500 (EST) Received: by mail-ot1-f70.google.com with SMTP id 73so389740oth.9 for ; Thu, 06 Dec 2018 08:18:51 -0800 (PST) Received: from foss.arm.com (usa-sjc-mx-foss1.foss.arm.com. [217.140.101.70]) by mx.google.com with ESMTP id d14si287056oti.315.2018.12.06.08.18.50 for ; Thu, 06 Dec 2018 08:18:50 -0800 (PST) Date: Thu, 6 Dec 2018 16:18:45 +0000 From: Catalin Marinas Subject: Re: [PATCH v7 24/25] firmware: arm_sdei: Add ACPI GHES registration helper Message-ID: <20181206161844.GO54495@arrakis.emea.arm.com> References: <20181203180613.228133-1-james.morse@arm.com> <20181203180613.228133-25-james.morse@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181203180613.228133-25-james.morse@arm.com> Sender: owner-linux-mm@kvack.org List-ID: To: James Morse Cc: linux-acpi@vger.kernel.org, Rafael Wysocki , Tony Luck , Fan Wu , Xie XiuQi , Marc Zyngier , Will Deacon , Christoffer Dall , Dongjiu Geng , linux-mm@kvack.org, Borislav Petkov , Naoya Horiguchi , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, Len Brown On Mon, Dec 03, 2018 at 06:06:12PM +0000, James Morse wrote: > APEI's Generic Hardware Error Source structures do not describe > whether the SDEI event is shared or private, as this information is > discoverable via the API. > > GHES needs to know whether an event is normal or critical to avoid > sharing locks or fixmap entries, but GHES shouldn't have to know about > the SDEI API. > > Add a helper to register the GHES using the appropriate normal or > critical callback. > > Signed-off-by: James Morse Acked-by: Catalin Marinas