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: 12495695 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=ham 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 149FFC433FE for ; Wed, 15 Sep 2021 08:12:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F292F608FB for ; Wed, 15 Sep 2021 08:12:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236893AbhIOINV (ORCPT ); Wed, 15 Sep 2021 04:13:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236788AbhIOINL (ORCPT ); Wed, 15 Sep 2021 04:13:11 -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 DE5F3C0613A0 for ; Wed, 15 Sep 2021 01:11:43 -0700 (PDT) Received: by mail-yb1-xb4a.google.com with SMTP id v66-20020a25abc8000000b0059ef57c3386so2685533ybi.1 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=669oCWPnhtC17Ghx6nqXES83/STgpK+HJdm+3N7VTCyOUiNFhsdeakABtAzYRRy0Gc rOqyMRnjAh5XlyNbbyLCqzmhIwIszZSUVPC9TQjUZsvShrN9wfNbclbFJFC3BxgrOe2C 3BUNmETwa+e/vgPENzXVjsC9ng3dBkJ6GWvUwna/LehHh3xv6QtIbm123guAvZFoLwmt B91oDiNJktV723cjSjQ/vxWqr2TG7QaNLGcBsDJV1qQixO6hK79vpMoOOHJ5CxU3NjRO rzjpq0OMejvUSXHy04PGwYooeKmSsh7PKxbWnKD0ERH82Qq9w021aBjYiOfOcQrwRnoj CodA== X-Gm-Message-State: AOAM532Q34ylNR2Qby0My4CTZTaGE4IDqPGzRdnMKdmFR7J7BJBFi8ct oS6vTPa5RbEMPtdmLc4AAsQKv0otLVVONqw= 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: netdev@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(-)