]> git.baikalelectronics.ru Git - kernel.git/commit
interconnect: Teach lockdep about icc_bw_lock order
authorRob Clark <robdclark@chromium.org>
Mon, 7 Aug 2023 17:11:41 +0000 (10:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Sep 2023 09:11:13 +0000 (11:11 +0200)
commit0db211ec0f1d32b93486e8f6565249ad4d1bece5
tree97971b2893b4d05d6e67eb4ab36f72797a25332b
parentb93aeb6352b0229e3c5ca5ca4ff015b015aff33c
interconnect: Teach lockdep about icc_bw_lock order

commit 13619170303878e1dae86d9a58b039475c957fcf upstream.

Teach lockdep that icc_bw_lock is needed in code paths that could
deadlock if they trigger reclaim.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Link: https://lore.kernel.org/r/20230807171148.210181-8-robdclark@gmail.com
Signed-off-by: Georgi Djakov <djakov@kernel.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/interconnect/core.c