Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp3870919rwb; Sun, 30 Jul 2023 18:45:11 -0700 (PDT) X-Google-Smtp-Source: APBJJlHeYdUfBOsocm2PRBaxejvQgXbew0Y5v/8ej+AXNaQiGtvB8dpeoti8eHdHIDz0f3x0xlY7 X-Received: by 2002:a17:906:8a54:b0:99b:ce6d:fc90 with SMTP id gx20-20020a1709068a5400b0099bce6dfc90mr5948099ejc.2.1690767911414; Sun, 30 Jul 2023 18:45:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690767911; cv=none; d=google.com; s=arc-20160816; b=wSWpeS/RotcPL1hvOEpX3zobEQlcBuNYt2PzisYYol3pclzAGXlmpIx7duoHu5MegX 7Wky0Ydjbct0Z3Qn9OW/kqRZpkCZb+fKNntHDBJErKVOJvZesKDIVyhA7yPLY3Ac4el2 ltEHUpEaUkwsItO0lBtK4/BxifokFbdtnE8sL8Q+M50GCeNgEj1px9hEJ8JBgEmE5dPG bKphpNKB5Tix4SyhUmmrim+4zkaCpo9NpSNDCwB7OCoWZrzMaA0/ADqr2WvLbKywYeev EO/bj9eLYk9COoerCbqpGRhGNK1WgGfyengM0K4bCS0CKOGmSA4iMOf89C1PdRYG+kp8 DH/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=JlyC7xX6YRAjfY+BJvIeslbDpyrbJNzV0Pn7JECl8ng=; fh=TDBJGjO1sbpLd8UnUOp1ymnGeh+Lw54jevWno//U1GE=; b=K8a2OnopsM4xFtJNiYkediM8ux7zuGyDgZxVGgXiNm+fX7FXzSQ7iHXd1rQDgX8d6a WXuKohLco7sreP16gGkkLfGoaqIXFN0sEKiJ7J/c9pFQDwSHR8n/V6mFJ04O/qRv31fb fXNXTJoQyjfjwFntF/3/TeTHfUAdY0eLm5dW4jkZ4zSdbfLJUj+o18nlc28gaDy0sVrV YNFdB3qxGGyfGS9w45fr4YvJsMdp/idHddGs2Jwfc69C+CcHyV//yw68A+rmMKTi/CBn 46fN9i2XCY0iYsSts4Qn6F5WN05ZpIfOIVBx1TMHJZ8MMy/Numhsh8LxbDK4QlyMI6FL J08w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=b2lIF1a8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z14-20020a1709067e4e00b0096fe1a56de3si3236395ejr.1048.2023.07.30.18.44.45; Sun, 30 Jul 2023 18:45:11 -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=pass header.i=@canb.auug.org.au header.s=201702 header.b=b2lIF1a8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229627AbjGaAXB (ORCPT + 99 others); Sun, 30 Jul 2023 20:23:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbjGaAXA (ORCPT ); Sun, 30 Jul 2023 20:23:00 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19B70A1; Sun, 30 Jul 2023 17:22:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1690762976; bh=JlyC7xX6YRAjfY+BJvIeslbDpyrbJNzV0Pn7JECl8ng=; h=Date:From:To:Cc:Subject:From; b=b2lIF1a88q+4khD02Wv2RV+HkJqsoDUitLGqUN3xbzu1A8jwDBXFRyi2YeHnEhE4v 3kS75Zyrs6jJXZplyaMCgsjnOGQ5KEUAVngdC4VP3G7GzZhEazPRI1kL4OQsTNmPg1 QhqK+GdQ6MPdKL8ewvPVkhPfLtqtOCmMLDSziMlI/TJQA3HxwWUc7sl9NLvM4GdA26 4gNR9phasaya/HoDzGFcpMuLeTybLPWlzXhxmKdFMASqibQhFSbLPZBThkD2BYqmN4 ORRk8XBGoricEShve+ISpAKjNUUoeFHhmqhloBGODSQFQz+AVdkYKiNYJ1T2nYgFgM jQzJXarIThnNw== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4RDf8b4lD1z4wbv; Mon, 31 Jul 2023 10:22:55 +1000 (AEST) Date: Mon, 31 Jul 2023 10:22:54 +1000 From: Stephen Rothwell To: David Miller , Jakub Kicinski , Paolo Abeni Cc: Networking , Linux Kernel Mailing List , Linux Next Mailing List , "Russell King (Oracle)" Subject: linux-next: manual merge of the net-next tree with the net tree Message-ID: <20230731102254.2c9868ca@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/wZu=aJ1U7grPfU8_xT3sbWF"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 --Sig_/wZu=aJ1U7grPfU8_xT3sbWF Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the net-next tree got a conflict in: net/dsa/port.c between commit: 9945c1fb03a3 ("net: dsa: fix older DSA drivers using phylink") from the net tree and commit: a88dd7538461 ("net: dsa: remove legacy_pre_march2020 detection") from the net-next tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. --=20 Cheers, Stephen Rothwell diff --cc net/dsa/port.c index 2f6195d7b741,c63cbfbe6489..000000000000 --- a/net/dsa/port.c +++ b/net/dsa/port.c @@@ -1720,22 -1686,8 +1686,15 @@@ int dsa_port_phylink_create(struct dsa_ if (err) mode =3D PHY_INTERFACE_MODE_NA; =20 - /* Presence of phylink_mac_link_state or phylink_mac_an_restart is - * an indicator of a legacy phylink driver. - */ - if (ds->ops->phylink_mac_link_state || - ds->ops->phylink_mac_an_restart) - dp->pl_config.legacy_pre_march2020 =3D true; -=20 - if (ds->ops->phylink_get_caps) + if (ds->ops->phylink_get_caps) { ds->ops->phylink_get_caps(ds, dp->index, &dp->pl_config); + } else { + /* For legacy drivers */ + __set_bit(PHY_INTERFACE_MODE_INTERNAL, + dp->pl_config.supported_interfaces); + __set_bit(PHY_INTERFACE_MODE_GMII, + dp->pl_config.supported_interfaces); + } =20 pl =3D phylink_create(&dp->pl_config, of_fwnode_handle(dp->dn), mode, &dsa_port_phylink_mac_ops); --Sig_/wZu=aJ1U7grPfU8_xT3sbWF Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmTG/t4ACgkQAVBC80lX 0GwHAwgAnl/nArYn9tWD8GHbwXIgxyd62jf5TGXcc4KditZHOeLb9rFmdPx0eXyK GQhFqQ61l/wz9djN3SC+ReiPk6htfsHMi8nMyHqylw768fuY3Yw9yXg6fkvcd41f gBSaqxCLF/XRIfL8QP1gISgX9zxhV7PdyW7g+QJptoJ9c9fi2FSGlUS2PBfHEmR5 A3SmwvYek+tTpQdcxsWYCzWCQ4Ge/3WaBBcl5XhSWfg+sB+8UE/T8nfkqm3ZbvEN G8p1N+c/ai4IlCCFWCARJJDDkPeBduBy3YLqqTWdqiDbY808A8yad+BeD6+15SMv v1SiHSIvGtpCc0yVw4nzV6ZWNdZm+A== =EdLa -----END PGP SIGNATURE----- --Sig_/wZu=aJ1U7grPfU8_xT3sbWF--