Re: [PATCH 2/2] EDAC/ghes: Modularize ghes_edac driver to remove the dependency on ghes
From: Borislav Petkov
Date: Wed Aug 17 2022 - 04:50:16 EST
On Wed, Aug 17, 2022 at 01:39:32AM +0000, Kani, Toshi wrote:
> Yes, but the impact is not necessarily limited to these modules.
The impact is limited only to the modules which would otherwise
potentially load on a HP system which advertizes as "HPE ", "Server ".
You're the only user of ghes_edac. So please state which drivers you
want blocked from loading on those platforms and where ghes_edac should
load instead.
>From looking at
301375e76432 ("EDAC: Add owner check to the x86 platform drivers")
it is 4 drivers.
> I think a new check with ghes_get_device() can replace the owner check
> in xx_init().
The owner thing should not be touched now - it can be a cleanup ontop if
you - Justin - feel like doing it afterwards.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette