2022-05-23 08:08:58

by Stafford Horne

[permalink] [raw]
Subject: [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(-)

--
2.31.1