ACK/Cmnt: [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 19:19:51 UTC 2023


On 9/25/23 12:51 PM, John Cabaj wrote:
> On 9/25/23 1:47 PM, Tim Gardner wrote:
>> 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.
> 
> They're simple enough that we could apply to the generic kernel as well, since I know a couple other kernels could use it. GCP needs this for 2023.10.02, so these patches would need ACKs and application by 27-Sep. Might need some coordination with the Stable team.
> 
> 
> John
> 
Acked-by: Tim Gardner <tim.gardner at canonical.com>

Would you mind reposting these for generic ? I'd like to get them in the 
2023.10.02 cycle as well.

Should these be SAUCE until they've made it upstream ?
-- 
-----------
Tim Gardner
Canonical, Inc




More information about the kernel-team mailing list