powerpc/rtas: various cleanups and improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 14 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | powerpc/rtas: Move rtas entry assembly into its own filearch/ arch/ arch/ +1 more | +200 | 0 replies | |
| 2/14 | powerpc/rtas: Make enter_rtas a nokprobe symbol on 64-bitarch/ | +1 | 0 replies | |
| 3/14 | powerpc/rtas: Fix whitespace in rtas_entry.Sarch/ | +17 | 0 replies | |
| 4/14 | powerpc/rtas: Call enter_rtas with MSR[EE] disabledarch/ arch/ | +5 | 1 reply | |
| 5/14 | powerpc/rtas: Modernise RI clearing on 64-bitarch/ | +3 | 1 reply | |
| 6/14 | powerpc/rtas: Load rtas entry MSR explicitlyarch/ | +1 | 1 reply | |
| 7/14 | powerpc/rtas: PACA can be restored directly from SPRGarch/ | +4 | 1 reply | |
| 8/14 | powerpc/rtas: call enter_rtas in real-mode on 64-bitarch/ arch/ | +17 | 2 replies | |
| 9/14 | powerpc/rtas: Leave MSR[RI] enabled over RTAS callarch/ arch/ | +4 | 1 reply | |
| 10/14 | powerpc/rtas: replace rtas_call_unlocked with raw_rtas_callarch/ arch/ arch/ +2 more | +33 | 1 reply | |
| 11/14 | powerpc/rtas: tidy __fetch_rtas_last_errorarch/ | +9 | 0 replies | |
| 12/14 | powerpc/rtas: Close theoretical memory leakarch/ | +4 | 1 reply | |
| 13/14 | powerpc/rtas: enture rtas_call is called with MMU enabledarch/ | +5 | 1 reply | |
| 14/14 | powerpc/rtas: Consolidate and improve checking for rtas callersarch/ | +17 | 1 reply |
Reviews trailers per patch
6 of 14 patches have a Reviewed-by or Acked-by.
| Patch | Laurent Dufour |
|---|---|
| 1/14 | |
| 2/14 | |
| 3/14 | |
| 4/14 | R-b |
| 5/14 | R-b |
| 6/14 | R-b |
| 7/14 | R-b |
| 8/14 | |
| 9/14 | |
| 10/14 | R-b |
| 11/14 | |
| 12/14 | |
| 13/14 | R-b |
| 14/14 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/14] powerpc/rtas: various cleanups and improvements
I had a bunch of random little fixes and cleanups around and was prompted to put them together and make a change to call RTAS with MSR[RI] enabled because of a report of the hard lockup watchdog NMI IPI hitting in an rtas call which then crashed because it's unrecoverable.
Could possibly move patch 9 earlier if it would help with backporting.
Thanks,
Nick
Nicholas Piggin (14):
powerpc/rtas: Move rtas entry assembly into its own file powerpc/rtas: Make enter_rtas a nokprobe symbol on 64-bit powerpc/rtas: Fix whitespace in rtas_entry.S powerpc/rtas: Call enter_rtas with MSR[EE] disabled powerpc/rtas: Modernise RI clearing on 64-bit powerpc/rtas: Load rtas entry MSR explicitly powerpc/rtas: PACA can be restored directly from SPRG powerpc/rtas: call enter_rtas in real-mode on 64-bit powerpc/rtas: Leave MSR[RI] enabled over RTAS call powerpc/rtas: replace rtas_call_unlocked with raw_rtas_call powerpc/rtas: tidy __fetch_rtas_last_error powerpc/rtas: Close theoretical memory leak powerpc/rtas: enture rtas_call is called with MMU enabled powerpc/rtas: Consolidate and improve checking for rtas callers
arch/powerpc/include/asm/rtas.h | 4 +- arch/powerpc/kernel/Makefile | 2 +- arch/powerpc/kernel/entry_32.S | 49 ------ arch/powerpc/kernel/entry_64.S | 150 ------------------- arch/powerpc/kernel/rtas.c | 132 +++++++++------- arch/powerpc/kernel/rtas_entry.S | 144 ++++++++++++++++++ arch/powerpc/platforms/pseries/hotplug-cpu.c | 2 +- arch/powerpc/platforms/pseries/ras.c | 7 +- arch/powerpc/xmon/xmon.c | 2 +- 9 files changed, 227 insertions(+), 265 deletions(-) create mode 100644 arch/powerpc/kernel/rtas_entry.S
Signature · 1 line
2.23.0