[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260112104653.301e1177@gandalf.local.home>
Date: Mon, 12 Jan 2026 10:46:53 -0500
From: Steven Rostedt <rostedt@...nel.org>
To: Breno Leitao <leitao@...ian.org>
Cc: Will Deacon <will@...nel.org>, Catalin Marinas
<catalin.marinas@....com>, Mark Rutland <mark.rutland@....com>, Laura
Abbott <labbott@...hat.com>, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-trace-kernel@...r.kernel.org, Masami
Hiramatsu <mhiramat@...nel.org>, puranjay@...nel.org,
usamaarif642@...il.com, kernel-team@...a.com, stable@...r.kernel.org
Subject: Re: [PATCH] arm64/mm: Fix annotated branch unbootable kernel
On Mon, 12 Jan 2026 01:42:47 -0800
Breno Leitao <leitao@...ian.org> wrote:
> > OK, so by adding -DDISABLE_BRANCH_PROFILING to the Makefile configs and for
> > the files that were audited, could be opt-in?
>
> How to do the audit in this case? I suppose we want to disable branch
> profiling for files that have any function that would eventually call
> noinstr functions, right?
IIUC, noinstr is mostly used for the transition between user space and the
kernel (interrupts, exceptions, syscalls, etc). There shouldn't be any
random calls to noinstr functions unless it's going into user space, right?
-- Steve
Powered by blists - more mailing lists