2023-04-25 19:40:44

by Borislav Petkov

[permalink] [raw]
Subject: Re: [PATCH RFC] x86/cpu: fix intermittent lockup on poweroff

On Tue, Apr 25, 2023 at 03:26:53PM -0400, Tony Battersby wrote:
> In stop_this_cpu(), make sure the CPUID leaf exists before accessing the
> leaf. This fixes a lockup on poweroff 50% of the time due to the wrong
> branch being taken randomly on some CPUs (seen on Supermicro X8DTH-6F
> with Intel Xeon X5650).

Please send the output of

cpuid -r

from that machine.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette


2023-04-25 20:04:08

by Tony Battersby

[permalink] [raw]
Subject: Re: [PATCH RFC] x86/cpu: fix intermittent lockup on poweroff

On 4/25/23 15:39, Borislav Petkov wrote:
> On Tue, Apr 25, 2023 at 03:26:53PM -0400, Tony Battersby wrote:
>> In stop_this_cpu(), make sure the CPUID leaf exists before accessing the
>> leaf. This fixes a lockup on poweroff 50% of the time due to the wrong
>> branch being taken randomly on some CPUs (seen on Supermicro X8DTH-6F
>> with Intel Xeon X5650).
> Please send the output of
>
> cpuid -r
>
> from that machine.
>
> Thx.
>
I have attached the output for the Xeon X5650 and Xeon X5690 (one is
running a slightly older kernel).  I have two different systems with
Supermicro X8DTH-6F motherboards and different speed CPUs, and I have
seen the problem on both of them.

Tony Battersby
Cybernetics


Attachments:
cpuid-X5650 (26.33 kB)
cpuid-X5690 (26.33 kB)
Download all attachments