Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1018936rwb; Fri, 18 Nov 2022 11:25:21 -0800 (PST) X-Google-Smtp-Source: AA0mqf6ONka1NdfYYf3o2evHmXr/PQA4J74SXwhAS+gbggva2K07tr3rkpiZ0V9LLveld/4sdgLf X-Received: by 2002:a17:903:1206:b0:186:a2ef:7a74 with SMTP id l6-20020a170903120600b00186a2ef7a74mr800459plh.148.1668799520785; Fri, 18 Nov 2022 11:25:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668799520; cv=none; d=google.com; s=arc-20160816; b=fjhFiE+2svvnwe6bjBx3v8hlyOVefyebMP7SZobRcxtx+F5232NPCwI296p5rTjzR7 /z/gmncbuUZ/8sj6W2NwRDUSEj61QBAlxHGpYkAOVGWNyAgfvP4jK2hrkba0s/rT4asO 8Xl/Oxt6+bAcz+ZD2X26y/HgWwYL9w8nfvtke4I4+2lJlXzVcxlnbQtHsm7OZiLhQQcN MOPdnQX+pOFz9YQPc9V3gZlexelEbMFteiYad0s+gaDY1C/RzUj2SsSNG5p+Mk87hvPi bnAO++KyivGamPVSg7+wTTrhnkDSV2HriXyExjS6z3+B2oQYB46omA1+gSy8ZlQu0Sur WrGQ== 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=U/nlGv1M4b5GNo9zHM3JahGEYmRaE9UM6k5mmYcVw1U=; b=kBaFGOpjwlXZCG8+MoW7ZMsg1sgacGQl4S3zsBuZwYjbWTylj/1ACRlr0kUZ8CwBNy 9g3gSm+FAfmfK2JsXpkbER4lrNqgCxVi9UN3ggyW6EMbGKOgJ1J5gqrTi+3Emlgwc5b5 IDZDNjlYbOA/noyH9IfbUoqQaITJg7p7cZAzGDxdV2vRYlWg9UbizAQ7oz6Ok8EYZDin kLWttPupWoKlf0pV/ECIEqSLsCRKkLz2OVGUvwSz0+t9zf5HoAadPVt54SlN3pNU5hFu 4pV69xD0Zx9oE7OtQ5ahDmW6wvpGkxxb6DR5/zDorw1OnB3H6sCTVPZbhB67jzjIWg7R GeuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="o/i42WV/"; 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=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c3-20020a631c43000000b004470e9c2e53si4589751pgm.591.2022.11.18.11.25.09; Fri, 18 Nov 2022 11:25:20 -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=@lunn.ch header.s=20171124 header.b="o/i42WV/"; 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=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242686AbiKRS7A (ORCPT + 91 others); Fri, 18 Nov 2022 13:59:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242029AbiKRS6B (ORCPT ); Fri, 18 Nov 2022 13:58:01 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1FDADF26; Fri, 18 Nov 2022 10:57:38 -0800 (PST) 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=U/nlGv1M4b5GNo9zHM3JahGEYmRaE9UM6k5mmYcVw1U=; b=o/i42WV/0cJwm7QRV4143fwvcT MlrfHmJMnUmQE7nygOK8l7l9xZ508s5bYIs/ktdKSCEpOq5sq0vTFT/9rnZSTHL8llDOYQulEFu6p 56K4etOrjz+hgBC+l7v1B+MB05qrkNNfBvtfoqGvOgdYWM8Phf01dLGvXiHvWrr74Rz0=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1ow6Xq-002pVA-G4; Fri, 18 Nov 2022 19:56:58 +0100 Date: Fri, 18 Nov 2022 19:56:58 +0100 From: Andrew Lunn To: Vladimir Oltean Cc: Sean Anderson , Heiner Kallweit , Russell King , netdev@vger.kernel.org, Eric Dumazet , Tim Harvey , "David S . Miller" , linux-kernel@vger.kernel.org, Paolo Abeni , Jakub Kicinski Subject: Re: [PATCH] phy: aquantia: Configure SERDES mode by default Message-ID: References: <20221114210740.3332937-1-sean.anderson@seco.com> <20221114210740.3332937-1-sean.anderson@seco.com> <20221115223732.ctvzjbpeaxulnm5l@skbuf> <3771f5be-3deb-06f9-d0a0-c3139d098bf0@seco.com> <20221115230207.2e77pifwruzkexbr@skbuf> <219dc20d-fd2b-16cc-8b96-efdec5f783c9@seco.com> <20221118171643.vu6uxbnmog4sna65@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221118171643.vu6uxbnmog4sna65@skbuf> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 > What might be an even bigger offence than giving different provisioning > to different customers is giving different documentation to different > customers. In the Aquantia Register Specification for Gen4 PHYs given > to NXP, the SerDes mode field in register 1E.31C cannot even _take_ the > value of 6. They're all documented only from 0 to 5. I only learned that > 6 (XFI/2) was a thing from the discussion between Sean and Tim. At some point we just have to declare the hardware unsupportable in mainline, too many landmines. We simply stop any further development on it. If it works for you, great. Otherwise use the vendor crap driver and complain loudly to the vendor. The way out could be Marvell puts firmware in linux-firmware with no provisioning, or a known provisioning. We load that firmware at probe time, and we only support that. But do Marvell actually care about mainline? I guess not. Microchip seem like the better vendor if you care about mainline. Open datasheets, engagement with the community, etc. Andrew