Skip to content

Fix some bugs on RV32 build fail and issue

Zong Li linux-riscv lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 2 repliesIn review
  2. v3 posting 2/25 patches 8 repliesSuperseded
  3. v3 posting 1/20 of 5 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v25 patches3 repliesSuperseded
v15 patches10 repliesSuperseded

Changes in v4 from the cover letter

- Retain the complete copyright description.
- Modify commit message.
- Rebase upstream code.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5RISC-V: Build tishift only on 64-bitarch/riscv/lib/Makefile+2 -10 replies
2/5RISC-V: Add preprocessor directive for swiotlbarch/riscv/kernel/setup.c+3 -00 replies
3/5lib: Add umoddi3 and udivmoddi4 of GCC library routineslib/Kconfig lib/Makefile lib/udivmoddi4.c +1 more+378 -00 replies
4/5RISC-V: Select GENERIC_LIB_UMODDI3 on RV32arch/riscv/Kconfig+1 -00 replies
5/5RISC-V: Avoid corrupting the upper 32-bit of phys_addr_t in ioremaparch/riscv/mm/ioremap.c+1 -10 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH v4 0/5] Fix some bugs on RV32 build fail and issue

This patches contain the modificaion as follows:
1. Fix up the building fail on RV32.
2. Add umoddi3 and udivmoddi4 functions for RV32.
3. Fix ioremap problem on RV32.

Thanks all for review these code and modify the copyright description.

Changes in v4:
- Retain the complete copyright description.
- Modify commit message.
- Rebase upstream code.

Changes in v3:
- Change the copyright notices to GPLv2 from gcc 4.2.1.

Changes in v2:
- Retain the copyright notices from libgcc in umoddi3.c and udivmoddi4.c.

Vincent Chen (1):
RISC-V: Avoid corrupting the upper 32-bit of phys_addr_t in ioremap

Zong Li (4):
RISC-V: Build tishift only on 64-bit
RISC-V: Add preprocessor directive for swiotlb
lib: Add umoddi3 and udivmoddi4 of GCC library routines
RISC-V: Select GENERIC_LIB_UMODDI3 on RV32

 arch/riscv/Kconfig        |   1 +
 arch/riscv/kernel/setup.c |   3 +
 arch/riscv/lib/Makefile   |   3 +-
 arch/riscv/mm/ioremap.c   |   2 +-
 lib/Kconfig               |   3 +
 lib/Makefile              |   1 +
 lib/udivmoddi4.c          | 326 ++++++++++++++++++++++++++++++++++++++++++++++
 lib/umoddi3.c             |  48 +++++++
 8 files changed, 385 insertions(+), 2 deletions(-)
 create mode 100644 lib/udivmoddi4.c
 create mode 100644 lib/umoddi3.c
Signature · 1 line
2.7.4