[PATCH v5 00/10] *** Add MIPS P8700 Platform ***
Anup Patel
anup at brainfault.org
Mon May 19 22:18:47 PDT 2025
On Tue, May 20, 2025 at 3:29 AM Chao-ying Fu <icebergfu at gmail.com> wrote:
>
Please write proper description in cover-letter and also drop the "***"
from cover-letter subject.
Use "git format-patch -M -C --cover-letter --subect-prefix=xyz" to
generate patches and always use "git send-email" to send patches.
Regards,
Anup
> ***
> 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 (8):
> platform: generic: mips: add P8700
> platform: generic: mips: add header files
> platform: generic: mips: add an entry function
> platform: generic: mips: add the platform file
> platform: generic: mips: add a dts file
> platform: generic: mips: add objects.mk
> Initialize MIPS custom PMA registers
> platform: generic: mips: add mmio to allmem in the dts file
>
> Vladimir Kondratiev (2):
> devices to use MMIO memory
> Fix PMA init for MMIO regions
>
> include/sbi/riscv_asm.h | 2 +
> lib/sbi/riscv_asm.c | 32 ++
> 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/cps-vec.S | 75 +++++
> platform/generic/mips/mips,boston-p8700.dts | 348 ++++++++++++++++++++
> platform/generic/mips/objects.mk | 7 +
> platform/generic/mips/p8700.c | 279 ++++++++++++++++
> 13 files changed, 996 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/cps-vec.S
> create mode 100644 platform/generic/mips/mips,boston-p8700.dts
> create mode 100644 platform/generic/mips/objects.mk
> create mode 100644 platform/generic/mips/p8700.c
>
> --
> 2.47.1
>
>
> --
> opensbi mailing list
> opensbi at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/opensbi
More information about the opensbi
mailing list