From mboxrd@z Thu Jan 1 00:00:00 1970 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 90025C46467 for ; Mon, 16 Jan 2023 19:29:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233428AbjAPT3I (ORCPT ); Mon, 16 Jan 2023 14:29:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233830AbjAPT2y (ORCPT ); Mon, 16 Jan 2023 14:28:54 -0500 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F72A2BF1F; Mon, 16 Jan 2023 11:28:53 -0800 (PST) Received: by mail-ej1-x62f.google.com with SMTP id az20so51228637ejc.1; Mon, 16 Jan 2023 11:28:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=CEXSnU92F25+pQZ7j/ugqhVpdFpJuO21X3P5/Cl5PKQ=; b=Em5DoiYpYrIyZy2p3QJASxwL5PBvpr5AlBw7El6F3zr/+EEOD7iuRHUTJRYtzzVfRt A05Lqb4r5SV/e4bPIqK3cCgn3uMEO4L8Io2gsZgnn1fXhM3nzc2mnt6kRJt5cEWN119R NvUSwI4zMUtmaVKzaQWn5IRh2TnG8/IZ5RrwE/qQMihxQkNlMaK6yC2GjK16XJEjXa/q X6dVvb4nZq2sQTFjAKM+bAmsdvYNhJpPZNuk0bLY74X5w0bugQ5kNivcnB+j5FSMlBQ5 OWvi6v7xzSbtwIpgPvMx8OGT/ihVDlsx1QLvu38cyk74ITIBRE9qRkneZNH0leKJiaD/ mZ5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=CEXSnU92F25+pQZ7j/ugqhVpdFpJuO21X3P5/Cl5PKQ=; b=DFKL+DHEyyoRw3s4YPGQk2tTHkCn7MJf2NXuv5XICgVMicFcpTVRc232j3QRWd4WKL PIS4kyxDJXQ5FT1eu99f/9Oz55b0dtRjQYhKVilNNoPx+i+vzJiyhmvtgofktg1QCpCx RD9UmP7/8MWO9c+jkuedsJW7845gS60jKxpHYK55II0TmWikgtnhMGcph1y8QUx/a4uS ecrM3hyxL8VY8OPXn6uFgJ9jML4IQJK92fBEEDi3ZbkD898Is4ABLqeZQTs0O+HYsLDg 5KKNAoW78RjjT/LoaHLARpjoR4xTGz7Fy8Iix2bYxDgglD+42DhjAMQCyzcdChQiWFKf UTEQ== X-Gm-Message-State: AFqh2kpLc8/d09dP1dlCjDhmGqUOz+c8cpFSKf1c+0IrjgQmuPKGlbnT /cOJJTNFDrExBuOKSR/r3Ek= X-Google-Smtp-Source: AMrXdXsvdrtS57ZbbOQdVeoHVOfWaJG213U9hdwNzzZXDq7P7HeiNHiHnyKY7Z9C7+GuvgKw9jPSGQ== X-Received: by 2002:a17:906:2288:b0:872:23b8:d6ed with SMTP id p8-20020a170906228800b0087223b8d6edmr155759eja.20.1673897332179; Mon, 16 Jan 2023 11:28:52 -0800 (PST) Received: from skbuf ([188.27.185.68]) by smtp.gmail.com with ESMTPSA id w15-20020a17090633cf00b008711cab8875sm1151237eja.216.2023.01.16.11.28.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 11:28:51 -0800 (PST) Date: Mon, 16 Jan 2023 21:28:48 +0200 From: Vladimir Oltean To: Michael Walle Cc: Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jose Abreu , Sergey Shtylyov , Wei Fang , Shenwei Wang , Clark Wang , NXP Linux Team , Sean Wang , Landen Chao , DENG Qingfang , Florian Fainelli , Matthias Brugger , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Geert Uytterhoeven , Luiz Angelo Daros de Luca Subject: Re: [PATCH RFC net-next v2 11/12] net: dsa: Separate C22 and C45 MDIO bus transaction methods Message-ID: <20230116192848.bi7bs5e55pdlxffm@skbuf> References: <20221227-v6-2-rc1-c45-seperation-v2-0-ddb37710e5a7@walle.cc> <20221227-v6-2-rc1-c45-seperation-v2-0-ddb37710e5a7@walle.cc> <20221227-v6-2-rc1-c45-seperation-v2-11-ddb37710e5a7@walle.cc> <20221227-v6-2-rc1-c45-seperation-v2-11-ddb37710e5a7@walle.cc> <20230103153134.utalc6kw3l34dp4s@skbuf> <20230103155633.tfdxncl75s4tb2ln@skbuf> <6208c429b0b5541a4f6d2a8556ae1fcb@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6208c429b0b5541a4f6d2a8556ae1fcb@walle.cc> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 16, 2023 at 08:51:55AM +0100, Michael Walle wrote: > Hi, > > Am 2023-01-03 16:56, schrieb Vladimir Oltean: > > > So Luiz patches may allow a C45 bus, but are there any drivers today > > > actually using it? > > > > I sent a private email to Luiz a few minutes ago asking him to confirm. > > Any news here? Do we need the c45 methods? No news it seems. I am going to default to assuming that no, a ds->slave_mii_bus created by dsa_switch_setup() does not need C45 accessors. This patch should be modified to only touch the mt7530 driver, and adjust the commit message accordingly. I see no connection to what the DSA core does. From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B0895C54EBE for ; Mon, 16 Jan 2023 19:30:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=CgVZBh2d1lzpGHFt9rBBeMAW8Oa7Bcc+x0Z4s4N9H2Y=; b=AGoagB9tRjGBKl AAeCavGIfcu38FFdIuVYr2GUW7nm/MBD+d6fCD3ReixPXERgbQwvqOn8ivgMuxgDDesqkxAPlY8KO awKx5j3Ky3uKNsaaSoUUS8UhkEZNotqvCIk8IlPb5yP2lvYwNeHie1T/QYLlHNTJbDrTzVU4XMBZf Dk/KNl/UidG58H5S1khM54HiLP4YRraJHT6EL5Iwt8vyxzI0Vhb16+FILb7Lnz0y2Skn6CLLp7Ytk D6vsn5dtDnLs2t6yzdn5P21LlBkZvfdHVn0kcf0uNiXw7eyrZzn0AJmVZnzmDGxakx0U/rPO7VQ2i 3IzuqTz5MlKqxg1RG+Mw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pHVA8-00Brxd-Oh; Mon, 16 Jan 2023 19:28:56 +0000 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pHVA6-00Brwt-KT; Mon, 16 Jan 2023 19:28:55 +0000 Received: by mail-ej1-x633.google.com with SMTP id kt14so11420739ejc.3; Mon, 16 Jan 2023 11:28:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=CEXSnU92F25+pQZ7j/ugqhVpdFpJuO21X3P5/Cl5PKQ=; b=Em5DoiYpYrIyZy2p3QJASxwL5PBvpr5AlBw7El6F3zr/+EEOD7iuRHUTJRYtzzVfRt A05Lqb4r5SV/e4bPIqK3cCgn3uMEO4L8Io2gsZgnn1fXhM3nzc2mnt6kRJt5cEWN119R NvUSwI4zMUtmaVKzaQWn5IRh2TnG8/IZ5RrwE/qQMihxQkNlMaK6yC2GjK16XJEjXa/q X6dVvb4nZq2sQTFjAKM+bAmsdvYNhJpPZNuk0bLY74X5w0bugQ5kNivcnB+j5FSMlBQ5 OWvi6v7xzSbtwIpgPvMx8OGT/ihVDlsx1QLvu38cyk74ITIBRE9qRkneZNH0leKJiaD/ mZ5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=CEXSnU92F25+pQZ7j/ugqhVpdFpJuO21X3P5/Cl5PKQ=; b=CPQF2ztRSUZ0E8NONsIH5nuZljRkCZEl0mkc2T8655qANX/ZQLvckmjT2cefOsvtC0 BB3d3n0QUp7tnNcoYmXblo1cxqp8Oh2B+XrR/IY6zOkUnAgDkfifE+RQvlH/VqBjidy3 9GiPenlzjnWsy6sa1ZcExrdJ7iFZ8s7GvKNlBjqqeboMj7FqxkbClyhnXiZVC5tDviPC 0GqZX/2te6IEWHIAzJdLP+QUNezGMr3ll9tFYFra6tO7MvygbXK+QDEv213hPFz4MSx+ jl0mT5SJiNvriN/6P5bj/q7Gpz9jQYIHs7C53YrKkbrgHWB0K1TlEOMhPbYdmxe3Ilhi HY7A== X-Gm-Message-State: AFqh2kpL9puoxLgos/Ko52+xqSwiM3s4u7pU+4zlDlWHhWfrG9pwJ6/U oq/nOQ6yGIMX/stM31VQqow= X-Google-Smtp-Source: AMrXdXsvdrtS57ZbbOQdVeoHVOfWaJG213U9hdwNzzZXDq7P7HeiNHiHnyKY7Z9C7+GuvgKw9jPSGQ== X-Received: by 2002:a17:906:2288:b0:872:23b8:d6ed with SMTP id p8-20020a170906228800b0087223b8d6edmr155759eja.20.1673897332179; Mon, 16 Jan 2023 11:28:52 -0800 (PST) Received: from skbuf ([188.27.185.68]) by smtp.gmail.com with ESMTPSA id w15-20020a17090633cf00b008711cab8875sm1151237eja.216.2023.01.16.11.28.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 11:28:51 -0800 (PST) Date: Mon, 16 Jan 2023 21:28:48 +0200 From: Vladimir Oltean To: Michael Walle Cc: Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jose Abreu , Sergey Shtylyov , Wei Fang , Shenwei Wang , Clark Wang , NXP Linux Team , Sean Wang , Landen Chao , DENG Qingfang , Florian Fainelli , Matthias Brugger , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Geert Uytterhoeven , Luiz Angelo Daros de Luca Subject: Re: [PATCH RFC net-next v2 11/12] net: dsa: Separate C22 and C45 MDIO bus transaction methods Message-ID: <20230116192848.bi7bs5e55pdlxffm@skbuf> References: <20221227-v6-2-rc1-c45-seperation-v2-0-ddb37710e5a7@walle.cc> <20221227-v6-2-rc1-c45-seperation-v2-0-ddb37710e5a7@walle.cc> <20221227-v6-2-rc1-c45-seperation-v2-11-ddb37710e5a7@walle.cc> <20221227-v6-2-rc1-c45-seperation-v2-11-ddb37710e5a7@walle.cc> <20230103153134.utalc6kw3l34dp4s@skbuf> <20230103155633.tfdxncl75s4tb2ln@skbuf> <6208c429b0b5541a4f6d2a8556ae1fcb@walle.cc> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <6208c429b0b5541a4f6d2a8556ae1fcb@walle.cc> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230116_112854_691594_6503950C X-CRM114-Status: GOOD ( 13.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jan 16, 2023 at 08:51:55AM +0100, Michael Walle wrote: > Hi, > > Am 2023-01-03 16:56, schrieb Vladimir Oltean: > > > So Luiz patches may allow a C45 bus, but are there any drivers today > > > actually using it? > > > > I sent a private email to Luiz a few minutes ago asking him to confirm. > > Any news here? Do we need the c45 methods? No news it seems. I am going to default to assuming that no, a ds->slave_mii_bus created by dsa_switch_setup() does not need C45 accessors. This patch should be modified to only touch the mt7530 driver, and adjust the commit message accordingly. I see no connection to what the DSA core does. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel