Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp800124rwb; Thu, 10 Nov 2022 07:34:23 -0800 (PST) X-Google-Smtp-Source: AA0mqf5gr6FaLA8htag59qlGqFhUl25g4GF4iQTZNklS79OOgjjmtnxnHRfKbNqHmjDWcckiQ3Iw X-Received: by 2002:a17:906:f28f:b0:7ae:782b:46bd with SMTP id gu15-20020a170906f28f00b007ae782b46bdmr11290448ejb.59.1668094462904; Thu, 10 Nov 2022 07:34:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668094462; cv=pass; d=google.com; s=arc-20160816; b=rVqoRWccYMoNvPwlhaj+sBqlXB5vuo3KYJZkk7anazmvZPm0Dy0BJSWvniLQfzQLR6 Ehgiw0tqtzyl18y9vfC8D2d+MYV472gDduzPV+3C8CoBkvUwjucThdIo9vbyp5YAmipr ICLIKEl1M7U5BvdwKUAM2cYwXBrChwsoFlmNyeogEfUe/uDCa7kfaDBd370B5tYYzBM5 gmWwCiXPPVQxRvYW2jjbyY1DhRUJ2T5QJqR4Ukt22UDGN92qW9FXIgLVTw+dMwJq1HQJ /Ayd23DwCKiuLsWVGkSeNVkQ648CWsllDPRSOhTGoMxjpdDKe+7rW8mvxiH+pe6zM/wD a6mw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=axv9cFXaADDtKyJ8HMM2f1aAibXacG+5hCAihUk9JIQ=; b=q2w3RkgrsfbjolzTXQV3pf4WDimcLT8ZHhmczf9isCjXtKlKjI0sFsc1se3WgAr2mx 1I269yrfwFxGA6v33f4jurwwiyB41skx/2k1lw1Fdi43+RbwBCxeCUq11XUDV7DE6xKN DzLSrJq+XkTPIwA8Yqmy9s9NuGX/uzfbqtVTolVwIEctq0T7Zeip+WZebuS9dukSbELg HXx1EY2PVQDvRN/Gd5YnNWBnDbO0XjSyce+FPRWpi0oo7jbtiaPjSO3nZM0f/d6Yq8QB MZk1wRtnl6PaXSsx1WIRUlW9ejp3qpmDLy64zsOS6XYaDUbJXlw4zWRwU/6jIB9pkR8f i2ZQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=fS2CRZIX; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dy3-20020a05640231e300b004604e9d477dsi16908130edb.265.2022.11.10.07.33.57; Thu, 10 Nov 2022 07:34:22 -0800 (PST) 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=@nxp.com header.s=selector2 header.b=fS2CRZIX; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229680AbiKJPbr (ORCPT + 93 others); Thu, 10 Nov 2022 10:31:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230311AbiKJPbZ (ORCPT ); Thu, 10 Nov 2022 10:31:25 -0500 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2051.outbound.protection.outlook.com [40.107.105.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABF984385A; Thu, 10 Nov 2022 07:29:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SXjirV4X8kaEZrNw+zyWSzFa2wy5CLi5b5syTHdmJ2ofU1hpEnJpGlfctqhqkYP7cI9C94wZxzxMb0kO3NEaBzlh/mZybru8GEX8gkSrwThW8mTO48aITkLbqOEODwM3LUMuMJczFtITaQZZbWyJ6bGfxKCB+vURwwJWElICveXHUaf4EBJIbh/Uy/An5jESGWoD0pK7x4fNBsz0IlgCTkKT3/qXR1L+OC1KmypmmcGbsg+RaMWIxS2M4ClliU9X6/rO7Tv0iVR4J2epYLESMBjtbPVtGRvWqii0POxSkHRs/bJTVMQJDAbbZnVxb68ICvLnImUJ9MS26ylqtrJ9PQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=axv9cFXaADDtKyJ8HMM2f1aAibXacG+5hCAihUk9JIQ=; b=kMhnNwXt2Eunumk9sKv7kOXkvpo4qKBff08MqUI6Yd4oRg8j5kQyzdQ9roeppYEcLbmm3VpY+aWnm8nMYsKqrFMFfIGgdPMDmGthvsWVTeQ4qr783pWWMyV7pbIG7madNYC4g5bJ85jyJNBfRzNonK4n81C3cVd3YLOKofMxuyXCbPEkgKAXJ/kYVR0YhuAsKgdUtSQtfStB/DU9dqMPCduNBad0YL7KlhEJ7dwDPfFkD2FlbwUNgLoZwFqiEpKW1RIVSWD/oXLnIeezx5MPOIW4VS6Kmv5zxt5sxCpfGU+dktZo6tMNZSvYsk+aF8/mQBDqxC60eTpuGsHtzw1y7A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=axv9cFXaADDtKyJ8HMM2f1aAibXacG+5hCAihUk9JIQ=; b=fS2CRZIXfDus5qwYJJrN32k7vZ2S59gJ3o7NSb1iq2BZSs5PddqsILVktb279q5/wq2DWw2ATWkvheawt7t0d8LSiOp0CYt2R1uTS4058HEnsmWbwrMpjweS4KPX8N6e1iovx1QUEfXtDWbyAO9RVTKPjQjpJuZHBFTcyTDZb3Q= Received: from VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) by AS8PR04MB7941.eurprd04.prod.outlook.com (2603:10a6:20b:2a6::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.22; Thu, 10 Nov 2022 15:29:26 +0000 Received: from VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::4a73:29eb:28e3:f66d]) by VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::4a73:29eb:28e3:f66d%7]) with mapi id 15.20.5791.027; Thu, 10 Nov 2022 15:29:26 +0000 From: Vladimir Oltean To: Sean Anderson CC: Vladimir Oltean , Heiner Kallweit , Russell King , "netdev@vger.kernel.org" , Eric Dumazet , Paolo Abeni , Jakub Kicinski , "linux-kernel@vger.kernel.org" , Andrew Lunn , Ioana Ciornei , Madalin Bucur , "David S . Miller" , Alexandre Belloni , Benjamin Herrenschmidt , Claudiu Manoil , Florian Fainelli , Frank Rowand , Krzysztof Kozlowski , Leo Li , Michael Ellerman , Paul Mackerras , Rob Herring , Saravana Kannan , Shawn Guo , "UNGLinuxDriver@microchip.com" , Vivien Didelot , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linuxppc-dev@lists.ozlabs.org" Subject: Re: [PATCH net-next v2 00/11] net: pcs: Add support for devices probed in the "usual" manner Thread-Topic: [PATCH net-next v2 00/11] net: pcs: Add support for devices probed in the "usual" manner Thread-Index: AQHY78g7xxgXmFEQmk+41hVlaLM4fK43OSkAgAEQPACAAAl4gA== Date: Thu, 10 Nov 2022 15:29:26 +0000 Message-ID: <20221110152925.3gkkp5opf74oqrxb@skbuf> References: <20221103210650.2325784-1-sean.anderson@seco.com> <20221109224110.erfaftzja4fybdbc@skbuf> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: VI1PR04MB5136:EE_|AS8PR04MB7941:EE_ x-ms-office365-filtering-correlation-id: af5f223e-16d5-4caf-1752-08dac3305a29 x-ld-processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: m9YDcbqHLCkDxaVzwrfUY1W8I8+hTf6gTQiHLfiNCe6HxvrG80J7kDzEYud145+xWpRttwhBLHs0sJ/wym9hlrs8VUUmLZsqoUN3f2Wi3SjwYHWW1HLso2q3pmy+xK30x9jmC6SGiP8l4XjuvZYud7OA36ctHILdSMZTjtuPcm90FdO87UwzugcsFUJYHl2Xdpz2yzZOAw2DbuIh3iYCOO7ku5bwgD+aDKk0motVqA9QTFobwvNEY6WU0r8TIru7plFuX/T4rxkrZQtbOB4vojjb+/pN3+JspoHw47unOIU7qOeL3kaI6LNPV+VKaSkXVIIEwCAOO9IHt/N7oqMCcJndYaF5JSzPsfSzlaxH90szgEWhXWtS5SHedHArL3ZxWULsV86W5BEnqSV+XORgnaStr7iHfwV4KydPcD9JjscS01Akz5EanQWIlLUgYZpPOhKBZ74VWiOO/oP0LT8GjYhiIdUQodZXvtuqbfNUX93KQFJsp7udTrUlusi6MLflTwk+ICLlGQy21fwpVF4aUYOJF10MM1oGbppJHkAjLSAmZC7h0Pb2h9xu40rWTVBkbzEi3lEc6e7NaEtI5Mps4OxGmn5VTGrpQF20qFmxxZbpXy5cbROaCInFiCy57uHSVdx04FXD1lUW72ciqvnX9g+/MHlpAL6HV1kLuk+J6Q+nnHRqhvh3t9UpAccLJ6hBJbCtdUFPUDGBxGbqooI02Uidp0NvZykfyGtHOA/d7Wp0oiRiEYmY8p6CBfl6jMpnqp6lvu52TJfZEVkeJRwLkS7v/zcFvZA8OIVcD0RJn3M= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5136.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(7916004)(136003)(346002)(366004)(39860400002)(376002)(396003)(451199015)(966005)(41300700001)(1076003)(38100700002)(478600001)(6486002)(83380400001)(26005)(8936002)(44832011)(122000001)(2906002)(6506007)(53546011)(86362001)(9686003)(38070700005)(5660300002)(6512007)(186003)(7416002)(54906003)(316002)(6916009)(66556008)(8676002)(64756008)(33716001)(4326008)(71200400001)(66946007)(66446008)(66476007)(76116006);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Jtp6zm59nbV0z2bxBqM094moJLXt8K3kB9GACMzmUzypi25ey3doi1a95uvp?= =?us-ascii?Q?oDviVDK/4VyhpLfdnEMa1CLBCVjJaFE9wg/zdE3R1ZSUtsYR8h5nFLvr6xDn?= =?us-ascii?Q?46d99vrmStR+LqlqbC+27/0jgfC7fmHcGyEMb1VstezycbGVdYQlEwGMV6na?= =?us-ascii?Q?FWGQfxWMKGr5MqUp5+Hk4v3goQQZVHU3ScfEOACni3DSAULfSsXAr6cDe42S?= =?us-ascii?Q?xDOISMt0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ZDYbkXKWd?= =?us-ascii?Q?x13T/a9uy7geUatnxHQWYAR7QdnIUrrgC+tIilVp314m5yPxc4oLfHxjts+B?= =?us-ascii?Q?UOrMDrF8l0dcHMZ2r6Qiud5BEqpV4CDfIuEFMO8qHfZMGP6Bi603ukABhprT?= =?us-ascii?Q?30TD8IarmwVStHV47TKgMg91FPcJgMjoHwB8iyGx9dEINsW/NLfETiwIJOqS?= =?us-ascii?Q?GQ0iHTzosk+rsqeQeCjg0UgjSdW6DM+6THxhmUCbaXrBmhLrsyqgMDeeOm7X?= =?us-ascii?Q?dcvLydQltrkd0BYN8LPOM2GsSZAM6b5GDgwLOR0+HIHi9+Xs5v1XXwFoiua6?= =?us-ascii?Q?BXgoIRe0uLUMZ9mXluj975covcVAVlgHYLHSxCCMpk7ohPiV1p2+n0gnwDcN?= =?us-ascii?Q?O190LpfJuKfkD7xExh6N7PAbEgxMarkXdPd1Xs15QEM7J1Dt2oo3h5FZ4sTs?= =?us-ascii?Q?nnyUc0HPHFoG0BqY2X6umFhYBXSKaycvoFXGZscMvqvMUHvdDvMUdLTrCCS4?= =?us-ascii?Q?ug=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5136.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: af5f223e-16d5-4caf-1752-08dac3305a29 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Nov 2022 15:29:26.4522 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: vv1hV5TZ2tO5B9SZLXGV7qMVz6olFqfi5vZmiLrBvGkTbgQJ81+v6JFrKTWyWfigHAqzTyNPoSZU8ql10BMd7Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7941 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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 On Thu, Nov 10, 2022 at 09:55:32AM -0500, Sean Anderson wrote: > On 11/9/22 17:41, Vladimir Oltean wrote: > > On Thu, Nov 03, 2022 at 05:06:39PM -0400, Sean Anderson wrote: > >> Several (later) patches in this series cannot be applied until a stabl= e > >> release has occured containing the dts updates. > >=20 > > New kernels must remain compatible with old device trees. >=20 > Well, this binding is not present in older device trees, so it needs to > be added before these patches can be applied. It also could be possible > to manually bind the driver using e.g. a helper function (like what is > done with lynx_pcs_create_on_bus). Of course this would be tricky, > because we would need to unbind any generic phy driver attached, but > avoid unbinding an existing Lynx PCS driver. If you know the value of the MII_PHYSID1 and MII_PHYSID2 registers for these PCS devices, would it be possible to probe them in a generic way as MDIO devices, if they lack a compatible string? > As I understand it, kernels must be compatible with device trees from a > few kernels before and after. There is not a permanent guarantee of > backwards compatibility (like userspace has) because otherwise we would > never be able to make internal changes (such as what is done in this > series). I have suggested deferring these patches until after an LTS > release as suggested by Rob last time [1]. >=20 > --Sean >=20 > [1] https://lore.kernel.org/netdev/20220718194444.GA3377770-robh@kernel.o= rg/ Internal changes limit themselves to what doesn't break compatibility with device trees in circulation. DT bindings are ABI. Compared to the lifetime of DPAA2 SoCs (and especially DPAA1), 1 LTS release is nothing, sorry. The kernel has to continue probing them as Lynx PCS devices even in lack of a compatible string.=