lkml.org 
[lkml]   [2022]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v4 1/2] EDAC/amd64: Set memory type per DIMM
From
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!

\
 
 \ /
  Last update: 2022-02-04 18:22    [W:0.060 / U:1.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site