[SRU][mantic:linux-gcp, lunar:linux-gcp][PATCH 0/2] SEV_SNP failure to init

Tim Gardner tim.gardner at canonical.com
Mon Sep 25 18:47:17 UTC 2023


On 9/25/23 12:39 PM, John Cabaj wrote:
> BugLink: https://bugs.launchpad.net/bugs/2037316
> 
> [Impact]
> 
> * Kernel fails to boot on SEV-SNP instances when compiled with GCC 12.3.0
> 
> [Fix]
> 
> * https://lore.kernel.org/lkml/20230912002703.3924521-1-acdunlap@google.com/
> 
> [Test Case]
> 
> * Compile tested
> * Boot tested
> * Tested by Google
> 
> [Where things could go wrong]
> 
> * Patches relatively isolated and maintain similar checking functionality,
>    just earlier in boot. Likely a low chance of regression.
> 
> Adam Dunlap (2):
>    x86/sev-es: Allow copy_from_kernel_nofault in earlier boot
>    x86/sev-es: Only set x86_virt_bits to correct value
> 
>   arch/x86/kernel/cpu/common.c | 37 +++++++++++++++++++++---------------
>   arch/x86/mm/maccess.c        | 19 +++++++++++++-----
>   2 files changed, 36 insertions(+), 20 deletions(-)
> 

Is there any reason these patches shouldn't be applied to the generic 
kernel ? That way all the derivatives are fixed wrt SEV-SNP.
-- 
-----------
Tim Gardner
Canonical, Inc




More information about the kernel-team mailing list