qemu/target/s390x
David Hildenbrand 520db63f3a s390x/tcg: simplify machine check handling
We currently only support CRW machine checks. This is a preparation for
real floating interrupt support.

Get rid of the queue and handle it via the bit INTERRUPT_MCHK. We don't
rename it for now, as it will be soon gone (when moving crw machine checks
into the flic).

Please note that this is the same way also KVM handles it: only one
instance of a machine check can be pending at a time. So no need for a
queue.

While at it, make sure we try to deliver only if env->cregs[14]
actually indicates that CRWs are accepted.

Drop two unused defines on the way (we already have PSW_MASK_...).

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20180129125623.21729-5-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
2018-02-09 09:37:13 +01:00
..
arch_dump.c
cc_helper.c s390x/tcg: use s390_program_interrupt() in SACF 2017-12-14 17:56:54 +01:00
cpu_features_def.h s390x/kvm: provide stfle.81 2018-01-22 11:22:43 +01:00
cpu_features.c s390x/kvm: provide stfle.81 2018-01-22 11:22:43 +01:00
cpu_features.h
cpu_models.c s390x: change the QEMU cpu model to a stripped down z12 2017-12-14 17:56:54 +01:00
cpu_models.h s390x: change the QEMU cpu model to a stripped down z12 2017-12-14 17:56:54 +01:00
cpu-qom.h
cpu.c s390x/tcg: simplify machine check handling 2018-02-09 09:37:13 +01:00
cpu.h s390x/tcg: simplify machine check handling 2018-02-09 09:37:13 +01:00
crypto_helper.c
diag.c s390x/diag: pass the retaddr into handle_diag_308() 2017-12-14 17:56:54 +01:00
excp_helper.c s390x/tcg: simplify machine check handling 2018-02-09 09:37:13 +01:00
fpu_helper.c s390x/tcg: get rid of runtime_exception() 2017-12-14 17:56:54 +01:00
gdbstub.c
gen-features.c s390x/kvm: provide stfle.81 2018-01-22 11:22:43 +01:00
helper.c
helper.h s390x/tcg: fixup TEST PROTECTION 2018-01-22 11:04:52 +01:00
insn-data.def s390x/tcg: implement extract-CPU-time facility 2017-12-14 17:56:54 +01:00
insn-format.def
int_helper.c s390x/tcg: get rid of runtime_exception() 2017-12-14 17:56:54 +01:00
internal.h accel/tcg: add size paremeter in tlb_fill() 2018-01-25 16:02:24 +01:00
interrupt.c s390x/tcg: simplify machine check handling 2018-02-09 09:37:13 +01:00
ioinst.c s390x: handle exceptions during s390_cpu_virt_mem_rw() correctly (TCG) 2017-12-14 17:56:54 +01:00
kvm_s390x.h
kvm-stub.c
kvm.c s390x/kvm: Handle bpb feature 2018-01-22 11:22:30 +01:00
machine.c s390x/kvm: Handle bpb feature 2018-01-22 11:22:30 +01:00
Makefile.objs
mem_helper.c accel/tcg: add size paremeter in tlb_fill() 2018-01-25 16:02:24 +01:00
misc_helper.c s390x/tcg: implement extract-CPU-time facility 2017-12-14 17:56:54 +01:00
mmu_helper.c s390x/tcg: don't exit the cpu loop in s390_cpu_virt_mem_rw() 2017-12-14 17:56:54 +01:00
sigp.c
trace-events
translate.c s390x/tcg: implement TEST PROTECTION 2018-01-22 11:04:52 +01:00