diff options
| author | Paolo Bonzini <[email protected]> | 2024-02-09 13:37:33 -0500 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2024-03-18 19:03:52 -0400 |
| commit | f3c80061c0d35c60709088ccb019305796d3f6ff (patch) | |
| tree | 1489ca2b81991d7ed4c0c67d4bc37c9015f809bc /drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c | |
| parent | c822a075ab2dbbcecb52b79331a5edd8395bdf4b (diff) | |
KVM: SEV: fix compat ABI for KVM_MEMORY_ENCRYPT_OP
The data structs for KVM_MEMORY_ENCRYPT_OP have different sizes for 32- and 64-bit
userspace, but they do not make any attempt to convert from one ABI to the other
when 32-bit userspace is running on 64-bit kernels. This configuration never
worked, and SEV is only for 64-bit kernels so we're not breaking ABI on 32-bit
kernels.
Fix this by adding the appropriate padding; no functional change intended
for 64-bit userspace.
Reviewed-by: Michael Roth <[email protected]>
Reviewed-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c')
0 files changed, 0 insertions, 0 deletions