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: 12891536 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 4B123C43334 for ; Wed, 22 Jun 2022 21:59:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347203AbiFVV7a (ORCPT ); Wed, 22 Jun 2022 17:59:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242676AbiFVV71 (ORCPT ); Wed, 22 Jun 2022 17:59:27 -0400 Received: from mail-yb1-xb4a.google.com (mail-yb1-xb4a.google.com [IPv6:2607:f8b0:4864:20::b4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E783E6317 for ; Wed, 22 Jun 2022 14:59:17 -0700 (PDT) Received: by mail-yb1-xb4a.google.com with SMTP id q138-20020a252a90000000b006694ac29d4eso5865310ybq.14 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=tsy0MLglZcbhdD66krbhleNW+UWmkiCfmjtu0Ioa9MHMjpnduBNelNZhlScI+MXpEb /JgOm0kul8tqBVC2ir7TDLtZX3AMWN3bkYs3jldufdC6zDTUdOwrl/dqqt9koS+9OpYv kT26Ju4e5hSPYpF+eCHYr66hvXiy6U56q4AGzKDFVpXam8rNRGvFl8gZuZLHOJ6Hdl42 WhlPbSECCnsl+a2xohE2uBWf1HZVvljkuAOIhICoUTBbbNsFV10xSZogjsX2//X6BZNQ rzYnjkmXSK31bi9a8bHXzXyJTtb3G/Z1TsyAT/pjj3s/q+fBvym068X2Qfp7LT8b0cks Kffw== X-Gm-Message-State: AJIora97yp5yZMqwMr6THGFFHoDYy7/zC5xvpmfWFB3285sdoAFshVyk p6vaRb6LQ9GDMEFJ4AuICPyrJYG0dvQQl4s= 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: 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. 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