From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0062.outbound.protection.outlook.com [104.47.40.62]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 79D1021D1B2B4 for ; Wed, 19 Jul 2017 15:07:38 -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=RQc4rMbwxvN9AUz6lglxvjxjmJp5FfZQnw11P3B1QOY=; b=xWJNDiYs3HUBbjXUnaxE3BSscIS/1Bl58V8+rSPxINk1GYMLP91FOm0nQerTgyFYhr2LyAWDqt2cY5PCARBo9gjHk81N70dx9UPEtlkjWPzWNobIUNkM3OYyAzsi+3h8O/0mS1epAMv9S7vMAylsc5XvgB6rdbTAMBuFKF+LJ5o= Authentication-Results: lists.01.org; dkim=none (message not signed) header.d=none;lists.01.org; dmarc=none action=none header.from=amd.com; Received: from brijesh-build-machine.amd.com (165.204.77.1) by CY1PR12MB0150.namprd12.prod.outlook.com (10.161.173.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.13; Wed, 19 Jul 2017 22:09:31 +0000 From: Brijesh Singh To: edk2-devel@lists.01.org Cc: Tom Lendacky , Brijesh Singh , Jordan Justen , Laszlo Ersek , Jason Wang , "Michael S . Tsirkin" Date: Wed, 19 Jul 2017 18:09:08 -0400 Message-Id: <1500502151-13508-1-git-send-email-brijesh.singh@amd.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: MWHPR02CA0012.namprd02.prod.outlook.com (10.168.209.150) To CY1PR12MB0150.namprd12.prod.outlook.com (10.161.173.20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5b1ac4c2-a686-4a2a-81c5-08d4cef2d50f 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:CY1PR12MB0150; X-Microsoft-Exchange-Diagnostics: 1; CY1PR12MB0150; 3:8mS02BbbmISeq6lq52fYQWPhB1PV0/1PV3WettYrTM5cMAXi2aUQ3HCm6uGjcPfzyimqluQDv7FyPe+8G4p80l9Y6IWuszdlOC2klN+h21LDHlOktATkZCebWmCv5+TVMJ26fohp96mUeJs66zCOR4IqC7xZ2v61Hg98gR+1Nlct4IZtDGLrX54i+FRCL61guRBE66yPKGLvkzbQOYPRFXUqRJIsKvOtmOlaDZTbIDswe6bUP5xeMp7FannzK7i4f4iJ4Ee1xz9hWvnyc5zzD2tHdrUws5kBoaSlPDaLXQQIx0b6Lht+UdwgTCYqWb9++M5JlyS1m87dy8tr3gw3Sr/l8yyz96EyRi8DACDCn3RtOX49vwo/yNbVFMQlwADUXttipZmK6Tvar5cm9q60kahIM9/DJjyFF+tcSPm4oImKFwToOY3E2vfImvjId8i8o1sbGfTvkKCnMzaRBTy4zPBDw/XlT/lzVbhCr6gRhbbCSTC1C1HVX8CHDB3MLtbyR5eEtdwrXPW6w3Loh/TK1UD+/xNRaeoMAnecUU0lVnS2IDbhxVomgA9WipM00r+MktspNB/OedOkAIxx8B1MJ7+miSyDPnM/okynmthu50qR1VtE4GogBUaDy/X1aggXzxBXMTrMpobdbv/rYfhk+ISkuJCEDnrGsp99DTNEFw1lVtv8jtUBI6ctox06U9UM4riaxtfZ/I8fs9bINOgdtf4vGjQn2wpBkLxEOgRGN9MG3/Ck6zZzenBkTmEBPLom//rHnn/ln/nG8ZMugic0Ew== X-MS-TrafficTypeDiagnostic: CY1PR12MB0150: X-Microsoft-Exchange-Diagnostics: 1; CY1PR12MB0150; 25:MWNJ4w5RYalaRT6XU3wMqNwAjcj+RlUoTnm2xzM8vbDEPz/xKak6l+2hshGs8p+FYMvBf+O/fh5m2mAEuiENYWX9HEG+a25DYebnR4fE7NfrDocMKpAh4FkD88czur+VFXEqrfnpq5lTaGXPcc5+8xFvAI7CncndiTISABTKlKW5bIBiOexOFFCWW6qbkcWTw1k02jn2lswKgg82aQRV0l+c5WEKodWX19Pl4m5cw7SldZ909PqylJNnYvVJawBYz48+GBiW/rQ1GjiiXEToquMRIumaCV1V6gGVCrFJcxtmusmEZkgjUZPtNzJoojff8VhPcE6I1xUGFS+o+v0kL0czosf+PpY17ivFXK4+TesFYXfK4BpA2aFpU+gsf/27H7+seMQArKSoNDWFMtxXJKfgh6nXZB8SnjbaVNv/FcvDSD0KCK2u+cAKsN6c1W346YxXJKkG3Wyr6mmYqni90+E2usCfKW0Ht03goxC6BRViP3a0tkaRy5qDRxLdgItKyxDZGbG037K7B3iyVuVrSt0PHjibIayQVsETsl4jwtlT0Y1o5ggXQ+jcLCIPgFWNYj1ftg/TOe3xa0v9IDJqe/pJz2rq3z9WtQEKdv1k+YNIpjktq3BwoYBBKsO0C/hmTwE6Wmvv+UL3V8WzAcnbjvya3R7nL+aary1IFk/e4Q7XeZuP1ryBfRWC6ReWSZM3da7Y9jHqkCktGDym/NDThLQWJhhvB8tT0oKVhm2K+n1NV30IsnAsCIzjyvR6APul1NRYXrpFBFzzQPf9HhPCRELUW6R4d+2/Rlb1P4SCrprV3jMsUCimYAKijgAd2ScxdLKz/uCgE7d8RCSWMZ4uWnBV1Y5cxhTTle5OHIM6w99inTiW5lnX51Rmd/tlYWsthss5zPqIH4VQMSnVU7sn0QZyxhsoiyan3pl5jPlzW9Y= X-Microsoft-Exchange-Diagnostics: 1; CY1PR12MB0150; 31:gpknTZYrZmgb/9/HF4zvNJxrewsak9oC8Bv7wLJlTbztmVh1kVHhrqPec7XE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Te9lrei7SbBhtLvEZh8uAY9ijhkyZspbdiXF7Cb6re0knV9MHHidDSTZZ8pQ6WHxl56BNrH4pTV83olS2lMb6S3A6hG X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228)(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)(2017060910075)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(6055026)(6041248)(20161123562025)(20161123564025)(20161123560025)(20161123555025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY1PR12MB0150; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY1PR12MB0150; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR12MB0150; 4:rflWgcrftfNsuSib+IJxvDe9axyuXZGGasW4d1R6q7?= =?us-ascii?Q?7d78RSD77TV4gv7P30UZQS7BBzrC3V6mlu8+02ZvRgqM8K/zl6GQOAJPP47i?= =?us-ascii?Q?Y9liJfZK91Y+/4hXoMnz4iTjcLV0QzH+nxGYvoD/kh6AVK2EzdkTUgXKoQxT?= =?us-ascii?Q?8rblsPF7WuwC9Gdc+jvBNvxQvF26AGt+7aLCAwy6GcBJwzUzan+YGZE4/riz?= =?us-ascii?Q?vXVZnE6MFeeeDGqMyjendkLDJfOK2gT7rIy0CbjVJkkN8WaKL978Fg7TckI1?= =?us-ascii?Q?zANKBPoK3ZivyyGvDnI/8W2CqA3GxIiB2BQIlT1p3fWyKn8DK528rODAYfgz?= =?us-ascii?Q?SLqE6TKkgGVgvfp5mE7+guFZxLjbl3Iq5JXiMxpimuMA7hXTSt8I2paew1Gk?=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tXcFcvZlfY4F0KMZv7YR61LGsb6lD?= =?us-ascii?Q?6NG8z+rQcGgKzvLaAHVmzhH511I9rzagmM3mJcbbnC?= X-Forefront-PRVS: 0373D94D15 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(6009001)(39410400002)(39860400002)(39850400002)(39400400002)(39450400003)(39840400002)(2361001)(50986999)(2906002)(6916009)(8676002)(478600001)(5660300001)(33646002)(81166006)(53936002)(7736002)(50466002)(2351001)(305945005)(53416004)(48376002)(54906002)(42186005)(4326008)(189998001)(36756003)(6486002)(5003940100001)(25786009)(110136004)(6116002)(50226002)(86362001)(47776003)(3846002)(38730400002)(6666003)(66066001)(7350300001)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR12MB0150; H:brijesh-build-machine.amd.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR12MB0150; 23:0ePi3ktB+KIAFxRDUB/vFrC65/60icS3Rf56Zg6Ki?= =?us-ascii?Q?qH0IHANJF7/ENoYCcQuXYWMx5SygY2PQY/FhzkVfnbizAtGHe9/8IsEcyOXO?= =?us-ascii?Q?7f4PwYQObgS709UReE9zqt2H0y8Cal+mHcO2Z3UjEiXAtJHGs2xg31jbHTRH?= =?us-ascii?Q?A/7fFn+3RdzsZSwxQN4fXlAGfSuC1GsbHnMR9nKoxxAUujLO/Sjuf4Zx/RVW?= =?us-ascii?Q?gc+kGeSeAjIOG/ycKpl/mxjqK1EscYu21WWrxWMkB1UtQPzTauBlS+pSIVAk?= =?us-ascii?Q?02QMRJ0zNu4oZtmO+fcicPFpe1+R39c76sOX4/vgPXms9kLhz/nL7qdDiVkv?= =?us-ascii?Q?/BfLOtKDTaiE3JEFiMe+nESfJH36r7Ou4DhWN6kUzwiFsYYs6epNlwmI5kAb?= =?us-ascii?Q?NoPon7T74BQqy+z2SXxL2sVgwu5UjJvPulcA64Jcjimxcrc2JSggT7Gs98MK?= =?us-ascii?Q?R89wZBmYthTrQ3XfuvZoB9K/SwWXchObscRqt1qwV9gtCPp+ejJqlEEUENzH?= =?us-ascii?Q?k7wYANScDsVFnoWKSqFYWnWy/ALJVQKEmSiEM1FegkICk/FblasWqM9o1Fhi?= =?us-ascii?Q?vvPM3+Fo52oukrqWgVJKFTzMeCwuqPVGn1W0GlOOvcQAOp42u3Q3fNQugeyx?= =?us-ascii?Q?/umRhp7TDSyR74gYxm/rKEiH/kYGsPmbQ9CZuIsMLbAm+6cyC4EencYkkfkg?= =?us-ascii?Q?i2ZOr4os4uQTF8E8TjsZtRpUcllGdsknpI5dh3nSHpzTSPaJWfmOl8fZCcrO?= =?us-ascii?Q?Iu3el4Jldy/jqoJnaLWDb6NPeiiEqzPZiro+TYm4h8d5cQ0iaCgmpR89YbgC?= =?us-ascii?Q?BUBArRuRO3OQBde9elzLY+tp1Tt1qHf6e65BmUqaTDYAv5VEu/Y5wLICqBj5?= =?us-ascii?Q?blKdgKVbvGae4JKfVAw0xoimdQqbJ7yehec1NpkuzEpd6IKbWAhQMHa2ymuU?= =?us-ascii?Q?Y6V8A8eW+OCjk4gd092psiz1ymPFgva5OY8b2esjl3Z2LhaBdoutYBFGLx78?= =?us-ascii?Q?9/yTGagF65aoqm+mf3XxSuoTm/UOMGLt2HhztNg883GMHg8sFbqSywsnIy1z?= =?us-ascii?Q?oNkASZgersV7lennAmaaZxEcehsXfgdmAmRufyxzhHzi5Ala06LmHWg9mg4a?= =?us-ascii?Q?Xn8YO6x6vPNEopIwe4l2khuNa/BtPju?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR12MB0150; 6:QhoTJH2WrxvabWXfXln3kNHRtVQYr7guHMXC1Ht8p1?= =?us-ascii?Q?SM/EClmvjcSkiyZkH1/h1BCGXW1Yc/OLF8Klt68EBlsMD95aJsKqpq/9qtll?= =?us-ascii?Q?SGevId6t9icUVIXWYlHasx8nIYS+cjlEgU0VEEUB1EgJBtltgLSWt+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MEdjkcoN04Sfn3F+VWDB2qNWlsMYxz1MiT13O9S4kJSY0vscxL2MG2cq8YDst8bo2otqPgt1HeXLgJEm5+q9jjkBl21cL8wfhcBUBt0G/MS1MBZ4n3GhyAW97bj3pIcazxDpK+MK2wqqpUni/Gd6TsksxHATdoNiOfkNIfXbjz63r2nOXQCbW/LAU80hP1rNmsgmUPCIX4Vo65lwJ+qeFGd2GLyH5fotjoj+qyJ/oBJ3OpEfvAkM1FhtkPVD4+tj5FZ4/PQYUYD61JcyoW/Wzhm17dSF1WHHyXac8VT/1MfkNIlOBoFCdKd37PmCs81FYZ7VFThFT1SX+rGWwkIKRPVupgB46XRCK6vBOaAFFrhubcmQ1Vv1Ft9VOBe1KArWa2jaRtYT7CHTb8ioQFJtVuq35ziF0YuaPaJkrUc7TsEaxfk5ME/hdwBsytWqJQ3GyTR5EXnwAwoq/vimE7QlJsJWpah8= X-Microsoft-Exchange-Diagnostics: 1; CY1PR12MB0150; 20:DAMBhPX649nu+jLMs3GBJGqJ9JiPKusv+RDKW07FT81iTW4gtXYVTIhQznjOMwWzUCTn3grrH5jYxJM2M073wHzTJ1yDUS/aYDg3n+kFdZvq4afMRyLw2VUhZQBAM/86Iw/kiS6juxbAaC8Yr/sDHg75a1tjsN7dne1rM8qbn7ZAOKqe9JnecBqRy4xDwkMCCTGQJZHkPpNa52LEkiFlBgJ0YK2AA+x1DHqa1mjTCXhXULK7VJH/2XYwRaHhO/sx X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2017 22:09:31.0567 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR12MB0150 Subject: [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: Wed, 19 Jul 2017 22:07:38 -0000 Content-Type: text/plain 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 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(-) -- Brijesh Singh 2.7.4