diff options
author | 2025-05-07 15:19:07 +0300 | |
---|---|---|
committer | 2025-05-22 11:06:40 +0200 | |
commit | ec8c1b92eaec3efebff717b5c13da3b5e87f2dcc (patch) | |
tree | f7e6d7330342650b14b638fb653617a92141465b /scripts/gdb/linux/utils.py | |
parent | i2c: remove 'of_node' member from i2c_boardinfo (diff) | |
download | linux-rng-ec8c1b92eaec3efebff717b5c13da3b5e87f2dcc.tar.xz linux-rng-ec8c1b92eaec3efebff717b5c13da3b5e87f2dcc.zip |
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