From patchwork Thu Mar 16 07:45:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 6734 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp345533wrt; Thu, 16 Mar 2023 01:03:09 -0700 (PDT) X-Google-Smtp-Source: AK7set9X/PFxwdVbq/etAqOdTclXt1hCIdRAe3o5DaWplfyBzztUSXRjAVGcH585rd0trevCG3z+ X-Received: by 2002:a05:6122:d09:b0:401:21aa:29b7 with SMTP id az9-20020a0561220d0900b0040121aa29b7mr31553502vkb.0.1678953789533; Thu, 16 Mar 2023 01:03:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678953789; cv=none; d=google.com; s=arc-20160816; b=vm+9Lby5byKE65nNOsFDUuzxivOV6vH88TV5q4IenX2SPmzTUZlSY/3sjyNIc0uZuH Ai8E71w6jh6+sHPUH/eJ3Ee/+uwkM8TPCb2lR8YA1RUaXP5uhdsxXNIYKw5WLWDbA4Et jiGNyoRZG1yJY6BUFMuB2lioD4rLl/4tNMF1DjixVp2mvm6d0rZjPr6MZQHsH+sOcYLC FdIeTBHL3iW+fDX0YIlIQ7xKTsqtvTT03o1Fh7uDx36KZhbUKBNYs0djNF3YLgwdVPay udhh00RGusXuW32sd/d56+AFnDbHkN4ks97HIxk1G7KpSEg1MD+EU71acoIZYjo6ojQ4 Yqdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=5LkVMG3INUIT+R+9cWLfnBftU5pE69jtFcaLTkzg+4o=; b=InoTDADucOxlRJaKw6uMxsToC6NMvF7ciFZrNzu1+ZqTXElfJGS9VnnDv+SS52FRB/ b3roVK2gyC6y/Ry4xIMiDIcK3wSjI4h8JP9JMN/vPK9Hq14mBkTxmnY5BLTvdSnEFzqI tCs9xxPLPwnz9QKV+jUphd+Imbaoq6aQnOfeB8HIeoDaux8jT+R46nTg0ehPtcZLW3TV d8DHF8ct/DOGiu7hq6bBvxBmKz+k3jnGZSFD9oR/h5VYk7S2W6csabSoR8TSlk6Rc9xK m78ky95PTRtImdAOhP1nuWRSb7gAg+Tjsml2yFyMGy3HGFmua2rLTdIHhFxELOqRgF1L t8OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=MpWqH7w3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m192-20020a1fa3c9000000b00431f85d6156si3903661vke.251.2023.03.16.01.02.54; Thu, 16 Mar 2023 01:03:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=MpWqH7w3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229645AbjCPHqT (ORCPT + 99 others); Thu, 16 Mar 2023 03:46:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229629AbjCPHqQ (ORCPT ); Thu, 16 Mar 2023 03:46:16 -0400 Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9F90A4032 for ; Thu, 16 Mar 2023 00:46:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=sang-engineering.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=k1; bh=wwU+UVxfUIoPiP7KJnLzD0UYhME SYZhQ8/8Tp4QXAlE=; b=MpWqH7w3YVOBsCg3LwXkWFX+X3inlOu24sGg/7DSmcp hIrQQIKB/o89+WGb4ffhCI/Yuf/5jGLpdH813kuV1MU4z2BiAMLia/UgTcA4QQTv tDWVWOQEREowwH6DthU7PrvbUezCR3c0nMVlvatoQIh5tjrbRR6P9Fy/8hdDaZsQ = Received: (qmail 3694188 invoked from network); 16 Mar 2023 08:46:09 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 16 Mar 2023 08:46:09 +0100 X-UD-Smtp-Session: l3s3148p1@F0Q0p//2apIujnvb From: Wolfram Sang To: netdev@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, Geert Uytterhoeven , Florian Fainelli , Wolfram Sang , linux-kernel@vger.kernel.org Subject: [PATCH net 0/2] smsc: fix bugs when interface is not up Date: Thu, 16 Mar 2023 08:45:56 +0100 Message-Id: <20230316074558.15268-1-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760510649103464996?= X-GMAIL-MSGID: =?utf-8?q?1760510649103464996?= I found two issues dealing with the SMSC911x on the Renesas APE6-EVM when the interface is not up yet. Each patch here deals with one of them. Please read the patch description for details. Wolfram Sang (2): Revert "net: smsc911x: Make Runtime PM handling more fine-grained" smsc911x: avoid PHY being resumed when interface is not up drivers/net/ethernet/smsc/smsc911x.c | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-)