From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catalin Marinas Subject: Re: [PATCH v7 24/25] firmware: arm_sdei: Add ACPI GHES registration helper Date: Thu, 6 Dec 2018 16:18:45 +0000 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-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20181203180613.228133-25-james.morse@arm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu To: James Morse Cc: Tony Luck , Fan Wu , Marc Zyngier , Will Deacon , Rafael Wysocki , Dongjiu Geng , linux-mm@kvack.org, linux-acpi@vger.kernel.org, Borislav Petkov , Naoya Horiguchi , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, Len Brown List-Id: linux-acpi@vger.kernel.org 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