]> Git Repo - linux.git/commit
x86/paravirt: Add new features for paravirt patching
authorJuergen Gross <[email protected]>
Thu, 11 Mar 2021 14:23:13 +0000 (15:23 +0100)
committerBorislav Petkov <[email protected]>
Thu, 11 Mar 2021 18:51:49 +0000 (19:51 +0100)
commit4e6292114c741221479046515b1aa8145cf1e3f6
treef3a8bb9b151d60b60c26f81872ebcc32cf55a94b
parent2fe2a2c7a97c9bc32acc79154b75e754280f7867
x86/paravirt: Add new features for paravirt patching

For being able to switch paravirt patching from special cased custom
code sequences to ALTERNATIVE handling some X86_FEATURE_* are needed
as new features. This enables to have the standard indirect pv call
as the default code and to patch that with the non-Xen custom code
sequence via ALTERNATIVE patching later.

Make sure paravirt patching is performed before alternatives patching.

Signed-off-by: Juergen Gross <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
arch/x86/include/asm/cpufeatures.h
arch/x86/include/asm/paravirt.h
arch/x86/kernel/alternative.c
arch/x86/kernel/paravirt-spinlocks.c
This page took 0.055732 seconds and 4 git commands to generate.