diff options
author | Michael Mueller <mimu@linux.ibm.com> | 2019-01-31 09:52:45 +0100 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2019-02-05 14:29:24 +0100 |
commit | b1d1e76ed9ee5a0f7671da257d4f0595d1f5162e (patch) | |
tree | a0f740e2aeda2f90dcfdce819a578b761479ecc9 /arch | |
parent | KVM: s390: add gib_alert_irq_handler() (diff) | |
download | linux-b1d1e76ed9ee5a0f7671da257d4f0595d1f5162e.tar.xz linux-b1d1e76ed9ee5a0f7671da257d4f0595d1f5162e.zip |
KVM: s390: start using the GIB
By initializing the GIB, it will be used by the kvm host.
Signed-off-by: Michael Mueller <mimu@linux.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.ibm.com>
Reviewed-by: Halil Pasic <pasic@linux.ibm.com>
Message-Id: <20190131085247.13826-15-mimu@linux.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/s390/kvm/kvm-s390.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c index 0099fbda2e98..2e47c724679e 100644 --- a/arch/s390/kvm/kvm-s390.c +++ b/arch/s390/kvm/kvm-s390.c @@ -435,8 +435,15 @@ int kvm_arch_init(void *opaque) pr_err("A FLIC registration call failed with rc=%d\n", rc); goto out_debug_unreg; } + + rc = kvm_s390_gib_init(GAL_ISC); + if (rc) + goto out_gib_destroy; + return 0; +out_gib_destroy: + kvm_s390_gib_destroy(); out_debug_unreg: debug_unregister(kvm_s390_dbf); return rc; |