]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
opp: Reduce the size of critical section in _opp_table_kref_release()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 22 Oct 2020 06:56:08 +0000 (12:26 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Nov 2020 18:22:09 +0000 (19:22 +0100)
commit8ec600acec7fdf9750be55c2cc0b18d1d8da731c
tree681c50cdd3e120605be5cadccc77cab04968267c
parent5389f45320f873e8e162f8b0c10f47b752966801
opp: Reduce the size of critical section in _opp_table_kref_release()

[ Upstream commit e0df59de670b48a923246fae1f972317b84b2764 ]

There is a lot of stuff here which can be done outside of the big
opp_table_lock, do that. This helps avoiding few circular dependency
lockdeps around debugfs and interconnects.

Reported-by: Rob Clark <robdclark@gmail.com>
Reported-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/opp/core.c