Skip to content

Add Andes PMA related SBI calls

Ben Zong-You Xie opensbi 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4platform: generic: Kconfig: add the description for Andes PMA featureplatform/generic/Kconfig platform/generic/andes/Kconfig+6 -01 reply
2/4platform: generic: andes: add a new Andes SBI call to probe Andes PMA featureplatform/generic/andes/ae350.c platform/generic/andes/andes_pma.c platform/generic/andes/andes_sbi.c +1 more+25 -21 reply
3/4platform: generic: andes: add a new Andes SBI call to set up a PMA entryplatform/generic/andes/andes_pma.c platform/generic/andes/andes_sbi.c platform/generic/include/andes/andes_pma.h+137 -41 reply
4/4platform: generic: andes: add a new Andes SBI call to free a PMA entryplatform/generic/andes/andes_pma.c platform/generic/andes/andes_sbi.c platform/generic/include/andes/andes_pma.h+61 -171 reply

Reviews trailers per patch

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

PatchAnup Patel
1/4R-b
2/4R-b
3/4R-b
4/4R-b

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

Read the v1 thread

Cover letter [PATCH 0/4] Add Andes PMA related SBI calls

Programmable physical memory attributes(PPMA) is a PMA-related feature for Andes. PPMA allows dynamic adjustment of memory attributes in the runtime. It contains a configurable amount of PMA entries implemented as CSRs to control the attributes of memory locations in interest. For example, device drivers can set memory regions as non-cacheable if necessary. For more information, refer to the section 10.3 in [1].

This patch series adds three Andes PPMA SBI calls. These SBI calls provides a way to dynamically set/reset memory attributes in the runtime. For more technical details, see the individual commit messages.

[1] https://www.andestech.com/wp-content/uploads/AX45MP-1C-Rev.-5.0.0-Datasheet.pdf

Ben Zong-You Xie (4):
platform: generic: Kconfig: add the description for Andes PMA feature
platform: generic: andes: add a new Andes SBI call to probe Andes PMA
feature
platform: generic: andes: add a new Andes SBI call to set up a PMA
entry
platform: generic: andes: add a new Andes SBI call to free a PMA entry

 platform/generic/Kconfig                   |   1 +
 platform/generic/andes/Kconfig             |   5 +
 platform/generic/andes/ae350.c             |   2 +
 platform/generic/andes/andes_pma.c         | 181 +++++++++++++++++++--
 platform/generic/andes/andes_sbi.c         |  18 +-
 platform/generic/include/andes/andes_pma.h |  43 ++++-
 6 files changed, 228 insertions(+), 22 deletions(-)
Signature · 1 line
2.34.1