From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0057.outbound.protection.outlook.com [104.47.32.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 5CD5A21CC536D for ; Thu, 6 Jul 2017 07:28: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=3EWDX79gb5IJmdOF6tYXVLoeyTjKgj6TCkLO65cqzfM=; b=Kbz3JZqATWTs3YsZZPpu5wWy+8WTGeGfvF8bu+scc9/v1Hbmz0p4pF36mW7YpOxHUflBoYAxLowi9MUhfeqvTULNCWGrweJGLnkXY9TODI4L+ITWnu6mo0GWtgn1PFxsYjnRvWYfs/1NT3VfskDSodeRR9FPL+VVWE3uHjb6TLc= 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 BY2PR12MB0147.namprd12.prod.outlook.com (10.162.82.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13; Thu, 6 Jul 2017 14:30:15 +0000 From: Brijesh Singh To: edk2-devel@lists.01.org Cc: Thomas.Lendacky@amd.com, lersek@redhat.com, jordan.l.justen@intel.com, leo.duran@amd.com, Brijesh Singh Date: Thu, 6 Jul 2017 10:29:48 -0400 Message-Id: <1499351394-1175-11-git-send-email-brijesh.singh@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1499351394-1175-1-git-send-email-brijesh.singh@amd.com> References: <1499351394-1175-1-git-send-email-brijesh.singh@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: DM5PR15CA0024.namprd15.prod.outlook.com (10.173.207.162) To BY2PR12MB0147.namprd12.prod.outlook.com (10.162.82.20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c0a49149-9d3b-4c93-8535-08d4c47b8591 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:BY2PR12MB0147; X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0147; 3:ViF0h6yGmzB3X9/LLku8S85McE+ZH/iXQ/V5pr07AC85UusTNjiJ7ZVB9S2qszObwRkjHeozMsgyT25tkTSD5Lbw1AQ7ur6mdvUu84hmEtbqtZoCAHyoHfaUCDwH/YZmg4LtGNjnhFYoB8SU+c0+8FwAnv3JE5gbHbqdIQ2Fqc2VOqZj0c5FG9P/CZolswQts8lGI/O/s/BfZeKxtTEpYQM7Q8dTYLGm+I8DY3HlCtCrqwXG1nR8U6q6ZY2CDYNoObOFXa6S/q0i+ItPz2y/8gbm2jo41U5vJ+JXZSiW6cn1zOoBhxHmIktVJ9CHDRaqdMlx6eW5b+vlmRq16epI1Z7FkvuDPvH2O8jTaJ+EDRk1f3Y7kG4EB14627LPhrzi2+OLGILXMx0QCQLbzGXjv95knUhZVVV8zgoOKW8jMFiG8JHSnP/TCbxTyjUmTliDWQaHZS+zwGZ2Hq+JrjKE1r4vm51G6vACXK4ujEi6g4cn1C9qDjgd5/NwmMY90iIBZysEYjY9jtH1FcbazmpaWU+jj82i5koUC+IdOiMFYOPKkdXjz4pO1gmyoTWq7f41/uH6PowkJd7T0lOZ4XhGl7Kfcd8hZ0CZdIJz9auuz+1jf9UiU+190Rl1Eosiuwrh78iLdA4MaASDMAUJDAyNDsbwCR1lhBZP6YG4zaG4MpdPFIlpXB1aTCtfA9ob6lme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qcv1ByBA9ISOVZx0ia49qaMWjanUk8QFeCGn9WIA4yGD+hWIfjjCvM6du24he6zAz5WTKuLLSyBH5olVFmvO49doyZs7Y7vzBnj/uwQzSeDiHPExzQeH0VRYZINgHETb8Gi8r4qHv8aHSP56Qb6aAC+mO58gBMwLhotbTPNLs+CVKK7pabSo/HQUWpeC2dqepWE774qvyaaj X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228)(767451399110)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910048)(5005006)(8121501046)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(3002001)(6055026)(6041248)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123558100)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY2PR12MB0147; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY2PR12MB0147; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR12MB0147; 4:uADwtlWLsP2bbJq0ol3A8B8iEVNzv3K+zU4QpPQCcF?= =?us-ascii?Q?5F7C6gsJ7HzMgv4cIcElKEtRbRkiL2MAwdfuC6v7GCQgN2DuKZ9cZM6UTGJg?= =?us-ascii?Q?pEBDOaU+v27AAqkHJdDJcVQdUvffoA7A64SCGLftcqiBiEJfAjYzBEwAqlTS?= =?us-ascii?Q?VLsgHL/0+xvIhcVuxnH+unIOy4KhlhSrmscAmXJerJ8U/qBsUUybyMU7LPz3?= =?us-ascii?Q?6mitN2x86CSKTMX6oGmbEo0Tvnvhm39+ChyV5fh0fEoekEL4qQWmU2Kaghpg?= =?us-ascii?Q?OpPuS8cImXQsvzVLoL7gh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J/7HNexnh2Nk?= =?us-ascii?Q?F3p7u7r7QRicAH01OeVwp3BNEdodsusKqqkcUHdPRWXeIj5o+2lBM9Q8CrwH?= =?us-ascii?Q?oucTXIFvVfJKSdNjiD+saQbvXvK5GgY7pGWcoyBxxahzQSO1ZKWPdUcWzcYm?= =?us-ascii?Q?xsBZnT6X9WZIyAPusxuoU6AgF3rtSOJc6qyPT+3lAc?= X-Forefront-PRVS: 03607C04F0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6029001)(39450400003)(39850400002)(39840400002)(39860400002)(39410400002)(39400400002)(53936002)(48376002)(305945005)(2351001)(5003940100001)(2361001)(7736002)(50986999)(76176999)(5660300001)(4326008)(42186005)(2906002)(66066001)(6116002)(3846002)(47776003)(53416004)(6486002)(38730400002)(33646002)(81166006)(36756003)(189998001)(110136004)(25786009)(50226002)(8676002)(50466002)(86362001)(6666003)(2950100002)(478600001)(6916009); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR12MB0147; H:brijesh-build-machine.amd.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR12MB0147; 23:srkzRGExSXq65fT2uC1WOnDvzBiRsei+yHgF8xTx+?= =?us-ascii?Q?IbprwWHTGp3seevDXd+4dR0i8clyjuWnYS6Pg9LNLga8gHXZB6Y7mub7ARk9?= =?us-ascii?Q?fUzAokD39M9B65RH36jOQJZt/XvhjZbedZZP+smIHuiXh2bjBjiwJBjpoxpw?= =?us-ascii?Q?rMhHvas9iNl5RLtPzXCrOji18KyGfbDa24JFDzn4brGLg8di4cjgz+BscBhq?= =?us-ascii?Q?AfFyOJWRLNVlLExRmCHL6Ub+StUgcXRIl1BS/6Wu2ODlTE6M+St1C8r8C5tQ?= =?us-ascii?Q?/pqpIT0/38/yTWZNJOxJ81PoXXijiQxXSiOQ1FHMpodm4GOiKHnO0iVGsBvs?= =?us-ascii?Q?usyjZfsSn/P2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VILhyaQMVPPh89iTNBMRXiYhaATWBDlipvRXATtvSASH0y+CwHbC2Y97?= =?us-ascii?Q?O9iwuHxnEjHWaxcJBEXVEr?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0147; 5:MX2XeAvgsWMizQ5fbczRoMNIo5CLqszIhjVJkCIdeeB8wdjd7cAHcCWNR68NNu6MXUMAAqysnKvYRKvAMAGmmUdHHqHcnGM8su0kO0dP8PwfaSLR5hN3SLVTs0GNppRRngtkyKosoLdC6mWQWqz9ZnaiA9WGYje78uxtMch7JcfAmxVPqwVDTm4QG1wc84tvilAHSTpZ4W5kOkQtUFNIUGvUfLvFXXepx7hvNNC4clwrS85XzeTuUG6vSgllAY346Yc4Dx0SxkyftQBkUiz0ykDt8BfHFn9riVw46vZjoFdeIp45yCXksxGC/Iqat91rYFp7xEi33Ff5y/6HSVgCNlID38ey6t8kDx6koTLA1blmROSEZR231T6a3WAsox8Gw8JLxbHXakZv1UFoUD4xuYRgip2oNCgVNQoY9dAHFGF5TRag+UuV2rGM/509/K4OK8sDM/nyR3k1k5m8TI9thStwG3n0+79Ir1bTclZV8USHsypMhXrXrz9ZYFAWg66Q; 24:k83m5fmJSKgeSzTD4WDgb+0AtfVH8qGmWg6pcsoYfMsWV08LrYdjDjfBZQUyfxj/5KiCnb4pyIa7usBXNIqJ3R9GihYJUQpSNWdrc6iATCU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0147; 7:jMq0zM5I7zyjUHj1HrgenPTdR+5fFOjVDHFy7u96Lw7lAzq2Zi72h0iyX4gd2skcUMTrvxzBpGkIV4lLKc7i2Vr/HuOclPNQhOxD9SZLALQyKBZLGGOjR8bYX1nMXXXsDa0ZW6yrcf+1i9dlXA8MiusUIihVkAbGEBV5pzYBL4xrkFFAC5xWDnZGO4hQID+IsEw7HoKi58EjXlKPw6A6MwX5YY7GBtWkg2tsLxMJQQVrXNj9ij529uRx/CX1rd6jBwod/6Qnf8QZ7x/4S8K344RPxMdMM3pmOAPdDE49ZJQo1ySCERS9yPXoo/4M7AmCdMrgbHxi3X8igQO1jmK6Dk/rABq7EjH0m0W7DYrhE/iG4PBlS3ALt1dszbk/HYHNg+Vc4wNLj8JZFcawAGaTwcBNV0+38b/QmZHZumFEiq89jAKs7g95jG23zUGDAuLNsBjbA2yzsuy1J8dEBG4ID8ulsJTp4jaivPmZURSQiKEUl8y+4Y2z+/fsqhn8bnW9zg2moTwBm6vXkCSixF4g3mIok3WXYTEnaoxi0E75Nfo+jAhLHoA45269gbCNk3uygwEOsV6vLX9BBYy4q+p1BbXakaSSgpxYfjFd0g/Y/8k/uaHp9epW9ZpAE+9gJEK5pZLDUOwolNrdO2GYA77y0fmCllepvBHu0VmgwGXdWHP+FiL1bANnZr1nDUDvoJxLpP9MDIDcs/2N63LU2/dHL4uCqw7QcYBl5Si0INzYyvgIjXxeld204n/B0CHKZprMz3GMgFIg5Q5VKmmXfLOq6A/f0MPmcj2/JRBy1xri1Qk= X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0147; 20:orJt5u006Tu2+UnkU+ekpJ8u4g/tfmj0YOA5+il5VkkTdYpnv4Pp1NWehpgrSP6qo1yrCj+CTBENsESzCXuHYl/FDbkiDR+Y6gspLdn1FV8OEftQA6pSQyZnJgrlhXpjVRYpWJCM+Crh1gVda6BYtAzthZoi8G13fZE6yoT2LO+zglTZB3Mj2MvCF3n99m4L/qOEwGeZCfWoHAKbcI5JrQQBPS0dhzmMO0H3iicGWP+Z8SWc+zw3HkuSG6fAkMnv X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2017 14:30:15.1247 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR12MB0147 Subject: [PATCH v8 10/16] OvmfPkg/QemuFwCfgLib: Prepare for SEV 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: Thu, 06 Jul 2017 14:28:38 -0000 Content-Type: text/plain Add SEV specific internal functions which will be used while intergrating the SEV support into QemuFwCfgLib. Cc: Jordan Justen Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Brijesh Singh Reviewed-by: Laszlo Ersek Reviewed-by: Jordan Justen --- OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibInternal.h | 37 ++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibInternal.h b/OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibInternal.h index 6e87c625102e..8cfa7913ffae 100644 --- a/OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibInternal.h +++ b/OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibInternal.h @@ -2,6 +2,7 @@ Internal interfaces specific to the QemuFwCfgLib instances in OvmfPkg. Copyright (C) 2016, Red Hat, Inc. + Copyright (C) 2017, Advanced Micro Devices. All rights reserved This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this @@ -43,4 +44,40 @@ InternalQemuFwCfgDmaIsAvailable ( VOID ); +/** + Returns a boolean indicating whether SEV support is enabled + + @retval TRUE SEV is enabled + @retval FALSE SEV is disabled +**/ +BOOLEAN +InternalQemuFwCfgSevIsEnabled ( + VOID + ); + +/** + Allocate a bounce buffer for SEV DMA. + + @param[out] Buffer Allocated DMA Buffer pointer + @param[in] NumPage Number of pages. + +**/ +VOID +InternalQemuFwCfgSevDmaAllocateBuffer ( + OUT VOID **Buffer, + IN UINT32 NumPages + ); + +/** + Free the DMA buffer allocated using InternalQemuFwCfgSevDmaAllocateBuffer + + @param[in] NumPage Number of pages. + @param[in] Buffer DMA Buffer pointer + +**/ +VOID +InternalQemuFwCfgSevDmaFreeBuffer ( + IN VOID *Buffer, + IN UINT32 NumPages + ); #endif -- 2.7.4