Thread (6 messages) 6 messages, 4 authors, 2026-01-12

Re: [PATCH] arm64/mm: Fix annotated branch unbootable kernel

From: Steven Rostedt <rostedt@kernel.org>
Date: 2026-01-12 15:46:52
Also in: linux-arm-kernel, lkml, stable

On Mon, 12 Jan 2026 01:42:47 -0800
Breno Leitao [off-list ref] wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help