All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Move ...mce/therm_throt.c to drivers/thermal/
@ 2021-01-08  8:54 Borislav Petkov
  2021-01-08  8:54 ` [PATCH 1/2] x86/mce: Get rid of mcheck_intel_therm_init() Borislav Petkov
  2021-01-08  8:54 ` [PATCH 2/2] thermal: Move therm_throt there from x86/mce Borislav Petkov
  0 siblings, 2 replies; 4+ messages in thread
From: Borislav Petkov @ 2021-01-08  8:54 UTC (permalink / raw)
  To: X86 ML
  Cc: Tony Luck, Zhang Rui, Daniel Lezcano, Amit Kucheria, linux-pm, LKML

From: Borislav Petkov <bp@suse.de>

Hi,

so this has come up a bunch of times in the past and PeterZ is right
- that thing doesn't have anything to do with the MCE glue so move it
where it belongs.

Thx.

Borislav Petkov (2):
  x86/mce: Get rid of mcheck_intel_therm_init()
  thermal: Move therm_throt there from x86/mce

 arch/x86/Kconfig                              |  4 --
 arch/x86/include/asm/irq.h                    |  4 ++
 arch/x86/include/asm/mce.h                    | 22 -----------
 arch/x86/include/asm/thermal.h                | 21 ++++++++++
 arch/x86/kernel/cpu/intel.c                   |  3 ++
 arch/x86/kernel/cpu/mce/Makefile              |  2 -
 arch/x86/kernel/cpu/mce/core.c                |  1 -
 arch/x86/kernel/cpu/mce/intel.c               |  1 -
 arch/x86/kernel/irq.c                         | 28 +++++++++++++
 drivers/thermal/intel/Kconfig                 |  4 ++
 drivers/thermal/intel/Makefile                |  1 +
 .../thermal/intel}/therm_throt.c              | 39 +++----------------
 drivers/thermal/intel/x86_pkg_temp_thermal.c  |  3 +-
 13 files changed, 69 insertions(+), 64 deletions(-)
 create mode 100644 arch/x86/include/asm/thermal.h
 rename {arch/x86/kernel/cpu/mce => drivers/thermal/intel}/therm_throt.c (96%)

-- 
2.29.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-08  9:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-08  8:54 [PATCH 0/2] Move ...mce/therm_throt.c to drivers/thermal/ Borislav Petkov
2021-01-08  8:54 ` [PATCH 1/2] x86/mce: Get rid of mcheck_intel_therm_init() Borislav Petkov
2021-01-08  8:54 ` [PATCH 2/2] thermal: Move therm_throt there from x86/mce Borislav Petkov
2021-01-08  9:46   ` Peter Zijlstra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.