From nobody Fri Dec 27 18:51:58 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 1502107177269847.6788366870305; Mon, 7 Aug 2017 04:59:37 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id CCDFF21DF9678; Mon, 7 Aug 2017 04:57:11 -0700 (PDT) Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0057.outbound.protection.outlook.com [104.47.33.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id B0CA321DF37CB for ; Mon, 7 Aug 2017 04:57:08 -0700 (PDT) Received: from brijesh-build-machine.amd.com (165.204.77.1) by SN1PR12MB0159.namprd12.prod.outlook.com (10.162.3.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1320.16; Mon, 7 Aug 2017 11:59:23 +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=NU26z/guiW9xkne2GabWR8IPa/z25YxCjB6YXO+1Ugc=; b=o/Zb/EB3O+c07kGRfDsb2NGhFfvgYauaie10djgE4SmW796IlT4hLahjUx+We7xEcWLaPZ/8EaxEEXKBEHdXC7PdUC4jD7AUU0PovCT7Ouf3iX+fomgBPmynidu0Nn3VrgXH4cB/2InoV915E9vyrNtKqiTTK1699z71vFoDMbo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=brijesh.singh@amd.com; From: Brijesh Singh To: edk2-devel@lists.01.org Date: Mon, 7 Aug 2017 07:58:48 -0400 Message-Id: <1502107139-412-4-git-send-email-brijesh.singh@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1502107139-412-1-git-send-email-brijesh.singh@amd.com> References: <1502107139-412-1-git-send-email-brijesh.singh@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: CY4PR04CA0033.namprd04.prod.outlook.com (10.172.133.19) To SN1PR12MB0159.namprd12.prod.outlook.com (10.162.3.146) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5c06853c-5f26-4d8e-7c5b-08d4dd8bbeda 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:SN1PR12MB0159; X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0159; 3:m4VTUrYEYshk7YZx/8MAa7pTRdtN4v8Fel5TM+UD/v/CnLjJPJlgrIypaQcY9xnHAguGcmnZZQ4kcB8cEC+BSm07Y43ozCjOz0O/Og2VKmavkN7u6UN2pnEmrdWZFSGWNYCXGIccqH5rSNOSzOrsRtbffjjSKKOAUo67MTz5BEZhTnLKax5IgO0X/+oJy6OS3urxI6ti5zSCmevjDkCDfKLIzADPftkJzPhnZStJ54/e6BgjnQo28/SYVxAD8HiR; 25:6phf8VX4LLEynAzUZcz+OZSgkWNh42DZKw+YnN7NhNE1KogWhDgLXONetV9mMLh6SdLf/1BgFYlcPHJ3S4a93zurXElcEOlbM3wubewrXcKdEn8awF7zIRjn/fGnOIlbVE1raSpbbiPf6L3lf3lSBXPJx+OSW2MGrieAp7edKXsVbkEMonaEh0LI4TSofDy7aMoFeQEebLwIGtVfTr7A6/wOnq7JYvnZK9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uxMAephY9ljmAzbOPC+Bsr59yFhsR6AL+dUv7YaVhMN2B6j1VCfb30ZtsyI8hBdIM16ZWZTek9EevH2nyc2xGnrETdR7OHppGd5rIjKjKevsnNuCulsNbv1t67nSkWoKy+9HemAMuZ9qcBpn/Ml0Kp6X8/PP8zo/R82NrgdOe0RgyWFG5jYNPPvwuLXpbmDbOAYTwYuvjJeykCjUfCBEw== 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)(8121501046)(5005006)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(3002001)(6055026)(6041248)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123558100)(20161123560025)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:SN1PR12MB0159; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SN1PR12MB0159; X-Forefront-PRVS: 0392679D18 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(7370300001)(6009001)(39400400002)(39850400002)(39450400003)(39410400002)(39840400002)(39860400002)(199003)(189002)(3846002)(6116002)(5660300001)(81156014)(81166006)(54906002)(8676002)(68736007)(50466002)(53936002)(53416004)(106356001)(2950100002)(105586002)(2351001)(42186005)(86362001)(6666003)(5003940100001)(36756003)(189998001)(33646002)(6916009)(97736004)(25786009)(2906002)(478600001)(110136004)(47776003)(38730400002)(76176999)(50986999)(66066001)(4326008)(2361001)(305945005)(50226002)(48376002)(7350300001)(101416001)(6486002)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR12MB0159; H:brijesh-build-machine.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX: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; SN1PR12MB0159; 23:pm26TtF5lJdK4Y3Feri9woJf4eMNweyUnXSI12UiT?= =?us-ascii?Q?yhcF2OLKmb+nPFc2EqKAemjgz426PMB8QCDhXtQXCqVK2MIV9+iXJr+/jaOT?= =?us-ascii?Q?DcOcH6cLNzWhzUIhWMwagx53yNd9TzlyrszRRwFEA95Pz6UXzjR+ckkPYBJL?= =?us-ascii?Q?YBJ4Vtiop54WYbwZA18gPFfhpAgmRENBqnJBh//OrqzEuLkK036VVx3+2QWA?= =?us-ascii?Q?FJTQTEQB+AojD6VRrKENY6HjEP3TpEBlsff9C6IcGPh5lC/r2DGp2f4OiWOE?= =?us-ascii?Q?tH63v6l3J9DvaBbWHV2tMtmjDz9XHutT1xrrkOIW3aBjDtMPNyzPml1ezoke?= =?us-ascii?Q?5cefwdXKy0dPex3oqzsKW/ClykPHBWFEq3AWzGfyhuZvWLTcUU1NXWfZU1sw?= =?us-ascii?Q?boBzfE5OfMgYVs0ArxiRx/qljZKIbbRqiOdf2vppme1hRgRw60XwIv/ucUqF?= =?us-ascii?Q?ljhuL7Bx7RZ/dzXb6vQmnJuwlScOztuE1N+UZQr66zCB1dHpK+uJiTp5e7M5?= =?us-ascii?Q?jqDlgUvHFelpjpbm3UdJa9/aMu62SWxiqZ6tsDjVm3O8tBNyer8W3rtj+e1a?= =?us-ascii?Q?L+IxTsRXNSxrdz6qS5SUqfqmidJPVLqw5SCQWuu6IkHDw8bwP471wPPcZiYm?= =?us-ascii?Q?FfHCj0h6HYOrHHKDjDvTJnRlcbZDQd839l/lcVJzfTplaZ3Vxkn0Rz7Yrjdr?= =?us-ascii?Q?Ul1q8HHTiK4xa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u7dSUAXBXaWt8YxuaAq1IYRKtq257FcvH1BypVz5W7NqoIcHIIp2ikyHzqBHBU+yas3TfA==; 5:qEJZj4ieLJ36kUUASETemNfdD0NFtR299ghp/i/SxXQVOPnyPTM9v2dc/bB/SfVkHhbgkTV+46FiVFH067zSkMcUKelPnJjGzh2ICs0inBeNvT75Jv2/iPM6uL3cTyhpAXd01tMDSuTxJcbFaudW6w==; 24:cqm+V7U6dnk+MJ5sWr0irHzA5AfuJtV2m0RAn1NUEV7u8IriE9/keDh60dMGTvJ3RzPsxqdzaPu3nagjRe/C4gg9F78yaPScMsKEQkd9wts=; 7:rf7W0dma9V1F0YoXkWwegNR4Pf9l7X81iyMdpQwYqq7jJ7MsXiSJlxzXCRL70YBgrQRR4Ve3EV1ACUUPdPOEoRBHDd7H454K0AnQnnOUgsGu7Dn/JjSL5pmy3czJvuxECMcHSt/KbbBvWdzOrAWHEFoTELBuzJyu2jwfcssPmW74ugZuvjpmANhjtY7lUgNKBegb8nkN7zuyVSHmt4D/hfeUcmKFklA3ivXYd70YiNg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0159; 20:DEvyOQ2HUbNoamAD8cfQFXSD3p37egpVlvxtHG5+o1lHZzYXkuuY4905wTd7wNqABOV1EYXzmQERGfKVthyPX2swYYjags1W9/QGarI37Md8Vnd4WHbGX0nXKaGVGG2iGKERopL9fHtULUxLJZrQs/2DHYbzN3In2Ml8pcSl17yK/IfIR5dlodDWhbfYAM0gtrshiMhAH4ZGd6ZGGWe6ZH0u+UbRzlI40dhd+EkF75AGtEnXyV3FZJGCVE69nWKD X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2017 11:59:23.4204 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB0159 Subject: [edk2] [PATCH v1 03/14] OvmfPkg/VirtioPciDeviceDxe: Implement new member functions 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" The patch implements the newly added member functions by respectively delegating the job to: - MemoryApplicationLib.AllocatePages () -- with BootServicesData - MemoryApplicationLib.FreePages () - no-op (host address is same as device DMA address) - no-op Suggested-by: Laszlo Ersek Cc: Ard Biesheuvel Cc: Jordan Justen Cc: Tom Lendacky Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Brijesh Singh --- OvmfPkg/VirtioPciDeviceDxe/VirtioPciDevice.h | 34 ++++++++++ OvmfPkg/VirtioPciDeviceDxe/VirtioPciDevice.c | 7 ++- OvmfPkg/VirtioPciDeviceDxe/VirtioPciFunctions.c | 66 ++++++++++++++++++++ 3 files changed, 106 insertions(+), 1 deletion(-) diff --git a/OvmfPkg/VirtioPciDeviceDxe/VirtioPciDevice.h b/OvmfPkg/VirtioP= ciDeviceDxe/VirtioPciDevice.h index 8f17a16c88f5..da98de123000 100644 --- a/OvmfPkg/VirtioPciDeviceDxe/VirtioPciDevice.h +++ b/OvmfPkg/VirtioPciDeviceDxe/VirtioPciDevice.h @@ -3,6 +3,7 @@ Internal definitions for the VirtIo PCI Device driver =20 Copyright (C) 2013, ARM Ltd + Copyright (c) 2017, AMD Inc, All rights reserved.
=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 @@ -156,4 +157,37 @@ VirtioPciSetDeviceStatus ( UINT8 DeviceStatus ); =20 +EFI_STATUS +EFIAPI +VirtioPciAllocateSharedPages ( + VIRTIO_DEVICE_PROTOCOL *This, + UINTN NumPages, + VOID **HostAddress + ); + +VOID +EFIAPI +VirtioPciFreeSharedPages ( + VIRTIO_DEVICE_PROTOCOL *This, + UINTN NumPages, + VOID *HostAddress + ); + +EFI_STATUS +EFIAPI +VirtioPciMapSharedBuffer ( + VIRTIO_DEVICE_PROTOCOL *This, + VIRTIO_MAP_OPERATION Operation, + VOID *HostAddress, + UINTN *NumberOfBytes, + EFI_PHYSICAL_ADDRESS *DeviceAddress, + VOID **Mapping + ); + +EFI_STATUS +EFIAPI +VirtioPciUnmapSharedBuffer ( + VIRTIO_DEVICE_PROTOCOL *This, + VOID *Mapping + ); #endif // _VIRTIO_PCI_DEVICE_DXE_H_ diff --git a/OvmfPkg/VirtioPciDeviceDxe/VirtioPciDevice.c b/OvmfPkg/VirtioP= ciDeviceDxe/VirtioPciDevice.c index bc4f6fe8bfa3..4e4e21d9a477 100644 --- a/OvmfPkg/VirtioPciDeviceDxe/VirtioPciDevice.c +++ b/OvmfPkg/VirtioPciDeviceDxe/VirtioPciDevice.c @@ -5,6 +5,7 @@ Copyright (C) 2012, Red Hat, Inc. Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.
Copyright (C) 2013, ARM Ltd. + Copyright (C) 2017, AMD Inc, All rights reserved.
=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 @@ -40,7 +41,11 @@ STATIC VIRTIO_DEVICE_PROTOCOL mDeviceProtocolTemplate = =3D { VirtioPciGetDeviceStatus, // GetDeviceStatus VirtioPciSetDeviceStatus, // SetDeviceStatus VirtioPciDeviceWrite, // WriteDevice - VirtioPciDeviceRead // ReadDevice + VirtioPciDeviceRead, // ReadDevice + VirtioPciAllocateSharedPages, // AllocateSharedPages + VirtioPciFreeSharedPages, // FreeSharedPages + VirtioPciMapSharedBuffer, // MapSharedBuffer + VirtioPciUnmapSharedBuffer, // UnmapSharedBuffer }; =20 /** diff --git a/OvmfPkg/VirtioPciDeviceDxe/VirtioPciFunctions.c b/OvmfPkg/Virt= ioPciDeviceDxe/VirtioPciFunctions.c index 243aa14c2421..1c587e184311 100644 --- a/OvmfPkg/VirtioPciDeviceDxe/VirtioPciFunctions.c +++ b/OvmfPkg/VirtioPciDeviceDxe/VirtioPciFunctions.c @@ -5,6 +5,7 @@ Copyright (C) 2012, Red Hat, Inc. Copyright (c) 2012, Intel Corporation. All rights reserved.
Copyright (C) 2013, ARM Ltd. + Copyright (C) 2017, AMD Inc, All rights reserved.
=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 @@ -271,3 +272,68 @@ VirtioPciSetDeviceStatus ( return VirtioPciIoWrite (Dev, VIRTIO_PCI_OFFSET_QUEUE_DEVICE_STATUS, sizeof (UINT8), DeviceStatus); } + +EFI_STATUS +EFIAPI +VirtioPciAllocateSharedPages ( + VIRTIO_DEVICE_PROTOCOL *This, + UINTN NumPages, + VOID **HostAddress + ) +{ + EFI_STATUS Status; + EFI_PHYSICAL_ADDRESS PhysicalAddress; + + Status =3D gBS->AllocatePages ( + AllocateAnyPages, + EfiBootServicesData, + NumPages, + &PhysicalAddress + ); + if (!EFI_ERROR (Status)) { + *HostAddress =3D (VOID *) (UINTN) PhysicalAddress; + } + + return Status; +} + +VOID +EFIAPI +VirtioPciFreeSharedPages ( + VIRTIO_DEVICE_PROTOCOL *This, + UINTN NumPages, + VOID *HostAddress + ) +{ + gBS->FreePages ((EFI_PHYSICAL_ADDRESS) (UINTN)HostAddress, NumPages); +} + +EFI_STATUS +EFIAPI +VirtioPciMapSharedBuffer ( + VIRTIO_DEVICE_PROTOCOL *This, + VIRTIO_MAP_OPERATION Operation, + VOID *HostAddress, + UINTN *NumberOfBytes, + EFI_PHYSICAL_ADDRESS *DeviceAddress, + VOID **Mapping + ) +{ + EFI_PHYSICAL_ADDRESS PhysicalAddress; + + PhysicalAddress =3D (EFI_PHYSICAL_ADDRESS) (UINTN) HostAddress; + + *DeviceAddress =3D PhysicalAddress; + + return EFI_SUCCESS; +} + +EFI_STATUS +EFIAPI +VirtioPciUnmapSharedBuffer ( + VIRTIO_DEVICE_PROTOCOL *This, + VOID *Mapping + ) +{ + return EFI_SUCCESS; +} --=20 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel