Skip to content

various fixes for MIPS64

Peter Mamonov barebox 2 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest12 patches 2 repliesApplied
  2. v212 patches 16 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/12resource: fix iomem_resource.end for 64 bit systemscommon/resource.c+1 -10 replies
2/12fs: fix memory access via /dev/mem for MIPS64fs/fs.c+2 -25 replies
3/12mtd: cfi-flash: fix write_buff() for 64 bit systemsdrivers/mtd/nor/cfi_flash.c+1 -10 replies
4/12i2c-mux-pca954x: fix out-of-bounds write for 64 bit systemsdrivers/i2c/muxes/i2c-mux-pca954x.c+3 -10 replies
5/12MIPS: import 64-bit address conversion macrosarch/mips/include/asm/addrspace.h+20 -00 replies
6/12include/common.h: move IOMEM declaration for MIPS to arch/mips/include/asm/io.harch/mips/include/asm/io.h include/common.h+4 -50 replies
7/12MIPS: add proper IOMEM() declaration for MIPS64arch/mips/include/asm/io.h+4 -00 replies
8/12MIPS: fix copy_to_link_location for 64 bit modearch/mips/include/asm/pbl_macros.h+11 -100 replies
9/12MIPS: use CKSEG1 instead of KSEG1arch/mips/boot/dtb.c arch/mips/lib/c-r4k.c+6 -60 replies
10/12MIPS: add PHYS_ADDR_T_64BIT optionarch/mips/Kconfig+3 -00 replies
11/12MIPS: 64BIT selects PHYS_ADDR_T_64BITarch/mips/Kconfig+1 -00 replies
12/12MIPS: don't use optimized string functions for MIPS64arch/mips/Kconfig+1 -00 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 00/12] various fixes for MIPS64

Hi,

This is a third revision of of the patchset which fixes various issues with 64 bit barebox, primarily MIPS related.

Differences from v2:
- add some comments to commits
- move MIPS' IOMEM declarations to arch/mips/include/asm/io.h
- skip [PATCH v2 09/12] mips: fix warnings from CPHYSADDR() macro for now
- Kconfig' options are disabled by default
- don't credit Andrey for trivial suggestions :)

Regards,
Peter

Peter Mamonov (12):
resource: fix iomem_resource.end for 64 bit systems
fs: fix memory access via /dev/mem for MIPS64
mtd: cfi-flash: fix write_buff() for 64 bit systems
i2c-mux-pca954x: fix out-of-bounds write for 64 bit systems
MIPS: import 64-bit address conversion macros include/common.h: move IOMEM declaration for MIPS to
arch/mips/include/asm/io.h
MIPS: add proper IOMEM() declaration for MIPS64
MIPS: fix copy_to_link_location for 64 bit mode
MIPS: use CKSEG1 instead of KSEG1
MIPS: add PHYS_ADDR_T_64BIT option
MIPS: 64BIT selects PHYS_ADDR_T_64BIT
MIPS: don't use optimized string functions for MIPS64

 arch/mips/Kconfig                   |  5 +++++
 arch/mips/boot/dtb.c                |  4 ++--
 arch/mips/include/asm/addrspace.h   | 20 ++++++++++++++++++++
 arch/mips/include/asm/io.h          |  6 ++++++
 arch/mips/include/asm/pbl_macros.h  | 21 +++++++++++----------
 arch/mips/lib/c-r4k.c               |  8 ++++----
 common/resource.c                   |  2 +-
 drivers/i2c/muxes/i2c-mux-pca954x.c |  4 +++-
 drivers/mtd/nor/cfi_flash.c         |  2 +-
 fs/fs.c                             |  4 ++--
 include/common.h                    |  7 ++-----
 11 files changed, 57 insertions(+), 26 deletions(-)
Signature · 7 lines
2.17.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox