mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 13:03:48 +00:00
Nova Lake-S uses the same processor thermal PCI device ID as Nova Lake-H, 0xD703. The 0xAD03 ID added for Nova Lake-S is the Arrow Lake-S ID (PCI_DEVICE_ID_INTEL_ARL_S_THERMAL). The ARL-S entry comes first in the PCI ID table, so the NVL-S entry never matched. However, proc_thermal_rfim_add() matches on the device ID alone, so Arrow Lake-S, which has DLVR, wrongly gets the Nova Lake DLVR register map. Replace the separate NVL_H and NVL_S IDs with a single NVL ID, 0xD703, and drop the 0xAD03 entries. Fixes:af1b80b941("thermal: int340x: processor_thermal: Add Nova Lake processor thermal device") Fixes:dbd911a07f("thermal: intel: int340x: Add DLVR support for Nova Lake") Cc: [email protected] Signed-off-by: Sankara Tankala <[email protected]> Acked-by: Srinivas Pandruvada <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Rafael J. Wysocki <[email protected]>