Skip to content

Commit

Permalink
Update clic.adoc
Browse files Browse the repository at this point in the history
Add comparison of CLIC to Advanced Interrupt Architecture in background/motivation section.
  • Loading branch information
dansmathers authored Apr 6, 2021
1 parent 1c4d978 commit 1e18f6e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions clic.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ be written.
NOTE: CLIC mode is enabled using previously reserved values (`*11`)
in the low two bits of {tvec}.

=== CLIC versus PLIC
=== CLIC compared to PLIC

The standard RISC-V platform-level interrupt controller (PLIC)
provides centralized interrupt prioritization and routing for shared
Expand All @@ -105,7 +105,7 @@ only a CLIC, while multicore systems might have a CLIC per-core and a
single shared PLIC. The PLIC ``**__x__**eip`` signals are treated as
hart-local interrupt sources by the CLIC at each core.

=== CLIC versus Original Basic Interrupt Controller
=== CLIC compared to Original Basic Interrupt Controller

The existing original basic interrupt controller was a small unit
that provided local interrupts based on earlier designs, and managed
Expand All @@ -119,6 +119,10 @@ New settings of {tvec} mode as described below are used to enable CLIC
modes instead of the original basic interrupt modes. Platform profiles may
require either or both of the original basic and CLIC interrupt modes.

=== CLIC compared to Advanced Interrupt Architecture

Advanced interrupt Architecture (AIA) supports message-signaled interrupts (MSIs) and an Advanced PLIC (APLIC) and targeted to support multiple harts, and support for virtualization. Like CLIC, the relative priority of all interrupts (not just external) can be configured. CLIC is targeted at CLIC per-core and has the option to give each interrupt source a separate trap entry address, preemption (nesting) of interrupts with adjustable priority threshold control, and support for software tailchaining.

== CLIC Overview

This section gives an overview for the Core-Local Interrupt
Expand Down

0 comments on commit 1e18f6e

Please sign in to comment.