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

driver: interrupt_controller: nuclei_eclic: fixed interrupt level and CLIC enable #75580

Merged
merged 2 commits into from
Jul 12, 2024

Commits on Jul 8, 2024

  1. driver: interrupt_controller: nuclei_eclic: fixed interrupt level

    CLIC should be the first level interrupt controller because it replaces
    the basic RISC-V local interrupt.
    The interrupt level in CLIC controls preemption between IRQs, rather than
    specifying the number of nested interrupt controllers.
    Removed CONFIG_MULTI_LEVEL_INTERRUPTS and the incorrect interrupt level.
    
    Signed-off-by: Jimmy Zheng <[email protected]>
    jimmyzhe committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    cbccc35 View commit details
    Browse the repository at this point in the history
  2. drivers: interrupt_controller: nuclei_eclic: do not modifiy trap entry

    RISC-V trap entry is handled in soc/common/riscv-privileged/vector.S.
    Remove the redundant modification in CLIC driver.
    
    Signed-off-by: Jimmy Zheng <[email protected]>
    jimmyzhe committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    9124019 View commit details
    Browse the repository at this point in the history