From patchwork Mon Jul 22 00:18:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 1963008 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=hzlq5miZ; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=patchwork.ozlabs.org) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WS1GM5fmSz1ybY for ; Mon, 22 Jul 2024 10:23:23 +1000 (AEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVgmT-0008Ls-Rt; Sun, 21 Jul 2024 20:19:57 -0400 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 1sVglf-0003aj-53 for qemu-devel@nongnu.org; Sun, 21 Jul 2024 20:19:12 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sVglc-0005zF-GK for qemu-devel@nongnu.org; Sun, 21 Jul 2024 20:19:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1721607543; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sKWGQeqJTV62O0PjhVO4qR0DAdvYkDIxQ36H6bU2Erc=; b=hzlq5miZHmmtePkFYx6s5JdD9VcyshdLwZpdzxkxJMOfztrxYeSNcwlo+X8TLsFWt2u+jI sIrghdIvXuV2/0Q6sMeEPTEnp6CUn+0GP/nCtAMmYUswVX66+sdpCFIYHHXckVLotH7q3I r2PSOqYNPntM9VpYF+nFhaZGpUqRQgE= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-246-FUkQ8cBaOGiXJ0jY13f8fg-1; Sun, 21 Jul 2024 20:19:02 -0400 X-MC-Unique: FUkQ8cBaOGiXJ0jY13f8fg-1 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-3687eca5980so1730166f8f.0 for ; Sun, 21 Jul 2024 17:19:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721607540; x=1722212340; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=sKWGQeqJTV62O0PjhVO4qR0DAdvYkDIxQ36H6bU2Erc=; b=lMjG2gmzoX/vjezznCduLeF/lhSKZJzMoKilYOFmKkaoZumsUwywAFUzWps9LKz28k 2fXGzG5JM1mqpB/yzUk7przOUH+3qFYSam6pBuzovMjC3vBs/nGsptQNBh9Jw8T0vOjA +PllrQUCm3CZxiFbqmLjTXFhz/4qBgVv6xIyyI9bjX5AN62TZ4Dz6W4ELC8VRXKPVm6N dmyJoa6MYirGMmT6LNfLyKpFEK3GlbaRJJhQSS8l7UA3AfMmhBok355ijcwVFEB9LeQc T6xJpjbgR3ZMPwSUrlpU8RzHsrWvnfl98XHa3NKFgDrKbn5q3tfMCE6I5yhxLafGHn/E f0QQ== X-Gm-Message-State: AOJu0YzCNZsQ9yJCT6+ifJSkl36BKR4zG5Y1AwDxb+5OR0PvZHVtBnwF TDI+rCHaUBwQQWHVFP51tXA+5MrUduWDVD2QoPYluhYH9fB1W0TpBhQe0I+0ZmC2U+LzQqtkSrx ppyN5/cH3zga8ISFfl8NFAo4bwOyRzcx44h3PziHjekyuuwc6sinSwsxnhnrB6+Pxn9ouUWT3Rb 2x3Xe0RZReULg6vC7Ta19C3f8UzVD/KQ== X-Received: by 2002:a5d:4b0a:0:b0:35f:1cc9:1d1d with SMTP id ffacd0b85a97d-369bae89634mr2784119f8f.38.1721607540591; Sun, 21 Jul 2024 17:19:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGCRZ4W+Hm++PaECUygA8QJPpMhESbb0eP8SqZNfF7e+5rzoq/6O92JYWKj02ORghTFvWzl8Q== X-Received: by 2002:a5d:4b0a:0:b0:35f:1cc9:1d1d with SMTP id ffacd0b85a97d-369bae89634mr2784100f8f.38.1721607540027; Sun, 21 Jul 2024 17:19:00 -0700 (PDT) Received: from redhat.com (mob-5-90-113-158.net.vodafone.it. [5.90.113.158]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-368787ceda0sm7008237f8f.87.2024.07.21.17.18.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jul 2024 17:18:59 -0700 (PDT) Date: Sun, 21 Jul 2024 20:18:58 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Cc: Peter Maydell , Alistair Francis , Alistair Francis , Jonathan Cameron , Wilfred Mallawa , Huai-Cheng Kuo , Chris Browy , Marcel Apfelbaum Subject: [PULL 60/63] hw/pci: Add all Data Object Types defined in PCIe r6.0 Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Mailer: git-send-email 2.27.0.106.g8ac3dc51b1 X-Mutt-Fcc: =sent Received-SPF: pass client-ip=170.10.133.124; envelope-from=mst@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -22 X-Spam_score: -2.3 X-Spam_bar: -- X-Spam_report: (-2.3 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.141, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Alistair Francis Add all of the defined protocols/features from the PCIe-SIG r6.0 "Table 6-32 PCI-SIG defined Data Object Types (Vendor ID = 0001h)" table. Signed-off-by: Alistair Francis Reviewed-by: Jonathan Cameron Reviewed-by: Wilfred Mallawa Message-Id: <20240703092027.644758-2-alistair.francis@wdc.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- 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) /* 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 #define PCI_DOE_DW_SIZE_MAX (1 << 18) #define PCI_DOE_PROTOCOL_NUM_MAX 256