mirror-linux/arch/x86/include/uapi/asm
Paolo Bonzini f3c80061c0 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 <michael.roth@amd.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2024-03-18 19:03:52 -04:00
..
Kbuild
a.out.h
amd_hsmp.h arch/x86: Fix typos 2024-01-03 11:46:22 +01:00
auxvec.h
bitsperlong.h
boot.h
bootparam.h Merge branch 'linus' into x86/boot, to resolve conflict 2024-03-12 09:55:57 +01:00
byteorder.h
debugreg.h
e820.h
hw_breakpoint.h
hwcap2.h
ist.h
kvm.h KVM: SEV: fix compat ABI for KVM_MEMORY_ENCRYPT_OP 2024-03-18 19:03:52 -04:00
kvm_para.h Guest-side KVM async #PF ABI cleanup for 6.9 2024-03-18 19:03:42 -04:00
kvm_perf.h
ldt.h
mce.h
mman.h x86: Remove the arch_calc_vm_prot_bits() macro from the UAPI 2023-09-06 23:50:46 +02:00
msgbuf.h
msr.h
mtrr.h x86/mtrr: Don't let mtrr_type_lookup() return MTRR_TYPE_INVALID 2023-06-01 15:04:33 +02:00
perf_regs.h
posix_types.h
posix_types_32.h
posix_types_64.h
posix_types_x32.h
prctl.h x86/shstk: Add ARCH_SHSTK_STATUS 2023-08-02 15:01:51 -07:00
processor-flags.h x86/cpu: Add X86_CR4_FRED macro 2024-01-31 22:00:38 +01:00
ptrace-abi.h
ptrace.h
sembuf.h
setup.h
setup_data.h x86/setup: Move UAPI setup structures into setup_data.h 2024-01-30 15:17:06 +01:00
sgx.h x86/sgx: Support complete page removal 2022-07-07 10:13:03 -07:00
shmbuf.h shmbuf.h: add asm/shmbuf.h to UAPI compile-test coverage 2022-02-17 09:09:37 +01:00
sigcontext.h
sigcontext32.h
siginfo.h
signal.h x86/signal: kill dependency on time.h 2023-12-20 19:26:31 -05:00
stat.h
statfs.h
svm.h x86/sev: Add SEV-SNP guest feature negotiation support 2023-01-19 17:29:58 +01:00
swab.h
ucontext.h
unistd.h
vm86.h
vmx.h KVM: VMX: Enable Notify VM exit 2022-06-08 05:56:24 -04:00
vsyscall.h