Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1287333ybh; Thu, 16 Jul 2020 08:08:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/+UiA0hclp022gv+Eple7a0+Ww+SLMqXMbV7itJhKtjc6Wu9+bisb9GeNfANdZ9OrirtB X-Received: by 2002:aa7:d58c:: with SMTP id r12mr5147992edq.160.1594912079872; Thu, 16 Jul 2020 08:07:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594912079; cv=none; d=google.com; s=arc-20160816; b=lFg0wZjvSzuAbytdneYNgLbU3MVGXaFNfN7/dSlpP4Ch7eBeCGpq/hKJmEQX2YEQJQ yyNoaac62F+AZZNQFhOPwWmmXaSK+V2vS/GwWaJj57eF73XcZP5xKgmzfSUSZIMvzMad 1y1XMXNqonmmhVBwaJhP3YbHgHIH2RGIfg3rqo9nZ7ajIP3KTNOwKHNHxeu0JcdBJ8vk FphIH+xIAkzY3Q4sVllAbv5FRuBZOot9ccv0ImHNAK5j2lDZeWa8q79Jw48ioG8JmBvh QNVZ6KEaNrgYaDC9sZOu0/9VYigjgzbt+pkj39kyh+n3CwZ4qAr8Ja52sjCtPOekJvAo rk3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=6KXSTmN3m1WXWWucfvWLAIYhqG4TJhZQ6+AgQMgUiVM=; b=EMmgSC565ypb6kpIEy5DtY7lg6/gjB4Ae2ZgRM6QKBniBRurIfDPg4LW+egq7NBRwU 4h+jaSKeij/PCNLl8r80X8puM0D2OHOSKSJcXCc991q5PJtBpEqiKYRCBaFrVsYvawcP OXThM2xnfRcVX6zl9+mymUccY52O0SyfesK5hsmUXqtMmbCtykmbBo6qSOBcl4inTFQw D8cb0pj/ZiD/uJe4Sj1+uzJsz7gAwglT8yENaAw8v0wkHNKU7HsSYBNHw1h5RjxAa9bR 9qWQzoGgH8h0Ph8esT5C0DKewUhCmiDAyUWVJxBR1ioermXhA8WqA5vrCWKFoezo6AE/ N9qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1jyVcIGb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x6si3235292edr.185.2020.07.16.08.07.36; Thu, 16 Jul 2020 08:07:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1jyVcIGb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728773AbgGPPHJ (ORCPT + 99 others); Thu, 16 Jul 2020 11:07:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:36548 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725867AbgGPPHI (ORCPT ); Thu, 16 Jul 2020 11:07:08 -0400 Received: from localhost (mobile-166-175-191-139.mycingular.net [166.175.191.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 24D3A2063A; Thu, 16 Jul 2020 15:07:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594912028; bh=brugnNfIO3xKY0c62BddSSLWek+/YWe6CdH/i3pei8Y=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=1jyVcIGbtVHPD2AU++kWANs751g9eMwzqJeLGO4dpSXzKevPIF9ZF0oSfS5JnWfG9 o1BPAPm7A5r+GwKeZfCOx3nCnD6JNxR5t17cd7xmHkWxN5LhEUUgD917BzMrg7IRjO NSP5gF50a0kGyFTo8jGRF8Qlypk85oVCjtqdnMmc= Date: Thu, 16 Jul 2020 10:07:06 -0500 From: Bjorn Helgaas To: Randy Dunlap Cc: "David E. Box" , lee.jones@linaro.org, dvhart@infradead.org, andy@infradead.org, bhelgaas@google.com, alexander.h.duyck@linux.intel.com, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [PATCH V3 1/3] PCI: Add defines for Designated Vendor-Specific Capability Message-ID: <20200716150706.GA628795@bjorn-Precision-5520> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3f490460-62f8-8b49-0735-ad29653bfbc0@infradead.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 15, 2020 at 07:55:11PM -0700, Randy Dunlap wrote: > On 7/13/20 11:23 PM, David E. Box wrote: > > Add PCIe DVSEC extended capability ID and defines for the header offsets. > > Defined in PCIe r5.0, sec 7.9.6. > > > > Signed-off-by: David E. Box > > Acked-by: Bjorn Helgaas > > --- > > include/uapi/linux/pci_regs.h | 5 +++++ > > 1 file changed, 5 insertions(+) > > > > diff --git a/include/uapi/linux/pci_regs.h b/include/uapi/linux/pci_regs.h > > index f9701410d3b5..09daa9f07b6b 100644 > > --- a/include/uapi/linux/pci_regs.h > > +++ b/include/uapi/linux/pci_regs.h > > @@ -720,6 +720,7 @@ > > +#define PCI_EXT_CAP_ID_DVSEC 0x23 /* Designated Vendor-Specific */ > > @@ -1062,6 +1063,10 @@ > > +/* Designated Vendor-Specific (DVSEC, PCI_EXT_CAP_ID_DVSEC) */ > > +#define PCI_DVSEC_HEADER1 0x4 /* Vendor-Specific Header1 */ > > +#define PCI_DVSEC_HEADER2 0x8 /* Vendor-Specific Header2 */ > > Just a little comment: It would make more sense to me to > s/DVSEC/DVSPEC/g. Yeah, that is confusing, but "DVSEC" is the term used in the spec. I think it stands for "Designated Vendor-Specific Extended Capability".