Skip to content

cache operation cleanups for Andes AE350 platform

Yu Chien Peter Lin u-boot 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/210 patches 6 repliesIn review
  2. v2 posting 1/21 patch 0 repliesSuperseded
  3. v111 patches 16 repliesSuperseded

Changes in v2 from the cover letter

- Drop plicsw related patch
- Include RB tags from Rick and Leo

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10riscv: Remove redundant Kconfig "RISCV_NDS_CACHE"arch/riscv/cpu/ax25/Kconfig arch/riscv/cpu/ax25/cache.c drivers/cache/Kconfig+2 -930 replies
2/10board: AndesTech: ax25-ae350.c: Enable v5l2-cache in spl_board_init()board/AndesTech/ax25-ae350/ax25-ae350.c+9 -80 replies
3/10driver: cache: cache-v5l2: Update memory-mapped scheme to support Gen2 platformdrivers/cache/cache-v5l2.c+24 -81 reply
4/10riscv: cpu: ax25: Simplify cache enabling logic in harts_early_init()arch/riscv/cpu/ax25/cpu.c arch/riscv/include/asm/arch-andes/csr.h+41 -371 reply
5/10riscv: ae350: dts: Update L2 cache compatible stringarch/riscv/dts/ae350_32.dts arch/riscv/dts/ae350_64.dts drivers/cache/cache-v5l2.c+3 -31 reply
6/10riscv: ax25: cache.c: Cleanups to L1/L2 cache function used in SPLarch/riscv/cpu/ax25/cache.c+68 -301 reply
7/10configs: ae350: Enable v5l2 cache for AE350 platforms in SPLarch/riscv/cpu/ax25/Kconfig configs/ae350_rv32_spl_defconfig configs/ae350_rv32_spl_xip_defconfig +2 more+9 -01 reply
8/10configs: ae350: Increase maximum retry count for AE350 platformsconfigs/ae350_rv32_defconfig configs/ae350_rv32_spl_defconfig configs/ae350_rv32_spl_xip_defconfig +5 more+8 -00 replies
9/10configs: ae350: Display CPU and board info for AE350 platformsconfigs/ae350_rv32_defconfig configs/ae350_rv32_spl_defconfig configs/ae350_rv32_spl_xip_defconfig +5 more+16 -01 reply
10/10driver: cache-v5l2: Fix type casting warning on RV32drivers/cache/cache-v5l2.c+1 -10 replies

Reviews trailers per patch

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

PatchYu Chien Peter LinRick ChenLeo Yu-Chi Liang
1/10R-b R-b
2/10R-b R-b
3/10R-b R-b
4/10R-b R-b
5/10R-b R-b
6/10R-b R-b
7/10R-b R-b
8/10R-b
9/10R-b R-b
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 00/10] cache operation cleanups for Andes AE350 platform

This patchset is intended to enable L2-cache in U-boot SPL, along with cache operations cleanup for AE350 platforms.

Changes v1 -> v2:
- Drop plicsw related patch
- Include RB tags from Rick and Leo

The patchset is based on commit:
a209c3e6b48cf042d0220245a2d1636f74389c17

Leo Yu-Chi Liang (1):
riscv: Remove redundant Kconfig "RISCV_NDS_CACHE"

Yu Chien Peter Lin (9):
board: AndesTech: ax25-ae350.c: Enable v5l2-cache in spl_board_init()
driver: cache: cache-v5l2: Update memory-mapped scheme to support Gen2
platform
riscv: cpu: ax25: Simplify cache enabling logic in harts_early_init()
riscv: ae350: dts: Update L2 cache compatible string
riscv: ax25: cache.c: Cleanups to L1/L2 cache function used in SPL
configs: ae350: Enable v5l2 cache for AE350 platforms in SPL
configs: ae350: Increase maximum retry count for AE350 platforms
configs: ae350: Display CPU and board info for AE350 platforms
driver: cache-v5l2: Fix type casting warning on RV32

 arch/riscv/cpu/ax25/Kconfig             |  11 +--
 arch/riscv/cpu/ax25/cache.c             | 118 ++++++++----------------
 arch/riscv/cpu/ax25/cpu.c               |  49 +++-------
 arch/riscv/dts/ae350_32.dts             |   2 +-
 arch/riscv/dts/ae350_64.dts             |   2 +-
 arch/riscv/include/asm/arch-andes/csr.h |  29 ++++++
 board/AndesTech/ax25-ae350/ax25-ae350.c |  17 ++--
 configs/ae350_rv32_defconfig            |   3 +
 configs/ae350_rv32_spl_defconfig        |   5 +
 configs/ae350_rv32_spl_xip_defconfig    |   5 +
 configs/ae350_rv32_xip_defconfig        |   3 +
 configs/ae350_rv64_defconfig            |   3 +
 configs/ae350_rv64_spl_defconfig        |   5 +
 configs/ae350_rv64_spl_xip_defconfig    |   5 +
 configs/ae350_rv64_xip_defconfig        |   3 +
 drivers/cache/Kconfig                   |   1 -
 drivers/cache/cache-v5l2.c              |  36 ++++++--
 17 files changed, 149 insertions(+), 148 deletions(-)
 create mode 100644 arch/riscv/include/asm/arch-andes/csr.h
Signature · 1 line
2.34.1