Skip to content

MIPS: fix and improve 64BIT support

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 Latest17 patches 18 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/17MIPS: malta: allow to choose MIPS64 target CPU in configarch/mips/Kconfig+3 -01 reply
2/17MIPS: malta: use CKSEG instead of KSEG macrosarch/mips/boards/qemu-malta/lowlevel.S arch/mips/mach-malta/pci.c+3 -32 replies
3/17MIPS: reloc: fix relocation with CONFIG_64BIT enabledarch/mips/lib/reloc.c+3 -41 reply
4/17MIPS: o32: provide ta0..ta3 register definitionsarch/mips/include/asm/regdef.h+6 -02 replies
5/17MIPS: pbl: use o32/n64 compatible register definitionsarch/mips/include/asm/pbl_macros.h arch/mips/include/asm/pbl_nmon.h+19 -191 reply
6/17MIPS: pbl: fix linking errors with CONFIG_64BITarch/mips/Makefile+3 -30 replies
7/17MIPS: use MIPS32/MIPS64 generic instruction macrosarch/mips/boot/start.S arch/mips/include/asm/asm.h arch/mips/include/asm/debug_ll_ns16550.h +2 more+24 -241 reply
8/17MIPS: malta: fix GT64120 base virtual address on 64BITarch/mips/mach-malta/include/mach/mach-gt64120.h+1 -11 reply
9/17MIPS: fix addresses of exception vectors in 64-bit modearch/mips/boot/main_entry.c+1 -11 reply
10/17MIPS: fix *ADDR macro usage warnings on CONFIG_64BITarch/mips/include/asm/dma.h arch/mips/include/asm/io.h+10 -80 replies
11/17MIPS: Makefile: sign-extend TEXT_BASE value on CONFIG_64BITarch/mips/Makefile+7 -13 replies
12/17MIPS: enable 64-bit kernel segment addressing on CONFIG_64BITarch/mips/boot/start.S arch/mips/include/asm/pbl_macros.h+13 -01 reply
13/17MIPS: traps: fix passing wrong sp when returning from exceptionarch/mips/lib/traps.c+1 -10 replies
14/17MIPS: pbl_macros: use generic load/store macros in copy_to_link_locationarch/mips/include/asm/pbl_macros.h+10 -111 reply
15/17MIPS: add 64-bit support for optimized string functionsarch/mips/Kconfig arch/mips/lib/memcpy.S+32 -60 replies
16/17MIPS: make setjmp/longjmp/initjmp available in 64BIT buildsarch/mips/Kconfig arch/mips/include/asm/setjmp.h arch/mips/lib/setjmp.S+26 -260 replies
17/17MIPS: main_entry-pbl: fix conversion warnings on CONFIG_64BITarch/mips/boot/main_entry-pbl.c+4 -70 replies

Reviews trailers per patch

8 of 17 patches have a Reviewed-by or Acked-by.

PatchAhmad Fatoum
1/17R-b
2/17
3/17Reviewd-by
4/17R-b
5/17R-b
6/17
7/17R-b
8/17Reviewd-by
9/17R-b
10/17
11/17A-b
12/17R-b
13/17
14/17R-b
15/17
16/17
17/17

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/17] MIPS: fix and improve 64BIT support

The existing 64BIT support for MIPS was somewhat incomplete with no board having MIPS64 CPUs specified to be available as targets. Define Malta as supporting those and fix all the compilation and linking errors. Make some optional features available with 64BIT too.

Denis Orlov (17):
MIPS: malta: allow to choose MIPS64 target CPU in config
MIPS: malta: use CKSEG instead of KSEG macros
MIPS: reloc: fix relocation with CONFIG_64BIT enabled
MIPS: o32: provide ta0..ta3 register definitions
MIPS: pbl: use o32/n64 compatible register definitions
MIPS: pbl: fix linking errors with CONFIG_64BIT
MIPS: use MIPS32/MIPS64 generic instruction macros
MIPS: malta: fix GT64120 base virtual address on 64BIT
MIPS: fix addresses of exception vectors in 64-bit mode
MIPS: fix *ADDR macro usage warnings on CONFIG_64BIT
MIPS: Makefile: sign-extend TEXT_BASE value on CONFIG_64BIT
MIPS: enable 64-bit kernel segment addressing on CONFIG_64BIT
MIPS: traps: fix passing wrong sp when returning from exception
MIPS: pbl_macros: use generic load/store macros in
copy_to_link_location
MIPS: add 64-bit support for optimized string functions
MIPS: make setjmp/longjmp/initjmp available in 64BIT builds
MIPS: main_entry-pbl: fix conversion warnings on CONFIG_64BIT

 arch/mips/Kconfig                             |  6 +-
 arch/mips/Makefile                            | 14 +++--
 arch/mips/boards/qemu-malta/lowlevel.S        |  4 +-
 arch/mips/boot/main_entry-pbl.c               | 11 ++--
 arch/mips/boot/main_entry.c                   |  2 +-
 arch/mips/boot/start.S                        |  4 +-
 arch/mips/include/asm/asm.h                   | 10 +--
 arch/mips/include/asm/debug_ll_ns16550.h      |  6 +-
 arch/mips/include/asm/dma.h                   | 16 ++---
 arch/mips/include/asm/io.h                    |  2 +-
 arch/mips/include/asm/pbl_macros.h            | 62 +++++++++++--------
 arch/mips/include/asm/pbl_nmon.h              | 10 +--
 arch/mips/include/asm/regdef.h                |  6 ++
 arch/mips/include/asm/setjmp.h                |  2 +-
 arch/mips/lib/genex.S                         |  8 +--
 arch/mips/lib/memcpy.S                        | 37 +++++++++--
 arch/mips/lib/reloc.c                         |  7 +--
 arch/mips/lib/setjmp.S                        | 48 +++++++-------
 arch/mips/lib/traps.c                         |  2 +-
 .../mach-malta/include/mach/mach-gt64120.h    |  2 +-
 arch/mips/mach-malta/pci.c                    |  2 +-
 21 files changed, 156 insertions(+), 105 deletions(-)
Signature · 1 line
2.41.0