Re: [PATCH] RAS/AMD/ATL: Add debug prints for DF register reads

From: Borislav Petkov
Date: Tue Oct 22 2024 - 13:03:31 EST


On Mon, Oct 21, 2024 at 03:21:58PM +0000, Yazen Ghannam wrote:
> The ATL will fail early if the DF register access fails due to missing
> PCI IDs in the amd_nb code. There aren't any clear indicators on why the
> ATL will fail to load in this case.
>
> Add a couple of debug print statements to highlight reasons for failure.
>
> A common scenario is missing support for new hardware. If the ATL fails
> to load on a system, and there is interest to support it, then dynamic
> debugging can be enabled to help find the cause for failure. If there is
> no interest in supporting ATL on a new system, then these failures will
> be silent.
>
> Signed-off-by: Yazen Ghannam <yazen.ghannam@xxxxxxx>
> ---
> drivers/ras/amd/atl/access.c | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)

Applied, thanks.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette