From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0051.outbound.protection.outlook.com [104.47.41.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id A5AB721D1B287 for ; Fri, 21 Jul 2017 04:15:23 -0700 (PDT) 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=pLkUncwRE6dvM35Mfxl5XdhJDKijW1KVioAEULN0GDY=; b=uktZhlkDEleUSdRwHIpiTH0OH5C9xjbxoE3AFkpwT6HaVEii0ERea1svvKYAsqQbYzfF4us952lmtyAUfg9DelrsBt5m0CjeDDrgRKS/f+0ICOGCJkz1WieWQnh31jowx01c8mZEtOwH42ZSu9fyfWOatCOLEfc4uRTU3AI2u8A= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=brijesh.singh@amd.com; Received: from wsp100986wss.amd.com (165.204.77.1) by SN1PR12MB0158.namprd12.prod.outlook.com (10.162.3.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1282.10; Fri, 21 Jul 2017 11:17:17 +0000 Cc: brijesh.singh@amd.com, Tom Lendacky , Jordan Justen , Laszlo Ersek , "Michael S . Tsirkin" To: Jason Wang , edk2-devel@lists.01.org References: <1500502151-13508-1-git-send-email-brijesh.singh@amd.com> <62320c1a-0cec-947c-8c63-5eb0416e4e33@redhat.com> From: Brijesh Singh Message-ID: <25d78a89-59bd-157a-ccf5-70cd25e14a05@amd.com> Date: Fri, 21 Jul 2017 06:17:15 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <62320c1a-0cec-947c-8c63-5eb0416e4e33@redhat.com> X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: MWHPR14CA0012.namprd14.prod.outlook.com (10.173.227.22) To SN1PR12MB0158.namprd12.prod.outlook.com (10.162.3.145) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c9683699-83c2-41e6-241f-08d4d02a0c89 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:SN1PR12MB0158; X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0158; 3:83OrQHSLwzE8Bjcprm9XZEQSveqi+PzxD46gIkTxARCDcPa4dHmPR2hTeMukM+jauFm4490G0t5ALHtcAbdKcsfAfxSBOFU5PD0L5/Fqf4Gd7ygaigYWUJqZ/3Xn0+b+7fjui7IHEtBhTOjLBWlJQfUw1VE+jndQAdm+b7H1gopoLxNAEBDP5cOmW5QxwZBp08j52CfpygclgZ+laSDCz/edvSoXSqD9Yd/Qg0vz9cLrdFvQ1c4fmzS4IWOA9zk1rGhhnKm9RRQlxnXK25uz4IcBJbB+G9J7Z21WPXkiPCu6OamrnfsGP5anIwecI8jmasDQ9toSnSBu719LesKPCboWFYzN1TMnGhP62imoKSv9EUMkwoLebEKrsMUXR+NqVJD0nnRx1WXLY7A8Q5Xa1POKEcfFrWd36qYhjC4Yank8xJGoFhfrBITURXLkxO2WPKEC1Ll2D0PIqv1tZbSFN91yeJ84Bwg7Xk0bPf5yHwWGDWGj91BWGwArszg5rtdIcC3a6hGXOOk9VALi57S00VmEQCFMk8qBnXp5yzl5eC2LjaTaCYX5Vc2Uy3iH3OJnX1/putMDmhoxMGSXcWOde53LsgYYVwwJTyNuvxOS7zX/J9bylUTfSHblZJHGtXijE7yDIAJiYTgtIVl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v7IFbC3yEndPGxGRIwhyZJlLp6IMFVtoQxIo24kZLtuy3UoBJC5Cfjqa26OQJm1kLb37gabEpQn3OhAZ7eW0BXnTFVT9HsLkOcsowF8nCmENAiIU9B7NzNOVJtqmq8X4GmwaL899VjOfqId0gfcZ2uu/WP0Mh79lF2Hzb/C0uMxdEQ8ByNkSZ32Y0v6gI2lGiNYX9zCnrbSfdfN5ObmSSthqpqLXaNA71M1zfGjGOxhVwvD7Pnd2CaOxNVPjLCvcawgZPHGVS9KKL5kL9 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)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123555025)(20161123562025)(20161123560025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:SN1PR12MB0158; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SN1PR12MB0158; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtTTjFQUjEyTUIwMTU4OzQ6TWdFZGhYK0UrbWdmSFpvbm92VmZyaS9VZThn?= =?utf-8?B?MlgxRVU1N012TDVjYjlFelk0ZXhIWHkvZVhDTXlETW9COFJRemNYT1U5aHlM?= =?utf-8?B?MnpMMVNjWW9aNlV3V2MrRll5dWNFUTdLYjVCZVZULzZJc25LYitMV0dlYTMx?= =?utf-8?B?ZytqVndtaUxYalhvZnhuaUJBbTJ2czV0dmlscW9aNVhidnNQdXVmVzBkU2kx?= =?utf-8?B?RTJwWWxLN1V1VXdoVm0zdkNlY3lmYSszZEtta2R6VEs2ZWhH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BzamlXMnhKeThlckVuSG13K2duakpR?= =?utf-8?B?Ri9VQjNDT0Nhc29sMXFtRkY1R3E0dzBaczJVY1FHM1pUeXBWTVpiZEJVZFlC?= =?utf-8?B?MjBibEZIbExVYnYyRFNWQndHaUJtK1Z2cVc2M2pxUnFzQU9XUjdodHY0RDlp?= =?utf-8?B?NmZTUzhGMC8xZ2RRUENFb2ZwUTR5UlZxY3FPUDl2WXlpTzZVTG1iTnczTGJX?= =?utf-8?B?SzI2NERNc20xNGhjM0h3eDc5amMzK1pjRnVxNnh1WDRJN0wzS0lrc1pkcmxB?= =?utf-8?B?RGNmMTlpbkZIZkh3Y043U3NFYjFDVVEwbG9OY3JrM05STWlzQTJGaXkrYUsv?= =?utf-8?B?NEFWUEo4UjAwb2V5WTFtWFdYeGJvdUJoTHBVZDdwM3JuVndVeVUxdnJzUWVV?= =?utf-8?B?QTE5Q3FYMHVhUW56dWU3aC9nQVF6RXJSUWxIRGg4T0tETGt5czVIdU1YKzFP?= =?utf-8?B?a0JCbktVNWpyV0VvVm9vbG4yVUQ3SjZNTXdoMi8zczVlQ2p6SWNIb3ZZdE1a?= =?utf-8?Q?P9jGBb28GpBcVSbGw=3D?= X-Forefront-PRVS: 0375972289 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(6009001)(39410400002)(39840400002)(39850400002)(39400400002)(39860400002)(39450400003)(57704003)(189002)(24454002)(377454003)(199003)(64126003)(54906002)(53936002)(65956001)(6246003)(38730400002)(110136004)(25786009)(66066001)(31686004)(23676002)(478600001)(97736004)(3846002)(6116002)(6486002)(2906002)(7350300001)(4326008)(53546010)(4001350100001)(189998001)(68736007)(50466002)(65806001)(47776003)(5660300001)(65826007)(36756003)(33646002)(7736002)(305945005)(2870700001)(229853002)(86362001)(105586002)(106356001)(101416001)(31696002)(83506001)(81166006)(8676002)(81156014)(42186005)(2950100002)(50986999)(53416004)(76176999)(54356999)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR12MB0158; H:wsp100986wss.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtTTjFQUjEyTUIwMTU4OzIzOmxJMWk2VzhWcTNMUnBaL3dzREl0SEM0QnVU?= =?utf-8?B?L2h6UXVXTDNVbHBJWFNjZVN2UGRvQmxwNVNQV0tPT212YVVMNi85OGhXYnY0?= =?utf-8?B?YjJFV3ZxKzVvZWQ4MDU5aWNIK3U5TllNOFB5R1ZIclVYY3ZkNHg5K2gzV3c5?= =?utf-8?B?QWZCQnhvY3lQRU8zSG50eDlwek5ndnlSa0dYc3BLcFBPYUxjL1R0Mm4yNUZk?= =?utf-8?B?MVBuaXZuWE1SSWFaQXcxaThFMnU3Zzd6S0UvV1FIaHRRaTd6Y01vdFJrY0tJ?= =?utf-8?B?K3ZGNjNSay9CYTdXY0owUVlwMjJuY2poYzliZnZ0QUFOeXNNQm1YSmpWOEh2?= =?utf-8?B?TFVSempJd0RNdUhrZENxOFZ0RnFGQW5NOUVNOVB3MGplNkdTNVFpT205ZGtT?= =?utf-8?B?OFlzUllYb3k4MUIycDVuUGZiMUFaWHpnS2RURklBdUszekJCek0yYncwWmh2?= =?utf-8?B?SlYvYTM0TUw5NW42RjJ0NXV1WnlIQ3RzaFdMTWExWnZidTlKU1U4dGZZK2hr?= =?utf-8?B?eVhkLzVNc2JVNXdJZFI5NVAzTWRaN2NWblBwTTFLK3NoVVdOVTBETTYwVW1w?= =?utf-8?B?bjFRRldmdS9GWUJ2NHZlc3NBR1B6WGNYWlk2c2ppSTZ2SGdTblowdFF3WXd6?= =?utf-8?B?K2c0d0VMdnl4TDNGZWV0dW5rSUY5L2ZHM1dYZ2tMVWl5cHZsaEUwUy90M0Vq?= =?utf-8?B?Nlk0cXdOYkI2TnNKUEcrUFRPL01ncm52REZiVWVOcVFZdWFYZTNLS0o0am45?= =?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i9yVzJZRkpySmdsYlNzQ2Ro?= =?utf-8?B?OXFrblhlU0JvOHNyWG5SMzZFYnplbUFzcTBuc2J3NVlpUFhSRGtqUGtqOERB?= =?utf-8?Q?az+K2Ue?= X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0158; 5:1H3CS7fkowv8YnoM2HXHI/uuMuun8C8uTXDnyr7ooQdaJHUtYLOY2Kk04opuS8dlzHLvigB81Z/d1s3SLwAe+s7DomG7vaSllYsemeLYPKHUIEBbCalo3Fk3+iA6gGbsCE1H8340u5IOhpS08B7JjQ+5WVhd/LOrK5siZ7mSkE2A7/sAoVBHHMMhPmu0J+kUBB5yeybRGqunU0ojdbJGyvz0/gYYy+lzYISh5vECkApMyh9OC9yeCBzd2M89s+KOsONfsh5Q66TsA564yHHhyj1dbvb901KPFEab5Msd4yLL3M+Ra8s3N+f2pfuwmplzHsU4AyJyhxWEo2hrpje70jH+Jmm32G4SP4ljtuPA7n5BWeAb8oApRu65qebw+G+uaBrXDgqN+jSjXxZYgMJL8fhQ8sVXEyPd+U2MQps1J2YFsIU2HiC+VVidYPqg+ONIAW+dyqJfZa0QmKdowTpTROaf4YC9rcqlIf3wQPwHmfKejEn3e4ekaBdq28GsuET6; 24:6cfwFbCOjnw7KkimJjyIWxwP+GwwDX+cjcSt/OaaS6b7ThOBH2xltR9Okf2sk7gDExMOgX+J6YzNk7VdGxFJG/oGqye+9hEXjzg1EbTVSHQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0158; 7:b6v3a3HHq7YUiiy5jSj/Tgt9Uv7Lhu0+pVxNWAu515XINpXs3RB7gtn0hqC4B0rc/iGEsCaHwZz1pnPNWW7Glak/VMv9f3jk5yRtBOH2WFuqS+OzoVLJkYBfS0bebr+MS1BprFgjyfcMOWqSxQUoIoaDbvvN16JPzUpsj0u8rKprFWry1MiniyA5GDqKCgQnBd2SRFNYCGjr6S7ir3I1CCYqjBIms4U9egY2/7ACgtfz+aussH5w8dNsUcSOta4mSPuO9kIKCusPNdB3UaaX5k0Y4oMlY04m6NANk18H6PDyFHBv4jSuqgGXAFiIKp3XDF9YBQ181A1Asp82EQqHOpgTmSjHXVJDmZRH1cyUmfGOC79xQqpT1rhhxW7UAue4Iih8F31bceehPTO/nZBacNcg9YQer24V838BxWiiaX8TaktRsJ56dztoC83icqRyGibc2h7hrbZR0vysY5u+GxD6WI9btROJ8l2prG/ukzDOTRtdN3F98qe3T12YszxsRIFFHGeOf+yaf8Gox+zaHepAHWcqQajEQ8L7XCySgKKZTia8Eca67OaU3EA0SZc3/701ybesplu47t2m3pbWWYiY9mfCL7B66r1PMFhbWsOCrzlPcvFNhvEq8d24/WML0RU4zAW8rwlCC7uV0PdA3FdPLmo/qjHN0rdsrZ/ODy9ekO3WSR5GWBYZneJpOnYuQZ9I/qD7Kq8N5t/4AHZZvXsdctFCSH3uXKU5jEa2Wsw4DfUj05MhSLqjFPRBJ8FlfeimDndyOE/W3iMSC5iWvvxQJ2hgebMeQJncXp5lUQk= X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0158; 20:q56i/sIJJemc/Ae+wDJiYwdbhqjRK1mpdP1IAMExJtNwdmpyi6g9AEjRMKhHve3mIncFXpxrV6jfFWgidXVX3FLGYWwadsS1eBRiwYVaxc+tLcUQ2/PAWpcV4Z2S10NOioJjiQbfnnvE2U17mnWgzCz7XIifKTt9F40So2+q95zBomy2lOgnA71sOikCONTRL6tIbqiOC9PJTUuTpepe78aELGoJ7TGwyImoKgqO+EZ9snFEXOuWn6dHn2FeGp0s X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jul 2017 11:17:17.1886 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB0158 Subject: Re: [RFC v1 0/3] Add VIRTIO_F_IOMMU_PLATFORM support 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: , X-List-Received-Date: Fri, 21 Jul 2017 11:15:24 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US On 7/20/17 10:24 PM, Jason Wang wrote: > > > On 2017年07月20日 06:09, Brijesh Singh wrote: >> I have found that OVMF fails to detect the disk when iommu_platform >> is set from >> qemu cli. The failure occurs during the feature bit negotiation. >> >> Recently, EDKII introduced IOMMU protocol d1fddc4533bf. SEV patch >> series introduced >> a IoMmu protocol driver f9d129e68a45 to set a DMA access attribute >> and methods to >> allocate, free, map and unmap the DMA memory for the master bus devices >> >> In this patch series, I have tried to enable the IOMMU_PLATFORM >> feature for >> VirtioBlkDevice. I am sending this as RFC to seek feedback before I >> extend the support >> for other Virtio devices. The patch has been tested in SEV guest - >> mainly because >> IoMmuDxe driver installs the IOMMU protocol for SEV guest only. If >> needed, I can >> extend the IoMmuDxe driver to install IOMMU protocol for non SEV guests. >> >> qemu cli used for testing: >> >> # $QEMU \ >> ... >> -drive file=${HDA_FILE},if=none,id=disk0,format=qcow2 \ >> -device >> virtio-blk-pci,drive=disk0,disable-legacy=on,iommu_platform=true,disable-modern=off,scsi=off >> ... >> >> Cc: Jordan Justen >> Cc: Laszlo Ersek >> Cc: Jason Wang >> Cc: Michael S. Tsirkin >> Contributed-under: TianoCore Contribution Agreement 1.0 >> Signed-off-by: Brijesh Singh >> >> Brijesh Singh (3): >> OvmfPkg/Include/Virtio10: Define VIRTIO_F_IOMMU_PLATFORM feature bit >> OvmfPkg/VirtioLib: Add IOMMU_PLATFORM support >> OvmfPkg/VirtioBlkDxe: Add VIRITO_F_IOMMU_PLATFORM support > > Hi, do we need change virtio-scsi driver as well? > I see that OVMF has the following virtio drivers, we need to update them all: VirtioBlkDxe VirtioGpuDxe VirtioNetDxe VirtioRngDxe VirtioScsiDxe I will wait for Laszlo and Jordan's initial feedback before changing other drivers. > Thanks > >> >> OvmfPkg/Library/VirtioLib/VirtioLib.inf | 1 + >> OvmfPkg/VirtioBlkDxe/VirtioBlk.inf | 5 + >> OvmfPkg/VirtioGpuDxe/VirtioGpu.inf | 1 + >> OvmfPkg/VirtioNetDxe/VirtioNet.inf | 1 + >> OvmfPkg/VirtioRngDxe/VirtioRng.inf | 1 + >> OvmfPkg/VirtioScsiDxe/VirtioScsi.inf | 1 + >> OvmfPkg/Include/IndustryStandard/Virtio095.h | 1 + >> OvmfPkg/Include/IndustryStandard/Virtio10.h | 5 + >> OvmfPkg/Include/Library/VirtioLib.h | 20 ++++ >> OvmfPkg/Library/VirtioLib/VirtioLib.c | 96 ++++++++++++++- >> OvmfPkg/VirtioBlkDxe/VirtioBlk.c | 125 >> ++++++++++++++++++-- >> 11 files changed, 244 insertions(+), 13 deletions(-) >> >