diff options
author | Nikunj A Dadhania <nikunj@amd.com> | 2025-04-08 15:02:11 +0530 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-06-25 07:27:27 -0700 |
commit | 51a4273dcab39dd1e850870945ccec664352d383 (patch) | |
tree | a2bb34ae9915bd14353614d575c06efef09a90cc /scripts/patch-kernel | |
parent | 0c84b534047dcf843f4344108bc3f2c2344b7e31 (diff) |
KVM: SVM: Add missing member in SNP_LAUNCH_START command structure
The sev_data_snp_launch_start structure should include a 4-byte
desired_tsc_khz field before the gosvw field, which was missed in the
initial implementation. As a result, the structure is 4 bytes shorter than
expected by the firmware, causing the gosvw field to start 4 bytes early.
Fix this by adding the missing 4-byte member for the desired TSC frequency.
Fixes: 3a45dc2b419e ("crypto: ccp: Define the SEV-SNP commands")
Cc: stable@vger.kernel.org
Suggested-by: Tom Lendacky <thomas.lendacky@amd.com>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Tested-by: Vaishali Thakkar <vaishali.thakkar@suse.com>
Signed-off-by: Nikunj A Dadhania <nikunj@amd.com>
Link: https://lore.kernel.org/r/20250408093213.57962-3-nikunj@amd.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions