devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/4] Add post-init-providers binding to improve suspend/resume stability
@ 2024-02-22  3:46 Saravana Kannan
  2024-02-22  3:46 ` [PATCH v4 1/4] driver core: Adds flags param to fwnode_link_add() Saravana Kannan
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Saravana Kannan @ 2024-02-22  3:46 UTC (permalink / raw)
  To: Saravana Kannan, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Greg Kroah-Hartman, Rafael J. Wysocki, Ard Biesheuvel,
	Frank Rowand, Andy Shevchenko, Daniel Scally, Heikki Krogerus,
	Sakari Ailus, Len Brown
  Cc: kernel-team, linux-kernel, devicetree, linux-efi, linux-acpi

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.

Patch 3 (the binding documentation) provides a lot more details and
examples.

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 (4):
  driver core: Adds flags param to fwnode_link_add()
  driver core: Add FWLINK_FLAG_IGNORE to completely ignore a fwnode link
  dt-bindings: Add post-init-providers property
  of: property: fw_devlink: Add support for "post-init-providers"
    property

 .../bindings/post-init-providers.yaml         | 105 ++++++++++++++++++
 MAINTAINERS                                   |  13 ++-
 drivers/base/core.c                           |  14 ++-
 drivers/firmware/efi/sysfb_efi.c              |   2 +-
 drivers/of/property.c                         |  17 ++-
 include/linux/fwnode.h                        |   5 +-
 6 files changed, 142 insertions(+), 14 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/post-init-providers.yaml

-- 
2.44.0.rc0.258.g7320e95886-goog


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-03-04 14:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-22  3:46 [PATCH v4 0/4] Add post-init-providers binding to improve suspend/resume stability Saravana Kannan
2024-02-22  3:46 ` [PATCH v4 1/4] driver core: Adds flags param to fwnode_link_add() Saravana Kannan
2024-02-22  3:46 ` [PATCH v4 2/4] driver core: Add FWLINK_FLAG_IGNORE to completely ignore a fwnode link Saravana Kannan
2024-02-22  3:46 ` [PATCH v4 3/4] dt-bindings: Add post-init-providers property Saravana Kannan
2024-02-22  5:23   ` Rob Herring
2024-02-22  3:46 ` [PATCH v4 4/4] of: property: fw_devlink: Add support for "post-init-providers" property Saravana Kannan
2024-02-29 17:57 ` [PATCH v4 0/4] Add post-init-providers binding to improve suspend/resume stability Rafael J. Wysocki
2024-03-04 14:06 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).