Add MIPS P8700 support to generic platform
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest7 patches 1 replyIn review
- v510 patches 7 repliesSuperseded
- v48 patches 4 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 9 patches | 0 replies | Superseded | |
| v2 | 11 patches | 7 replies | Superseded | |
| v1 | 1 patch | 0 replies | Superseded |
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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | platform: generic: mips: add P8700platform/ platform/ | +5 | 0 replies | |
| 2/7 | platform: generic: mips: add header filesplatform/ platform/ platform/ | +234 | 0 replies | |
| 3/7 | platform: generic: mips: add the platform fileplatform/ | +270 | 0 replies | |
| 4/7 | platform: generic: mips: add objects.mkplatform/ | +6 | 0 replies | |
| 5/7 | devices to use MMIO memorylib/ | +1 | 0 replies | |
| 6/7 | Convey MMIO flag as specified by SBI_DOMAIN_MEMREGION_MMIOinclude/ lib/ | +15 | 0 replies | |
| 7/7 | lib: sbi_platform: Add the platform pma_set function to set up cacheabilityinclude/ lib/ platform/ | +113 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.
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