Skip to content

Add post-init-providers binding to improve suspend/resume stability

Saravana Kannan linux-acpi linux-devicetree linux-efi lkml 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 0 repliesNew
  2. v44 patches 3 repliesSuperseded
  3. v34 patches 9 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches12 repliesSuperseded
v14 patches5 repliesSuperseded

Changes in v5 from the cover letter

- As suggesed by reviewers, removed line wraps to go > 80 chars.
- Added Reviewed-by and Acked-by
- Dropped the DT schema documentation patch (will submit tha to dtschema)

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3driver core: Adds flags param to fwnode_link_add()drivers/base/core.c drivers/firmware/efi/sysfb_efi.c drivers/of/property.c +1 more+7 -50 replies
2/3driver core: Add FWLINK_FLAG_IGNORE to completely ignore a fwnode linkdrivers/base/core.c include/linux/fwnode.h+10 -10 replies
3/3of: property: fw_devlink: Add support for "post-init-providers" propertydrivers/of/property.c+12 -30 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchRafael J. WysockiRob Herring
1/3A-b R-b
2/3A-b R-b
3/3A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/3] Add post-init-providers binding to improve suspend/resume stability

Greg,

Can you pull this in as part of your tree please?

Thanks, Saravana

This patch series adds a "post-init-providers" device tree binding that can be used to break dependency cycles in device tree and enforce a more determinstic probe/suspend/resume order. This will also improve the stability of global async probing and async suspend/resume and allow us to enable them more easily. Yet another step away from playing initcall chicken with probing and step towards fully async probing and suspend/resume.

dtschema update for post-init-providers will have a more substantial documentation of the examples and the need for this property.

v4->v5:
- As suggesed by reviewers, removed line wraps to go > 80 chars.
- Added Reviewed-by and Acked-by
- Dropped the DT schema documentation patch (will submit tha to dtschema)

v3->v4:
- Fixed MAINTAINERS file to go with the file rename.

v2->v3:
- Changes doc/code from "post-init-supplier" to "post-init-providers"
- Fixed some wording that was ambiguous for Conor.
- Fixed indentation, additionalProperies and white space issues in the yaml syntax.
- Fixed syntax errors in the example.

v1->v2:
- Addressed Documentation/commit text errors pointed out by Rob
- Reordered MAINTAINERS chunk as pointed out by Krzysztof

Saravana Kannan (3):
driver core: Adds flags param to fwnode_link_add()
driver core: Add FWLINK_FLAG_IGNORE to completely ignore a fwnode link
of: property: fw_devlink: Add support for "post-init-providers"
property

 drivers/base/core.c              | 14 +++++++++++---
 drivers/firmware/efi/sysfb_efi.c |  2 +-
 drivers/of/property.c            | 15 ++++++++++++---
 include/linux/fwnode.h           |  5 ++++-
 4 files changed, 28 insertions(+), 8 deletions(-)
Signature · 1 line
2.44.0.278.ge034bb2e1d-goog