[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZDgKaUxIZTMlb1di@localhost.localdomain>
Date: Thu, 13 Apr 2023 15:58:01 +0200
From: Frederic Weisbecker <frederic@...nel.org>
To: Josh Poimboeuf <jpoimboe@...nel.org>
Cc: x86@...nel.org, linux-kernel@...r.kernel.org,
Peter Zijlstra <peterz@...radead.org>, paulmck@...nel.org,
keescook@...omium.org
Subject: Re: [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@...nel.org>
Acked-by: Frederic Weisbecker <frederic@...nel.org>
Thanks!
Powered by blists - more mailing lists