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

2021-02-02 Thread Srinivas Pandruvada
On Tue, 2021-02-02 at 13:10 +0100, Borislav Petkov wrote: > On Mon, Feb 01, 2021 at 11:10:29AM -0800, Srinivas Pandruvada wrote: > > Only user of the above interface is in drivers/thermal/intel. > > So why can't we move these to > > drivers/thermal/intel/thermal_interrupt.h > > or similar? > >

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

2021-02-02 Thread Borislav Petkov
On Mon, Feb 01, 2021 at 11:10:29AM -0800, Srinivas Pandruvada wrote: > Only user of the above interface is in drivers/thermal/intel. > So why can't we move these to drivers/thermal/intel/thermal_interrupt.h > or similar? Sure, see below. --- From: Borislav Petkov Date: Thu, 7 Jan 2021 13:29:05

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

2021-02-01 Thread Srinivas Pandruvada
On Mon, 2021-02-01 at 15:27 +0100, Borislav Petkov wrote: > From: Borislav Petkov > > This functionality has nothing to do with MCE, move it to the thermal > framework and untangle it from MCE. > > [...] > /* > * Used by APEI to report memory error via /dev/mcelog > */ > diff --git

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

2021-02-01 Thread Borislav Petkov
From: Borislav Petkov This functionality has nothing to do with MCE, move it to the thermal framework and untangle it from MCE. Requested-by: Peter Zijlstra Signed-off-by: Borislav Petkov --- arch/x86/Kconfig | 4 --- arch/x86/include/asm/mce.h