[PATCH 00/13] RTAS maintenance
Nathan Lynch
nathanl at linux.ibm.com
Sat Nov 19 02:07:38 AEDT 2022
A collection of loosely-related RTAS code changes, most notably:
* Fixing misuses of rtas_token() for non-function properties.
* The stronger validation for sys_rtas() offered by the
PPC_RTAS_FILTER config option is always enabled.
* Improved function token lookups, including efficient "reverse"
token-to-name mappings.
* Static tracepoints for RTAS entry and exit.
Nathan Lynch (13):
powerpc/rtas: document rtas_call()
powerpc/rtasd: use correct OF API for event scan rate
powerpc/rtas: avoid device tree lookups in rtas_os_term()
powerpc/rtas: avoid scheduling in rtas_os_term()
powerpc/pseries/eeh: use correct API for error log size
powerpc/rtas: clean up rtas_error_log_max initialization
powerpc/rtas: clean up includes
powerpc/rtas: define pr_fmt and convert printk call sites
powerpc/rtas: mandate RTAS syscall filtering
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: place tracepoints in do_enter_rtas()
arch/powerpc/Kconfig | 13 -
arch/powerpc/include/asm/rtas.h | 102 +-
arch/powerpc/include/asm/trace.h | 116 +++
arch/powerpc/kernel/rtas.c | 961 +++++++++++++++----
arch/powerpc/kernel/rtasd.c | 7 +-
arch/powerpc/platforms/pseries/eeh_pseries.c | 2 +-
6 files changed, 986 insertions(+), 215 deletions(-)
--
2.37.1
More information about the Linuxppc-dev
mailing list