PM / Domains: Add support for removing PM domains
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest10 patches 0 repliesNew
- v10 of 10 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- Added test when removing a PM domain to ensure the PM domain provider has been removed.
- Re-organised patches 8-10 so that patch #8 adds the code to verify if the provider is present, patch #9 adds basic support for removing PM domains and patch #10 adds support for removing PM domains by provider.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | PM / Domains: Add new helper functions for device-treedrivers/ include/ | +62 | 0 replies | |
| 2/10 | ARM: EXYNOS: Remove calls to of_genpd_get_from_provider()drivers/ | +8 | 0 replies | |
| 3/10 | staging: board: Remove calls to of_genpd_get_from_provider()drivers/ | +1 | 0 replies | |
| 4/10 | PM / Domains: Don't expose generic_pm_domain structure to clientsdrivers/ include/ | +9 | 0 replies | |
| 5/10 | PM / Domains: Don't expose xlate and provider helper functionsdrivers/ include/ | +51 | 0 replies | |
| 6/10 | PM / Domains: Verify the PM domain is present when adding a providerdrivers/ | +38 | 0 replies | |
| 7/10 | PM / Domains: Prepare for adding support to remove PM domainsdrivers/ | +73 | 0 replies | |
| 8/10 | PM / Domains: Store the provider in the PM domain structuredrivers/ include/ | +39 | 1 reply | |
| 9/10 | PM / Domains: Add support for removing PM domainsdrivers/ include/ | +65 | 1 reply | |
| 10/10 | PM / Domains: Add support for removing nested PM domains by providerdrivers/ include/ | +42 | 1 reply |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Ulf Hansson | Krzysztof Kozlowski |
|---|---|---|
| 1/10 | A-b | |
| 2/10 | A-b | R-b |
| 3/10 | A-b | |
| 4/10 | A-b | |
| 5/10 | A-b | |
| 6/10 | A-b | |
| 7/10 | A-b | |
| 8/10 | A-b | |
| 9/10 | A-b | |
| 10/10 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V2 00/10] PM / Domains: Add support for removing PM domains
In order to safely remove PM domains there are a few changes that need to be made to ensure that no one is holding an external reference to a PM domain after it has been removed. One solution, implemented here, solves this by eliminating external references to PM domain.
Changes from V1:
- Added test when removing a PM domain to ensure the PM domain provider has been removed.
- Re-organised patches 8-10 so that patch #8 adds the code to verify if the provider is present, patch #9 adds basic support for removing PM domains and patch #10 adds support for removing PM domains by provider.
Changes from initial RFC:
- Renamed functions made static per Ulf's feedback.
- Added patch to clean-up provider/xlate APIs per Ulf's feedback
- Re-worked and simplified the association between PM domains and PM domain providers. Dropped the 'provider_data' variable from the generic_pm_domain structure in favour of using the fwnode_handle.
- Split patch for removing PM domains into multiple patches per Ulf's feedback.
Jon Hunter (10):
PM / Domains: Add new helper functions for device-tree
ARM: EXYNOS: Remove calls to of_genpd_get_from_provider()
staging: board: Remove calls to of_genpd_get_from_provider() PM / Domains: Don't expose generic_pm_domain structure to clients PM / Domains: Don't expose xlate and provider helper functions PM / Domains: Verify the PM domain is present when adding a provider PM / Domains: Prepare for adding support to remove PM domains PM / Domains: Store the provider in the PM domain structure PM / Domains: Add support for removing PM domains
PM / Domains: Add support for removing nested PM domains by provider
drivers/base/power/domain.c | 353 +++++++++++++++++++++++++++++++++++---- drivers/soc/samsung/pm_domains.c | 23 +-- drivers/staging/board/board.c | 9 +- include/linux/pm_domain.h | 74 ++++---- 4 files changed, 364 insertions(+), 95 deletions(-)
Signature · 1 line
2.1.4