x86/paravirt: Add new PVOP_ALT* macros to support pvops in ALTERNATIVEs
authorJuergen Gross <jgross@suse.com>
Thu, 11 Mar 2021 14:23:17 +0000 (15:23 +0100)
committerBorislav Petkov <bp@suse.de>
Thu, 11 Mar 2021 19:05:44 +0000 (20:05 +0100)
commit00aa3193ab7a04b25bb8c68e377815696eb5bf56
tree6efa5f4e1210f2d6ef2dc501ba8392ab5bcbd55e
parentae755b5a45482b5de4d96d6f35823076af77445e
x86/paravirt: Add new PVOP_ALT* macros to support pvops in ALTERNATIVEs

Instead of using paravirt patching for custom code sequences add
support for using ALTERNATIVE handling combined with paravirt call
patching.

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-13-jgross@suse.com
arch/x86/include/asm/paravirt_types.h