From: Ashish Kalra <ashish.kalra@xxxxxxx>Tested-by: Sairaj Kodilkar <sarunkod@xxxxxxx>
If SNP is enabled and initialized in the previous kernel then SNP is
already initialized for kdump boot and attempting SNP INIT again
during kdump boot causes SNP INIT failure and eventually leads to
IOMMU failures.
For SEV avoid SEV INIT failure warnings during kdump boot if SEV
is enabled and initialized in the previous kernel.
Skip SNP and SEV INIT if doing kdump boot.
Signed-off-by: Ashish Kalra <ashish.kalra@xxxxxxx>