Skip to content

Add MIPS P8700 support to generic platform

Chao-ying Fu opensbi 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest7 patches 1 replyIn review
  2. v510 patches 7 repliesSuperseded
  3. v48 patches 4 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v39 patches0 repliesSuperseded
v211 patches7 repliesSuperseded
v11 patch0 repliesSuperseded

Changes in v6 from the cover letter

Drop the dts file.
Drop the entry function.
Add a new platform pma_set function.
Move PMA code to MIPS p8700.c.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7platform: generic: mips: add P8700platform/generic/Kconfig platform/generic/configs/defconfig+5 -00 replies
2/7platform: generic: mips: add header filesplatform/generic/include/mips/board.h platform/generic/include/mips/mips-cm.h platform/generic/include/mips/p8700.h+234 -00 replies
3/7platform: generic: mips: add the platform fileplatform/generic/mips/p8700.c+270 -00 replies
4/7platform: generic: mips: add objects.mkplatform/generic/mips/objects.mk+6 -00 replies
5/7devices to use MMIO memorylib/utils/fdt/fdt_fixup.c+1 -10 replies
6/7Convey MMIO flag as specified by SBI_DOMAIN_MEMREGION_MMIOinclude/sbi/riscv_asm.h lib/sbi/sbi_hart.c+15 -00 replies
7/7lib: sbi_platform: Add the platform pma_set function to set up cacheabilityinclude/sbi/sbi_platform.h lib/sbi/riscv_asm.c platform/generic/mips/p8700.c+113 -00 replies

Reviews trailers per patch

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

Read the v6 thread

Cover letter [MIPS P8700 v6 0/7] Add MIPS P8700 support to generic platform

---
Changes in v6:
Drop the dts file.
Drop the entry function.
Add a new platform pma_set function.
Move PMA code to MIPS p8700.c.

Changes in v5:
Drop the amo emulation code.
Change to use macros to insert instructions in p8700.c.
Add 3 new patches to recognize mmio regions and set up cacheability based on mmio regions.

Changes in v4:
Remove code that overrides nascent_init. Update p8700.c to work with the latest override. Use csr_set for mipsconfig6 in p8700.c. Add riscv,cbom-block-size to the dts file.

Changes in v3:
Remove stw.s, stw.h, and extra scratch space.
Use nascent_init to initialze MIPS CSRs.
Add amo emulation via illegal instruction exceptions. Change to use AMO and RDTIME illegal instruction exceptions. Revise the dts file.
Remove code that jumps to mips_cps_core_entry.

Changes in v2:
Break up one patch to 11 patches.

Changes in v1:
Original code.
---

Chao-ying Fu (5):
platform: generic: mips: add P8700
platform: generic: mips: add header files
platform: generic: mips: add the platform file
platform: generic: mips: add objects.mk
lib: sbi_platform: Add the platform pma_set function to set up
cacheability

Vladimir Kondratiev (2):
devices to use MMIO memory
Convey MMIO flag as specified by SBI_DOMAIN_MEMREGION_MMIO

 include/sbi/riscv_asm.h                 |   2 +
 include/sbi/sbi_platform.h              |  19 ++
 lib/sbi/riscv_asm.c                     |   3 +
 lib/sbi/sbi_hart.c                      |  13 +
 lib/utils/fdt/fdt_fixup.c               |   2 +-
 platform/generic/Kconfig                |   4 +
 platform/generic/configs/defconfig      |   1 +
 platform/generic/include/mips/board.h   |  33 +++
 platform/generic/include/mips/mips-cm.h |  88 ++++++
 platform/generic/include/mips/p8700.h   | 113 ++++++++
 platform/generic/mips/objects.mk        |   6 +
 platform/generic/mips/p8700.c           | 361 ++++++++++++++++++++++++
 12 files changed, 644 insertions(+), 1 deletion(-)
 create mode 100644 platform/generic/include/mips/board.h
 create mode 100644 platform/generic/include/mips/mips-cm.h
 create mode 100644 platform/generic/include/mips/p8700.h
 create mode 100644 platform/generic/mips/objects.mk
 create mode 100644 platform/generic/mips/p8700.c
Signature · 7 lines
2.47.1


-- 
opensbi mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/opensbi