lkml.org 
[lkml]   [2024]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 2/5] x86/kexec: do unconditional WBINVD in relocate_kernel()
From


On 21/03/2024 10:06 am, Tom Lendacky wrote:
> On 3/20/24 15:48, Huang, Kai wrote:
>>
>>>> Hi Tom,
>>>>
>>>> I am not aware of kexec() support status for SEV-ES/SEV-SNP guests.
>>>> Does patch 1 break them?
>>>
>>> SNP guests can kexec with some patches that are currently in process
>>> around shared to private memory conversions. ES guests can only kexec
>>> with a single vCPU. There was a recent patch series to add support
>>> for multiple vCPUs.
>>>
>>> Patch #1 doesn't break either ES or SNP because we still have an IDT
>>> and traditional kernel addressing in place, so the #VC can be handled.
>>
>> How about plain SEV guest?
>
> A plain SEV guest is fine, since WBINVD is intercepted and would just
> exit to the hypervisor (#VC doesn't happen with plain SEV).
>
> Thanks,
> Tom
>

Thanks for the info.


\
 
 \ /
  Last update: 2024-05-27 15:56    [W:0.081 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site