linux/drivers/pmdomain/arm
Sibi Sankar 0bf0203442 pmdomain: arm: Use FLAG_DEV_NAME_FW to ensure unique names
The domain attributes returned by the perf protocol can end up reporting
identical names across domains, resulting in debugfs node creation failure.
Use the GENPD_FLAG_DEV_NAME_FW to ensure the genpd providers end up with an
unique name.

Logs: [X1E reports 'NCC' for all its scmi perf domains]
debugfs: Directory 'NCC' with parent 'pm_genpd' already present!
debugfs: Directory 'NCC' with parent 'pm_genpd' already present!

Reported-by: Johan Hovold <johan+linaro@kernel.org>
Closes: https://lore.kernel.org/lkml/ZoQjAWse2YxwyRJv@hovoldconsulting.com/
Suggested-by: Ulf Hansson <ulf.hansson@linaro.org>
Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Cc: stable@vger.kernel.org
Message-ID: <20241030125512.2884761-6-quic_sibis@quicinc.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2024-10-30 17:11:56 +01:00
..
Kconfig firmware: arm_scpi: Move power-domain driver to the pmdomain dir 2023-11-23 17:32:53 +01:00
Makefile firmware: arm_scpi: Move power-domain driver to the pmdomain dir 2023-11-23 17:32:53 +01:00
scmi_perf_domain.c pmdomain: arm: Use FLAG_DEV_NAME_FW to ensure unique names 2024-10-30 17:11:56 +01:00
scmi_pm_domain.c pmdomain: arm: scmi_pm_domain: set flag GENPD_FLAG_ACTIVE_WAKEUP 2024-06-05 11:54:43 +02:00
scpi_pm_domain.c firmware: arm_scpi: Move power-domain driver to the pmdomain dir 2023-11-23 17:32:53 +01:00