[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aaef59e8-4ef7-4515-b4c0-a321f05a9c18@zhaoxin.com>
Date: Sat, 14 Sep 2024 17:36:12 +0800
From: Tony W Wang-oc <TonyWWang-oc@...oxin.com>
To: Borislav Petkov <bp@...en8.de>
CC: <tglx@...utronix.de>, <mingo@...hat.com>, <dave.hansen@...ux.intel.com>,
<x86@...nel.org>, <hpa@...or.com>, <tony.luck@...el.com>,
<linux-kernel@...r.kernel.org>, <linux-edac@...r.kernel.org>,
<CobeChen@...oxin.com>, <TimGuo@...oxin.com>, <LeoLiu-oc@...oxin.com>, "Lyle
Li" <LyleLi@...oxin.com>
Subject: Re: [PATCH v1 1/3] x86/mce: Add centaur vendor to support Zhaoxin MCA
On 2024/9/13 22:27, Borislav Petkov wrote:
>
>
> [这封邮件来自外部发件人 谨防风险]
>
> On Mon, Sep 09, 2024 at 06:43:47PM +0800, Tony W Wang-oc wrote:
>> @@ -1970,6 +1974,18 @@ static int __mcheck_cpu_apply_quirks(struct cpuinfo_x86 *c)
>> }
>> }
>>
>> + if (c->x86_vendor == X86_VENDOR_CENTAUR) {
>> + /*
>> + * All newer Centaur CPUs support MCE broadcasting. Enable
>> + * synchronization with a one second timeout.
>> + */
>> + if ((c->x86 == 6 && c->x86_model == 0xf && c->x86_stepping >= 0xe) ||
>> + c->x86 > 6) {
>> + if (cfg->monarch_timeout < 0)
>> + cfg->monarch_timeout = USEC_PER_SEC;
>> + }
>> + }
>
> So if centaur == zhaoxin, why aren't you moving this hunk to
> mce_zhaoxin_feature_init() instead?
>
>
Ok, will adjust the patch in the next version.
Sincerely!
TonyWWang-oc
Powered by blists - more mailing lists