diff options
author | Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> | 2025-05-07 15:19:07 +0300 |
---|---|---|
committer | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2025-05-22 11:06:40 +0200 |
commit | ec8c1b92eaec3efebff717b5c13da3b5e87f2dcc (patch) | |
tree | f7e6d7330342650b14b638fb653617a92141465b /scripts/gdb/linux/utils.py | |
parent | 7e6f4a0a7512eca93cecff3bcb37f0ed164949a2 (diff) |
i2c: atr: Fix lockdep for nested ATRs
When we have an ATR, and another ATR as a subdevice of the first ATR,
we get lockdep warnings for the i2c_atr.lock and
i2c_atr_chan.orig_addrs_lock. This is because lockdep uses a static key
for the locks, and doesn't see the locks of the separate ATR instances
as separate.
Fix this by generating a dynamic lock key per lock instance.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
Signed-off-by: Cosmin Tanislav <demonsingur@gmail.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions