[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46741fad-425c-4ed2-97be-3f2679da63eb@zhaoxin.com>
Date: Wed, 5 Jun 2024 20:02:52 +0800
From: Tony W Wang-oc <TonyWWang-oc@...oxin.com>
To: Borislav Petkov <bp@...en8.de>
CC: Thomas Gleixner <tglx@...utronix.de>, Linus Torvalds
<torvalds@...ux-foundation.org>, Dave Hansen <dave.hansen@...el.com>,
<mingo@...hat.com>, <dave.hansen@...ux.intel.com>, <x86@...nel.org>,
<hpa@...or.com>, <keescook@...omium.org>, <tony.luck@...el.com>,
<gpiccoli@...lia.com>, <mat.jonczyk@...pl>, <rdunlap@...radead.org>,
<alexandre.belloni@...tlin.com>, <mario.limonciello@....com>,
<yaolu@...inos.cn>, <bhelgaas@...gle.com>, <justinstitt@...gle.com>,
<linux-kernel@...r.kernel.org>, <linux-hardening@...r.kernel.org>,
<CobeChen@...oxin.com>, <TimGuo@...oxin.com>, <LeoLiu-oc@...oxin.com>
Subject: Re: [PATCH] x86/hpet: Read HPET directly if panic in progress
On 2024/6/5 19:33, Borislav Petkov wrote:
>
>
> [这封邮件来自外部发件人 谨防风险]
>
> On Wed, Jun 05, 2024 at 06:10:07PM +0800, Tony W Wang-oc wrote:
>> It may also happen without setting fake_panic, such as an MCE error of the
>> UCNA/SRAO type occurred?
>
> Which types exactly do you mean when you're looking at the severities[]
> array in severity.c?
>
> And what scenario are you talking about?
>
> To get an #MC exception and detect only UCNA/SRAO errors? Can that even
> happen on any hardware?
>
Yes, I mean an #MC exception happened and detect only like SRAO errors
like below:
MCESEV(
AO, "Action optional: memory scrubbing error",
SER, MASK(MCI_UC_AR|MCACOD_SCRUBMSK,
MCI_STATUS_UC|MCACOD_SCRUB)
),
MCESEV(
AO, "Action optional: last level cache writeback error",
SER, MASK(MCI_UC_AR|MCACOD, MCI_STATUS_UC|MCACOD_L3WB)
),
I think these errors are actually encountered on some platforms that
support these type of errors report to the #MC.
Sincerely
TonyWWang-oc
> --
> Regards/Gruss,
> Boris.
>
> https://people.kernel.org/tglx/notes-about-netiquette
Powered by blists - more mailing lists