diff options
author | 2021-03-11 15:23:13 +0100 | |
---|---|---|
committer | 2021-03-11 19:51:49 +0100 | |
commit | 4e6292114c741221479046515b1aa8145cf1e3f6 (patch) | |
tree | f3a8bb9b151d60b60c26f81872ebcc32cf55a94b /arch/x86/kernel/asm-offsets.c | |
parent | x86/alternative: Use ALTERNATIVE_TERNARY() in _static_cpu_has() (diff) | |
download | linux-4e6292114c741221479046515b1aa8145cf1e3f6.tar.gz linux-4e6292114c741221479046515b1aa8145cf1e3f6.tar.bz2 linux-4e6292114c741221479046515b1aa8145cf1e3f6.zip |
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 <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-9-jgross@suse.com
Diffstat (limited to 'arch/x86/kernel/asm-offsets.c')
0 files changed, 0 insertions, 0 deletions