From patchwork Thu Aug 26 07:45:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saravana Kannan X-Patchwork-Id: 12459245 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.3 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 76353C4320A for ; Thu, 26 Aug 2021 07:45:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3269F610FD for ; Thu, 26 Aug 2021 07:45:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240315AbhHZHqS (ORCPT ); Thu, 26 Aug 2021 03:46:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240306AbhHZHqR (ORCPT ); Thu, 26 Aug 2021 03:46:17 -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 8C42CC061757 for ; Thu, 26 Aug 2021 00:45:30 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id r15-20020a056902154f00b00598b87f197cso2227477ybu.13 for ; Thu, 26 Aug 2021 00:45:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=wKFLqTVWaVrcQULKv1jqscU7IEOt0JC1OsA098B/mg8=; b=MgrRFJDm1nANvlgHSds/Pe4ZKKgMbmjPSzIetJqnyx7l4IeGw8CA8DOJ1MkwJ8Q1fr rE471tV2WG8jVbXtNw/o04Ax9QjwrccP2Fx1QJGGRniwORpBUYKnm0DYKNaM7Pv0rgEu BIQ4qLSmEknUPOFvBYuEixlESUUhGJTgXWLMmBh++7p036Y8qDdClF1Y/q5y/94SHgfX 0xcEEN3qr0fgB2SI/iWRtkxX1ViId6077Ue1NyGKx+RkfhRI+J1Llh/dJBzoYLaKjUy5 BFsRmQW+ev1BGTyj8BOxilty2S1Vz1mB/WDJjsct4nEQrrTCTYJquK/sb7ve2o0WBa0s sbqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=wKFLqTVWaVrcQULKv1jqscU7IEOt0JC1OsA098B/mg8=; b=T0rOlnvw3gMFhtPzONwprQFikmogpHSRhi/+fDGpo1+QINhxz+GoU2xdCmd0+dZSM7 9Bb2FLa3pa95xUrzr3cGcSmfPck6xX5H8SrDXfOBJyA4XZuCreooD4wWkWBt8KpdHUSY 5YWDC/h9Jx0nWVLgH/97Phrrzso6L1j9jgyn8bSkpGk6jor4GzyobWvZWW6+AILVPSbl svSlOG8rq+Ska7w16C2UEBAjA5EYUBD0dpZFHV/PBnfvUfCQqK8sOSrDwqwqzWYUgpgN bMLWFFH3BO2byU/Lr5CRM/BETEIVjIunaWeZMemhHMiR+KSYM5RC9UCZOssxQZ28OS37 SDvw== X-Gm-Message-State: AOAM5326yai1lPDu6MLKdRnVYA4J5sj99x2U2eRRmWBDlnaeexHObRLI ruGIj8bxeo8DXOs/VCsVV6g6Le2hVx8Isec= X-Google-Smtp-Source: ABdhPJxz+g0Ic2ZhjBouHVwCw2zCtQ4XGrAuR6D8xhyLLvtQM7hmYzuuUc4xpmTTTvSNqfkXQX93y+AA1vZL1lg= X-Received: from saravanak.san.corp.google.com ([2620:15c:2d:3:5b7b:56e7:63bf:9b3c]) (user=saravanak job=sendgmr) by 2002:a25:1056:: with SMTP id 83mr3551029ybq.52.1629963929742; Thu, 26 Aug 2021 00:45:29 -0700 (PDT) Date: Thu, 26 Aug 2021 00:45:23 -0700 Message-Id: <20210826074526.825517-1-saravanak@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.33.0.rc2.250.ged5fa647cd-goog Subject: [PATCH v1 0/2] Fix rtl8366rb issues with fw_devlink=on From: Saravana Kannan To: Greg Kroah-Hartman , "Rafael J. Wysocki" , Linus Walleij , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Jakub Kicinski , Len Brown Cc: Saravana Kannan , Alvin Sipraga , 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 I consider Patch 2/2 to be a temporary fix that restores functionality while a proper fix of the driver is figured out. Alvin, Can you test this out? Also, sorry to drop the accents in your name. git-send-email was being weird about it. Thanks, Saravana Cc: Alvin Sipraga Saravana Kannan (2): driver core: fw_devlink: Add support for FWNODE_FLAG_BROKEN_PARENT net: dsa: rtl8366rb: Quick fix to work with fw_devlink=on drivers/base/core.c | 22 ++++++++++++++++++++++ drivers/net/dsa/realtek-smi-core.c | 7 +++++++ include/linux/fwnode.h | 3 +++ 3 files changed, 32 insertions(+)