Skip to content

powerpc/rtas: exports and locking

Nathan Lynch linuxppc-dev 1 version Applied

Status from this message: Applied to powerpc/next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 8 repliesApplied

Changes in v2 from the cover letter

- Unexport the singleton 'rtas' struct.
- Remove lock and args fields from 'struct rtas_t', making them private to the RTAS subsystem.
- Convert all symbol exports in rtas.c to EXPORT_SYMBOL_GPL.

[1] https://lore.kernel.org/linuxppc-dev/[email protected]/

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4powerpc/rtas: unexport 'rtas' symbolarch/powerpc/kernel/rtas.c+0 -11 reply
2/4powerpc/rtas: make all exports GPLarch/powerpc/kernel/rtas.c+15 -152 replies
3/4powerpc/rtas: remove lock and args fields from global rtas structarch/powerpc/include/asm/rtas-types.h arch/powerpc/kernel/rtas.c+29 -232 replies
4/4powerpc/rtas: upgrade internal arch spinlocksarch/powerpc/kernel/rtas.c+14 -381 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchLaurent DufourAndrew Donnellan
1/4R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b

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] powerpc/rtas: exports and locking

This series began as a single patch[1] to convert the RTAS subsystem's internal locks to raw spinlocks. The discussion of that patch identified opportunities to update a few aspects of the RTAS API, so the series begins with those and ends with a rebased version of the original patch.

Changes since v1:
- Unexport the singleton 'rtas' struct.
- Remove lock and args fields from 'struct rtas_t', making them private to the RTAS subsystem.
- Convert all symbol exports in rtas.c to EXPORT_SYMBOL_GPL.

[1] https://lore.kernel.org/linuxppc-dev/[email protected]/

Nathan Lynch (4):
powerpc/rtas: unexport 'rtas' symbol
powerpc/rtas: make all exports GPL
powerpc/rtas: remove lock and args fields from global rtas struct powerpc/rtas: upgrade internal arch spinlocks

 arch/powerpc/include/asm/rtas-types.h |   2 -
 arch/powerpc/kernel/rtas.c            | 127 +++++++++++---------------
 2 files changed, 55 insertions(+), 74 deletions(-)
Signature · 1 line
2.37.1