]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
x86/paravirt: Switch iret pvops to ALTERNATIVE
authorJuergen Gross <jgross@suse.com>
Thu, 11 Mar 2021 14:23:16 +0000 (15:23 +0100)
committerBorislav Petkov <bp@suse.de>
Thu, 11 Mar 2021 18:58:54 +0000 (19:58 +0100)
commitae755b5a45482b5de4d96d6f35823076af77445e
treeb617f4d18ead2e9c92e92f33b6b85086e1747b13
parent0b8d366a942fd48a83dfa728e9f8a8d8b20e735f
x86/paravirt: Switch iret pvops to ALTERNATIVE

The iret paravirt op is rather special as it is using a jmp instead
of a call instruction. Switch it to ALTERNATIVE.

Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20210311142319.4723-12-jgross@suse.com
arch/x86/include/asm/paravirt.h
arch/x86/include/asm/paravirt_types.h
arch/x86/kernel/asm-offsets.c
arch/x86/kernel/paravirt.c
arch/x86/xen/enlighten_pv.c