]> git.proxmox.com Git - mirror_qemu.git/commit - target/s390x/cpu.h
s390x/tcg: turn INTERRUPT_EXT into a mask
authorDavid Hildenbrand <david@redhat.com>
Thu, 28 Sep 2017 20:36:39 +0000 (22:36 +0200)
committerCornelia Huck <cohuck@redhat.com>
Fri, 20 Oct 2017 11:32:10 +0000 (13:32 +0200)
commit6482b0ffd12ce83810c10b1a3884a75eba2ade1a
tree211d5b6b5a5859c608aa00518b68ad8c56048cd5
parent9ea63c05d90ba85d819f9b2472ce6dfba7a403b4
s390x/tcg: turn INTERRUPT_EXT into a mask

External interrupts are currently all handled like floating external
interrupts, they are queued. Let's prepare for a split of floating
and local interrupts by turning INTERRUPT_EXT into a mask.

While we can have various floating external interrupts of one kind, there
is usually only one (or a fixed number) of the local external interrupts.

So turn INTERRUPT_EXT into a mask and properly indicate the kind of
external interrupt. Floating interrupts will have to moved out of
one CPU instance later once we have SMP support.

The only floating external interrupts used right now are SERVICE
interrupts, so let's use that name. Following patches will clean up
SERVICE interrupt injection.

This get's rid of the ugly special handling for cpu timer and clock
comparator interrupts. And we really only store the parameters as
defined by the PoP.

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