[PATCH 00/13] OpenIRSC misc cleanups for 5.19

From: Stafford Horne
Date: Sun May 15 2022 - 08:42:18 EST


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.

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 | 33 ++
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, 255 insertions(+), 307 deletions(-)

--
2.31.1