From nobody Fri Dec 27 04:27:39 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 150349106879370.85822376809881; Wed, 23 Aug 2017 05:24:28 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id C503821E47D4F; Wed, 23 Aug 2017 05:20:43 -0700 (PDT) Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0040.outbound.protection.outlook.com [104.47.40.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 7F8AC21D2E628 for ; Wed, 23 Aug 2017 05:20:36 -0700 (PDT) Received: from brijesh-build-machine.amd.com (165.204.77.1) by DM2PR12MB0155.namprd12.prod.outlook.com (2a01:111:e400:50ce::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1362.18; Wed, 23 Aug 2017 12:23:06 +0000 X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=lAByullkl1Yu54Dy87YEiZn512TqWXLpbA89S6iv8/s=; b=W4ARi3bqzit2hBdpCyfjcX0ZefXjxe+sxmCHKdv+HVvI4utBhI3DrgJctx4igz/dIK5qzCXC8XN9JWIxBcfjg9Bt3BTLoi5P/DZ1Ah4l+Q1A/eybz0Y8zElmfF1uWagGb2QyvMANIkX/wCO7vDMPPErrPHTCkFi15wh77NdkOiI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=brijesh.singh@amd.com; From: Brijesh Singh To: edk2-devel@lists.01.org Date: Wed, 23 Aug 2017 08:22:43 -0400 Message-Id: <1503490967-5559-20-git-send-email-brijesh.singh@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1503490967-5559-1-git-send-email-brijesh.singh@amd.com> References: <1503490967-5559-1-git-send-email-brijesh.singh@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: DM5PR12CA0069.namprd12.prod.outlook.com (2603:10b6:3:103::31) To DM2PR12MB0155.namprd12.prod.outlook.com (2a01:111:e400:50ce::18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cbacefdf-2b62-4246-1ff6-08d4ea21b5aa X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DM2PR12MB0155; X-Microsoft-Exchange-Diagnostics: 1; DM2PR12MB0155; 3:2sXFsFnWcqdVr+g7CwpDslbcj7lbN+oTsEYCC/0MpjA6mSdt9b2ySI3RmT97ph148E8gGiRTwWpfobmn43LylHyvaYF8XdCM5IkkrF0NmU9vmCgCcumkDnBHjPceWwbU5bH7qYXZTgpwHNoVx0fCZouZlrJkxj9XY7s3h93sG93al/zSOOuoP8MOFRBWzguglTYhtpEh0or4ymlyfa+6lQ4lmVjGxwRkjR8wE89HnUijTJbwAmvx1xLYYUi6vf6S; 25:H5U7esnSr9ycPIh6fG6whwhWPMbVtDmjAMfSp+C15b6PhWfSDradNv7afK+no1hGfFyfthUWWCPn5e8WH3ucsWyeaTpPrJRyPnCDin69llb5KwyaVOROvCNngNX1OPVh/AiKtld8FvZl/QvjVkRqBTlj2noTlhuaofoItzZpPEcW/ilieUgJAqWDJUOg/vbAyuMrRgasFvpwb75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oS0IIaRRmd9AKVrS2Os6BoGNumsBxDQILND6j6vJWXmxvemCx9viVsv4trKzhIpHc0PnuvJTuZ9+Pktm0WLWa9EbS4v98nSakIak03Leca8oJf/zSKUenwFvQX/kQXjxfxczpe73h6AKVbpV1pQkQuUHci3Rc9voUgV8OJ1ZRfZUh4Kew5FB5V9n/b0AdZnWi2Hyr24UcNZ8nVQB0iLM6q+i/R5ibYKXUA== X-Exchange-Antispam-Report-Test: UriScan:(767451399110)(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(100000703101)(100105400095)(3002001)(6055026)(6041248)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123560025)(20161123564025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM2PR12MB0155; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM2PR12MB0155; X-Forefront-PRVS: 040866B734 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(6009001)(39860400002)(189002)(199003)(305945005)(47776003)(97736004)(101416001)(110136004)(6666003)(189998001)(478600001)(7736002)(3846002)(66066001)(5003940100001)(6116002)(6486002)(966005)(48376002)(86362001)(105586002)(2950100002)(4326008)(106356001)(36756003)(6916009)(50466002)(2906002)(50226002)(42186005)(2351001)(33646002)(53416004)(25786009)(7350300001)(81156014)(76176999)(5660300001)(68736007)(6306002)(54906002)(8676002)(53936002)(50986999)(81166006)(2361001)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR12MB0155; H:brijesh-build-machine.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR12MB0155; 23:Xk83u6rnzQeWzixdSHFhFFphLwIV45Gh92CaOqrMg?= =?us-ascii?Q?61L8t/zmw5wkJGubbWdddD9CJYLQCnnXyyjJJrK571pSgTMBWjWF81XxAiXb?= =?us-ascii?Q?bbOaBBQ6H59z+RipNw+jGEJOOENa7CtPPh+AkK1b6DHD9BSehR8XqDdFiQ8w?= =?us-ascii?Q?vKQlVtaG+i6cTKYB+pwqWRe8FwtAF6omg6s/YKapvslMxGQujRIjhJN/bjLY?= =?us-ascii?Q?Pi1fs9Jkm0z+cwMZZP3ewkKuGml/BKXSNVfFsiiUvz1vvrM3EZKZTK5LkU3w?= =?us-ascii?Q?cI+nes4XfeZ1McFI54ikb5dpf7+qvRx7EfS5tQLvUlK+i4kmot8pPFImCyMP?= =?us-ascii?Q?eC+psNLBO4YEIIJ/BU+YqYx/5EryNanR8J5cMQYHZgwCugRuwM6YjZTdBpjq?= =?us-ascii?Q?lvifJB5WCJO1OdQfjMUjkNIK0j516nEyEvELMgvUgbyCtlv8utuyQIAwRAuB?= =?us-ascii?Q?jONbdiVLX3Ry6B1NYv2N+PapZIMjHQLTdd87NqO9soVm7IuYuYh33K2uxVBt?= =?us-ascii?Q?uUu1omgIBJY4oKxVf2xiugqI4P4yd88dNOypWUut/3oqc4jXMjN9opTwUAXP?= =?us-ascii?Q?5PaT360d0H3/qutgQwaF6A7Rs6Hsi9wOXlyY8GNJJo1/Op7JrZVbfLzRFx9+?= =?us-ascii?Q?vSC+OEkk2QZJHnte/pG9HBwTWSz2aPeaeQBWhvVU2TeYoHigEKB9YgyufWEy?= =?us-ascii?Q?w0am/Ivj4ufLSVq81AamV5JOW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LaUXoc5kNQSWYqASMPxuiA3cE2QPjVrtnlbvGyz/aOPaCjhp1ioZi8EplQ/Q==; 24:mnBfO5Y8uQBtJemFjvSl2MiN//Hol+sfVF+LQojX/5V+tlwP8HX9xR/sLrvCz5vSykEa3FJZyj+fvqsJVluiJjjymdCXzL5iY7iIK0SqIFs=; 7:KUSZxRqsCyLkZUF3K/MER/w2iCNumZ69GiuRfUAZVZVMTD6FzaVv2pBah9N3CJ4NDtIeLr1ckt1IAZBKw0O6Q0p5+R0XgYBRLi5/P+SUy+Y3hncXQGrV/OBCaokqYJ4EqYx5Ik9W3Nwq77vTQds0lfxMhM7Co2a1RkZVCMQst1hKT/6KRGSdiLX0A6JOVdPBofgPm/PXJZgqm+ygwJLiDa0symrxgRzqSHIZ2A5Pq/Y= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR12MB0155; 20:/TZe0OKRegcBTpf9YUiVETqDG7Uvr038JxW3s+UyB46d2Lj93SFPih/yFXvFxHwqZ/HvMYH/1SUHf1Lxk8mAyySAJE/FGthW5Mr6/LViV+ZcdSktsYl0922pdg0hCVwWFefDbZR0F2rlibFqWCQ2IkzXbMlQsBr+MycXcK0D0+rxrx/Glwy+nXFiM9wTx4ALDNDnfxWD6KhwdxaCFPnDAegUFBi+J0qVvwQ1ybplbkyi5VD19tZFfEfJtJtYzHkZ X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Aug 2017 12:23:06.7009 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR12MB0155 Subject: [edk2] [PATCH v3 19/23] OvmfPkg/Virtio10: define VIRITO_F_IOMMU_PLATFORM feature bit X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jordan Justen , Tom Lendacky , Laszlo Ersek , Ard Biesheuvel Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" This feature indicates that the device is behind an IOMMU that translates bus addresses from the device into physical addresses in memory. If this feature bit is set to 0, then the device emits physical addresses which are not translated further, even though an IOMMU may be present. see [1] for more infromation [1] https://lists.oasis-open.org/archives/virtio-dev/201610/msg00121.html Cc: Ard Biesheuvel Cc: Jordan Justen Cc: Tom Lendacky Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Brijesh Singh Reviewed-by: Laszlo Ersek --- OvmfPkg/Include/IndustryStandard/Virtio10.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OvmfPkg/Include/IndustryStandard/Virtio10.h b/OvmfPkg/Include/= IndustryStandard/Virtio10.h index 4c9b62a3cf59..c5efb5cfcb8a 100644 --- a/OvmfPkg/Include/IndustryStandard/Virtio10.h +++ b/OvmfPkg/Include/IndustryStandard/Virtio10.h @@ -2,6 +2,7 @@ Definitions from the VirtIo 1.0 specification (csprd05). =20 Copyright (C) 2016, Red Hat, Inc. + Copyright (C) 2017, AMD, Inc. =20 This program and the accompanying materials are licensed and made availa= ble under the terms and conditions of the BSD License which accompanies this @@ -81,6 +82,7 @@ typedef struct { // // VirtIo 1.0 reserved (device-independent) feature bits // -#define VIRTIO_F_VERSION_1 BIT32 +#define VIRTIO_F_VERSION_1 BIT32 +#define VIRTIO_F_IOMMU_PLATFORM BIT33 =20 #endif // _VIRTIO_1_0_H_ --=20 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel