Re: [PATCH RFC v8 00/56] Add AMD Secure Nested Paging (SEV-SNP) Hypervisor Support

From: Kalra, Ashish
Date: Thu Aug 03 2023 - 21:02:11 EST


Please look at the response on github and followup discussion.

Thanks,
Ashish

On 8/3/2023 1:27 PM, Schander, Johanna 'Mimoja' Amelie wrote:
We discovered that the kdump crashkernel would not work with our SEV-
SNP configuration.

After reading the device table from the previour kernel we would
see a lot of
AMD-Vi: Completion-Wait loop timed out
errors and finally crash:
Kernel panic - not syncing: timer doesn't work through Interrupt-
remapped IO-APIC

We found that disabeling SNP in the outgoing (crashing) kernel
would enable the crashkernel to take over the iommu config and
boot from there.

We opened a PR over on github against the rfc-v9 branch to discuss
the issue:
https://github.com/AMDESE/linux/pull/5

Cheers Johanna







Amazon Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss
Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B
Sitz: Berlin
Ust-ID: DE 289 237 879