From patchwork Tue Jun 25 11:27:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 167701 Delivered-To: patch@linaro.org Received: by 2002:ac9:6410:0:0:0:0:0 with SMTP id r16csp4869301ock; Tue, 25 Jun 2019 04:29:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwMraljACwUSEjodjboZSbWQTgGpV4luWatkNfhGjUS60RuLjXiwxXS1gfGQGfKJqRYr+DR X-Received: by 2002:a17:906:5255:: with SMTP id y21mr61515592ejm.253.1561462158773; Tue, 25 Jun 2019 04:29:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561462158; cv=none; d=google.com; s=arc-20160816; b=utZYBQDg1JwikUnxGZQxtdW0krmNg6txLxYpkoEB8PT+oyjYzpy+rb9kVexm79IuNB m/BeYIqOJVyKF3Nun6VpjCTJ8OPkM8Y6jOgi8Wxlpc6Xv58nH0NHfIopVR1eIUBLT02B m9HEgDNLvK77x/JwFgiG8MpHSAUKx4JeE/t9C57nmbx6h/R/VviLv31TcnV0wTF3mR8d cAN+K2ruHLd44whGPgXUROk+03MXpnvf4dMjtq2jy/EpSiR6+9q9+R7Dd3i+y2o4TgGX jzvt1cNMQV02UAQMpBodDnj6UdxTIVTrJ9AkjMfN013SrpbLeDHAt5CpAjEfRcGCL/AA iFXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from; bh=AX0pOlAnoRhNCilNvemgiHPoqZSbF6HHLGMGzYBjws4=; b=zmqJd2KNJGRAYp/hFXK3LWKU8D6kvEUz/KfD3YQpxIP9s5ZZBUsxGyWX4SwdNbIPsc R4fsSc8/tzz4lPjgBLsrzYZsrgEpfKJixDXbUENVtXe1nscdmQIzp75P05mw4JpeejOo Sq9nOs9uZTqXb94jvOyeIrLoNYsfPunsatGXOo50tuKjvufuTjXWCcc5Zsvyyod4Ar7j XGeCOImJ0lwcaISrac67r7DyhXq7//V+7K8h+QQmns6OX+H/y1k7wzMvMR9LewGzifHO CyRN6c1IvplpwWD7m9O0FqW0/PHiaZt7W8lv+LJ0aeeOFFtgtdn0rz9CGfiv28r8DSSb 8cJA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id r5si158361edm.368.2019.06.25.04.29.18 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Jun 2019 04:29:18 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([::1]:58968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfjdV-0007Dv-Oy for patch@linaro.org; Tue, 25 Jun 2019 07:29:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53618) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfjd8-0006qj-TL for qemu-devel@nongnu.org; Tue, 25 Jun 2019 07:28:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hfjd7-00046K-Tn for qemu-devel@nongnu.org; Tue, 25 Jun 2019 07:28:54 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2244 helo=huawei.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hfjd5-0003q0-DT; Tue, 25 Jun 2019 07:28:51 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 29B65258D9C69BBF49A5; Tue, 25 Jun 2019 19:28:43 +0800 (CST) Received: from lhrphicprd00229.huawei.com (10.123.41.22) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.439.0; Tue, 25 Jun 2019 19:28:32 +0800 From: Jonathan Cameron To: QEMU Developers Date: Tue, 25 Jun 2019 19:27:46 +0800 Message-ID: <20190625112752.83188-2-Jonathan.Cameron@huawei.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190625112752.83188-1-Jonathan.Cameron@huawei.com> References: <20190625112752.83188-1-Jonathan.Cameron@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.123.41.22] X-CFilter-Loop: Reflected X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 45.249.212.191 Subject: [Qemu-devel] [RFC PATCH 1/7] Temp: Add the PCI_EXT_ID_DVSEC definition to the qemu pci_regs.h copy. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , jcm@redhat.com, linuxarm@huawei.com, Auger Eric , qemu-arm , Jonathan Cameron Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This hasn't yet been added to the linux kernel tree, so for purposes of this RFC just add it locally. Signed-off-by: Jonathan Cameron --- include/standard-headers/linux/pci_regs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.20.1 diff --git a/include/standard-headers/linux/pci_regs.h b/include/standard-headers/linux/pci_regs.h index 27164769d1..224b52e62b 100644 --- a/include/standard-headers/linux/pci_regs.h +++ b/include/standard-headers/linux/pci_regs.h @@ -709,7 +709,8 @@ #define PCI_EXT_CAP_ID_DPC 0x1D /* Downstream Port Containment */ #define PCI_EXT_CAP_ID_L1SS 0x1E /* L1 PM Substates */ #define PCI_EXT_CAP_ID_PTM 0x1F /* Precision Time Measurement */ -#define PCI_EXT_CAP_ID_MAX PCI_EXT_CAP_ID_PTM +#define PCI_EXT_CAP_ID_DVSEC 0x23 /* Designated Vendor-Specific */ +#define PCI_EXT_CAP_ID_MAX PCI_EXT_CAP_ID_DVSEC #define PCI_EXT_CAP_DSN_SIZEOF 12 #define PCI_EXT_CAP_MCAST_ENDPOINT_SIZEOF 40