Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3168336rdg; Tue, 17 Oct 2023 06:45:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEhtMj5SVQ6G1KzEb/0cP5XN5Oc1Q1AtWNRIyWp9p/4VojrS0rDYFWljpZ31GUcUMFGHzZ7 X-Received: by 2002:a17:903:2103:b0:1c9:e716:9f2a with SMTP id o3-20020a170903210300b001c9e7169f2amr1918398ple.22.1697550349945; Tue, 17 Oct 2023 06:45:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697550349; cv=none; d=google.com; s=arc-20160816; b=mNKQv6By/jF8V57VzIcRF3xzA2vZ8Ry0gSTxolQpiGOA+n17XNC/MsLsWhuY8OpVrf aGchVMrN07tMyLesIagkjwgn03+FGKBrJboAJCday0xqG6HEKE0qS7lHChASyuloWhJ3 uNDWeyDLKTsJjFslzitRbE7KPjmQ1bVKV6QeJno0bue8MUQF5iK8eEEfnOiejnqxYIDc /kxrv9zY6VSJ+ym1IUdnbLZgqHhuwELWxFUzq9HwBWblpMa50t4QalQGaSiZfE3SURqZ +0CRI50fN+BDx5zDtb4zfZ1YX4fqeiohMuVuEct3dfQVP16rlCGfUG59HxxylWLtn7D4 evBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=QnLj8jQpNlVL5S9pBvsZqfOhgiPc8/H/ihQuqo7NgHo=; fh=veoTw0+xFfhHAn5uzo2tyQfmXVLtkXQFs84Bz8LKXeU=; b=bpgb/ebyQA/ZlyidAvx+sx3pjBIu+kyKKLCHNLaNbU9tlG4kQKzlf4R+7RC19mCSO5 NBe/5LogAGPC3w+ubh35v7jg2HVJ0dnqBKbXX1S7pGcww72RQ/rpkRoNky0ZX/7ZUzgi X7xAetCGoOEmwxUzBnulkUZZBqOJx4L53JNEaGsVHc7Ef2D5ZXB78Twnh0cNyf6zrgER 8oSUHQqwFscU/fnhYM3PqtgsXaM5Hnea36NLx9F+o/Bt/lfjZFrcbA+bdvb7cwpQ/LwO NOOPwfaA3pU5Gd6YsPsiH1jGNn3BmwewyrsDcFzF2HwshZG5zP2ZHBxBro1L3A07cvha t5Cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="u8FF/R+M"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id j8-20020a170903024800b001c381bd030csi1776293plh.172.2023.10.17.06.45.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 06:45:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="u8FF/R+M"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 3C874809543C; Tue, 17 Oct 2023 06:45:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343827AbjJQNpP (ORCPT + 99 others); Tue, 17 Oct 2023 09:45:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234966AbjJQNpN (ORCPT ); Tue, 17 Oct 2023 09:45:13 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8333AED; Tue, 17 Oct 2023 06:45:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=QnLj8jQpNlVL5S9pBvsZqfOhgiPc8/H/ihQuqo7NgHo=; b=u8FF/R+M3iNqDUDnkBUj5sipCO AotgGq8KsYpEUFwjJBDe5xLoritiMkMPogoXlLagZpaenA/2KRZegMkpMpq6vrXnzxg4hjnd1YR0F P9QA4pcOE38AzOznezccxDRAa+XOIBflUmUsKWZOAyfnsgt7SzuNX3dXBdEqhuNjLLFM=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qskNW-002U4d-Qg; Tue, 17 Oct 2023 15:44:58 +0200 Date: Tue, 17 Oct 2023 15:44:58 +0200 From: Andrew Lunn To: "Russell King (Oracle)" Cc: Vladimir Oltean , netdev@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Heiner Kallweit , Florian Fainelli , Michael Walle , linux-kernel@vger.kernel.org Subject: Re: [PATCH net] net: mdio-mux: fix C45 access returning -EIO after API change Message-ID: <4ccd7dc9-b611-48aa-865f-68d3a1327ce8@lunn.ch> References: <20231017113222.3135895-1-vladimir.oltean@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 17 Oct 2023 06:45:21 -0700 (PDT) > Maybe make these conditional on the parent bus implementing the c45 > read/write ops? And optionally, for net-next, make the c22 read/write ops conditional on the parent bus having C22 as well. Its a bit of a corner case, but there are a couple of MDIO bus masters which are C45 only. Not having C45 is however very common, so we should make this conditional as part of the fix. Andrew