Re: [PATCH] x86/thermal: Fix LVT thermal setup for SMI delivery mode
From: Thomas Gleixner
Date: Fri May 28 2021 - 04:23:47 EST
On Thu, May 27 2021 at 20:54, Borislav Petkov wrote:
> On Thu, May 27, 2021 at 01:49:42PM +0200, Thomas Gleixner wrote:
>> Also if disabling this entry is causing the BIOS/SMM gunk to go south, then
>> disabling CONFIG_X86_THERMAL_VECTOR should have the same effect.
>
> Well, I believe the latter was practically impossible:
>
> config X86_THERMAL_VECTOR
> def_bool y
> depends on X86 && CPU_SUP_INTEL && X86_LOCAL_APIC
So you could disable CPU_SUP_INTEL ... Should still boot with reduced
functionality.
> so *if* the machine was sporting thermal SMI, then it very much needed
> that code in intel_init_thermal() to unstuck the cores. At least it
> looks that way...
What a mess...