aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-04-02 21:02:10 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-04-08 16:01:20 +0200
commit9ad18043fb35feb1d82c1e594575346f16d47dc7 (patch)
treea9a981f744c20048cc2fd0c6723e0598d423b84c /scripts/gdb/linux/interrupts.py
parentf99c1b87a902fcc81df569f2ff939d47880cd741 (diff)
thermal: core: Send trip crossing notifications at init time if needed
If a trip point is already exceeded by the zone temperature at the initialization time, no trip crossing notification is send regarding this even though mitigation should be started then. Address this by rearranging the code in handle_thermal_trip() to send a trip crossing notification for trip points already exceeded by the zone temperature initially which also allows to reduce its size by using the observation that the initialization and regular trip crossing on the way up become the same case then. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions