diff options
author | Huacai Chen <[email protected]> | 2020-05-23 15:56:36 +0800 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2020-06-04 13:49:13 -0400 |
commit | 3f51d8fcac7a0925fb1222d932cb3baa776b1e79 (patch) | |
tree | cdfbdc19eaedb97b00da4c7ad66ee68ae2e1653d /scripts/gdb/linux/modules.py | |
parent | 49bb96003fb19b77a0116d9330bdfd61aa41244b (diff) |
KVM: MIPS: Add more types of virtual interrupts
In current implementation, MIPS KVM uses IP2, IP3, IP4 and IP7 for
external interrupt, two kinds of IPIs and timer interrupt respectively,
but Loongson-3 based machines prefer to use IP2, IP3, IP6 and IP7 for
two kinds of external interrupts, IPI and timer interrupt. So we define
two priority-irq mapping tables: kvm_loongson3_priority_to_irq[] for
Loongson-3, and kvm_default_priority_to_irq[] for others. The virtual
interrupt infrastructure is updated to deliver all types of interrupts
from IP2, IP3, IP4, IP6 and IP7.
Reviewed-by: Aleksandar Markovic <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Co-developed-by: Jiaxun Yang <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions