[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4e638a79-8b2e-291c-3b91-57677ffcc1fa@amd.com>
Date: Tue, 22 Feb 2022 10:42:25 -0600
From: Carlos Bilbao <carlos.bilbao@....com>
To: Borislav Petkov <bp@...en8.de>
Cc: tony.luck@...el.com, yazen.ghannam@....com,
Smita.KoralahalliChannabasappa@....com,
linux-kernel@...r.kernel.org, linux-edac@...r.kernel.org
Subject: Re: [PATCH] x86/mce: Simplify CPU vendor checks for AMD/Hygon and
Intel/Zhaoxin
Hello,
On 2/22/2022 10:10 AM, Borislav Petkov wrote:
> On Tue, Feb 22, 2022 at 09:58:58AM -0600, Carlos Bilbao wrote:
>> In a number of places across the MCE subsystem we check if we are running
>> an x86 processor from AMD/Hygon or Intel/Zhaoxin vendors. Simplify these
>> checks with two mce_flags updated at CPU MCE initialization.
>
> ... and what's the point of this silliness?
>
the point is to simplify the code (as the patch stated). Since we have 57
bits reserved but unused, it also wouldn't cost anything.
> Btw, you don't have to send it to my *two* email addresses - one is
> enough. :)
>
Noted.
Carlos.
Powered by blists - more mailing lists