diff options
| author | Geert Uytterhoeven <geert+renesas@glider.be> | 2026-09-07 16:32:01 +0200 |
|---|---|---|
| committer | Ulf Hansson <ulfh@kernel.org> | 2026-09-21 13:57:58 +0200 |
| commit | ddacdefc38200bafa35e79925bbc1f4b1fdf41a8 (patch) | |
| tree | d8ce0efe78bddf8b9acb7ba33030cf8ab5dfdc33 /tools/perf/scripts/python/bin | |
| parent | f51306eaea241957fe9c17ff583317dd4788d492 (diff) | |
pmdomain: renesas: r8a78000: Fix lockdep false positive
Lockdep reports a possible circular locking dependency when attaching
devices to an MDLC PM domain:
- During creation of the singleton PM domain:
A. r8a78000_genpd_always_on_singleton() takes r8a78000_mdlc_lock,
B. pm_genpd_init() takes gpd_list_lock.
- During attachment of devices to PM domains:
A. pm_genpd_add_device() takes gpd_list_lock,
B. r8a78000_mdlc_attach_dev() takes r8a78000_mdlc_lock.
As the former is done only once, before any devices are attached, such a
AB-BA deadlock cannot really happen. Fix this false positive by
introducing a separate lock to protect the creation of the singleton
domain.
Fixes: 9f79f93963b0 ("pmdomain: renesas: Add R-Car X5H MDLC driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Signed-off-by: Ulf Hansson <ulfh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
