Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp967723ybi; Fri, 21 Jun 2019 11:14:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqwWOvmA+wzIDLrgDNm1fCG0a04eMQ+9gGbdVcdHz3zy2+hxx0icOrKE9U15jP1hAt6B3qeX X-Received: by 2002:a17:902:6b86:: with SMTP id p6mr63870083plk.14.1561140858984; Fri, 21 Jun 2019 11:14:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561140858; cv=none; d=google.com; s=arc-20160816; b=T9fiHtdhxO7LKGM+uxgTYoH0/UV9wdSrk68y0TacMleEFJOsO55T8Zd6DhVm42tJu7 0VTpY9sHL/XqIa9KJghIFldIYxWVyJdFJ1R2QaBJ57wpjUg/7n+zGpMIM754BxMMKZkc b5/onTAQu4twZarFNb734hNzFmd5SyQffppj61wu39fmK1zyFoGSV4+DjvfB1NgeR9ml qBl2I9QZgWPTvnowh5JZ2LnyZaqwNYnGvNph54eEYJafaOhUUrRKkzvXjltuHGD/XDb6 1Fux45ehx0JXYAhYkDD9iXAOAgx5DYt5aU4VXbIslCpCjo+7AjC7PD5FYeE/K5pC+cJ0 hdJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=dEyGlTsnsKuBLwX5xX2JKI/ESGQXtRFnkrYp5ebnbEM=; b=fEAI06tJfRVsN9sqKT3qNn2jUAVDmBfTTARlCh5J3Y02q0/YRKCBwUaLdW6YzS5wc2 6CWUH2ot+VAGj02lGIvUDDzpX7fOcvyh//pi4icCWHDhHwYc7uufKfOM4JtSKM+Rie2t zyyDiRjHfkuH8pJmBmiJ1JYZryKaOYQRo3vtlvo7Dl1au+U5r4FEhNpp0z8cVucRW8P1 ODjSdgH+FI1eUy62JB3GwcEWxHzg6wyuFaL8hHhaEZKRCS5ysg0bPxrAH0gVg5MwRc5v +v1sOyOc+o2UVbOxRDqTlP6zxdof6esFZ/EfS0p+Ey683Le6KusW2a6pWj+RgpOe6riM ia1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=jpDMD7h4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y3si3679588pfg.23.2019.06.21.11.14.03; Fri, 21 Jun 2019 11:14:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=jpDMD7h4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726378AbfFUSNQ (ORCPT + 99 others); Fri, 21 Jun 2019 14:13:16 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:40193 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726034AbfFUSNN (ORCPT ); Fri, 21 Jun 2019 14:13:13 -0400 Received: by mail-wm1-f65.google.com with SMTP id v19so7441901wmj.5 for ; Fri, 21 Jun 2019 11:13:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dEyGlTsnsKuBLwX5xX2JKI/ESGQXtRFnkrYp5ebnbEM=; b=jpDMD7h4CQgiptV4ihUW/bUNgJKDqTi71iQj64iG0gyAevW/vejPrbeHwJKqytGUxs JH//IpRhhpQq5/ACeHQIHb/A0y8Y+60JkKT9VVqp6Y5N1SSLTFYLqjmfxB5qNM8NYNEi wKFg81RKKrcff5f4kOgSsGDmV7e/fagFLOX3fnLvxw1/PIFWBbs5tzHdOrVuGHa16z41 WM/EOmwP0nCV72YLzbXnExNO5PreQzUviu7SnqBKpMjro3IHKcxkQUyFnWRPHz1mLlWQ 3fqK2GFsob1NgeqZeby50at4AgQenZ/yDnz1A0hUrXWaBs/j2FK9iNBCxwbKNfZprUtZ aBMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dEyGlTsnsKuBLwX5xX2JKI/ESGQXtRFnkrYp5ebnbEM=; b=hpZ9vYg84oJhoweMSciaWoPkFie/MjFTUpBGzI4zr6ZKqrgRGxaT8DoAcBtlFmkxqd EfZPB+IS22tj+riuR928J38gdodoALRSRHHm0Og28hhC7b0OZSsuRsnMee2JwIUVBchl ioU2yq3T4XJCR919Z9DAmXUiZDuZdijy1PakXttXkmnaDpXYJvOwapOihK60wPfZx0iK +QF6dO7fpdV45OIKHU9ROSStCaK47pJSXIxdKOr2ewXe/QqlbspUqWwNK4dcQ2pk0BJK v9YRtuaCj1FDfmj9sYsi9A5/5xwn2GzztfO/d4EYxpCMYEJ6c4Hg/UCUcILtespYP+LT hS/Q== X-Gm-Message-State: APjAAAV4eBO/iG9J8iwcOR055yzTYIPqRtCKv8E3E0theb33nNsRf/L3 +MhvbKg/d+xtYB064hQqXZdttnip6rCwdA3Lj50+00D1WMIl X-Received: by 2002:a1c:3dc1:: with SMTP id k184mr5129288wma.88.1561140791059; Fri, 21 Jun 2019 11:13:11 -0700 (PDT) MIME-Version: 1.0 References: <20190621163921.26188-1-puranjay12@gmail.com> <698d3e3614ae903ae9582547d64c6a9846629e57.camel@perches.com> In-Reply-To: <698d3e3614ae903ae9582547d64c6a9846629e57.camel@perches.com> From: Bjorn Helgaas Date: Fri, 21 Jun 2019 13:12:58 -0500 Message-ID: Subject: Re: [PATCH 0/3] net: ethernet: atheros: atlx: Use PCI generic definitions instead of private duplicates To: Joe Perches Cc: Puranjay Mohan , Jay Cliburn , Chris Snook , Shuah Khan , Bjorn Helgaas , netdev , Linux Kernel Mailing List , linux-kernel-mentees@lists.linuxfoundation.org, Linux PCI Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 21, 2019 at 12:27 PM Joe Perches wrote: > > (adding the atlx maintainers to cc) > > On Fri, 2019-06-21 at 12:11 -0500, Bjorn Helgaas wrote: > > On Fri, Jun 21, 2019 at 11:39 AM Puranjay Mohan wrote: > > > This patch series removes the private duplicates of PCI definitions in > > > favour of generic definitions defined in pci_regs.h. > > > > > > Puranjay Mohan (3): > > > net: ethernet: atheros: atlx: Rename local PCI defines to generic > > > names > > > net: ethernet: atheros: atlx: Include generic PCI definitions > > > net: ethernet: atheros: atlx: Remove unused and private PCI > > > definitions > > > > > > drivers/net/ethernet/atheros/atlx/atl2.c | 5 +++-- > > > drivers/net/ethernet/atheros/atlx/atl2.h | 2 -- > > > drivers/net/ethernet/atheros/atlx/atlx.h | 1 - > > > 3 files changed, 3 insertions(+), 5 deletions(-) > > > > Let's slow this down a little bit; I'm afraid we're going to overwhelm folks. > > I generally disagree. > > Consolidation of these sorts of changes are generally > better done treewide all at once, posted as a series to > a list and maintainers allowing time (weeks to months) > for the specific maintainers to accept them and then > whatever remainder exists reposted and possibly applied > by an overall maintainer (e.g.: Dave M) > > > Before posting more to LKML/netdev, how about we first complete a > > sweep of all the drivers to see what we're getting into. It could be > > that this will end up being more churn than it's worth. > > Also doubtful. > > Subsystem specific local PCI #defines without generic > naming is poor style and makes treewide grep and > refactoring much more difficult. Don't worry, we have the same objectives. I totally agree that local #defines are a bad thing, which is why I proposed this project in the first place. I'm just saying that this is a "first-patch" sort of learning project and I think it'll avoid some list spamming and discouragement if we can figure out the scope and shake out some of the teething problems ahead of time. I don't want to end up with multiple versions of dozens of little 2-3 patch series posted every week or two. I'd rather be able to deal with a whole block of them at one time. > The atlx maintainers should definitely have been cc'd > on these patches. > > Jay Cliburn (maintainer:ATLX ETHERNET DRIVERS) > Chris Snook (maintainer:ATLX ETHERNET DRIVERS) > > Puranjay, can you please do a few things more here: > > 1: Make sure you use scripts/get_maintainer.pl to cc the > appropriate people. > > 2: Show that you compiled the object files and verified > where possible that there are no object file changes. Do you have any pointers for the best way to do this? Is it as simple as comparing output of "objdump -d"? > 3: State that there are no object changes in the proposed > commit log. Thanks for the additional tips. Bjorn