Skip to content

RTAS function table and tracepoints

Nathan Lynch linuxppc-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 0 repliesNew

Changes from the cover letter

* 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/[email protected]/

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4powerpc/rtas: improve function information lookupsarch/powerpc/include/asm/rtas.h arch/powerpc/kernel/rtas.c+715 -1130 replies
2/4powerpc/rtas: strengthen do_enter_rtas() type safety, drop inlinearch/powerpc/kernel/rtas.c+5 -50 replies
3/4powerpc/tracing: tracepoints for RTAS entry and exitarch/powerpc/include/asm/trace.h+103 -00 replies
4/4powerpc/rtas: add tracepoints around RTAS entryarch/powerpc/kernel/rtas.c+53 -60 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchAndrew DonnellanNicholas Piggin
1/4
2/4R-b R-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] RTAS function table and tracepoints

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/[email protected]/

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(-)
Signature · 1 line
2.37.1