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: 12891919 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 F229BC433EF for ; Thu, 23 Jun 2022 08:08:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229709AbiFWIIK (ORCPT ); Thu, 23 Jun 2022 04:08:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbiFWIIJ (ORCPT ); Thu, 23 Jun 2022 04:08:09 -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 66B2E17045 for ; Thu, 23 Jun 2022 01:08:07 -0700 (PDT) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-317ae1236feso103893477b3.11 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=gxFp2ZJXGI0GRJto1ln5m3SUddS7R9UTcXOUczotUZkh+yEesjPV/o2jITk63vFH7v aBqNyyg97bl0MxAoGEw6iA/7a/AQgFOGS5ezLQ1Eh5RUjl3cu1TFaK4bb0T3eF2LFp39 ppPnHqTdhl1bbpqGh9hNvUUq210b00KWd4mKw7Q37zI/G7cTgmfEXUSIuFmUVSzgmSyW OQF3QkHZalym3eYzm0mTFleVZ0pvVjn3PzcLZ6cFjYCm7H8YwQEALaJostDlv8qj/EQU Frj69dBHnudOEqIzBIqY2opyCLSvpv6dpQeYYqlOlFSOcyyeBBm3QCbZYxpIevTb38Qr nETw== X-Gm-Message-State: AJIora+NxF3g5cSHzermEv8PigXMX9T2Iz9GNLKxiLGqUAx/lDV1RnHA f83zx7/m7Q8dRHcfHgmFKLQ7g5nM5N5Qb3Q= 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-acpi@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(-)