]> www.infradead.org Git - users/willy/pagecache.git/commit
thermal: int340x: processor_thermal: Support shared interrupts
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Wed, 19 Jun 2024 04:44:24 +0000 (21:44 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 19 Jun 2024 14:52:15 +0000 (16:52 +0200)
commit096597cfe4ea08b1830e775436d76d7c9d6d3037
tree32ea1faed242f74b7f39fbf2b05d3bff4bf5ce99
parentd284d6cdaa27c8c32a20f8b72e2a489205a405f2
thermal: int340x: processor_thermal: Support shared interrupts

On some systems the processor thermal device interrupt is shared with
other PCI devices. In this case return IRQ_NONE from the interrupt
handler when the interrupt is not for the processor thermal device.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Fixes: f0658708e863 ("thermal: int340x: processor_thermal: Use non MSI interrupts by default")
Cc: 6.7+ <stable@vger.kernel.org> # 6.7+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c