mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yazen Ghannam <yazen.ghannam@amd.com>
To: Borislav Petkov <bp@alien8.de>
Cc: yazen.ghannam@amd.com, tony.luck@intel.com,
	linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org,
	avadhut.naik@amd.com, john.allen@amd.com, muralidhara.mk@amd.com,
	naveenkrishna.chatradhi@amd.com, sathyapriya.k@amd.com
Subject: Re: [PATCH 2/2] RAS: Introduce the FRU Memory Poison Manager
Date: Wed, 14 Feb 2024 09:21:45 -0500	[thread overview]
Message-ID: <9a82e9af-24c0-4277-b4d0-a708bba2cc88@amd.com> (raw)
In-Reply-To: <20240214090630.GAZcyClhFloQfHEqrC@fat_crate.local>

On 2/14/2024 4:06 AM, Borislav Petkov wrote:
> On Tue, Feb 13, 2024 at 09:35:16PM -0600, Yazen Ghannam wrote:
>> Memory errors are an expected occurrence on systems with high memory
>> density. Generally, errors within a small number of unique physical
>> locations is acceptable, based on manufacturer and/or admin policy.
>> During run time, memory with errors may be retired so it is no longer
>> used by the system. This is done in the kernel memory manager, and the
>> effect will remain until the system is restarted.
>>
>> If a memory location is consistently faulty, then the same run time
>> error handling may occur in the next reboot cycle. Running jobs may be
>> terminated due to previously known bad memory. This could be prevented
>> if information from the previous boot was not lost.
>>
>> Some add-in cards with driver-managed memory have on-board persistent
>> storage. Their driver may save memory error information to the
>> persistent storage during run time. The information may then be restored
>> after reset, and known bad memory may be retired before use. A running
>> log of bad memory locations is kept across multiple resets.
> 
> Too many "may"s above, please tone them down.
>

Will try :)
  
>> A similar solution is desirable for CPUs. However, this solution should
> 
> GPUs you mean?
>

I mean CPUs. GPUs would fall under the "add-in" card scenario.
  
>> leverage industry-standard components, as much as possible, rather than
>> a bespoke platform driver.
>>
>> Two components are needed: a record format and a persistent storage
>> interface.
>>
>> A UEFI CPER "FRU Memory Poison Section" is being proposed, along with a
>> "Memory Poison Descriptor", to use for this purpose. These new structures
>> are minimal, saving space on limited non-volatile memory, and extensible.
>>
>> CPER-aware persistent storage interfaces, like ACPI ERST and EFI Runtime
>> Variables, can be used. A new interface is not required.
> 
> I don't think stuff which is being proposed belongs here.
>

Do you mean this should be left out of the commit message?
  
>> Implement a new module to manage the record formats on persistent
>> storage. Use the requirements for an AMD MI300-based system to start.
>> Vendor- and platform-specific details can be abstracted later as needed.
> 
> This is a big diff so I'm splitting mails.
> 

Okay.

Thanks,
Yazen


  reply	other threads:[~2024-02-14 14:21 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-14  3:35 [PATCH 0/2] " Yazen Ghannam
2024-02-14  3:35 ` [PATCH 1/2] RAS/AMD/ATL, EDAC/amd64: Move MI300 Row Retirement to ATL Yazen Ghannam
2024-02-14  8:36   ` Borislav Petkov
2024-02-14 14:19     ` Yazen Ghannam
2024-02-14 16:05       ` Borislav Petkov
2024-02-14  3:35 ` [PATCH 2/2] RAS: Introduce the FRU Memory Poison Manager Yazen Ghannam
2024-02-14  9:06   ` Borislav Petkov
2024-02-14 14:21     ` Yazen Ghannam [this message]
2024-02-14 15:49       ` Borislav Petkov
2024-02-14 16:01         ` Yazen Ghannam
2024-02-14 16:11           ` Borislav Petkov
2024-02-14  9:28   ` Borislav Petkov
2024-02-14 14:28     ` Yazen Ghannam
2024-02-14 17:50       ` Borislav Petkov
2024-02-14 18:21         ` Borislav Petkov
2024-02-14 10:29   ` Borislav Petkov
2024-02-14 14:45     ` Yazen Ghannam
2024-02-14 18:04       ` Borislav Petkov
2024-02-14 10:34   ` Borislav Petkov
2024-02-14 14:46     ` Yazen Ghannam
2024-02-14 18:29       ` Borislav Petkov
2024-02-14 10:51   ` Borislav Petkov
2024-02-14 14:49     ` Yazen Ghannam
2024-02-14 11:05   ` Borislav Petkov
2024-02-14 14:56     ` Yazen Ghannam
2024-02-14 18:44       ` Borislav Petkov
2024-02-14 11:10   ` Borislav Petkov
2024-02-14 14:57     ` Yazen Ghannam
2024-02-14 11:15   ` Borislav Petkov
2024-02-14 14:59     ` Yazen Ghannam
2024-02-14 11:36   ` Borislav Petkov
2024-02-14 15:26     ` Yazen Ghannam
2024-02-14 19:44       ` Borislav Petkov
2024-02-14 20:10       ` Borislav Petkov
2024-02-14 12:02   ` Borislav Petkov
2024-02-14 15:33     ` Yazen Ghannam
2024-02-14 20:18       ` Borislav Petkov
2024-02-14 18:47   ` Borislav Petkov
2024-02-14  7:52 ` [PATCH 0/2] " Borislav Petkov
2024-02-20 12:29   ` M K, Muralidhara
2024-02-20 17:10     ` M K, Muralidhara

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9a82e9af-24c0-4277-b4d0-a708bba2cc88@amd.com \
    --to=yazen.ghannam@amd.com \
    --cc=avadhut.naik@amd.com \
    --cc=bp@alien8.de \
    --cc=john.allen@amd.com \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=muralidhara.mk@amd.com \
    --cc=naveenkrishna.chatradhi@amd.com \
    --cc=sathyapriya.k@amd.com \
    --cc=tony.luck@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®