linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] RTAS function table and tracepoints
@ 2022-12-12 23:01 Nathan Lynch
  2022-12-12 23:01 ` [PATCH v2 1/4] powerpc/rtas: improve function information lookups Nathan Lynch
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Nathan Lynch @ 2022-12-12 23:01 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: tyreld, nnac123, ldufour, ajd, npiggin

Resubmiting with revisions the remainder from the earlier "RTAS
maintenance" series[1] for further comments.

Components:
* Improved function token lookups, including efficient "reverse"
  token-to-name mappings.
* Static tracepoints for RTAS entry and exit.

Changes:
* Rebase on current powerpc/next.
* Drop unnecessary cast for xa_load() key argument. (Nick Child)
* Document RTAS_FN_FLAG_BANNED_FOR_SYSCALL_ON_LE. (Andrew Donnellan)
* Skip tracepoints in unsafe contexts (real mode, CPU
  offline). (Nicholas Piggin)
* Convert RTAS tracepoint definitions to unconditional
  variants (TRACE_EVENT_CONDITION() -> TRACE_EVENT()), dropping a
  cpu_online() check that duplicates work already done at the call
  site.

[1] https://lore.kernel.org/linuxppc-dev/20221118150751.469393-1-nathanl@linux.ibm.com/

Nathan Lynch (4):
  powerpc/rtas: improve function information lookups
  powerpc/rtas: strengthen do_enter_rtas() type safety, drop inline
  powerpc/tracing: tracepoints for RTAS entry and exit
  powerpc/rtas: add tracepoints around RTAS entry

 arch/powerpc/include/asm/rtas.h  |  87 ++++
 arch/powerpc/include/asm/trace.h | 103 ++++
 arch/powerpc/kernel/rtas.c       | 806 ++++++++++++++++++++++++++-----
 3 files changed, 874 insertions(+), 122 deletions(-)

-- 
2.37.1


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

end of thread, other threads:[~2022-12-12 23:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-12 23:01 [PATCH v2 0/4] RTAS function table and tracepoints Nathan Lynch
2022-12-12 23:01 ` [PATCH v2 1/4] powerpc/rtas: improve function information lookups Nathan Lynch
2022-12-12 23:01 ` [PATCH v2 2/4] powerpc/rtas: strengthen do_enter_rtas() type safety, drop inline Nathan Lynch
2022-12-12 23:01 ` [PATCH v2 3/4] powerpc/tracing: tracepoints for RTAS entry and exit Nathan Lynch
2022-12-12 23:01 ` [PATCH v2 4/4] powerpc/rtas: add tracepoints around RTAS entry Nathan Lynch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).