Skip to content

Building for 32-bit RISC-V kernel

Zong Li linux-riscv lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 10 repliesIn review
  2. v15 patches 9 repliesSuperseded

Change in v1 from the cover letter

- Fix some error in v1
- Remove implementation of fixed width integer types format for Elf_Addr.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4RISC-V: Add conditional macro for zone of DMA32arch/riscv/mm/init.c+2 -01 reply
2/4RISC-V: Select GENERIC_UCMPDI2 on RV32Iarch/riscv/Kconfig+1 -01 reply
3/4RISC-V: Add definiion of extract symbol's index and type for 32-bitarch/riscv/include/uapi/asm/elf.h+7 -25 replies
4/4RISC-V: Change variable type for 32-bit compatiblearch/riscv/kernel/module.c+11 -111 reply

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/4R-b
2/4R-b
3/4
4/4R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/4] Building for 32-bit RISC-V kernel

These patches for building 32-bit RISC-V kernel.
- Fix the compile errors and warnings on RV32I.
- Fix some incompatible problem on RV32I.
- Add format.h for compatible of print format.

The fixed width integer types format for Elf_Addr will move to generic header by another patch. For now, there are some warning about unexpected argument of type on RV32I.

Change in v1:
- Fix some error in v1
- Remove implementation of fixed width integer types format for Elf_Addr.

Zong Li (4):
RISC-V: Add conditional macro for zone of DMA32
RISC-V: Select GENERIC_UCMPDI2 on RV32I
RISC-V: Add definiion of extract symbol's index and type for 32-bit
RISC-V: Change variable type for 32-bit compatible

 arch/riscv/Kconfig                |  1 +
 arch/riscv/include/uapi/asm/elf.h |  9 +++++++--
 arch/riscv/kernel/module.c        | 22 +++++++++++-----------
 arch/riscv/mm/init.c              |  2 ++
 4 files changed, 21 insertions(+), 13 deletions(-)
Signature · 1 line
2.16.1