• Huacai Chen's avatar
    Docs/LoongArch: Add advanced extended IRQ model description · f339bd3b
    Huacai Chen authored
    Introduce the advanced extended interrupt controllers (AVECINTC). This
    feature will allow each core to have 256 independent interrupt vectors
    and MSI interrupts can be independently routed to any vector on any CPU.
    
    The whole topology of irqchips in LoongArch machines looks like this if
    AVECINTC is supported:
    
      +-----+     +-----------------------+     +-------+
      | IPI | --> |        CPUINTC        | <-- | Timer |
      +-----+     +-----------------------+     +-------+
                   ^          ^          ^
                   |          |          |
            +---------+ +----------+ +---------+     +-------+
            | EIOINTC | | AVECINTC | | LIOINTC | <-- | UARTs |
            +---------+ +----------+ +---------+     +-------+
                 ^            ^
                 |            |
            +---------+  +---------+
            | PCH-PIC |  | PCH-MSI |
            +---------+  +---------+
              ^     ^           ^
              |     |           |
      +---------+ +---------+ +---------+
      | Devices | | PCH-LPC | | Devices |
      +---------+ +---------+ +---------+
                       ^
                       |
                  +---------+
                  | Devices |
                  +---------+
    Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
    Signed-off-by: default avatarTianyang Zhang <zhangtianyang@loongson.cn>
    f339bd3b
irq-chip-model.rst 6.67 KB