Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

soc: riscv: andes_v5: update ae350 soc #59813

Merged
merged 12 commits into from
Jul 17, 2023

Commits on Jul 3, 2023

  1. dts: riscv: andes_v5: update andes_v5_ae350.dtsi

    Fix mtimer lack of interrupts-extended and make syscon compatilbe to
    atcsmu100.
    
    Signed-off-by: Jimmy Zheng <[email protected]>
    jimmyzhe committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    5f2a431 View commit details
    Browse the repository at this point in the history
  2. soc: riscv: andes_v5: update ae350 linker.ld

    Synchronize ae350 linker.ld with riscv generic linker.ld and workaround
    kernel object address may be 0x0 in XIP system.
    
    Signed-off-by: Jimmy Zheng <[email protected]>
    jimmyzhe committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    503ec4e View commit details
    Browse the repository at this point in the history
  3. soc: riscv: andes_v5: refine Andes PMA

    Refine PMA driver and define MPU_ALIGN() to PMA granularity in
    RAM_SECTIONS, otherwise MPU_ALIGN() is defined to PMP granularity.
    
    Signed-off-by: Jimmy Zheng <[email protected]>
    jimmyzhe committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    b38e403 View commit details
    Browse the repository at this point in the history
  4. soc: riscv: andes_v5: support PMP and USERSPACE

    Enable PMP and set PMP granularity to 8 for most of ae350 bitstream.
    This commit also make MPU_ALIGN() apply to __rom_region_end in XIP system.
    
    Signed-off-by: Jimmy Zheng <[email protected]>
    jimmyzhe committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    d5c05c3 View commit details
    Browse the repository at this point in the history
  5. soc: riscv: andes_v5: support RISC-V C extension

    Enable RISC-V C extension for Andes core.
    
    Signed-off-by: Jimmy Zheng <[email protected]>
    jimmyzhe committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    9874e6b View commit details
    Browse the repository at this point in the history
  6. soc: riscv: andes_v5: add RV32E_CPU option

    Add CONFIG_RV32E_CPU for AE350 platform integrated with Andes RV32E core,
    such as N22, D23 core.
    
    Signed-off-by: Jimmy Zheng <[email protected]>
    jimmyzhe committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    2c2ae3a View commit details
    Browse the repository at this point in the history
  7. soc: riscv: andes_v5: add Andes EXEC.IT option

    Andes EXEC.IT (Execution on Instruction Table) is supported by Andes
    toolchain only. Andes toolchain will replaces suitable 32-bit instructions
    with the 16-bit "exec.it <INDEX>" in which <INDEX> points to a
    corresponding 32-bit instruction in look up table.
    
    Signed-off-by: Jimmy Zheng <[email protected]>
    jimmyzhe committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    2506669 View commit details
    Browse the repository at this point in the history
  8. soc: riscv: andes_v5: refine Andes L2 cache

    Refine source code and flush all I/D-Cache before update L2 cache register.
    
    Signed-off-by: Jimmy Zheng <[email protected]>
    jimmyzhe committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    c1f6128 View commit details
    Browse the repository at this point in the history
  9. soc: riscv: andes_v5: add Andes I/O Coherence Port option

    Add CONFIG_SOC_ANDES_V5_IOCP to indicate Andes I/O Coherence Port handle
    cache coherency between cache and external non-caching master, such as DMA
    controller.
    
    Signed-off-by: Jimmy Zheng <[email protected]>
    jimmyzhe committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    ce78cab View commit details
    Browse the repository at this point in the history
  10. soc: riscv: andes_v5: enlarge TEST_EXTRA_STACK_SIZE

    Enlarge TEST_EXTRA_STACK_SIZE for AE350 RV64 bitstream.
    
    Signed-off-by: Jimmy Zheng <[email protected]>
    jimmyzhe committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    c730720 View commit details
    Browse the repository at this point in the history
  11. tests: kernel: gen_isr_table.riscv_direct: exclude adp_xc7k_ae350

    Exclude adp_xc7k_ae350 because Andes core doesn't support RISC-V vectored
    mode from csr $mtvec.
    
    Signed-off-by: Jimmy Zheng <[email protected]>
    jimmyzhe committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    b4bafec View commit details
    Browse the repository at this point in the history
  12. soc: riscv: andes_v5: remove redundant CONFIG_CACHE_ENABLE

    Replace redundant CONFIG_CACHE_ENABLE by generic Kconfig CONFIG_ICACHE,
    CONFIG_DCACHE.
    
    Signed-off-by: Jimmy Zheng <[email protected]>
    jimmyzhe committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    7f75156 View commit details
    Browse the repository at this point in the history