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 B072321CF3B9E 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=NSATGOI+XbInjhDR84cSAPooxlYCztpliwgfE2juL4s=; b=qKtOoDSekO3i0SpXviW8L+FKLCvmkO4clM2FEmP+3ZuhPHZ6zYRWiQ08z3vbhOapxbuRDNurv2xwUW9mRMnSu9ch/Ld8+RxdLPHZFqBPRv/KL8ETzhhMzPhLP3oYgEcr3XAKDAq5iYjyk68rY7gHt/z1CXLsWdghqaoW3q5yd9Q= 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:17 +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:49 -0400 Message-Id: <1499351394-1175-12-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: 3aea6966-04a4-4afa-a664-08d4c47b8644 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:t3y8BmptTcRp63FSKKURdEljTT1mmGJa0jmBfUzYhtoM9shr4owYvo3o0CLbk14Sl1KU7F2Wfy91Jv5MGjWStRyMEKYbvvCfPpyZwp1R7mWqWCdGKBYSK90kx0kI21oIyfwAQLd9W2qswfVzW5cRPy528s3M/gmmxbh39xigm7D3CVMY6mUiLJycjzGJ/RqOy9a0O3VhwtyYsUPbBf35P/1TYt01XVS/wyPlOieFg0/XG4Gax6BiqSKKef6DpamfrM/ueDVgypPVcaDt608NhxIE8d4pAkbf/CqwPassN5MkQVKZb8oZ+sbyUWMz/iz/8rf3CZgLJhcg022vtnoxbi9kikUPKvuJFxDlYBMHNzEC6tN6PjpC+4Ysc0sFgo6nWBKfSK0YftRY37q78DXy4I7yYwTCnNzOG0TunzcytKBH7vrItkbfWqERUeZRa9CAkuMrjliWF+JwwL83MAwn7o6SiKmG0WTgU0PXeuZD3L/6IA5WzBvZ6WgHoSQmC8P8PE3ckokoAPzTKP49OHrQH9eg4htsrWTSG5bBPtjYPfGHU2btJZkCGbB12WjlztY3LkXuJPvpCMfMxUzYUwYxXtdxhRD2k8U/1s9snsujHJk0aeSgvuJjOxdL/TsswdhHLAJGVhhXUJWc552QALVUHgOqA1DuZ3Z4UZPBtQrRlJqYO/Lau+vPuOqek1B0LV2yHmZ5/CwaFPDyS5JM9oJhq/Wl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jnyBfJ5TmHxkIp6BBzQT99BFChMr/8CI+woY7ZEqKnF+Wdfyh95ZrH/gcHODkU7lChTQCIa9V1lIMX417SIRW2ki+9WWDKx1++TqQHgylSj7yhRSfamxxxeR9ib8Y6Uw7vGTcjH/SFHWuoywoU26+SvE33kGo0/qS/4CGAu/JHAJQuUxiXe 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:Tc2UKPdZTgH9F/wgZbBWZOxWFRMdJiHGRt/Fd/bO7M?= =?us-ascii?Q?DPp16Sz+oSXJsLYSRa+Bv8Qbkx+ccjZPm7d//FJxUI58DMEkO670Cd6Hi+Nk?= =?us-ascii?Q?yF/mglUnaPPyffpM/tCaGpwxr0Y6rTLdbIko3ZpeSoSR7kmR/TNvDxr73MRf?= =?us-ascii?Q?6kjR8EoADD+X3DLH7LpwBCKQ91qeDlj6uOpDuhFFxYYiGOwfLhxXLZQbJlMd?= =?us-ascii?Q?WfkMPyW+0i8OMikWcfXC8HXiUsIiOJQocL/n5RQ9AIF0vC587UPY+hZJlt5E?= =?us-ascii?Q?PbeMnfvjiLf9KEcV2Zo/R46uzxMfhsej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Q?AcXdKtEENK8z4utxGQBTZ3C9lkMo0qqE1BSBaoJrXb0a5TMB8X65NVDZHqZM?= =?us-ascii?Q?tqHEmqiZeJe+URJyuHimFKbBzk1jRoCPfcs+HhRGDj291R+PrlPr2i0zgnQT?= =?us-ascii?Q?NM6oKLR8o4wAaZgmnEedSQEcJ2mb8ch/A70rPkj4Ir?= 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:kHiK2T+loLOdwlAx/InVJqbbbulMR2IEST3QKhmW/?= =?us-ascii?Q?EdeYBFu3ENBwT7GG5Tvl83dIzVztdSM6ll5rGyVtgUyWSLAtoXfEoKJUdxKp?= =?us-ascii?Q?lV0I7Jg68qW6yKiqmuyrZuQqHOSNdESW62JQpM1WY2OuRDQIwX/ROB8G1XZs?= =?us-ascii?Q?6QbHROOMVMeZMud+tO4Uowzc7LZZpfLLQd2RQeHrrZThn82GjXNChr1BvvXE?= =?us-ascii?Q?GrJk2IjNHXstTRqVLtlPcvRBQZ17ASl8R6Ra4XXlFkIJmIIjhi/cjwEl3y/C?= =?us-ascii?Q?lCfQv8dQ9jV8Wv1oFlKRiA/bSh6nZzQCLORNjVU6pRwN513K4fZX9c/Y/VQe?= =?us-ascii?Q?I6T+wP7oyXERNpTV/B+wRwZg2fJQzoK1mSSLQxX+44weVOJDg+YFgs60ynt1?= =?us-ascii?Q?RQNM0ySVt93NnttnnpIRbVftkcxi4etqk1b72pwBwhvuWHrey5fPwSnhy6jl?= =?us-ascii?Q?JHJkvup7c418KXLZLchyH51zhQYxg0cGDJWMivg9Q0tN7E0Go4TDIzbzwZ3y?= =?us-ascii?Q?2HRMPgORWr6Pny6SzfeGl2H6IKBC1FNlPVLtIosICqViBhtGljtUJbNfpauv?= =?us-ascii?Q?TAqvidIuTrAubdAlpw2uRX0/MFqYOOcYqotiK2Kp7OGtjj8ByQBvl/TJKtyG?= =?us-ascii?Q?GtDwq74n/YcHXrgXlmbfsoeLSEo+d7CpWYxTH5JwTIzfJ76i+KhHM9nM/hKT?= =?us-ascii?Q?SCVYz0ouzCcmTxEEaehDf8hUa/aOSTQN+0kUI9SWP9IYvmugclFX6zHEhEBF?= =?us-ascii?Q?lmAtwqnaw4TQIVbXlrDfRgbGNJT+ZSeyfdd2dw7Y0pVBzmhywElUM9dmOfv2?= =?us-ascii?Q?G0C2BZMx513PQN4H9a+ME+fPEQqW+oUV+CePdaKahhExsBUeifh89NryshyY?= =?us-ascii?Q?dkopEIKO9XYiFI8opF5T5Q6WOIheOROrmzzW6iqahFFpBJxltkP72qJP9njf?= =?us-ascii?Q?4Y1/N3lXSy3fazn0epi+fitenrRynjmx6g8Txvyr5Zuuqf5ubPMNWAixZ2Y9?= =?us-ascii?Q?+lCuHtlW6k3BSwg/t02GEdtdc2n/gpofwfOrYZ5ENpV9/Avg2LCxwH4j/dZr?= =?us-ascii?Q?A+523hMeqYOXErVqgwxeCqU1wY2+xxxOeT3LsYw1qXd3hvLrQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR12MB0147; 6:UWwG5DcODQhn4WjxgarcZKFm1KZRne0hG3ileaqOMY?= =?us-ascii?Q?PvWK8o4SYv6J1D/NpX3rWh2Oc58/DdRBoNuBKqGZ3oIelqsyycIvz3sFLzj3?= =?us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rLR6MEm5o0f7VLgJkhWz?= =?us-ascii?Q?FV8edA1yLuAdQNpyQNguci?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0147; 5:qSAOmSdpopas4I93ksDVjLTq1/Cu4U3/dOxl3afwJDBHCcoc9M7uAXxYkdLTyAksN2twuhyZ/vQN9CyEEeIyCyuj2JT0AkGsJUuMMdlyBvGUrqVVQ9V55DOxFpfrCZLwC8OTne2BBXqKiTl6cUaxtax5xkrD6cn8kodv0T/qhR/ggiswHd0aUa+LFpgk9ZHNUpp1OqBLqi3u6jvynVCuEQV9kfNu6l3rLCXfB5FHjaRqPQP9M906Z3DtUlb0rWKXdqqk/gQmvQKvwQwqxAi5qBrPNJJE8+sdbjLHwA9xXl3HXlQPSv6O5culmbAeaIiiJRsbkZFqmJ+x4U3Z6d0T0pb8mRnSvKInRBp5Hdmc2A8mdqcDP2gteVESawmAth2lAPYpTNn5Cq8UVKQY3OhcizW883UP/tcaofrpPbCZ6V14W1PJcqvFl822G/3ncVZirkfVm3qB+73t3zq6wbm5aqQK03bEAJpK7uq5xRpWrCwFhuq3vLeNjgkDiuz01XWk; 24:rkEjr9mGyl/PqlOpXMhNV4heER23O1MsSQeO/UlSlha2OzMhmhNtQh/zPID+rYkLfv/lTtTI+923qGWyXDfyjYdOH9t+1KVBahVrqC/3c4w= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0147; 7:d0x+qzhXoW/tC3YTH0Kzl+rGTJmQKMZdwdasbqPPQI/wyWUZ5nW+RxwqC8pC/0NXgXv+MICFpUwlgiMFb3+dSr3Ex9+p15lvNdQUIvu/uUitYG6+rSHpa5z8m0R1LuCr0FYstEA6MMwg+YdhiO2anwiRTlZELxfAdksQVIRHKR0aJGegt8h06yIvgDiPJ9vuJBUsqr8KJXKqT9yLmQlesG8V/sNudr00YpYQGn5AW/ubwTSPnjvGFoUZrkHz11uqwbQWJDEvhLJLNPRJqwp/LSXaGY57Ziawr95wc5f6x67Q5Ts/sDUO5itMnqJ2Uukg2NP9L18u0LVqvQcw3Tblh+zCbLGNPpcm/7JVpvGFvUihbQW9JnOTginO2Sf/ysAAw7o2astNULI923NhATbxc2ZViUuPfuiKpwDTgUxZV22P+tweMmodpI1rmQfExEi02WeBYWtuoTbepv9OEkVLL53JsauZVW5U9DRib5vtvTaZRXX7TELnd7+kx+5g1EkP+I2mJYucqQ8oy15eDn5noUKmoIMmUlq9JPXRmMlNGmsIC1pLDsNTX/TA1dUZRD+RbrAlKRRiBTG5skLf4nbEG0j77fQTJ0bdBRLJqmMrrN2QDrYJU8UEK3tmbVN4bnk4Dnx+gr4FSNUtMyRNEOcYSg3JjL9b2n9PfDyk8egQp1AAwloFA/atUWMCPiRQ/N2auNSbvaTH9Mz3+enWi3aCjSCnIlz1zgNEIcBxKcjvf5FH+TFjovPX/UU3j6HTFSODKSGwEd/R2KWG2Bq/QGgYd4IMKeu6xTREguvgVgYhVY0= X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0147; 20:i8AP2qXqJpgvqfnEZegx3XzPahJ7gTczNzJhS9Pbc+PjlDVX5VXGlejgQfVw0goCl/c2ehC/FhMGKqbCkph5zyb3S/TE/zXYPVbKoDcA9Lt4kngVSGlEcWs567QWoxapl4fWWI4g3j6qnOV62dbKE5TgPi1KRDKsjd9NKTyucebfPpEC1lTV5+3+WW54MfLoHhODm+0TzMqaybKmHYiFinCHeGbq7fVVscAVK3VQdDt+8bFDiKe5/cuHnX7yIidg X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2017 14:30:17.3235 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR12MB0147 Subject: [PATCH v8 11/16] OvmfPkg/QemuFwCfgLib: Implement SEV internal function for SEC phase 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:39 -0000 Content-Type: text/plain 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/QemuFwCfgSec.c | 57 ++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSec.c b/OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSec.c index 465ccbe90dad..071b8d9b91d4 100644 --- a/OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSec.c +++ b/OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSec.c @@ -6,6 +6,7 @@ Copyright (C) 2013, Red Hat, Inc. Copyright (c) 2011 - 2013, Intel Corporation. All rights reserved.
+ 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 @@ -94,3 +95,59 @@ InternalQemuFwCfgDmaIsAvailable ( { return FALSE; } + +/** + + Returns a boolean indicating whether SEV is enabled + + @retval TRUE SEV is enabled + @retval FALSE SEV is disabled +**/ +BOOLEAN +InternalQemuFwCfgSevIsEnabled ( + VOID + ) +{ + // + // DMA is not supported in SEC phase hence SEV support is irrelevant + // + return FALSE; +} + +/** + Allocate a bounce buffer for SEV DMA. + + @param[in] NumPage Number of pages. + @param[out] Buffer Allocated DMA Buffer pointer + +**/ +VOID +InternalQemuFwCfgSevDmaAllocateBuffer ( + OUT VOID **Buffer, + IN UINT32 NumPages + ) +{ + // + // We should never reach here + // + ASSERT (FALSE); +} + +/** + 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 + ) +{ + // + // We should never reach here + // + ASSERT (FALSE); +} -- 2.7.4