lkml.org 
[lkml]   [2023]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] context_tracking: Fix KCSAN noinstr violation
Le Wed, Apr 12, 2023 at 10:24:06AM -0700, Josh Poimboeuf a écrit :
> With KCSAN enabled, even empty inline stubs can be out-of-lined.
>
> Force the context_tracking_guest_exit() stub inline.
>
> Fixes the following warnings:
>
> vmlinux.o: warning: objtool: vmx_vcpu_enter_exit+0x1be: call to context_tracking_guest_exit() leaves .noinstr.text section
> vmlinux.o: warning: objtool: svm_vcpu_enter_exit+0x85: call to context_tracking_guest_exit() leaves .noinstr.text section
>
> Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>

Acked-by: Frederic Weisbecker <frederic@kernel.org>

Thanks!

\
 
 \ /
  Last update: 2023-04-13 19:07    [W:0.080 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site