mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-16 01:42:59 +00:00
The host SNP worthiness can determined later, after alternatives have
been patched, in snp_rmptable_init() depending on cmdline options like
iommu=pt which is incompatible with SNP, for example.
Which means that one cannot use X86_FEATURE_SEV_SNP and will need to
have a special flag for that control.
Use that newly added CC_ATTR_HOST_SEV_SNP in the appropriate places.
Move kdump_sev_callback() to its rightful place, while at it.
Fixes:
|
||
|---|---|---|
| .. | ||
| amd.c | ||
| centaur.c | ||
| cleanup.c | ||
| cyrix.c | ||
| generic.c | ||
| if.c | ||
| legacy.c | ||
| Makefile | ||
| mtrr.c | ||
| mtrr.h | ||