Failed in applying to current master (
apply log)
hw/intc/Kconfig | 3 +
hw/intc/loongarch_avec.c | 143 +++++++++++++++++++++++++++++++
hw/intc/meson.build | 1 +
hw/loongarch/Kconfig | 1 +
hw/loongarch/virt.c | 89 ++++++++++++++++++-
include/hw/intc/loongarch_avec.h | 36 ++++++++
include/hw/loongarch/virt.h | 36 ++++++++
include/hw/pci-host/ls7a.h | 2 +
target/loongarch/cpu-csr.h | 6 +-
target/loongarch/cpu.c | 17 ++++
target/loongarch/cpu.h | 34 +++-----
target/loongarch/machine.c | 5 ++
12 files changed, 346 insertions(+), 27 deletions(-)
create mode 100644 hw/intc/loongarch_avec.c
create mode 100644 include/hw/intc/loongarch_avec.h