Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2699418rdb; Mon, 12 Feb 2024 13:32:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVXjzTU9JhmCxIf2mVQaGPOb1NQlCFWhVcM/Ub0hasa9CNlNPave/y8+te5hk90CeJb1CnY5MpBc2Ujr+ScOKcjjSTG9/yfJN+CWcgCnQ== X-Google-Smtp-Source: AGHT+IEfEPiTVM7ObSV6Y7xMHSyeqI671vRnHuUldpjpL9o9Zl/J68lKMEZDnSyKTLuiOubv+6Re X-Received: by 2002:a2e:879a:0:b0:2d0:a6d3:56c6 with SMTP id n26-20020a2e879a000000b002d0a6d356c6mr4872245lji.32.1707773524190; Mon, 12 Feb 2024 13:32:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707773524; cv=pass; d=google.com; s=arc-20160816; b=UixEQP2/c5u5//Iv8uXD2ZHIp8rfqN0DOTfWN61XAha7Mxf0HB2xVUc23f5pl0/fy4 XsfMIi6Cu8I+ZC8JpmtPgYRemeWiMl7N8aPj0vF3819g9EMh3TXUYbp0w4ZU8kjw+S0f oAqLgcnV/Y4NUVHfESlwpxVkoBSte4DQbyjiSjyjeUWy/rzZxl5Rco6f4m6GSn19tldd NQkHX5WA7EE0T9jB63KegvyZdRxDB1RuHLSuzSQE+tbYrIE5pdWBGcOpjD1kxrGrSiNI jEF3ZQMKGBPvo/iilZLFM91EvmJt4QIYGDA4Ug4+EebEfSZQ1oZ3TqccVGJZIpHsWS5x nzhw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:date:dkim-signature; bh=eNLzwhDxpGsG0xXWUreD5zieU26PkV4O6rqgtZMT05I=; fh=xhETY+QZbeTAGc2Zb0wSTFoxLGDPbzATHnYqMB40CwQ=; b=vqX+8oz6Mbu/5/SH5kxAbEIW03j2LV16qr63aSbPrdVIU1T2LUzafSJD/NQpHUW0WM VDNQ84MlgMQ1jW7Aui0/vCciQ+Mztpc+zjYhipdxNwN7FeYenvPuOs4K32OHDmpL2UdK Bz3kwkX9EEYvBV9cX1iuzOYO1gRmrjQSCx6Tj2K0WdrzwFKyy5Ef0Ot+IQ2vFIpDaLK9 CdG2VMftT9/9Yng+sEc0x+/ZjaFvpi5rcbqRyf2UHUgj++M7f73DlQIWpNY79b1bdD/A i5JdX4XqWRXZh+pmrPk4qZ/+wl7kBYAc2cywOcHQRaE/OZON5UwP+3b5Wu16sujGNOI3 d18g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=kR1S9b0x; arc=pass (i=1 spf=pass spfdomain=flex--saravanak.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-62392-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62392-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com X-Forwarded-Encrypted: i=2; AJvYcCXRO/2mMQYkCNaki5Lgj1Rcw25p8pvotUGnE8l7DgXcKl+BX1JCtQtwK1Zwo6ieq6nNEt0gKwQIZapLTWy6OCQayxhT/XlF4Otw/APF5g== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id d12-20020aa7ce0c000000b00560eb443eb3si3168770edv.617.2024.02.12.13.32.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 13:32:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62392-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=kR1S9b0x; arc=pass (i=1 spf=pass spfdomain=flex--saravanak.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-62392-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62392-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E55101F22939 for ; Mon, 12 Feb 2024 21:32:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 88BCA4CE12; Mon, 12 Feb 2024 21:31:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="kR1S9b0x" Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 08E074D584 for ; Mon, 12 Feb 2024 21:31:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707773513; cv=none; b=uMZEVw0xQr/jayri5mpttmjap5GCpXLbiVsHaw1YN/xgYoSKWAqrSUoqN5Ri7eqDY8/HRlFwi1m3piu458BO7BkyCB2MM2W5D1sU+5gLKWEpPeYGL3apxZTE/gnzATIp3cJsAtEVnNjv+1Uq/EhZ2f5KAlwN4GwQ2vOm8XIhCiA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707773513; c=relaxed/simple; bh=uChUnQc4QHp+qfT44V695j8Bfi5csO+b4Ks0xqs3YHM=; h=Date:Message-Id:Mime-Version:Subject:From:To:Cc:Content-Type; b=BtEOnaGJA2v4uDlVMwb4tMvgikYEkZg/nB2FMM/JaYdYA5GMlDci7SVNMKNUtci9q/lXj7qio5n7vrJAd8L7rGq3WuDO6mZivw453YPP8gah/rMPRPfPBxyuJnm/iPv0gc8lkK434EFOalAQfOBNRBzXrZw7Z4E6MxwpkNB5xAM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--saravanak.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=kR1S9b0x; arc=none smtp.client-ip=209.85.219.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--saravanak.bounces.google.com Received: by mail-yb1-f201.google.com with SMTP id 3f1490d57ef6-dc6b269686aso5878736276.1 for ; Mon, 12 Feb 2024 13:31:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1707773510; x=1708378310; darn=vger.kernel.org; h=cc:to:from:subject:mime-version:message-id:date:from:to:cc:subject :date:message-id:reply-to; bh=eNLzwhDxpGsG0xXWUreD5zieU26PkV4O6rqgtZMT05I=; b=kR1S9b0xVghuNhih0RY6ckd6sl5vht9SMKx6ct0THm60HK2tkJVIGvEH6TnneCNSLt Czif0nlWvlBsRhZTLpEM4OOe7nuqaNUyDZYbkyoGELFW5NLVJQ06xWonL2leZYu5B4TW G1lkoLz4d0v7uISQcwcWBrF6zpivbdioQMLoemrkmzoU0H8Rm/T6RWE9+TsRs/6xyHlO hbXdflQE+sVHkJkIRdtawSj1qg0Dx2y2BMMFGG0DiebuzBMIeb43hka31Gcmcpqs3RdQ BI8Z4g/c1n/AT4Cv0/N6DrahdvARZIytcItQVJ5fR8fWuxYACr8ee8BVcT0jKC3xPJXg kEjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707773510; x=1708378310; h=cc:to:from:subject:mime-version:message-id:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=eNLzwhDxpGsG0xXWUreD5zieU26PkV4O6rqgtZMT05I=; b=KCbBdnGqvEEQ6GXmS5RKYRyHWunUogVsC7xWJtgLJQq1Auv70qoTWuydT3XeVWjZUq OraFXvbapTbDkN8orLMfDzY2bypqqiLtRT2LvJcWxQvl92jk6nXjeowCVFLX3p95UB9w 5fdL2NCEyncndlx0m5DZxJ9ZulGYHnByatZVSHhLfz/XLamzX2zBUO14tQS3G4cBJ6ri Ot/0CmwT+uMSurU1GUCZmTZ8Mk/ezoIkUi54tJhwrgpn+N/ODOIFVhrNAETp+DtYGr+S +J3I8ClgQ2uyhbUJF4K1iw1ac245jaZWWGgx5Vn1NRP7hYxYywFbRfMMAxTFjwnIDEpk gTmg== X-Forwarded-Encrypted: i=1; AJvYcCWKUClbDUR8gnxPtT43QMuBYD6lrpaWKORf9mdJgTyOS7y7uwQ+JWCfmYWzy5yaeTECUvkA5blXE/fmbXfeKu+kY0SAEyMiBGr+y40I X-Gm-Message-State: AOJu0YxWB5pnyNicrmNnSp7pTiKPPGwu/S1FRTlzH3VH5v4lnGNj0V7o +lRgmWgtRxMkY9xUwYXrFX0pnUL8EaO6R5Q+RctL58L8KJ/SSRoaNAAnX1G9t2XJ344bbcT0kC2 QJzZjT7bgU5V8IQ== X-Received: from saravanak.san.corp.google.com ([2620:15c:2d:3:496d:5de1:a404:8bee]) (user=saravanak job=sendgmr) by 2002:a25:c402:0:b0:dcb:fb69:eadc with SMTP id u2-20020a25c402000000b00dcbfb69eadcmr65722ybf.6.1707773510116; Mon, 12 Feb 2024 13:31:50 -0800 (PST) Date: Mon, 12 Feb 2024 13:31:41 -0800 Message-Id: <20240212213147.489377-1-saravanak@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.43.0.687.g38aa6559b0-goog Subject: [PATCH v2 0/4] Add post-init-supplier binding to improve suspend/resume stability From: Saravana Kannan To: Saravana Kannan , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman , "Rafael J. Wysocki" , Ard Biesheuvel , Frank Rowand , Len Brown , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Sakari Ailus Cc: kernel-team@android.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-efi@vger.kernel.org, linux-acpi@vger.kernel.org Content-Type: text/plain; charset="UTF-8" This patch series adds a "post-init-supplier" 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 docunentation) provide a lot more details and examples. 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-supplier property of: property: fw_devlink: Add support for "post-init-supplier" property .../bindings/post-init-supplier.yaml | 101 ++++++++++++++++++ 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, 138 insertions(+), 14 deletions(-) create mode 100644 Documentation/devicetree/bindings/post-init-supplier.yaml -- 2.43.0.687.g38aa6559b0-goog