[PATCH 00/21] MIPS: semi-random code improvements

Sascha Hauer s.hauer at pengutronix.de
Wed Jul 26 22:09:43 PDT 2023


On Tue, Jul 25, 2023 at 08:05:01AM +0300, Denis Orlov wrote:
> Denis Orlov (21):
>   MIPS: addrspace: rectify ksseg segment naming
>   MIPS: addrspace: simplify the header
>   MIPS: main_entry-pbl: remove unused variable
>   MIPS: barebox.lds: remove extra whitespace
>   MIPS: reloc: mark relocate_code() as noreturn
>   MIPS: cpuinfo: use appropriate format specifiers in printf
>   MIPS: print BadVAddr CP0 register on exception
>   MIPS: malta: merge GT64120 headers
>   MIPS: pbl_macros: use .asciiz instead of .ascii + .byte 0
>   MIPS: malta: remove duplicated barebox magic code
>   MIPS: pbl: put mips_barebox_10h into ENTRY_FUNCTION
>   MIPS: pbl: make sure to disable interrupts/watchpoints on entry
>   MIPS: pbl: do enable 64-bit addressing in PBL
>   MIPS: clean up barebox proper entry point
>   MIPS: main_entry: properly set XTLB handler for 64-bit mode
>   MIPS: main_entry: remove exception vector array
>   MIPS: c-r4k: prettify code in __BUILD_BLAST_CACHE_RANGE
>   MIPS: c-r4k: generate blast_*cache functions via macros
>   MIPS: c-r4k: do flush secondary cache
>   MIPS: c-r4k: remove extra function declaration
>   MIPS: reloc: use IS_ALIGNED macro to check for an alignment

Applied, thanks

Sascha

> 
>  arch/mips/boards/8devices-lima/lowlevel.S     |  2 +-
>  arch/mips/boards/dlink-dir-320/lowlevel.S     |  4 +-
>  arch/mips/boards/img-ci20/lowlevel.S          |  2 +-
>  arch/mips/boards/loongson-ls1b/lowlevel.S     |  4 +-
>  arch/mips/boards/netgear-wg102/lowlevel.S     |  4 +-
>  arch/mips/boards/qemu-malta/lowlevel.S        | 17 +----
>  arch/mips/boards/ritmix-rzx50/lowlevel.S      |  2 +-
>  arch/mips/boards/tplink-wdr4300/lowlevel.S    |  2 +-
>  arch/mips/boot/main_entry-pbl.c               |  4 --
>  arch/mips/boot/main_entry.c                   | 41 +++--------
>  arch/mips/boot/start.S                        | 46 -------------
>  arch/mips/boot/start.c                        | 17 +++++
>  arch/mips/include/asm/addrspace.h             | 47 ++++++-------
>  arch/mips/include/asm/asm.h                   |  4 +-
>  arch/mips/include/asm/cacheops.h              |  5 ++
>  arch/mips/include/asm/pbl_macros.h            | 20 +++++-
>  arch/mips/include/asm/stackframe.h            |  4 ++
>  arch/mips/lib/barebox.lds.S                   |  2 -
>  arch/mips/lib/c-r4k.c                         | 68 ++++++++++---------
>  arch/mips/lib/cpuinfo.c                       |  6 +-
>  arch/mips/lib/genex.S                         | 29 +++-----
>  arch/mips/lib/reloc.c                         |  6 +-
>  arch/mips/lib/traps.c                         |  3 +-
>  .../mips/mach-ath79/include/mach/pbl_macros.h |  4 +-
>  .../asm => mach-malta/include/mach}/gt64120.h | 13 ++--
>  .../mach-malta/include/mach/mach-gt64120.h    | 17 -----
>  arch/mips/mach-malta/pci.c                    |  4 +-
>  27 files changed, 147 insertions(+), 230 deletions(-)
>  delete mode 100644 arch/mips/boot/start.S
>  create mode 100644 arch/mips/boot/start.c
>  rename arch/mips/{include/asm => mach-malta/include/mach}/gt64120.h (92%)
>  delete mode 100644 arch/mips/mach-malta/include/mach/mach-gt64120.h
> 
> -- 
> 2.41.0
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list