Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1386245imu; Tue, 11 Dec 2018 19:06:43 -0800 (PST) X-Google-Smtp-Source: AFSGD/UPLwCwKdAmwn6m2G+tGq8ekG7IQBH+KbloMS6eJwI80xMnARorLcWAQDa2rNwzs/EqmG1H X-Received: by 2002:a62:59c9:: with SMTP id k70mr18585629pfj.243.1544584002961; Tue, 11 Dec 2018 19:06:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544584002; cv=none; d=google.com; s=arc-20160816; b=s4pq3+kfZLTzMHI6vp6CwEq960YxWKDbvpkNpP3O5IKmhoixm+VaM0KR39afg9rsqQ Gby+CyjcX+FeOlouf8oG9xDh5cRcMEKJGpFSMaQAUb+1i73VD1nXxaOAeoctNNYGlJZu JAuFxxHdSn8ley62QTWmU5ZdX4LZRErK/StsYAHwhAGw24TEa8n8v5yRvxtRA/1G9u/F wfeTraojBBVia0AwkKDWX3WchNEkFS+MP+tRTrdBTL8cuAsxT/RU7c4Vkd1r08h5YcMj GJHKSPS7VecUExApjdoq+KVARnOQJt/ZFl0cm8uu7JPs8Ll7wTajMO/luuUOjIaAg8k2 0QGg== 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=Xa6KCEdb9vp66HZWrqn/Rv4w1V6eaK3nMdHX+gjSeX4=; b=yn85JL1CrmXKZTQkqTKHxZ84+RuspgfOEMUilalD210D2q/vqXx7NXbAnVH1nfVK1b Cd7aK0QJsS7wNEszCDY3YjWtH0KUibgslWir66YHTD7yn8DDJiLLka/qXA9WhrIQg2SU Mdvxy8r/MSpyrcipgFJoRpjCn6x1ORjHd8EVLjOiOsAkVnBjaQCH5ViuKGaEg4l07iz9 DBLSNz+JPCjC6cxd8VFnjQdnnjv11h25GpehjLARX4KjaWItUFFkW1z8OnX8pDQnxLtm Ci24Y78hDANT5xCd+ZKqyez72aPfEw1XBGGLSCpE9++na4qHWIinEAoynvFmw0yKM7PW pbXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=pSBgd6YA; 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 b124si14713532pfg.47.2018.12.11.19.06.05; Tue, 11 Dec 2018 19:06:42 -0800 (PST) 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=pSBgd6YA; 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 S1726386AbeLLDE4 (ORCPT + 99 others); Tue, 11 Dec 2018 22:04:56 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:33560 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726241AbeLLDEz (ORCPT ); Tue, 11 Dec 2018 22:04:55 -0500 Received: by mail-wm1-f67.google.com with SMTP id r24so10365189wmh.0 for ; Tue, 11 Dec 2018 19:04:53 -0800 (PST) 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=Xa6KCEdb9vp66HZWrqn/Rv4w1V6eaK3nMdHX+gjSeX4=; b=pSBgd6YALlonWcS42xIY6xbTPL7zgiyvKhGlxMKklGeFSWS3KGhCrtmZTYBuJyYCRb ObIcWMMPXLQauzj9tNFmZl8oMAxDubuQuuodJh8UcDcUPlcIG4Qm/zVtO3TPlEsUz5Os 16eT/w5arG3MIKDhhxELp2vyhXzkz8ARPAjgQ2NvaFNPLmfmrHSqjOA8JMyGDJ2w68pn 73s7ke/IUVrFGoOwj5mBsYo4sQgxkWRwLI7zyT4o4vz+IDPDycgskuBm5i5ZT1KdpN5k Ebkd6lWak/scXbremeMiF1vKi3VaYSP0UlPjftzpVneRpjR3ubQwr2n+Qb3izZPKShBQ b4hA== 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=Xa6KCEdb9vp66HZWrqn/Rv4w1V6eaK3nMdHX+gjSeX4=; b=XJ31FzfNrAWicyJFvU7pddakR1tt0+bTErNfzjPR7mKmKM/z6AjVu9pHa3HXskOgR2 xx8yDAFU5vgKdqvjRqjj4ofyWn+caJOw4NIT+EMfFRUFlB+7Hu2kxfqhIOkDYzNfjxGb nk0RRYaggcc6HBmXDbWANLnphxN2HlYVqGfSyLzaf5bYqzJ5j5FXa/o+Mnmpku+Imf05 fVJh9vj2ZX1T91OJHhsGiwSw7m+PiqHNJom+LwKV3OicLSZ1DIkqJdTSbhf1x6+Kr5m8 os3vwz9wVaNFmzWtYb6lpbp2YxhfZ/wf5hT6fPERpYxNldEzi7d2LSModq4XpjFAE6if nARA== X-Gm-Message-State: AA+aEWaF/7MuBS/lTARyyG45xIAjoYubBqrydEe26OivI2H5OZg3hAMo 0TzI8N13D9DskfRvLXQfsVdLkMnRaILKmr7TNCwB X-Received: by 2002:a1c:8d49:: with SMTP id p70mr4884817wmd.68.1544583893038; Tue, 11 Dec 2018 19:04:53 -0800 (PST) MIME-Version: 1.0 References: <20181206041951.22413-1-david@gibson.dropbear.id.au> <20181211140143.GD99796@google.com> <20181212002234.GC2719@umbus.fritz.box> In-Reply-To: <20181212002234.GC2719@umbus.fritz.box> From: Bjorn Helgaas Date: Tue, 11 Dec 2018 21:04:41 -0600 Message-ID: Subject: Re: [PATCH] PCI: Add no-D3 quirk for Mellanox ConnectX-[45] To: David Gibson Cc: Bjorn Helgaas , David Miller , saeedm@mellanox.com, Or Gerlitz , tariqt@mellanox.com, leon@kernel.org, Linux Kernel Mailing List , linuxppc-dev , netdev , "alex.williamson@redhat.com" , linux-pci@vger.kernel.org, linux-rdma@vger.kernel.org, sbest@redhat.com, paulus@samba.org, Benjamin Herrenschmidt 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 Tue, Dec 11, 2018 at 6:38 PM David Gibson wrote: > > On Tue, Dec 11, 2018 at 08:01:43AM -0600, Bjorn Helgaas wrote: > > Hi David, > > > > I see you're still working on this, but if you do end up going this > > direction eventually, would you mind splitting this into two patches: > > 1) rename the quirk to make it more generic (but not changing any > > behavior), and 2) add the ConnectX devices to the quirk. That way > > the ConnectX change is smaller and more easily > > understood/reverted/etc. > > Sure. Would it make sense to send (1) as an independent cleanup, > while I'm still working out exactly what (if anything) we need for > (2)? You could, but I don't think there's really much benefit in doing the first without the second, and I think there is some value in handling both patches at the same time.