Skip to content

AE350 SMP support RISC-V

Andes u-boot 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 0 repliesNew
  2. v37 patches 0 repliesSuperseded
  3. v27 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v19 patches0 repliesSuperseded

Changes in v4 from the cover letter

Patch 1
- Drop the empty comment line
- Check return value after cpu_get_count()
- Rename nds_plic as andes_plic
- Fix checkpatch error issues
Patch 2
- Rename nds_plmt as andes_plmt
Patch 3 riscv: ae350: disable ATCPIT100 timer
Patch 4 riscv: ax25: Add platform-specific Kconfig options
- Squash as patch 3 riscv: ax25: Add platform-specific Kconfig options

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6riscv: Add a SYSCON driver for Andestech's PLICarch/riscv/Kconfig arch/riscv/include/asm/global_data.h arch/riscv/include/asm/syscon.h +2 more+127 -21 reply
2/6riscv: Add a SYSCON driver for Andestech's PLMTarch/riscv/Kconfig arch/riscv/include/asm/global_data.h arch/riscv/include/asm/syscon.h +2 more+67 -01 reply
3/6riscv: ax25: Add platform-specific Kconfig optionsarch/riscv/cpu/ax25/Kconfig configs/ae350_rv32_defconfig configs/ae350_rv64_defconfig+6 -20 replies
4/6riscv: ax25: Andes specific cache shall only support in M-modearch/riscv/cpu/ax25/Kconfig+1 -00 replies
5/6riscv: dts: ae350 support SMParch/riscv/dts/ae350_32.dts arch/riscv/dts/ae350_64.dts+118 -440 replies
6/6riscv: ae350: enable SMPboard/AndesTech/ax25-ae350/Kconfig+1 -00 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchBin MengLukas Auer
1/6R-b R-b
2/6R-b R-b
3/6R-b R-b
4/6R-b R-b
5/6R-b R-b
6/6R-b R-b

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

Read the v4 thread

Cover letter [U-Boot] [PATCH v4 0/6] AE350 SMP support RISC-V

From: Rick Chen <[email protected]>

Changes in v4:
Patch 1
- Drop the empty comment line
- Check return value after cpu_get_count()
- Rename nds_plic as andes_plic
- Fix checkpatch error issues
Patch 2
- Rename nds_plmt as andes_plmt
Patch 3 riscv: ae350: disable ATCPIT100 timer
Patch 4 riscv: ax25: Add platform-specific Kconfig options
- Squash as patch 3 riscv: ax25: Add platform-specific Kconfig options

Changes in v3:
Patch 1
- Rename plic_init() as enable_ipi()
- Remove PLIC_BASE_GET() from enable_ipi()
Patch 2
- Add a space before (PLMT)
Patch 6
- Fix some mis-alignments
- Recovery isa string of CPU1

Changes in v2:
- Drop patch1 and replace by simple-bus driver
- Rename nds_plic as andes_plic
- Move initialize plic to PLIC_BASE_GET() and called automatically
- Rename nds_plmt as andes_plmt
- Recovery dts isa string

Rick Chen (6):
riscv: Add a SYSCON driver for Andestech's PLIC
riscv: Add a SYSCON driver for Andestech's PLMT
riscv: ax25: Add platform-specific Kconfig options
riscv: ax25: Andes specific cache shall only support in M-mode
riscv: dts: ae350 support SMP
riscv: ae350: enable SMP

 arch/riscv/Kconfig                   |  18 ++++++
 arch/riscv/cpu/ax25/Kconfig          |   7 +++
 arch/riscv/dts/ae350_32.dts          |  81 ++++++++++++++++++-------
 arch/riscv/dts/ae350_64.dts          |  81 ++++++++++++++++++-------
 arch/riscv/include/asm/global_data.h |   6 ++
 arch/riscv/include/asm/syscon.h      |   4 +-
 arch/riscv/lib/Makefile              |   2 +
 arch/riscv/lib/andes_plic.c          | 113 +++++++++++++++++++++++++++++++++++
 arch/riscv/lib/andes_plmt.c          |  53 ++++++++++++++++
 board/AndesTech/ax25-ae350/Kconfig   |   1 +
 configs/ae350_rv32_defconfig         |   1 -
 configs/ae350_rv64_defconfig         |   1 -
 12 files changed, 320 insertions(+), 48 deletions(-)
 create mode 100644 arch/riscv/lib/andes_plic.c
 create mode 100644 arch/riscv/lib/andes_plmt.c
Signature · 1 line
2.7.4