From patchwork Thu Jun 23 08:03:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saravana Kannan X-Patchwork-Id: 584524 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AB1F7CCA47C for ; Thu, 23 Jun 2022 08:08:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229660AbiFWIIJ (ORCPT ); Thu, 23 Jun 2022 04:08:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229490AbiFWIII (ORCPT ); Thu, 23 Jun 2022 04:08:08 -0400 Received: from mail-yw1-x1149.google.com (mail-yw1-x1149.google.com [IPv6:2607:f8b0:4864:20::1149]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 671F4175A7 for ; Thu, 23 Jun 2022 01:08:07 -0700 (PDT) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-31859b57239so25095737b3.3 for ; Thu, 23 Jun 2022 01:08:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:message-id:mime-version:subject:from:to:cc; bh=0/eFU0mji1Y5TeAdS+iFtwLqEv6S9QVvc5w9MNgKvSI=; b=i4lCagk9B7bXzBTSvydWESPGMcIaTy587NpbP2mYAtDZ6jSJjooH6C+Y7/cK+vDe8p tjaVXz9Xf6G/kwdEKbckuIRmvlKQc0Isg70swEZfiBMBCe+S3DqlsKW/Vc8ddBvOPVjR lIvPheRYRhyuT/aqrXKaS7dyrpjaT1bLTWLtv8vqGjAQoGAdfDNhim8Pekrgn/FN48t1 D/gMxBflHbRNNpG4enBqhdLz1PNLhMs6W1UECUryzvBYRrirEIKEhJEPYAfsSr+73pFd dJS6KNGeJqtSU8cTmMdAQUt0LX8fu7kIoK2f2KVE7L/935rTbDztPIh8OGI8pjdX5HBe 1Gqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=0/eFU0mji1Y5TeAdS+iFtwLqEv6S9QVvc5w9MNgKvSI=; b=J0pBJDVkPiXxs+Plj7d0Pj3ud9cqUz6otHKzB7KLbcXGToBstZWdgmDxz/qA7FfVmj tl18TekjItBf9tRcorY8zq1oEzsv34iRVMPK88A8823JeBxEj0EQf7oT3rfDyYJ/Vx30 wSYluEPzqLQIK/PpujDvKIlYAw9nIPwSGZdPjhFVlVK0rWqLVZrc/4VVY29Z6t0/7cbH 5jWvOYimd5ZkevQKg/DUYbb2xxfpfhYDBhlA5bfIT6xOL84Zw+9S0gOWX4yaYJ7SSChe 23HXeTFFpkv+EdDtOdr05xju0+i0AOUGgwQrn4/faQCw5bpkNEzy2cA2UxR5Y79r27I6 /iXA== X-Gm-Message-State: AJIora/yJltX1eJLGW0/FGsU/2xoXMmpyOyOjKggjjkRuGEWIzdqm+c2 eM2YU5rlyAh1nZE5vC3VPuacUdCatKcE9vg= X-Google-Smtp-Source: AGRyM1tKZUYuUk4jgIOeWzWC4DuvxuYDkBy6JPSb9aejRHfp70WxuRAHiujgQUdpkfHS1fKlas2dvEUoIip4TbQ= X-Received: from saravanak.san.corp.google.com ([2620:15c:2d:3:8b2d:9894:73a4:8e1f]) (user=saravanak job=sendgmr) by 2002:a81:9b97:0:b0:313:7c6f:8685 with SMTP id s145-20020a819b97000000b003137c6f8685mr9446552ywg.201.1655971686587; Thu, 23 Jun 2022 01:08:06 -0700 (PDT) Date: Thu, 23 Jun 2022 01:03:41 -0700 Message-Id: <20220623080344.783549-1-saravanak@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.37.0.rc0.161.g10f37bed90-goog Subject: [PATCH v2 0/2] Fix console probe delay due to fw_devlink From: Saravana Kannan To: Greg Kroah-Hartman , "Rafael J. Wysocki" , Rob Herring , Frank Rowand , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Sakari Ailus , Len Brown , Saravana Kannan Cc: sascha hauer , peng fan , kevin hilman , ulf hansson , len brown , pavel machek , joerg roedel , will deacon , andrew lunn , heiner kallweit , russell king , "david s. miller" , eric dumazet , jakub kicinski , paolo abeni , linus walleij , hideaki yoshifuji , david ahern , kernel-team@android.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, iommu@lists.linux-foundation.org, netdev@vger.kernel.org, linux-gpio@vger.kernel.org, kernel@pengutronix.de, devicetree@vger.kernel.org, linux-acpi@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org fw_devlink.strict=1 has been enabled by default. This was delaying the probe of console devices. This series fixes that. v1->v2: - Added missing NULL check - Added Tested-by tags -Saravana cc: sascha hauer cc: peng fan cc: kevin hilman cc: ulf hansson cc: len brown cc: pavel machek cc: joerg roedel cc: will deacon cc: andrew lunn cc: heiner kallweit cc: russell king cc: "david s. miller" cc: eric dumazet cc: jakub kicinski cc: paolo abeni cc: linus walleij cc: hideaki yoshifuji cc: david ahern cc: kernel-team@android.com cc: linux-kernel@vger.kernel.org cc: linux-pm@vger.kernel.org cc: iommu@lists.linux-foundation.org cc: netdev@vger.kernel.org cc: linux-gpio@vger.kernel.org Cc: kernel@pengutronix.de Saravana Kannan (2): driver core: fw_devlink: Allow firmware to mark devices as best effort of: base: Avoid console probe delay when fw_devlink.strict=1 drivers/base/core.c | 3 ++- drivers/of/base.c | 2 ++ include/linux/fwnode.h | 4 ++++ 3 files changed, 8 insertions(+), 1 deletion(-)