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

From: Saravana Kannan
Date: Tue Mar 05 2024 - 00:05:13 EST


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(-)

--
2.44.0.278.ge034bb2e1d-goog