search for: pvop_alt_

Displaying 3 results from an estimated 3 matches for "pvop_alt_".

2023 Mar 08
3
[PATCH] x86/paravirt: convert simple paravirt functions to asm
...piler will clobber caller-saved registers at the end of C functions, which will result in unexpectedly zeroed registers at the call site of the related paravirt functions. Replace the C functions with DEFINE_PARAVIRT_ASM() constructs using the same instructions as the related paravirt calls in the PVOP_ALT_[V]CALLEE*() macros. Signed-off-by: Juergen Gross <jgross at suse.com> --- arch/x86/include/asm/paravirt_types.h | 8 +++++++- arch/x86/kernel/paravirt.c | 27 ++++++--------------------- 2 files changed, 13 insertions(+), 22 deletions(-) diff --git a/arch/x86/include/asm/paravi...
2023 Mar 17
0
[PATCH v2] x86/paravirt: convert simple paravirt functions to asm
...piler will clobber caller-saved registers at the end of C functions, which will result in unexpectedly zeroed registers at the call site of the related paravirt functions. Replace the C functions with DEFINE_PARAVIRT_ASM() constructs using the same instructions as the related paravirt calls in the PVOP_ALT_[V]CALLEE*() macros. Signed-off-by: Juergen Gross <jgross at suse.com> --- V2: - use noinstr section (Peter Zijlstra, Andrew Cooper) --- arch/x86/include/asm/paravirt_types.h | 8 +++++++- arch/x86/kernel/paravirt.c | 27 ++++++--------------------- 2 files changed, 13 insertions...
2023 Mar 10
1
[PATCH] x86/paravirt: convert simple paravirt functions to asm
...of C functions, which will >> result in unexpectedly zeroed registers at the call site of the >> related paravirt functions. >> >> Replace the C functions with DEFINE_PARAVIRT_ASM() constructs using >> the same instructions as the related paravirt calls in the >> PVOP_ALT_[V]CALLEE*() macros. >> >> Signed-off-by: Juergen Gross <jgross at suse.com> >> --- >> arch/x86/include/asm/paravirt_types.h | 8 +++++++- >> arch/x86/kernel/paravirt.c | 27 ++++++--------------------- >> 2 files changed, 13 insertions(+), 2...