Re: [PATCH v7 24/25] firmware: arm_sdei: Add ACPI GHES registration helper

Catalin Marinas
2018-12-06T16:18:51Z

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 <james.morse@arm.com>

Acked-by: Catalin Marinas <catalin.marinas@arm.com>