diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-01-09 06:31:01 +0300 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-01-14 04:35:55 +0300 |
| commit | d23051f59a5b4eb1f6163cf27e07b8cfcaeb4758 (patch) | |
| tree | 0ba8aff87d93af454b1fb1afdacbf9ccb2b1c11b /include/uapi/linux/patchkey.h | |
| parent | 9587dd7a7ebd7be3c36815a4c4f90f7e2cedbe03 (diff) | |
| download | linux-d23051f59a5b4eb1f6163cf27e07b8cfcaeb4758.tar.xz | |
KVM: SVM: Tag sev_supported_vmsa_features as read-only after init
Tag sev_supported_vmsa_features with __ro_after_init as it's configured by
sev_hardware_setup() and never written after initial configuration (and if
it were, that'd be a blatant bug).
Opportunistically relocate the variable out of the module params area now
that sev_es_debug_swap_enabled is gone (which largely motivated its
original location).
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Link: https://patch.msgid.link/20260109033101.1005769-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'include/uapi/linux/patchkey.h')
0 files changed, 0 insertions, 0 deletions
