On 29.11.18 12:48, Cornelia Huck wrote:
On Thu, 29 Nov 2018 12:24:36 +0100
Michael Mueller <mimu@xxxxxxxxxxxxx> wrote:
On 29.11.18 11:55, Cornelia Huck wrote:
On Wed, 28 Nov 2018 11:19:40 +0100
Michael Mueller <mimu@xxxxxxxxxxxxx> wrote:
Add the IAM (Interruption Alert Mask) to the architectue specific
kvm struct. This mask in the GISA is used to define for which ISC
a GIB alert can be issued.
The functions kvm_s390_gisc_register() and kvm_s390_gisc_unregister()
are used to (un)register a GISC (guest ISC) with a virtual machine and
its GISA.
Upon successful completion, kvm_s390_gisc_register() returns the
ISC to be used for GIB alert interruptions. A negative return code
indicates an error during registration.
Signed-off-by: Michael Mueller <mimu@xxxxxxxxxxxxx>
---
arch/s390/include/asm/kvm_host.h | 6 ++++++
arch/s390/kvm/interrupt.c | 44 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+)
I've started at this and the following patches and have not found a
place where the functions are called... leftover from a previous
version?
No, these functions are required by the related driver code.
Pls. see:
Message ID: 1542906675-7949-4-git-send-email-pmorel@xxxxxxxxxxxxx
[v2,3/3] vfio: ap: AP Queue Interrupt Control VFIO ioctl calls
I guess they should go with that series, then.
No, I don't think so. These functions are part of the
*GIB infrastructure* and will by consumed e.g. by VFIO AP
with irqs but also by PCI.