s390x/tcg: rework checking for deliverable interrupts
commit8417f904bad50021b432dfea12613345d9fb1f68
authorDavid Hildenbrand <david@redhat.com>
Thu, 28 Sep 2017 20:36:42 +0000 (28 22:36 +0200)
committerCornelia Huck <cohuck@redhat.com>
Fri, 20 Oct 2017 11:32:10 +0000 (20 13:32 +0200)
tree955b565a71a6bb5376b386cb99eedf8fe69fbf6f
parent14ca122e753c7bc925e6cedc4f16588bc154090d
s390x/tcg: rework checking for deliverable interrupts

Currently, enabling/disabling of interrupts is not really supported.

Let's improve interrupt handling code by explicitly checking for
deliverable interrupts only. This is the first step. Checking for
external interrupt subclasses will be done next.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170928203708.9376-5-david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/cpu.c
target/s390x/excp_helper.c
target/s390x/internal.h
target/s390x/interrupt.c