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

From: Schander, Johanna 'Mimoja' Amelie
Date: Thu Aug 03 2023 - 14:28:17 EST


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