diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2024-05-27 16:25:53 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2024-08-05 13:22:34 +0200 |
commit | 9094e53ff5c86ebe372ad3960c3216c9817a1a04 (patch) | |
tree | d17123f39c002bda1419096c837cd17ed5bbe7ff /block | |
parent | b87eee38605c396f0e1fa435939960e5c6cd41d6 (diff) |
pmdomain: core: Use dev_name() instead of kobject_get_path() in debugfs
Using kobject_get_path() means a dynamic memory allocation gets done, which
doesn't work on a PREEMPT_RT based configuration while holding genpd's raw
spinlock.
To fix the problem, let's convert into using the simpler dev_name(). This
means the information about the path doesn't get presented in debugfs, but
hopefully this shouldn't be an issue.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Raghavendra Kakarla <quic_rkakarla@quicinc.com> # qcm6490 with PREEMPT_RT set
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lore.kernel.org/r/20240527142557.321610-4-ulf.hansson@linaro.org
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions