Skip to content

MIPS: semi-random code improvements

Denis Orlov barebox 1 version Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest21 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/21MIPS: addrspace: rectify ksseg segment namingarch/mips/include/asm/addrspace.h+5 -50 replies
2/21MIPS: addrspace: simplify the headerarch/mips/include/asm/addrspace.h+20 -250 replies
3/21MIPS: main_entry-pbl: remove unused variablearch/mips/boot/main_entry-pbl.c+0 -40 replies
4/21MIPS: barebox.lds: remove extra whitespacearch/mips/lib/barebox.lds.S+0 -20 replies
5/21MIPS: reloc: mark relocate_code() as noreturnarch/mips/lib/reloc.c+2 -20 replies
6/21MIPS: cpuinfo: use appropriate format specifiers in printfarch/mips/lib/cpuinfo.c+3 -30 replies
7/21MIPS: print BadVAddr CP0 register on exceptionarch/mips/include/asm/stackframe.h arch/mips/lib/traps.c+6 -10 replies
8/21MIPS: malta: merge GT64120 headersarch/mips/boards/qemu-malta/lowlevel.S arch/mips/mach-malta/include/mach/gt64120.h arch/mips/mach-malta/include/mach/mach-gt64120.h +1 more+11 -280 replies
9/21MIPS: pbl_macros: use .asciiz instead of .ascii + .byte 0arch/mips/include/asm/pbl_macros.h+1 -20 replies
10/21MIPS: malta: remove duplicated barebox magic codearch/mips/boards/qemu-malta/lowlevel.S+1 -100 replies
11/21MIPS: pbl: put mips_barebox_10h into ENTRY_FUNCTIONarch/mips/boards/8devices-lima/lowlevel.S arch/mips/boards/dlink-dir-320/lowlevel.S arch/mips/boards/loongson-ls1b/lowlevel.S +5 more+2 -170 replies
12/21MIPS: pbl: make sure to disable interrupts/watchpoints on entryarch/mips/boards/8devices-lima/lowlevel.S arch/mips/boards/dlink-dir-320/lowlevel.S arch/mips/boards/img-ci20/lowlevel.S +7 more+30 -60 replies
13/21MIPS: pbl: do enable 64-bit addressing in PBLarch/mips/include/asm/pbl_macros.h+1 -00 replies
14/21MIPS: clean up barebox proper entry pointarch/mips/boot/start.S arch/mips/boot/start.c+17 -460 replies
15/21MIPS: main_entry: properly set XTLB handler for 64-bit modearch/mips/boot/main_entry.c+1 -30 replies
16/21MIPS: main_entry: remove exception vector arrayarch/mips/boot/main_entry.c arch/mips/lib/genex.S+16 -520 replies
17/21MIPS: c-r4k: prettify code in __BUILD_BLAST_CACHE_RANGEarch/mips/lib/c-r4k.c+5 -80 replies
18/21MIPS: c-r4k: generate blast_*cache functions via macrosarch/mips/lib/c-r4k.c+24 -170 replies
19/21MIPS: c-r4k: do flush secondary cachearch/mips/include/asm/cacheops.h arch/mips/lib/c-r4k.c+11 -60 replies
20/21MIPS: c-r4k: remove extra function declarationarch/mips/lib/c-r4k.c+0 -20 replies
21/21MIPS: reloc: use IS_ALIGNED macro to check for an alignmentarch/mips/lib/reloc.c+1 -10 replies

Reviews trailers per patch

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

Read the v1 thread

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

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

 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
Signature · 1 line
2.41.0