KVM: s390: Remove false WARN_ON_ONCE for the PQAP instruction
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 5 May 2020 07:27:15 +0000 (09:27 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 5 May 2020 09:15:05 +0000 (11:15 +0200)
commit5615e74f48dcc982655543e979b6c3f3f877e6f6
treeabb0d9f0a74a5888e0b5fc5eb8c38f7ca393ede4
parent2a173ec993baa6a97e7b0fb89240200a88d90746
KVM: s390: Remove false WARN_ON_ONCE for the PQAP instruction

In LPAR we will only get an intercept for FC==3 for the PQAP
instruction. Running nested under z/VM can result in other intercepts as
well as ECA_APIE is an effective bit: If one hypervisor layer has
turned this bit off, the end result will be that we will get intercepts for
all function codes. Usually the first one will be a query like PQAP(QCI).
So the WARN_ON_ONCE is not right. Let us simply remove it.

Cc: Pierre Morel <pmorel@linux.ibm.com>
Cc: Tony Krowiak <akrowiak@linux.ibm.com>
Cc: stable@vger.kernel.org # v5.3+
Fixes: e5282de93105 ("s390: ap: kvm: add PQAP interception for AQIC")
Link: https://lore.kernel.org/kvm/20200505083515.2720-1-borntraeger@de.ibm.com
Reported-by: Qian Cai <cailca@icloud.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/priv.c