From patchwork Wed Jun 22 21:59:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saravana Kannan X-Patchwork-Id: 12891516 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 149D1C433EF for ; Wed, 22 Jun 2022 21:59:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346078AbiFVV73 (ORCPT ); Wed, 22 Jun 2022 17:59:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237418AbiFVV7T (ORCPT ); Wed, 22 Jun 2022 17:59:19 -0400 Received: from mail-yw1-x114a.google.com (mail-yw1-x114a.google.com [IPv6:2607:f8b0:4864:20::114a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4D5F5F58 for ; Wed, 22 Jun 2022 14:59:17 -0700 (PDT) Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-2fed274f3fbso154272957b3.17 for ; Wed, 22 Jun 2022 14:59:17 -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=ShVpNHmjygEofAqZTHbL2NPyHgeZoFDheDozlrqz8Mo=; b=mPUp1ZaiPzHiX/ODKTWQHSWhTGs2yrj0nz46pJea4DKVIWXpl3q0hnFrpNlVeVuFMu O6opAaXQuvi5uzX9EE3KaV2tOUFGq1jDJOmlWAwGI9JnOmBxCTczh9qb6dkX4IMOxw4R 7k5Jju5GTUCe3yiEswDVY4cctHhutRwGFrXTp4d6H7EswQNBSuousy5e+nF8IFajtZYo OjoVhxEhdXwBTMSSxpG6OZNtheT6Ku7+aQY740oMkBnQKdxNivQym1AS38woNuH1PkQi LMpv++OC1nrl7lO39MRZ8QiA8XyTUqyfG3zJSRr2zKL91xKNcPmDsDkOZgGsgRtYkxv9 yh6w== 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=ShVpNHmjygEofAqZTHbL2NPyHgeZoFDheDozlrqz8Mo=; b=ysN6Z7Gh4ERCbXcb+INfU3E8LZUO8cIXLu0KbjBzPaenJHfWpS5aD147Ry2fD1QTDl nI8G197Xfzn6eivD7louYNtURQioc6EbLGPPvg4tsX9NgosKttRfUoLmAWcmkkj0tIk7 3AEug5NvWo56XvhOQluiAUD3stv4XCXSW4ZP+ScjHIk0mL+trTDzWaprImXTWTNJ0XN6 Xea3nfHQrZE3L8Im8ID2vV8pqaOu9mRMQYq8NHeTLyzltmMJe4jdSJC+O11Zj4+tZujq 9+OTQDc/+699QaaldnuHHI1/aAvBtbKvTlnXCzNpvPkFnk0f4TQKc8+2pnyLQIrIRvij 2rmg== X-Gm-Message-State: AJIora/F4bWlxLU/AKBClD+GNIivagBbnocBEJf1AoPYPMxUKHC9c69q sipAPYb9S2UKIVSOAazSF6n/MHyCxEdwFd4= X-Google-Smtp-Source: AGRyM1sPRolQYIbNGET+LNO41EG5xKdb86jsaddJpKTB6LWlD19bkf1RVr0BB1uN5nuhu99u7pbeK+zWsKcFtIE= X-Received: from saravanak.san.corp.google.com ([2620:15c:2d:3:be1f:89ac:a37d:6bb4]) (user=saravanak job=sendgmr) by 2002:a25:73d7:0:b0:668:e7db:d62 with SMTP id o206-20020a2573d7000000b00668e7db0d62mr6272113ybc.265.1655935157166; Wed, 22 Jun 2022 14:59:17 -0700 (PDT) Date: Wed, 22 Jun 2022 14:59:09 -0700 Message-Id: <20220622215912.550419-1-saravanak@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.37.0.rc0.161.g10f37bed90-goog Subject: [PATCH v1 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: netdev@vger.kernel.org fw_devlink.strict=1 has been enabled by default. This was delaying the probe of console devices. This series fixes that. Sasha/Peng, Can you test this please? -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(-) Tested-by: Peng Fan #i.MX8MP-EVK