Re: [PATCH] x86/mce/amd: init mce severity to handle deferred memory failure

From: Yazen Ghannam
Date: Thu Apr 18 2024 - 09:23:20 EST


On 4/18/24 04:42, Ruidong Tian wrote:
>
> AMD ATL has merged to upstream, can we merge this patch to process
> deferred error with memory_failure()?
>

Hi Ruidong,

Thanks for the follow up.

This patch is made redundant by the following patch in review.
https://lore.kernel.org/linux-edac/20240404151359.47970-11-yazen.ghannam@xxxxxxx/

Also, this is still not sufficient. The address translation still needs
to be invoked in order for memory_failure() to have a valid system
physical address.

Please see the following work-in-progress patch.
https://github.com/AMDESE/linux/commit/6ddd8e90d08edb4a2730ccd02981baef4645bb43

Thanks,
Yazen