Message ID | 20241119153502.41361-3-vschneid@redhat.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 74D8BD44167 for <linux-mm@archiver.kernel.org>; Tue, 19 Nov 2024 15:36:44 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 096386B008C; Tue, 19 Nov 2024 10:36:44 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 046C06B00AA; Tue, 19 Nov 2024 10:36:43 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E01E66B00A6; Tue, 19 Nov 2024 10:36:43 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id C06406B0089 for <linux-mm@kvack.org>; Tue, 19 Nov 2024 10:36:43 -0500 (EST) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 79C1E1405BD for <linux-mm@kvack.org>; Tue, 19 Nov 2024 15:36:43 +0000 (UTC) X-FDA: 82803245868.15.E5DC0FE Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf23.hostedemail.com (Postfix) with ESMTP id 9EA1F14000B for <linux-mm@kvack.org>; Tue, 19 Nov 2024 15:36:08 +0000 (UTC) Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=icBZySGT; spf=pass (imf23.hostedemail.com: domain of vschneid@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=vschneid@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1732030420; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=XIn2epAo4ei/z52bV+OQ9JOU7pzaMsMZcOjGajJfL0A=; b=TtAG1fEevUy0eR7vQcqkBDSNkHvJJU6YFa/dAOcgpEy86BUj9mRkNLldoPtVTzfLHHOuDp 6yqLV14+3GrPJNJC4q0ZWVRts00M1/WUB991VJc2uPBBMhF2indvW+tVHgxuMX7+afNXeE 8HIBvCMDFLqgGyAx72/SubeL89Fp8lg= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=icBZySGT; spf=pass (imf23.hostedemail.com: domain of vschneid@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=vschneid@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1732030420; a=rsa-sha256; cv=none; b=IPpRJ+wkt0D4eHnZE+6MBm46Gg3/X4wpUaPszeRgwYZ5TyVdSrnWUJHtAGv6Ofy9GmfD3y n93eNEM+BTR6wak7E/eDSMYlPOe3tLhcX0U+HD6tr6EWRO3lnYA8wSSe0Zh8QIypSn7K2t ppSmM8ib8Th/GLLe+qNI/Chfkahkh9A= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732030600; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XIn2epAo4ei/z52bV+OQ9JOU7pzaMsMZcOjGajJfL0A=; b=icBZySGTRPZc2I4JP+m8YNd4oDU1365AzdmKJIzkyymUcm3miXMYNV37s5mIPxmsByogUL Q1s4ib+vWjdABWd5UWrXEml2fF0SWd2bcMjiVxjYySJkfqpgoL5ovMEWqxO41QdaB8AtX7 ixs1h4u2PNAwArDa9Rosq6W7fli9W0o= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-182-C9wx2u1EM12YXIqHhclsig-1; Tue, 19 Nov 2024 10:36:36 -0500 X-MC-Unique: C9wx2u1EM12YXIqHhclsig-1 X-Mimecast-MFC-AGG-ID: C9wx2u1EM12YXIqHhclsig Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 0A1A61956046; Tue, 19 Nov 2024 15:36:24 +0000 (UTC) Received: from vschneid-thinkpadt14sgen2i.remote.csb (unknown [10.39.194.94]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 06AD830001A0; Tue, 19 Nov 2024 15:36:07 +0000 (UTC) From: Valentin Schneider <vschneid@redhat.com> To: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, kvm@vger.kernel.org, linux-mm@kvack.org, bpf@vger.kernel.org, x86@kernel.org, rcu@vger.kernel.org, linux-kselftest@vger.kernel.org Cc: Steven Rostedt <rostedt@goodmis.org>, Masami Hiramatsu <mhiramat@kernel.org>, Jonathan Corbet <corbet@lwn.net>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>, Dave Hansen <dave.hansen@linux.intel.com>, "H. Peter Anvin" <hpa@zytor.com>, Paolo Bonzini <pbonzini@redhat.com>, Wanpeng Li <wanpengli@tencent.com>, Vitaly Kuznetsov <vkuznets@redhat.com>, Andy Lutomirski <luto@kernel.org>, Peter Zijlstra <peterz@infradead.org>, Frederic Weisbecker <frederic@kernel.org>, "Paul E. McKenney" <paulmck@kernel.org>, Neeraj Upadhyay <quic_neeraju@quicinc.com>, Joel Fernandes <joel@joelfernandes.org>, Josh Triplett <josh@joshtriplett.org>, Boqun Feng <boqun.feng@gmail.com>, Mathieu Desnoyers <mathieu.desnoyers@efficios.com>, Lai Jiangshan <jiangshanlai@gmail.com>, Zqiang <qiang.zhang1211@gmail.com>, Andrew Morton <akpm@linux-foundation.org>, Uladzislau Rezki <urezki@gmail.com>, Christoph Hellwig <hch@infradead.org>, Lorenzo Stoakes <lstoakes@gmail.com>, Josh Poimboeuf <jpoimboe@kernel.org>, Jason Baron <jbaron@akamai.com>, Kees Cook <keescook@chromium.org>, Sami Tolvanen <samitolvanen@google.com>, Ard Biesheuvel <ardb@kernel.org>, Nicholas Piggin <npiggin@gmail.com>, Juerg Haefliger <juerg.haefliger@canonical.com>, Nicolas Saenz Julienne <nsaenz@kernel.org>, "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>, Nadav Amit <namit@vmware.com>, Dan Carpenter <error27@gmail.com>, Chuang Wang <nashuiliang@gmail.com>, Yang Jihong <yangjihong1@huawei.com>, Petr Mladek <pmladek@suse.com>, "Jason A. Donenfeld" <Jason@zx2c4.com>, Song Liu <song@kernel.org>, Julian Pidancet <julian.pidancet@oracle.com>, Tom Lendacky <thomas.lendacky@amd.com>, Dionna Glaze <dionnaglaze@google.com>, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= <linux@weissschuh.net>, Juri Lelli <juri.lelli@redhat.com>, Marcelo Tosatti <mtosatti@redhat.com>, Yair Podemsky <ypodemsk@redhat.com>, Daniel Wagner <dwagner@suse.de>, Petr Tesarik <ptesarik@suse.com> Subject: [RFC PATCH v3 02/15] objtool: Flesh out warning related to pv_ops[] calls Date: Tue, 19 Nov 2024 16:34:49 +0100 Message-ID: <20241119153502.41361-3-vschneid@redhat.com> In-Reply-To: <20241119153502.41361-1-vschneid@redhat.com> References: <20241119153502.41361-1-vschneid@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 X-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: 9EA1F14000B X-Stat-Signature: u8mf63aaed3hof1dnrupy6osy53o1uud X-Rspam-User: X-HE-Tag: 1732030568-128216 X-HE-Meta: U2FsdGVkX1/0/VlyHHcEEHwX2AvzLKDT20/KRBXLSLNmQbMVlf/9dXNLYmpfk6ieEEERw38bCjgzzj+ZsR1Q71ZMaWd2C02hHkwIBrbad9K4qRce/8ZGu+Ah14Y8iGfvaeiMzFKKkYU92H+bvthyenSdUU4RqCHqk2t6lWSWkQNOirjEQruUSlQmLgi8rcOOBdqjHPnDIBhMU8reBTbOjCxlEYfuMkrXmb9d/DSdWn3yHIDNzhgRUxUg5K1HjwKJxSNwz0TZDv4WBXTWvkM2WB1WPJNqMeJvsSsLLLFZlcdpLAXI8wDvI2k7o7KkKrEWHZoKdT8gFEERXOa4mg5Nt2bf+lHnipZTJT9pP4Vg/ap+QTYI3+4VepfYOM3FVvJWl+/yX4TIBXaE+bdc3usxQncsUvHbSt/fxDm2mHHHMDYf8OJGaottSQFRPPHn3p0OPEZm836TDaWNPjEeBF1ICR/884NGCGTLa7+qDsxYQCZNAhR9hSLNFlhcWKup79VLY3rCWb+/8aZCFncWxRitjCOYlieEnyUKnPZPVf7H7mi32GrcU5b4d1rMXpcK5l8Ng4DKgkkGiBUn0R/tDLLrayoT3je1BfBqwifWoiZ8nLrigJuAlgUhUoqOulDubrn5FSYOVgrXyZxUGbldGRrkD37AD1gdsmZmWLid0Qr4DpmRWWib9M+ysNFSpKHAjjaVoIWKQhNB/5ePNFT0Zgi3GoUMDilKXbuS8D1adpTwk8OJIEdQv6FYLp0+WZwaUYwkdFAlixZxAhyKZsjm6TZTE+Qe7dQJJvI9o4lL3Umzb47vKRCsY4F8OqSS11AxIFgT9OJDHUw8bvvo36H4/43OD9CldwIX6wewWQO/vRlkbuOMCUT9SDHE8q1CFkieGAdNzFKL3Ly/f1Yf92QRp7pdczzBX0aUalmq5i3gvP7u7hWI5uCT53xu593JajwE8ZsEvP+3GrAMx5a/eQZI1BO c+SWUEEd py/TnPg7x1o9ugb64b+79Ioh2daEDac9xkdpLJ3dObnotXFvv1+85voXjRaUY+cqhLYwT4AJCaYNpL7F7R/MF21puUk/b/Pw8Zppe+7djzvG0vOOhIRjXnVOaPnSZXuV4dmo3RINIvu/geN/SrKlfXgMS1+4tUl+qWpAnQw/Q3r7X+Y0pKP5nzrW/lojTNhS8HKtLAseq7HBr5SA4+OdZB46QUWgm+mz/lFS/cs5q0ZKqy19BznIw80WvcrYQ/0kK5bNO8m0ZIcD/Pm0P2mYg/bQwzjdsYPTl7wRZlDdvQK7rIQOx4b+X//3lCeuIp+FR1j3KVcjtBqrylixpizXsBey2gpmLlW/21+5GKVzbVAGd/ih5fsjsDWkxXJGFj+4aXTu+QqXS2j0rybG65Ek5lJhbuW/q9Oz3jrnOrTd/m1xrbhXYOQ+QSKw6QTqqm9JFxqmWbiIweClqaGoiYg8Ylk6qCQ== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
context_tracking,x86: Defer some IPIs until a user->kernel transition
|
expand
|
diff --git a/tools/objtool/check.c b/tools/objtool/check.c index 5f1d0f95fc04b..00e25492f5065 100644 --- a/tools/objtool/check.c +++ b/tools/objtool/check.c @@ -3486,7 +3486,7 @@ static bool pv_call_dest(struct objtool_file *file, struct instruction *insn) list_for_each_entry(target, &file->pv_ops[idx].targets, pv_target) { if (!target->sec->noinstr) { - WARN("pv_ops[%d]: %s", idx, target->name); + WARN("pv_ops[%d]: indirect call to %s() leaves .noinstr.text section", idx, target->name); file->pv_ops[idx].clean = false; } }
I had to look into objtool itself to understand what this warning was about; make it more explicit. Signed-off-by: Valentin Schneider <vschneid@redhat.com> --- tools/objtool/check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)