Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10F14C6FD1F for ; Tue, 14 Mar 2023 22:34:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230263AbjCNWe0 (ORCPT ); Tue, 14 Mar 2023 18:34:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229540AbjCNWeX (ORCPT ); Tue, 14 Mar 2023 18:34:23 -0400 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2056.outbound.protection.outlook.com [40.107.241.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CDC24AFDA; Tue, 14 Mar 2023 15:34:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PV7bU2uTVoP6VXWI/apGGdGYfw4TerSOAQQ8PzX1XbVdkib4e9BzdYlV/CG+l8aYKOob9Ek7KeBHlFuVJ20fAYgIZgZsbSM4piV2SHG7xGoouFSQZvRLU8b7VMPtH3BeOcCXw5CrfFLs7RmfHIXqiE++lmP69ESJaZuknPYT7IVKDOllawNk8Ip+4zK2pagdduya1QR1Ze7DwIRTVd3L2rJr5X/m5R7rVVeM71UabhDnLOUxM1DjrTK1tjme5iYFrq/Hc/McfRsQq3VwIw3m5/0QstY8wmW9uID9aT/UGtRL/dzqAI2TWlMs2gJUVIrULp3GDGeYnrmOH/OtJwH8Jg== 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=qhNeqOwa0nMUKJYXldE1LfzvitbV5nGRhgCwrOgnCpE=; b=AsqfW4881hiLLtDTzfLAu3LuUEy8wERZrBXn9kI9+50UklZls0nbmZcfNpjp6Uoj+jQkT7w96zWEC2jOct1cUqcp6wOuZzCuHc+h2n/S3C0ZXzcttzu3VnooUkK+WZ51eB/JD628VzB4/xWbpbczsgIAqFmsMDaiIW6PvnVSSdUQbL7bsF7QdOvuAkJ0ApXuKAgGVC+jGFPOUtjtQFSfUqvQVBegXvLLK98F+lou9834lbsTXxBzpg5gZi4Q2xzuJkPHPmepIQG7D+B6ycklBz5SAaj+JEiH+pklzETnz+fpDp34n47970vGjRwn1tOepBXARqmGjuhfFKhNmDxJBQ== 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=qhNeqOwa0nMUKJYXldE1LfzvitbV5nGRhgCwrOgnCpE=; b=XWWBDLc67UuMTBuR4FXyn053eml862Bk4qZeepbn7wucvAx89YDyk+a1+ZRY9klgT3XUwl3EMJ6dffuURLcpeD57vBpjt9gLbXFNouT2/zuHc1whDjIFendqDslbC0P02z0TUdmLySXN7wC9hejFD7QGt46Nm0Qbilf1i5+72BE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM0PR04MB6452.eurprd04.prod.outlook.com (2603:10a6:208:16d::21) by VI1PR04MB6800.eurprd04.prod.outlook.com (2603:10a6:803:133::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.26; Tue, 14 Mar 2023 22:34:18 +0000 Received: from AM0PR04MB6452.eurprd04.prod.outlook.com ([fe80::29a3:120c:7d42:3ca8]) by AM0PR04MB6452.eurprd04.prod.outlook.com ([fe80::29a3:120c:7d42:3ca8%7]) with mapi id 15.20.6178.026; Tue, 14 Mar 2023 22:34:18 +0000 Date: Wed, 15 Mar 2023 00:34:13 +0200 From: Vladimir Oltean To: =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= Cc: Daniel Golle , netdev@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Russell King , Heiner Kallweit , Lorenzo Bianconi , Mark Lee , John Crispin , Felix Fietkau , AngeloGioacchino Del Regno , Matthias Brugger , DENG Qingfang , Landen Chao , Sean Wang , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Vladimir Oltean , Florian Fainelli , Andrew Lunn , =?utf-8?B?QmrDuHJu?= Mork , Frank Wunderlich , Alexander Couzens Subject: Re: [PATCH net-next v13 11/16] net: dsa: mt7530: use external PCS driver Message-ID: <20230314223413.velxur7gi7snpdei@skbuf> References: <2ac2ee40d3b0e705461b50613fda6a7edfdbc4b3.1678357225.git.daniel@makrotopia.org> <20230314195322.tsciinumrxtw64o5@skbuf> <3e3e6a1e-61ba-a6e8-5503-258fb8e949bb@arinc9.com> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3e3e6a1e-61ba-a6e8-5503-258fb8e949bb@arinc9.com> X-ClientProxiedBy: AS4P251CA0021.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:5d3::11) To AM0PR04MB6452.eurprd04.prod.outlook.com (2603:10a6:208:16d::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB6452:EE_|VI1PR04MB6800:EE_ X-MS-Office365-Filtering-Correlation-Id: 337ac558-acb2-49c9-5f8a-08db24dc3f86 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: n4BW2C+aGwSk9AQmdiYercxAgBjhj3IOdpZxhWWFolG3yhl+laH3KaSzhdGJrJ4CpnIorQ+Ntl+zCvvb57QdhvNpN01schNhtNSlgQrmuc3hHfecN1usSiKAejsccFKrMq9btcHYAh/GcJKY2DBQOq8fOc6X7IIBlQR6N/4M/DpnAbpWdrZCXnztexNZPRfP22HdxNg8JPqEszygo5PdCjb7QejSnV3GiyPjWu/40DsSrLG7pS83wxEsL1Moi5DBEk2MFvTwEuL+0d05muH8DZbgI/Ea9dRgcDJqWyiu0oUwytdI3J07pqmX717pc87BtPEy3mOJ78yiK4F3fufzfbwjmr8y7ysAd5niJ0H2tounnkA07C+VGGXMeAw0ta1zo9sRsK74R176vnNnDFExSG/RQUqZfIbmIw5dIGm9/w9VFRV/aOn2CnoaEzrTiOraYMmp3DWc8qsnosuMCPONoLtLXpdiv3Hs26/ATl6lAw8DPL5n6B+CdPNeXxDcncYGqQg9+RzHcTRBAJ8NK9SkxXCykVJR83e9TR5ApA0GN3CqDmC0Xv0iDkh8evqSc8gU1gMfsq3Xlm2YX3kRoxtCymqPF0Qunz3+GsVht0h6owCYb25QAK2T4uGg0Uuepg5e+oJB26L0501EF3UeZMXLXA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR04MB6452.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(7916004)(4636009)(346002)(396003)(366004)(136003)(39860400002)(376002)(451199018)(66899018)(66946007)(66556008)(478600001)(41300700001)(4326008)(66476007)(316002)(6916009)(8936002)(7416002)(2906002)(5660300002)(6486002)(44832011)(54906003)(86362001)(8676002)(186003)(26005)(6512007)(6666004)(9686003)(1076003)(6506007)(33716001)(38100700002)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B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TOU9jRlJGUEJoVzV6RWR3ZEoyQnh4R0tqK0V4?= =?utf-8?B?S2w3WUFyVC9nYjltaUtYM2xYbFQyV2tMOGlRTnBSTDNvRmlyQmRrTXk5YUl1?= =?utf-8?B?aVJmVDRCSVIvdXBJUGw3ZURENDdFRWFJTlE1dWFNdGFMbHNjWndXNWI3c1J0?= =?utf-8?B?MjQxSFJrSnNuQjh2K2J6dWZROThYeHE3Q3hxemJWMHlXb1liY0tTdkxPZyt1?= =?utf-8?B?Y1ZZNU9JbC9maVFQblBZeGRPWGxmOHV4bVRSL3pvck10NUE2L1dlNXVzTVVr?= =?utf-8?B?a3lhdWk3QkR4Zm1icmp5STQrbllWN1Z3SUZEUkpVRmNKWWpEc0RtalFjTXRK?= =?utf-8?B?SEU3T2RkSFJMbVhmUzhHNktZbDJkSnhqTFJ2S293eHJMZDlEbFVlNFkvMmhx?= =?utf-8?B?WHc9PQ==?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 337ac558-acb2-49c9-5f8a-08db24dc3f86 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB6452.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2023 22:34:18.3045 (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: 3bMyDUxjloDhCa4J7RaAsX8fQDRHaDV3lUHGvHMUP0iK422u4ERXDyx/V/BI5KgETQcMWhhwEnWFfEXk/huvug== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6800 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 14, 2023 at 11:59:40PM +0300, Arınç ÜNAL wrote: > Look, I don't ask for renaming just for the sake of renaming things. I see a > benefit which would make things clearer. > > If you rather mean to, know the driver very well, by saying do 100 useful > commits on the driver beforehand, that makes sense. But I think I'm capable > of managing this. I've got the time and energy. I'm absolutely sure that you're capable of renaming mt7530 to mt753x, that's outside the question. That change can be made without even paying too much attention to the code, which is exactly the problem. If the proposal is to touch mt7530_read(), mt7530_write(), mt7530_rmw() (which it seems to be), then that's pretty much the entire driver. Sorry for being skeptical by default, but generally such refactoring is done by people who have the commitment to stay around when shit hits the fan. Think of it as minimizing the time wasted by others due to that refactoring. That could be time spent by reviewers looking at the code being changed while trying to identify latent bugs; could be time spent by someone who fixes a bug that doesn't backport all the way to stable kernels because it conflicts with the refactoring. Ideally, after a large refactoring, you would be sufficiently active to find and fix bugs before others do, and have an eye for problematic code. Respectfully, you still need to prove all these things. It also helps a lot if you build a working relationship with the driver maintainers, or if you gain their trust and become a maintainer yourself. Otherwise, more work will just fall on the shoulders of fallback maintainers who don't have the hardware. If there is a self-sustaining development community and they take care of everything, I really have zero problems with large refactoring done even by newbies. But the mt7530 maintainers have gone pretty silent as of late, and I, as a fallback maintainer with no hardware, have had to send 2 bug fixes to the mt7530 and 1 to the mtk_eth_soc driver in the past month, to address the reports. Give me a reason not to refuse more potential work :) It's great that you have the time and energy, but with the symbolic 100 commits I just meant: start somewhere else within the driver, build the experience, the knowledge of the development process and the appreciation for the existing code structure.