From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id DCA15AC11F5 for ; Tue, 30 Jan 2024 16:13:54 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=mCigSsCfiAlq+EBnmVGz/5ronn6y+a9OPqrkZlEBLOw=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:Message-ID:Date:User-Agent:Subject:To:Cc:References:From:Autocrypt:In-Reply-To:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1706631233; v=1; b=OvTw7QcBz3zk/rfZdpSu9ih3gtyMwkwKpOj7A9comc2JTwpoPrAwuTIsuRdvR9QnJGbtJbPd dveK68zDCf5vCbJcsMuGFZS7aUqg7xWOEQCHTgUdiO/DKznBUcMay5YcWPdOdwWrzNAhXjj+4wE CtCXUuZOioHrMZl2iNFpN9Cw= X-Received: by 127.0.0.2 with SMTP id aEG7YY7687511xtwfIu9krnl; Tue, 30 Jan 2024 08:13:53 -0800 X-Received: from NAM11-BN8-obe.outbound.protection.outlook.com (NAM11-BN8-obe.outbound.protection.outlook.com [40.107.236.41]) by mx.groups.io with SMTP id smtpd.web10.624.1706631232262082473 for ; Tue, 30 Jan 2024 08:13:52 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YBh7cqfJ120t7Km47g39SgD+xdQP3i1pX8OU5y9b0LJoqwur5hlUzDIabCiRw1SM6YL6U9KU8HaUe9VYTOIPLPGQSiAm7ssziMFAjh+1JIUkE1LsJzDpirb5LwxqwwzJVv4DoU7OzebpZH5xXqq7Ur9PIIHwkuq37XRcUtz3d9XHVPLVuVPGGPysvHldZe8OivwDZk5rrfNnEVLuI8KgFVvzBIzVht6gJSTPPw+SbojTzi7O/ib5++oZ+D84ASzXgTj7YA5fTf48ZllqJ9HIs37PUxbyYVuOtoLpJS4Tmc6L75+AXvbZJPHuW9Oz7yJOCIEFgJFNJ3GpSNH5CP0LoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Vhl3xqkNuMOKpPCxSf8PhIFSz3Kr45/xsIWI7TTKCPE=; b=aU72xz+mQgCY6uhUlswE76KRnrF7+eojuo+IBBq67MNDtKWiIIFIaLNl3ANB2RhoPZ+4VyM+WdQJs1kwiW6CCfWPJjnl9Y1Xm77F1JQ20LqZHaaqQlhRogdcxjhBYOZnsvPLxnijrjtYLZRlb8WzSusavSnKnX/8rJDLKwhayqntD/xXofainYFBQarXZmBypVQOnXZBAHXq/VWlv6hzjNM+Ov660dtgW81ES3/YVvtj/fqzA6ZmuKj/JEzyZ3j/iitT5DDSeKmFjgevAeblIUWA7q8ZLAaPBRLAjFGIlqAvwho/EtuqNz2tO4TRiQDvCRSxe2diHFEvnuw8Oic1jw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none X-Received: from BL1PR12MB5732.namprd12.prod.outlook.com (2603:10b6:208:387::17) by DM4PR12MB5165.namprd12.prod.outlook.com (2603:10b6:5:394::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.22; Tue, 30 Jan 2024 16:13:49 +0000 X-Received: from BL1PR12MB5732.namprd12.prod.outlook.com ([fe80::200:c1d0:b9aa:e16c]) by BL1PR12MB5732.namprd12.prod.outlook.com ([fe80::200:c1d0:b9aa:e16c%4]) with mapi id 15.20.7228.029; Tue, 30 Jan 2024 16:13:49 +0000 Message-ID: Date: Tue, 30 Jan 2024 10:13:46 -0600 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] [PATCH 15/16] Ovmfpkg/CcExitLib: Provide SVSM discovery support To: Gerd Hoffmann Cc: devel@edk2.groups.io, Ard Biesheuvel , Erdem Aktas , Jiewen Yao , Laszlo Ersek , Liming Gao , Michael D Kinney , Min Xu , Zhiguang Liu , Rahul Kumar , Ray Ni , Michael Roth References: <74b31ae9-25a8-48c1-97c4-6fbea6e5bee3@amd.com> From: "Lendacky, Thomas via groups.io" Autocrypt: addr=thomas.lendacky@amd.com; keydata= xsFNBFaNZYkBEADxg5OW/ajpUG7zgnUQPsMqWPjeAxtu4YH3lCUjWWcbUgc2qDGAijsLTFv1 kEbaJdblwYs28z3chM7QkfCGMSM29JWR1fSwPH18WyAA84YtxfPD8bfb1Exwo0CRw1RLRScn 6aJhsZJFLKyVeaPO1eequEsFQurRhLyAfgaH9iazmOVZZmxsGiNRJkQv4YnM2rZYi+4vWnxN 1ebHf4S1puN0xzQsULhG3rUyV2uIsqBFtlxZ8/r9MwOJ2mvyTXHzHdJBViOalZAUo7VFt3Fb aNkR5OR65eTL0ViQiRgFfPDBgkFCSlaxZvc7qSOcrhol160bK87qn0SbYLfplwiXZY/b/+ez 0zBtIt+uhZJ38HnOLWdda/8kuLX3qhGL5aNz1AeqcE5TW4D8v9ndYeAXFhQI7kbOhr0ruUpA udREH98EmVJsADuq0RBcIEkojnme4wVDoFt1EG93YOnqMuif76YGEl3iv9tYcESEeLNruDN6 LDbE8blkR3151tdg8IkgREJ+dK+q0p9UsGfdd+H7pni6Jjcxz8mjKCx6wAuzvArA0Ciq+Scg hfIgoiYQegZjh2vF2lCUzWWatXJoy7IzeAB5LDl/E9vz72cVD8CwQZoEx4PCsHslVpW6A/6U NRAz6ShU77jkoYoI4hoGC7qZcwy84mmJqRygFnb8dOjHI1KxqQARAQABzSZUb20gTGVuZGF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tPaShqnRIE7HhQPu8Xr9adirnDw1Wruafmyxnn5W3rhJy06etmP0pzL6frN y46PmDPicLjX/srgemvLtHoeVRplL9ATAkmQ7yxXc6wBSwf1BYs9gAiwXbU1vMod0AXXRBym 0qhojoaSdRP5XTShfvOYdDozraaKx5Wx8X+oZvvjbbHhHGPL2seq97fp3nZ9h8TIQXRhO+aY vFkWitqCJg== In-Reply-To: X-ClientProxiedBy: SA1P222CA0081.NAMP222.PROD.OUTLOOK.COM (2603:10b6:806:35e::7) To BL1PR12MB5732.namprd12.prod.outlook.com (2603:10b6:208:387::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL1PR12MB5732:EE_|DM4PR12MB5165:EE_ X-MS-Office365-Filtering-Correlation-Id: 37d70508-fbcb-4633-ec0e-08dc21ae716d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: lh6SgrB1+vnIO/loBxdneB2ysxoOPCe4Mwe+mW9ylJ6QRGbvAmbV8rwL6KTE4zpvcReNBx8gmqY1NAgsBTOFrOHOFWYNPM/VdhTg1WhmNtaEGlRMhCTZ5SB0s2bYLgTGk/HiOrwqUeiM6PMNTVklU4nUwM/VXc9SZyObO9rFtjiM8xFh4QkZmKOP3LHMFKxCTGs3kRLjPcaK2TFFcx2yiVHfmwJaUDKcJUyZrXDqa45BJcL130ZC9VYcD2vvyg3Sv2N8UKKUi6AxJcayltncX1JhXPEzQDnAITulkXpUWwE5PvAXAbALShmOwyPaVSDQuj709ZT87z6x7k/zZs6lNVg65ma66RrSKr60xN/7eXQ3FDv+Qy+cfKsmIlUVgsZNucL7gSWk4wTL3FeMJYivrT+TxLs2e03JYCDMi2eSYqKSRxZuItfbifJ0rskXtuMLIoq4P403BlUyhz+Mm2ufpEIltkOMK+KEXEoFAc+Jhtw99LM2LY6mMwD1UGUNSLUcCA+E/z1kI3joasV7d+V8zDl/j+tAVVOMVyoupOVx6zf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DRsRDd5TFhnTlp0NHI1eWhIZFE5d2pKdjNRR21CTnpNdkpmalNWcXFK?= =?utf-8?B?ZXZ5bTd6TkVWdVhIaHBBSjNPenNBemVHS3ZYMmNaUXI4bHl6RDZOQmpnSUFG?= =?utf-8?B?U3QwZFNoMnlhcFZ4cnluTkh1U0w3UTB4aVBSMVB3Vkx3QUdLN0dwbjk5a3M4?= =?utf-8?B?NWZoY0taakpLa3RCVmRvTXMybjA5Q0Zub2dGbHBZT3Z5cHNydVpIVUVaeHVx?= =?utf-8?B?Y3FIamtxbm1lcTI3N1kxRTk1aFdOSDIzYnJLOExUTGZtNGpVaXBpL1RaR1lI?= =?utf-8?B?U3Y0U1pKWkZ3VVV2ZkJURDlydmg4MTFNaTZCRzZCVjVpdDhEakltL1VETjgz?= =?utf-8?B?VGlkdGZpckh5R2gyb00zYU13RHFyVUNxcW0yc0dVNng2Qnl6YjJWMU1vSkpJ?= =?utf-8?B?SUVHMTlicEg0ak4yWE0wZFlic3p5SkpRMnFoRFowQThObzBRWmFjOUxHdWln?= =?utf-8?Q?7ygBNnH4ErU+jT5FvCJ3mgl6Y?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 37d70508-fbcb-4633-ec0e-08dc21ae716d X-MS-Exchange-CrossTenant-AuthSource: BL1PR12MB5732.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jan 2024 16:13:49.2366 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 8VHkkocsCraFwTsu4htxm8ewrHzo/edI0lbMh40Q5ms4hVUTlT+GK7mIWZmPrrjp1IeFMa5paOfcxDhswYrbuA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5165 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,thomas.lendacky@amd.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 1eabayhQVZed2PPXOwKuIbTpx7686176AA= Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=OvTw7QcB; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io On 1/30/24 05:38, Gerd Hoffmann wrote: > On Mon, Jan 29, 2024 at 12:04:51PM -0600, Tom Lendacky wrote: >> On 1/29/24 09:23, Gerd Hoffmann via groups.io wrote: >>> On Fri, Jan 26, 2024 at 04:13:14PM -0600, Tom Lendacky wrote: >>>> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4654 >>>> >>>> The SVSM specification documents an alternative method of discovery fo= r >>>> the SVSM using a reserved CPUID bit and a reserved MSR. >>>> >>>> For the CPUID support, the #VC handler of an SEV-SNP guest should modi= fy >>>> the returned value in the EAX register for the 0x8000001f CPUID functi= on >>>> by setting bit 28 when an SVSM is present. >>>> >>>> For the MSR support, new reserved MSR 0xc001f000 has been defined. A #= VC >>>> should be generated when accessing this MSR. The #VC handler is expect= ed >>>> to ignore writes to this MSR and return the physical calling area addr= ess >>>> (CAA) on reads of this MSR. >>> >>> I'm wondering why this is handled by the ovmf #vc handler instead of th= e >>> svsm #vc handler? >> >> OVMF will be running in guest VMPL1 context, not SVSM VMPL0 context, whe= n >> the CPUID instruction / MSR access is performed. In that case, it is the >> guest VMPL1 #VC handler that will get control and have to respond. >=20 > IIRC vmpl0 can handle #vc exceptions for vmpl1. >=20 > But maybe only in case vmpl1 hasn't a #vc handler, i.e. vmpl1 can't > cherry-pick which exceptions it handles itself and which it delegates > to the SVSM. Correct. The Reflect-VC feature says that all #VCs in the guest will cause= =20 an exit to the hypervisor. It is then up to the hypervisor to schedule the= =20 proper VMPL level to handle the #VC. This is the paravisor concept where=20 you can run an unenlightened guest. >=20 > What happens once the linux kernel called ExitBootServices? Will the > edk2 #vc handler stay alive? Or will the linux kernel install its own > handler? Once Linux installs its own IDT entry, then the Linux #VC handler is=20 invoked for any #VCs that occur. Thanks, Tom >=20 > take care, > Gerd >=20 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#114793): https://edk2.groups.io/g/devel/message/114793 Mute This Topic: https://groups.io/mt/103986477/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-