[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210708200959.GF15605@aus-x-yghannam.amd.com>
Date: Thu, 8 Jul 2021 16:09:59 -0400
From: Yazen Ghannam <yazen.ghannam@....com>
To: Borislav Petkov <bp@...en8.de>
Cc: linux-edac@...r.kernel.org, linux-kernel@...r.kernel.org,
mchehab@...nel.org, tony.luck@...el.com,
Smita.KoralahalliChannabasappa@....com
Subject: Re: [PATCH v2 09/31] EDAC/amd64: Define function to find
interleaving mode
On Wed, Jun 30, 2021 at 07:33:43PM +0200, Borislav Petkov wrote:
> On Wed, Jun 23, 2021 at 07:19:40PM +0000, Yazen Ghannam wrote:
> > @@ -1088,10 +1096,12 @@ struct addr_ctx {
> > u16 nid;
> > u8 inst_id;
> > u8 map_num;
> > + bool hash_enabled;
>
> For such single bits info you can use bitfields, like struct mca_config
> does it, for example.
>
Good idea. This particular field gets replaced later with a function
pointer. But I'll keep the bitfield idea in mind.
Thanks,
Yazen
Powered by blists - more mailing lists