From nobody Wed Nov 27 07:33:36 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1700708391; cv=none; d=zohomail.com; s=zohoarc; b=Q0iB00uod4TsYp/Ju6k51FjbYtgWj8GDWz88px3jMrh+qgAZu8Fwx+4lfvh+vJ68/1nuYRu2TTmtGgNEvGNgfgYib6cLUiYkIUwlmYO+W4bwwLhWEd7vYCnz8DPCD6BZ0zpcI+8zaFyz9B0v/0RWxvj+ls+3fUCWVcuAi4NbiU8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1700708391; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=dIQzh+3gCVOtxJ46zfLPVv885EzLo4sOUWMLMpKf7c4=; b=POwKIzckZ1AT/ZXrqBhjDhvmxddDz6L7KQk7CnRDypj9VtsCWXjbLCGqLFdrzZGthTtlDAa7aSvZepCeSrep+SWSf3HaD1HcBrcOuLNXGErWTGsON3Q9bHjZXPHlNlVE6FDBmgTEyW+nzQEe1Qq6n7gb60/heKujzUthaNDLIeM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1700708391211767.7917117182093; Wed, 22 Nov 2023 18:59:51 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r5zvp-0001QR-NJ; Wed, 22 Nov 2023 21:59:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r5zvo-0001Ox-IG; Wed, 22 Nov 2023 21:59:08 -0500 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r5zvn-0000QT-6P; Wed, 22 Nov 2023 21:59:08 -0500 Received: by mail-pj1-x102a.google.com with SMTP id 98e67ed59e1d1-282fcf7eef9so343297a91.1; Wed, 22 Nov 2023 18:59:05 -0800 (PST) Received: from toolbox.alistair23.me (2403-580b-97e8-0-321-6fb2-58f1-a1b1.ip6.aussiebb.net. [2403:580b:97e8:0:321:6fb2:58f1:a1b1]) by smtp.gmail.com with ESMTPSA id br17-20020a17090b0f1100b0027909a8994fsm476743pjb.13.2023.11.22.18.58.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 18:59:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700708345; x=1701313145; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dIQzh+3gCVOtxJ46zfLPVv885EzLo4sOUWMLMpKf7c4=; b=L3tgWFpHY1r0lYyHAXhvKDK/CRFntl55NXameGrr8g7Yfog8FFoh73UHKaHZ1xRuQE gK8K194H6dcswNVwPZmtiaC5slDh/U8t84oYI2MHeYvMxBfgsonQqhZDQmY+LCH89SiZ sUOdAB8e6XYHYZH7htxZltRuN5CH9EeV7hySlSWm4RSr0afmHeYl/XWYHIUoePcxX4UH +1FUwrJqXAu0VabwdRgn30aFqjxoUp0qMTr3Me4WmWe7Ojj1h1OrWd7YKZ1iDO+BWtM0 eTMQR+WpJzX2YZ9K7pHyQxN6JtNBuiBjvubYeF6FjET/z0TBfZCjpJzPZP3d2eqtY5oV CDbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700708345; x=1701313145; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dIQzh+3gCVOtxJ46zfLPVv885EzLo4sOUWMLMpKf7c4=; b=gsnP8su8hlYhU/iX9WhtPH37+O0oIUXMqS1Gtq3FyMh5wDp+HEXaPDgoaFFMpfdQXq 7pTZfM/PkW5tuP9FcbUlcMnTJzL3FR4q8afPqrdWZKnVAt8ztGCWwDMEhMps0HmbOoUz Ii0GpSQTfdwjPXxsgS57YgyHe6aBVcQU7VuOjAnMZ/jBmScnGDPH4LS50FAG5XimkDIX l25NRXuPFSESJWwA8JP22M8Rmq6cNey6PaFeM555GEPQwHnCuUYwRASq2q7YBhIBWYix eIWvpcE7s/w4tnwuozjGA66shnoHxtW9ZRx4toCKF+pw/+auPhQrsn6vi9Ozgdj4Pe/s tf/g== X-Gm-Message-State: AOJu0YyLOZpOYdtOmLYyRz0pkxpq7d+dD1t3jm3udhSspCTWlN7IJJgQ /v2UDutH9Tuu+PikT3hPFQI= X-Google-Smtp-Source: AGHT+IGpvz6Fcs7RKjE0cyg89kUdIMLPL1dbiDpKoCPyna/OJu99UQqaRIArpFkStNOoHima6RO/Jg== X-Received: by 2002:a17:90b:38d1:b0:280:a6a6:9b1b with SMTP id nn17-20020a17090b38d100b00280a6a69b1bmr4239439pjb.19.1700708344981; Wed, 22 Nov 2023 18:59:04 -0800 (PST) From: Alistair Francis X-Google-Original-From: Alistair Francis To: marcel.apfelbaum@gmail.com, cbrowy@avery-design.com, its@irrelevant.dk, jiewen.yao@intel.com, wilfred.mallawa@wdc.com, Jonathan.Cameron@Huawei.com, lukas@wunner.de, hchkuo@avery-design.com.tw, kbusch@kernel.org, qemu-devel@nongnu.org, mst@redhat.com Cc: qemu-block@nongnu.org, alistair23@gmail.com, Paolo Bonzini , Alistair Francis , Jonathan Cameron Subject: [PATCH v3 1/3] hw/pci: Add all Data Object Types defined in PCIe r6.0 Date: Thu, 23 Nov 2023 12:58:45 +1000 Message-ID: <20231123025847.2538863-2-alistair.francis@wdc.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231123025847.2538863-1-alistair.francis@wdc.com> References: <20231123025847.2538863-1-alistair.francis@wdc.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::102a; envelope-from=alistair23@gmail.com; helo=mail-pj1-x102a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1700708392784100005 Content-Type: text/plain; charset="utf-8" Add all of the defined protocols/features from the PCIe-SIG r6.0 "Table 6-32 PCI-SIG defined Data Object Types (Vendor ID =3D 0001h)" table. Signed-off-by: Alistair Francis Reviewed-by: Jonathan Cameron --- include/hw/pci/pcie_doe.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/hw/pci/pcie_doe.h b/include/hw/pci/pcie_doe.h index 87dc17dcef..15d94661f9 100644 --- a/include/hw/pci/pcie_doe.h +++ b/include/hw/pci/pcie_doe.h @@ -46,6 +46,8 @@ REG32(PCI_DOE_CAP_STATUS, 0) =20 /* PCI-SIG defined Data Object Types - r6.0 Table 6-32 */ #define PCI_SIG_DOE_DISCOVERY 0x00 +#define PCI_SIG_DOE_CMA 0x01 +#define PCI_SIG_DOE_SECURED_CMA 0x02 =20 #define PCI_DOE_DW_SIZE_MAX (1 << 18) #define PCI_DOE_PROTOCOL_NUM_MAX 256 --=20 2.42.0