aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorAleksa Savic <savicaleksa83@gmail.com>2023-12-19 15:36:19 +0100
committerGuenter Roeck <linux@roeck-us.net>2024-01-08 07:27:27 -0800
commit41c71105a845ec1458680f01644d032a5fbbe0d9 (patch)
treea69c3f76e872575345f3f95b6187db4f3247bb5a /tools/perf/scripts/python/call-graph-from-postgresql.py
parenthwmon: (lm75) Fix tmp112 default config (diff)
downloadwireguard-linux-41c71105a845ec1458680f01644d032a5fbbe0d9.tar.xz
wireguard-linux-41c71105a845ec1458680f01644d032a5fbbe0d9.zip
hwmon: (gigabyte_waterforce) Mark status report as received under a spinlock
Through hidraw, userspace can cause a status report to be sent from the device. The parsing in waterforce_raw_event() may happen in parallel to a waterforce_get_status() call (which resets the completion for tracking the report) if it's running on a different CPU where bottom half interrupts are not disabled. Add a spinlock around the complete_all() call in waterforce_raw_event() to prevent race issues. Fixes: d5939a793693 ("hwmon: Add driver for Gigabyte AORUS Waterforce AIO coolers") Signed-off-by: Aleksa Savic <savicaleksa83@gmail.com> Link: https://lore.kernel.org/r/20231219143620.22179-1-savicaleksa83@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions