summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorTristan Madani <tristan@talencesecurity.com>2026-10-19 22:26:35 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-10-22 20:55:02 +0200
commit0ffc7534a210105ba973167a5b86d5ab39d4031f (patch)
tree276030e73e4fa05950f8a47d490af3b4073f0919 /scripts/Makefile.thinlto
parent7be4bc52fd9e0e55dc9a2e0232b89427d2c4b614 (diff)
downloadlinux-0ffc7534a210105ba973167a5b86d5ab39d4031f.tar.gz
linux-0ffc7534a210105ba973167a5b86d5ab39d4031f.zip
cpufreq: intel_pstate: cancel HWP notify work in driver cleanup
intel_pstate_driver_cleanup() frees per-CPU data without cancelling the pending HWP notify delayed work. If hwp_notify_work is still scheduled or running when the struct is freed, the work function accesses freed memory via container_of(). Call intel_pstate_disable_hwp_interrupt() before kfree() to disable the interrupt source and cancel the pending work, matching the pattern used in intel_pstate_suspend() and intel_pstate_hwp_offline(). Fixes: d845cd901b28 ("cpufreq: intel_pstate: Support highest performance change interrupt") Cc: All applicable <stable@vger.kernel.org> Signed-off-by: Tristan Madani <tristan@talencesecurity.com> [ rjw: Fixed the Fixes: tag ] Link: https://patch.msgid.link/20261019222635.1741146-1-tristmd@gmail.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions