diff options
author | Srinivas Pandruvada <[email protected]> | 2024-07-23 07:02:27 -0700 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2024-07-30 16:36:51 +0200 |
commit | b85a2d300a37641456c238591a056404436675c2 (patch) | |
tree | 33ef6c5e281869ef7f3598af057e45dc5cbeb2bb /scripts/gdb/linux/vmalloc.py | |
parent | b630a04121519c0f93f9cc8994147191cc3c17b4 (diff) |
thermal: intel: int340x: Allow limited thermal MSI support
On some Lunar Lake pre-production systems, not all the MSI thermal
vectors are valid. In that case instead of failing module load, continue
with partial thermal interrupt support.
pci_alloc_irq_vectors() can return less than expected maximum vectors.
In that case call devm_request_threaded_irq() only for current maximum
vectors.
Fixes: 7a9a8c5faf41 ("thermal: intel: int340x: Support MSI interrupt for Lunar Lake")
Reported-by: Yijun Shen <[email protected]>
Tested-by: Yijun Shen <[email protected]>
Signed-off-by: Srinivas Pandruvada <[email protected]>
Reviewed-by: Zhang Rui <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions