RE: [PATCH] ACPI: APEI: move edac_init ahead of ghes platform drv register

From: Kani, Toshi
Date: Mon Aug 08 2022 - 17:38:19 EST


On Monday, August 8, 2022 3:21 PM, Borislav Petkov wrote:
> On Mon, Aug 08, 2022 at 09:11:52PM +0000, Kani, Toshi wrote:
> > Whichever loaded first wins.
>
> That I know.
>
> The question is, which one *should* win each time.
>
> IOW, on which platforms should ghes_edac load and on which the chipset-
> one?

Platforms with ACPI GHES support should use ghes_edac. This is the case
on Arm. The x86 side has additional platform ID check to protect from legacy
buggy GHES FW existed before ghes_edac enablement.

Toshi