qemu/hw
Max Filippov a7d479ee51 target/xtensa: implement NMI support
When NMI is configured it is taken regardless of INTENABLE SR contents,
PS.INTLEVEL or PS.EXCM. It is cleared automatically once it's taken.

Add nmi_level to XtensaConfig, puth there NMI level from the overlay or
XCHAL_NUM_INTLEVELS + 1 when NMI is not configured. Add NMI mask to
INTENABLE SR and limit CINTLEVEL to nmi_level - 1 when determining
pending IRQ level in check_interrupt(). Always take and clear pending
interrupt at nmi_level in the handle_interrupt().

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2020-08-21 12:48:14 -07:00
..
9pfs meson: convert hw/9pfs, cleanup 2020-08-21 06:30:33 -04:00
acpi meson: convert hw/acpi 2020-08-21 06:30:32 -04:00
adc meson: convert hw/adc 2020-08-21 06:30:32 -04:00
alpha meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
arm meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
audio meson: convert hw/audio 2020-08-21 06:30:32 -04:00
avr meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
block meson: convert hw/block 2020-08-21 06:30:32 -04:00
char meson: convert hw/char 2020-08-21 06:30:32 -04:00
core
cpu meson: convert hw/cpu 2020-08-21 06:30:31 -04:00
cris meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
display meson: convert hw/display 2020-08-21 06:30:31 -04:00
dma meson: convert hw/dma 2020-08-21 06:30:31 -04:00
gpio meson: convert hw/gpio 2020-08-21 06:30:31 -04:00
hppa meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
hyperv meson: convert hw/hyperv 2020-08-21 06:30:31 -04:00
i2c meson: convert hw/i2c 2020-08-21 06:30:30 -04:00
i386 meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
ide meson: convert hw/ide 2020-08-21 06:30:30 -04:00
input meson: convert hw/input 2020-08-21 06:30:30 -04:00
intc meson: convert hw/intc 2020-08-21 06:30:30 -04:00
ipack meson: convert hw/ipack 2020-08-21 06:30:30 -04:00
ipmi meson: convert hw/ipmi 2020-08-21 06:30:29 -04:00
isa meson: convert hw/isa 2020-08-21 06:30:29 -04:00
lm32 meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
m68k meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
mem
microblaze meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
mips meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
misc meson: convert hw/misc 2020-08-21 06:30:29 -04:00
moxie meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
net
nios2 meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
nubus
nvram
openrisc meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
pci
pci-bridge
pci-host
pcmcia
ppc meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
rdma
riscv meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
rtc
rx meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
s390x meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
scsi
sd
semihosting
sh4 meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
smbios
sparc meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
sparc64 meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
ssi
timer
tpm
tricore meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
unicore32 meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
usb
vfio
virtio
watchdog
xen
xenpv meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
xtensa target/xtensa: implement NMI support 2020-08-21 12:48:14 -07:00
Kconfig
meson.build meson: convert hw/arch* 2020-08-21 06:30:33 -04:00