Re: [PATCH v2 2/2] thermal: Move therm_throt there from x86/mce

Borislav Petkov
2021-01-25T17:22:35Z

On Mon, Jan 25, 2021 at 09:14:35AM -0800, Srinivas Pandruvada wrote:
> Can the handler, processing architectural features via thermal
> interrupt, reside in arch/x86 folder or need to be
> drivers/thermal/intel?

Look at...

> > > @@ -718,7 +699,7 @@ void intel_init_thermal(struct cpuinfo_x86 *c)
> > > | PACKAGE_THERM_INT_HIGH_ENABLE), h);
> > > }
> > >
> > > - smp_thermal_vector = intel_thermal_interrupt;
> > > + thermal_set_handler(intel_thermal_interrupt);

... here. ^

This should answer your question.

--
Regards/Gruss,
Boris.