summaryrefslogtreecommitdiff
path: root/arch/x86/mm/mem_encrypt.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-10-15 03:16:15 +0200
committerBorislav Petkov <bp@suse.de>2021-10-20 15:27:27 +0200
commitca834defd33bae9cf9542ff92b15635a84e91946 (patch)
treeb18f6092eff4e6f07719f78c030e37618c343c27 /arch/x86/mm/mem_encrypt.c
parentea4d6938d4c0761672ff6237964a20db3cb95cc1 (diff)
x86/fpu: Rework copy_xstate_to_uabi_buf()
Prepare for replacing the KVM copy xstate to user function by extending copy_xstate_to_uabi_buf() with a pkru argument which allows the caller to hand in the pkru value, which is required for KVM because the guest PKRU is not accessible via current. Fixup all callsites accordingly. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20211015011539.191902137@linutronix.de
Diffstat (limited to 'arch/x86/mm/mem_encrypt.c')
0 files changed, 0 insertions, 0 deletions