diff options
author | Alexander Mikhalitsyn <[email protected]> | 2023-05-22 18:12:48 +0200 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2023-06-06 10:41:29 -0700 |
commit | 6d1bc9754b04075d938b47cf7f7800814b8911a7 (patch) | |
tree | 3b3d9297a4d92de6373498c8aabd0fe186f50c84 /fs/xfs/libxfs/xfs_ialloc.c | |
parent | 791a089861fced01dc6d8a67507d711839659fb8 (diff) |
KVM: SVM: enhance info printk's in SEV init
Let's print available ASID ranges for SEV/SEV-ES guests.
This information can be useful for system administrator
to debug if SEV/SEV-ES fails to enable.
There are a few reasons.
SEV:
- NPT is disabled (module parameter)
- CPU lacks some features (sev, decodeassists)
- Maximum SEV ASID is 0
SEV-ES:
- mmio_caching is disabled (module parameter)
- CPU lacks sev_es feature
- Minimum SEV ASID value is 1 (can be adjusted in BIOS/UEFI)
Cc: Sean Christopherson <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Stéphane Graber <[email protected]>
Cc: [email protected]
Cc: [email protected]
Suggested-by: Sean Christopherson <[email protected]>
Signed-off-by: Alexander Mikhalitsyn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[sean: print '0' for min SEV-ES ASID if there are no available ASIDs]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'fs/xfs/libxfs/xfs_ialloc.c')
0 files changed, 0 insertions, 0 deletions