Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp13866395rwd; Sat, 24 Jun 2023 07:47:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5L+XVgIUBcLCkcpST2vFGyvHJnc3bqJxAIXST4+qMURijjbplOzsjk+LMwd8Us9XiioiSn X-Received: by 2002:a17:90a:1981:b0:260:a8da:536c with SMTP id 1-20020a17090a198100b00260a8da536cmr23321439pji.23.1687618071112; Sat, 24 Jun 2023 07:47:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687618071; cv=none; d=google.com; s=arc-20160816; b=RZ4nYCJR+yJL2rqwn5g5EB2EgF+N+MBeJJbL3mu2xNTs4It5sNCVbchF+Lv1R4I2+x YpvZATyAr4W2wF3HXi1Fg12HnYj7plC3SBIk85R9sKHvkw3OQIxoxyFwcmr38TCRi1Xg cJi7dTEz8k2l5l79IOVxGogsq1VyjS9uz5uBZKjEu++3mc6s4Y2qpqi3iwaGq5wAZ0pk Wo+KpOOcOoN2KtK7sF704KETulsgzCW0xDgsVyTf2BTrhfzNYKn92tpTHU1dau4Umpxw BX6QpkgO2xjUM5K2djUNg2bCE1nB27enlEYDlD/blaM/lFL0yW1rz6mpiR1YJndMkmLN zjsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from; bh=PrX9C7soMFEieJug+MQLk0kZVzYHfUgTHOEjujAkBrA=; fh=BqdDcvBoeY97DdAfBLWXFnOSObN0xGYBob3gUtxoX3k=; b=FUkAGpJErbUSf8uVxijrk0/bHSBfWWK41k5LIEERUIdnBsMEQSVkKLOpk7tYBFfZO+ wZc7jcqJyCqKZ4b8bVhUeCe3RzFattbI0HuouGV9ALR81skxfCcLnFxKkf3H6MwKPcgq cR9qhsxjyzAleDmgAK/CD6ZkKC/4LszSn6JV4d5Ve5m795a2tLy4RJaOaikz3/H3xOly CDLeqgpdNPxVTJsngSxnj5pDxrCvqCTBnqzCyfRGS3+zX1zLkpHBiEnR3VzEV8ofhSA4 CtXfDUvH+Jmk6x/+zcgI+oWJn8Or/5CjzVD7il2eFZN2rPY+002y9KNHsAMLS1sWz84H xkGw== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k7-20020a635607000000b005585b14499fsi13664pgb.326.2023.06.24.07.47.30; Sat, 24 Jun 2023 07:47:51 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232835AbjFXOg2 convert rfc822-to-8bit (ORCPT + 99 others); Sat, 24 Jun 2023 10:36:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbjFXOg1 (ORCPT ); Sat, 24 Jun 2023 10:36:27 -0400 X-Greylist: delayed 83600 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sat, 24 Jun 2023 07:36:26 PDT Received: from unicorn.mansr.com (unicorn.mansr.com [81.2.72.234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0945E1BE7; Sat, 24 Jun 2023 07:36:25 -0700 (PDT) Received: from raven.mansr.com (raven.mansr.com [81.2.72.235]) by unicorn.mansr.com (Postfix) with ESMTPS id 319A815360; Sat, 24 Jun 2023 15:36:24 +0100 (BST) Received: by raven.mansr.com (Postfix, from userid 51770) id 1CA76219FD1; Sat, 24 Jun 2023 15:36:24 +0100 (BST) From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= To: Andrew Lunn Cc: Grygorii Strashko , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-omap@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jeroen Hofstee , Tony Lindgren Subject: Re: [RESEND][PATCH] net: cpsw: fix obtaining mac address for am3517 References: <20230624121211.19711-1-mans@mansr.com> <457ae95b-8838-4c10-821c-379ed622ef41@lunn.ch> Date: Sat, 24 Jun 2023 15:36:24 +0100 In-Reply-To: <457ae95b-8838-4c10-821c-379ed622ef41@lunn.ch> (Andrew Lunn's message of "Sat, 24 Jun 2023 16:33:59 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Andrew Lunn writes: > On Sat, Jun 24, 2023 at 03:24:47PM +0100, M?ns Rullg?rd wrote: >> Andrew Lunn writes: >> >> > On Sat, Jun 24, 2023 at 01:10:59PM +0100, Mans Rullgard wrote: >> >> From: Jeroen Hofstee >> >> >> >> Commit b6745f6e4e63 ("drivers: net: cpsw: davinci_emac: move reading mac >> >> id to common file") did not only move the code for an am3517, it also >> >> added the slave parameter, resulting in an invalid (all zero) mac address >> >> being returned for an am3517, since it only has a single emac >> > >> > Hi Mans >> > >> > If there is only a single emac, why is the function being called with >> > slave=1? Given the description, it seems like you are fixing the wrong >> > problem. >> >> See previous discussion: >> https://lore.kernel.org/lkml/d8ad5cab-5183-cddf-fa9a-4e7b9b8c9377@victronenergy.com/ > > Hi M?ns > > O.K. did i mention memory of a goldfish? > > This is the sort of detail that should be in the commit > message. Otherwise reviewers are going to ask for an explanation, even > if it has been explained once, 6 years ago. > > I assume you also want this back ported to stable? Please add a Fixed: > tag, and a Cc: stable@vger.kernel.org tag. And set the patch subject > to [PATCH net v3] to indicate this is for the net tree, not net-next. I give up. It's not worth my time. This is why people hoard patches rather than sending them upstream. -- M?ns Rullg?rd