Skip to content

OpenRISC misc cleanups for 5.19

Stafford Horne bpf lkml netdev openrisc 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest13 patches 0 repliesNew
  2. v213 patches 1 replySuperseded
  3. v113 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- Don't enabled class II instructions by default

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13openrisc: Add gcc machine instruction flag configurationarch/openrisc/Kconfig arch/openrisc/Makefile+70 -00 replies
2/13openrisc: Cleanup emergency print handlingarch/openrisc/kernel/head.S+85 -630 replies
3/13openrisc: Add support for liteuart emergency printingarch/openrisc/kernel/head.S+12 -10 replies
4/13openrisc: Add syscall details to emergency syscall debuggingarch/openrisc/kernel/entry.S+15 -50 replies
5/13openrisc: Pretty print show_registers memory dumpsarch/openrisc/kernel/traps.c+33 -130 replies
6/13openrisc: Update litex defconfig to support glibc userlandarch/openrisc/configs/or1klitex_defconfig+32 -00 replies
7/13openrisc/traps: Declare file scope symbols as staticarch/openrisc/kernel/traps.c+3 -30 replies
8/13openrisc/traps: Remove die_if_kernel functionarch/openrisc/kernel/traps.c+0 -90 replies
9/13openrisc/traps: Declare unhandled_exception for asmlinkagearch/openrisc/kernel/traps.c+1 -10 replies
10/13openrisc/time: Fix symbol scope warningsarch/openrisc/kernel/time.c+2 -10 replies
11/13openrisc/delay: Add include to fix symbol not declared warningarch/openrisc/lib/delay.c+1 -00 replies
12/13openrisc/fault: Fix symbol scope warningsarch/openrisc/mm/fault.c+1 -30 replies
13/13openrisc: Remove unused IMMU tlb workardoundarch/openrisc/kernel/head.S+0 -2090 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 00/13] OpenRISC misc cleanups for 5.19

This is a collection of misc cleanups I have accumulated when working on some recent OpenRISC projects.

The patch themes:
- Sparse warning cleanups
- Removal of dead code
- Emergency debug fixups in head.S
- Support for gcc machine instruction flags
- defconfig updates for litex

I have tested these patches when verifying the glibc port by running the glibc test suite.

Changes since v2:
- Don't enabled class II instructions by default
Changes since v1:
- Fix if/elif issue in emergency print fixes pointed out by Samuel Holland

Stafford Horne (13):
openrisc: Add gcc machine instruction flag configuration
openrisc: Cleanup emergency print handling
openrisc: Add support for liteuart emergency printing
openrisc: Add syscall details to emergency syscall debugging
openrisc: Pretty print show_registers memory dumps
openrisc: Update litex defconfig to support glibc userland openrisc/traps: Declare file scope symbols as static openrisc/traps: Remove die_if_kernel function openrisc/traps: Declare unhandled_exception for asmlinkage openrisc/time: Fix symbol scope warnings openrisc/delay: Add include to fix symbol not declared warning openrisc/fault: Fix symbol scope warnings
openrisc: Remove unused IMMU tlb workardound

 arch/openrisc/Kconfig                     |  53 ++++
 arch/openrisc/Makefile                    |  17 +
 arch/openrisc/configs/or1klitex_defconfig |  32 ++
 arch/openrisc/kernel/entry.S              |  20 +-
 arch/openrisc/kernel/head.S               | 368 ++++++----------------
 arch/openrisc/kernel/time.c               |   3 +-
 arch/openrisc/kernel/traps.c              |  63 ++--
 arch/openrisc/lib/delay.c                 |   1 +
 arch/openrisc/mm/fault.c                  |   4 +-
 9 files changed, 254 insertions(+), 307 deletions(-)
Signature · 1 line
2.31.1