summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAhmed Yaseen <yaseen@ghoul.dev>2026-08-31 18:48:08 +0000
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-10-13 12:02:54 +0300
commitbcbdfe03566ad0d01c6af3b5476e8cadffe4d3df (patch)
tree3d52ba38193584e05bbfe4faecb42dde06eb4b1d /tools/perf/scripts/python/stackcollapse.py
parent497fa09961b40081c64853c5b81b4c8d967738c6 (diff)
platform/x86: asus-wmi: validate custom fan curves on enable
Custom fan curves reach firmware unchecked, so a curve whose temperature or PWM decreases from one point to the next is accepted. The firmware does not respect such a curve: a first point of 100% followed by 50% leaves every point running at 100%. The kernel keeps reporting the points that were written, so sysfs stops describing what the fans are actually doing. Check the curve when enabling and reject it if it is invalid. Validation is done on enable rather than on write because fan curves are written one point at a time and are inconsistent mid-write. Fixes: 0f0ac158d28f ("platform/x86: asus-wmi: Add support for custom fan curves") Reported-by: Nir Yehoshua <nir@ciphersecuritylabs.com> Signed-off-by: Ahmed Yaseen <yaseen@ghoul.dev> Link: https://patch.msgid.link/20260831-fan-curve-validation-v2-1-7274ca16c8fe@ghoul.dev Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions