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: 12459239 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=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 3AB85C43216 for ; Thu, 26 Aug 2021 07:45:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 218ED610E8 for ; Thu, 26 Aug 2021 07:45:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240257AbhHZHqT (ORCPT ); Thu, 26 Aug 2021 03:46:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240308AbhHZHqR (ORCPT ); Thu, 26 Aug 2021 03:46:17 -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 943EEC0613C1 for ; Thu, 26 Aug 2021 00:45:30 -0700 (PDT) Received: by mail-yb1-xb4a.google.com with SMTP id e137-20020a25698f000000b0059b84c50006so2240131ybc.11 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=CvXapN4c+vb/shzBEVe5UhBwXZ7YzSAv8SVHVXogussda7qquKcOAP3nQhP8Og+4lA Fo9Y/FwT/ewzVIDGOnq7xBcPosvnTalnGW+zhk8DxpnTcV1j9mSnEow0cgvGEZMXAQJs EUFceZQ9IbYU4grlyNOreNlDTOaZJjV/3r7a9Fik7ASYRzxa/JwutwSdH0QpODbH+pd7 /++A5f/7vpLXHnz+bHBn3z6dnMsFnX8esWs7LFOjfKtqx1zapATgunkFjNJnUQcV0lqd eqwe94oy1g0oS15aUIiXWeLToGPAI36ID+qq7RGEg12u/NY0QrkZkZfkVGwOxKkU/zCg uJ+Q== X-Gm-Message-State: AOAM531xdfbhRELi02/iWMp3EQpWgo/bhf3pqtyjdM3rXPoH7eRs246m hHMwlt/H7GA71J132/xcbOfIPdSwkrOQaUk= 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: netdev@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(+)