linux-stable/drivers/thermal/intel/int340x_thermal
Srinivas Pandruvada 088f16f352 thermal: int340x: processor_thermal: Common function to clear SOC interrupt
The SOC interrupt status register contains multiple interrupt sources
(workload hint interrupt and power floor interrupt). It is not possible
to clear individual interrupt source with read-modify-write, as it may
clear the new interrupt from the firmware after a read operation. It is
also not possible to set the interrupt status bit to 1 for the other
interrupt source, which is not part of clearing.

Hence, create a common function, to clear all status bits at once.

Call this function after processing all interrupt sources.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
[ rjw: Changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2023-10-12 21:09:48 +02:00
..
acpi_thermal_rel.c thermal: intel: int340x_thermal: New IOCTLs for Passive v2 table 2023-06-13 17:57:39 +02:00
acpi_thermal_rel.h thermal: intel: int340x_thermal: New IOCTLs for Passive v2 table 2023-06-13 17:57:39 +02:00
int340x_thermal_zone.c thermal: int340x: Use thermal_zone_for_each_trip() 2023-10-05 13:31:15 +02:00
int340x_thermal_zone.h thermal: intel: int340x: Use generic trip points table 2023-01-27 15:11:12 +01:00
int3400_thermal.c thermal: Use thermal_tripless_zone_device_register() 2023-09-05 21:42:18 +02:00
int3401_thermal.c thermal: intel: int340x: simplify the code with module_platform_driver() 2023-08-22 21:46:13 +02:00
int3402_thermal.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
int3403_thermal.c thermal: intel: int340x: Rework updating trip points 2023-01-27 15:11:12 +01:00
int3406_thermal.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
Kconfig thermal: intel: int340x: Use generic trip points table 2023-01-27 15:11:12 +01:00
Makefile thermal: int340x: processor_thermal: Add workload type hint interface 2023-09-14 21:52:19 +02:00
processor_thermal_device_pci_legacy.c thermal: int340x: processor_thermal: Move mailbox code to common module 2023-09-14 21:52:19 +02:00
processor_thermal_device_pci.c thermal: int340x: processor_thermal: Common function to clear SOC interrupt 2023-10-12 21:09:48 +02:00
processor_thermal_device.c thermal: int340x: processor_thermal: Add workload type hint interface 2023-09-14 21:52:19 +02:00
processor_thermal_device.h thermal: int340x: processor_thermal: Common function to clear SOC interrupt 2023-10-12 21:09:48 +02:00
processor_thermal_mbox.c thermal: int340x: processor_thermal: Add interrupt configuration function 2023-09-14 21:52:19 +02:00
processor_thermal_rapl.c powercap: intel_rapl: Fix a sparse warning in TPMI interface 2023-08-01 13:45:08 +02:00
processor_thermal_rfim.c thermal: intel: int340x: Add DLVR support for RFIM control 2023-04-18 15:24:40 +02:00
processor_thermal_wt_hint.c thermal: int340x: processor_thermal: Common function to clear SOC interrupt 2023-10-12 21:09:48 +02:00
processor_thermal_wt_req.c thermal: int340x: processor_thermal: Move mailbox code to common module 2023-09-14 21:52:19 +02:00