From patchwork Wed Sep 15 08:11:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saravana Kannan X-Patchwork-Id: 12495711 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-21.2 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11439C433EF for ; Wed, 15 Sep 2021 08:12:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E1EDF6112D for ; Wed, 15 Sep 2021 08:12:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236877AbhIOINT (ORCPT ); Wed, 15 Sep 2021 04:13:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236757AbhIOINL (ORCPT ); Wed, 15 Sep 2021 04:13:11 -0400 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8C16C0613E0 for ; Wed, 15 Sep 2021 01:11:43 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id a23-20020a25ae17000000b005ad73346312so2545205ybj.18 for ; Wed, 15 Sep 2021 01:11:43 -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=yfa5Rx/Qiunlci+zcN20hGjk88ftJaLJ8MhJAuyVtPg=; b=Bziq+JAqVVonT8FZlMTg9QRvlqbUqLE8pqptTBdcOCh1N6hQ7V85vIJZEmAJFOFIEe MDN4tK9VdpMxrx7LFFTAiWGV79SBpHFjqNYqp2Ol6tOwYbR0gHIU9ZYA96tTgwPvBkkf h7ar0uSpe9wkk6LZUVuo10u6lIWO7mb551gfLsgCWmYApmmUdoFc4dKx4Fn272xt1dff 5Zxkk94pxBzeNzjW0DcYthW+/Mg+upiqLEJbpFePYgaBiqUjbHIOyFrbEapt1nF4XkgP cEaxl9cKDdiIasFtJFHqVpfT9/eLWIo9Lq6PvO8ARORvrLvJaHI9fizqKrvmdvGxuMQE C/9A== 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=yfa5Rx/Qiunlci+zcN20hGjk88ftJaLJ8MhJAuyVtPg=; b=UkevHdMH6DNLrYmIhOTQmFsmp4TP/j321KKPkIM5bppEenVR1PmWHvJLjI8ottFu/J WBf9lefEAFaIJztiauaSX4g/RcDqLpVSBTV8Gbfw0sqfHX/xlkY7hJRRPYocwqgfXiOy lWrpWeoH9tK+Jai0qXo2uOTLPwrkezkFDrYW8kP+B67p3bwS5+siuC6J8a5qnBPO9m98 KSocwzgOMB7bci2Y0Z9Hf90OkqEqvVZ7Y3L+txg62D2F2UqlpIqAMO3Jo+qdLlzRzmW8 7Aw9su3mr6yHlrSd/JiQjQSOfhjiWHOThqfAyNmwdEj8sVLMwbZAqOLUUHYe0gUZ1GVX NE4w== X-Gm-Message-State: AOAM532gGxuqdPJq45cULzdYmurqqLQeU7xlDmUCubDmRHnp4lEhTUzF uznZ4hHu2fTdsTxU4hp+xgq2DbFZ86XuA/k= X-Google-Smtp-Source: ABdhPJw5lk8+hNRREG7eLjZEFSM4ko3LXxf98/UI9AGjkdcwerpLOs2cJ00+a4CoN07Yf0O8WeHlY6ZQDJGAc9Y= X-Received: from saravanak.san.corp.google.com ([2620:15c:2d:3:16d1:ab0e:fc4a:b9b1]) (user=saravanak job=sendgmr) by 2002:a25:9906:: with SMTP id z6mr4480758ybn.373.1631693503120; Wed, 15 Sep 2021 01:11:43 -0700 (PDT) Date: Wed, 15 Sep 2021 01:11:32 -0700 Message-Id: <20210915081139.480263-1-saravanak@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.33.0.309.g3052b89438-goog Subject: [PATCH v2 0/6] fw_devlink improvements From: Saravana Kannan To: Greg Kroah-Hartman , "Rafael J. Wysocki" , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Jakub Kicinski , Len Brown , Saravana Kannan Cc: John Stultz , Marek Szyprowski , Rob Herring , Geert Uytterhoeven , Vladimir Oltean , kernel-team@android.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-acpi@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Patches ready for picking up: Patch 1 fixes a bug in fw_devlink. Patch 2-4 are meant to make debugging easier Patch 5 and 6 fix fw_devlink issues with PHYs and networking Andrew, I think Patch 5 and 6 should be picked up be Greg too. Let me know if you disagree. -Saravana Cc: John Stultz Cc: Marek Szyprowski Cc: Rob Herring Cc: Geert Uytterhoeven Cc: Andrew Lunn Cc: Vladimir Oltean v1->v2: - Added a few Reviewed-by and Tested-by tags - Addressed Geert's comments in patches 3 and 5 - Dropped the fw_devlink.debug patch - Added 2 more patches to the series to address other fw_devlink issues Thanks, Saravana Saravana Kannan (6): driver core: fw_devlink: Improve handling of cyclic dependencies driver core: Set deferred probe reason when deferred by driver core driver core: Create __fwnode_link_del() helper function driver core: Add debug logs when fwnode links are added/deleted driver core: fw_devlink: Add support for FWNODE_FLAG_NEEDS_CHILD_BOUND_ON_ADD net: mdiobus: Set FWNODE_FLAG_NEEDS_CHILD_BOUND_ON_ADD for mdiobus parents drivers/base/core.c | 90 ++++++++++++++++++++++++++------------ drivers/net/phy/mdio_bus.c | 4 ++ include/linux/fwnode.h | 11 +++-- 3 files changed, 75 insertions(+), 30 deletions(-)