]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: s390: pci: Fix handling of AIF enable without AISB
authorMatthew Rosato <mjrosato@linux.ibm.com>
Thu, 9 Jul 2026 13:54:04 +0000 (09:54 -0400)
committerChristian Borntraeger <borntraeger@linux.ibm.com>
Thu, 9 Jul 2026 14:23:10 +0000 (16:23 +0200)
commit3e3aa6da87d30a0064a17b836685cd43c90a3572
treecc1369adc9b996066273d51136d850a9c89100c0
parent9489220fe0e69d2ca141e5062dd3ef3e2e55959f
KVM: s390: pci: Fix handling of AIF enable without AISB

When a guest seeks to register IRQs without a summary bit specified,
ensure that the associated GAITE then stores 0 for the guest AISB
location instead of virt_to_phys(page_address(NULL)).

Fixes: 3c5a1b6f0a18 ("KVM: s390: pci: provide routines for enabling/disabling interrupt forwarding")
Cc: stable@vger.kernel.org
Reviewed-by: Farhan Ali <alifm@linux.ibm.com>
Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
arch/s390/kvm/pci.c