[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aa81c069-2471-34bd-b7e1-f06508ae6104@oracle.com>
Date: Fri, 4 Feb 2022 18:20:56 +0100
From: William Roche <william.roche@...cle.com>
To: Yazen Ghannam <yazen.ghannam@....com>
Cc: Borislav Petkov <bp@...en8.de>, linux-edac@...r.kernel.org,
linux-kernel@...r.kernel.org, mchehab@...nel.org,
tony.luck@...el.com, james.morse@....com, rric@...nel.org,
Smita.KoralahalliChannabasappa@....com
Subject: Re: [PATCH v4 1/2] EDAC/amd64: Set memory type per DIMM
On 04/02/2022 16:51, Yazen Ghannam wrote:
>
> diff --git a/drivers/edac/amd64_edac.h b/drivers/edac/amd64_edac.h
> index 6f8147abfa71..38e5ad95d010 100644
> --- a/drivers/edac/amd64_edac.h
> +++ b/drivers/edac/amd64_edac.h
> @@ -397,7 +397,12 @@ struct amd64_pvt {
> /* place to store error injection parameters prior to issue */
> struct error_injection injection;
>
> - /* cache the dram_type */
> + /*
> + * cache the dram_type
> + *
> + * NOTE: Don't use this for Family 17h and later.
> + * Use dram_type in struct amd64_umc instead.
> + */
> enum mem_type dram_type;
>
> struct amd64_umc *umc; /* UMC registers */
It works for me Yazen.
Thanks!
Powered by blists - more mailing lists