All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] x86/insn-eval: Remove unused regs arg some functions
@ 2025-11-17  9:31 Jiri Olsa
  2025-11-17  9:31 ` [PATCH 1/5] x86/insn-eval: Remove regs arg from pt_regs_offset Jiri Olsa
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Jiri Olsa @ 2025-11-17  9:31 UTC (permalink / raw)
  To: Thomas Gleixner, Peter Zijlstra
  Cc: linux-kernel, x86, Ingo Molnar, Borislav Petkov, Dave Hansen

hi,
regs argument is not used in several insn-eval functions, removing it.

I have some changes based on these functions and it feels wrong to pass
NULL in regs argument. Also I don't want to send 5 extra patches with
my other change, so sending this separately.

thanks,
jirka


---
Jiri Olsa (5):
      x86/insn-eval: Remove regs arg from pt_regs_offset
      x86/insn-eval: Remove regs arg from get_reg_offset
      x86/insn-eval: Remove regs arg from insn_get_modrm_rm_off
      x86/insn-eval: Remove regs arg from insn_get_modrm_reg_off
      x86/insn-eval: Remove regs arg from get_reg_offset_16

 arch/x86/coco/sev/vc-handle.c    |  2 +-
 arch/x86/include/asm/insn-eval.h |  6 +++---
 arch/x86/kernel/cfi.c            |  2 +-
 arch/x86/kernel/umip.c           |  2 +-
 arch/x86/lib/insn-eval.c         | 35 +++++++++++++++--------------------
 arch/x86/mm/extable.c            |  2 +-
 6 files changed, 22 insertions(+), 27 deletions(-)

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

end of thread, other threads:[~2025-11-18  8:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-17  9:31 [PATCH 1/5] x86/insn-eval: Remove unused regs arg some functions Jiri Olsa
2025-11-17  9:31 ` [PATCH 1/5] x86/insn-eval: Remove regs arg from pt_regs_offset Jiri Olsa
2025-11-17  9:31 ` [PATCH 2/5] x86/insn-eval: Remove regs arg from get_reg_offset Jiri Olsa
2025-11-17  9:31 ` [PATCH 3/5] x86/insn-eval: Remove regs arg from insn_get_modrm_rm_off Jiri Olsa
2025-11-17  9:31 ` [PATCH 4/5] x86/insn-eval: Remove regs arg from insn_get_modrm_reg_off Jiri Olsa
2025-11-17  9:31 ` [PATCH 5/5] x86/insn-eval: Remove regs arg from get_reg_offset_16 Jiri Olsa
2025-11-18  8:47 ` [PATCH 1/5] x86/insn-eval: Remove unused regs arg some functions Peter Zijlstra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.