diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-01-08 19:31:01 -0800 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-01-13 17:35:55 -0800 |
| commit | d23051f59a5b4eb1f6163cf27e07b8cfcaeb4758 (patch) | |
| tree | 0ba8aff87d93af454b1fb1afdacbf9ccb2b1c11b /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | 9587dd7a7ebd7be3c36815a4c4f90f7e2cedbe03 (diff) | |
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 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
