diff options
| author | Prathima <Prathima.Lk@amd.com> | 2026-07-10 16:46:41 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-07-17 15:50:48 +0200 |
| commit | 47f6311f8f523ed3671611e12f94e0cbb193861b (patch) | |
| tree | e87fab431609025f2174dc00d24296e45018337e /include/linux/debugobjects.h | |
| parent | 48ad55cda029dca47f4cd76b88f18fdfb1d309a8 (diff) | |
hwmon: Add mutex protecting for sbtsi read/write through hwmon
Add a mutex and take it around SBTSI read/write paths so that only
one transaction runs at a time. The lock is held only for the
duration of the bus transfer and associated driver bookkeeping, not
across blocking work unrelated to SBTSI.
This is a concurrency hardening fix.
Reviewed-by: Akshay Gupta <Akshay.Gupta@amd.com>
Signed-off-by: Prathima <Prathima.Lk@amd.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Link: https://patch.msgid.link/20260710111642.850022-8-Akshay.Gupta@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
