public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] powerpc: Fix kuap warnings
@ 2026-01-09  6:49 Shrikanth Hegde
  2026-01-09  6:49 ` [PATCH 1/1] powerpc: Fix kuap warnings on lazy/full preemption with tracing Shrikanth Hegde
  2026-01-09  8:11 ` [PATCH 0/1] powerpc: Fix kuap warnings Christophe Leroy (CS GROUP)
  0 siblings, 2 replies; 7+ messages in thread
From: Shrikanth Hegde @ 2026-01-09  6:49 UTC (permalink / raw)
  To: maddy, linuxppc-dev, rostedt, mhiramat
  Cc: sshegde, chleroy, riteshh, linux-kernel, hbathini

Recently stumbled upon these kuap warnings. This happens with
preempt=full/lazy kernel with function tracing enabled. What irked
me was kernel compilation was getting failed when i had tracing 
enabled. It doesn't fail everytime. While running stress-ng memory class
it threw same warnings. So that helped to narrow it down.
 
So one possible way is to disable tracing for these enter/exit
vmx_usercopy. That seems to fix the bug/warnings. But that will make
them as non trace-able. If there is a better way to fix these warning while
keeping them as trace-able, please let me know. 

Anyone with insights on amr, vmx and tracing, please advise.

Shrikanth Hegde (1):
  powerpc: Fix kuap warnings on lazy/full preemption with tracing

 arch/powerpc/kernel/process.c | 10 +++++-----
 arch/powerpc/lib/vmx-helper.c |  4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

-- 
2.47.3


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-02-17  9:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-09  6:49 [PATCH 0/1] powerpc: Fix kuap warnings Shrikanth Hegde
2026-01-09  6:49 ` [PATCH 1/1] powerpc: Fix kuap warnings on lazy/full preemption with tracing Shrikanth Hegde
2026-01-09  8:11 ` [PATCH 0/1] powerpc: Fix kuap warnings Christophe Leroy (CS GROUP)
2026-01-09 12:19   ` Shrikanth Hegde
2026-01-09 12:54     ` Christophe Leroy (CS GROUP)
2026-01-26 13:54       ` Shrikanth Hegde
2026-02-17  9:31         ` Ritesh Harjani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox