kernel-fxtec-pro1x/drivers/s390
Halil Pasic 3d510bdf35 s390/zcrypt: enable AP bus scan without a valid default domain
[ Upstream commit 1c472d46283263497adccd7a0bec64ee2f9c09e5 ]

The AP bus scan is aborted before doing anything worth mentioning if
ap_select_domain() fails, e.g. if the ap_rights.aqm mask is all zeros.
As the result of this the ap bus fails to manage (e.g. create and
register) devices like it is supposed to.

Let us make ap_scan_bus() work even if ap_select_domain() can't select a
default domain. Let's also make ap_select_domain() return void, as there
are no more callers interested in its return value.

Signed-off-by: Halil Pasic <pasic@linux.ibm.com>
Reported-by: Michael Mueller <mimu@linux.ibm.com>
Fixes: 7e0bdbe5c2 "s390/zcrypt: AP bus support for alternate driver(s)"
[freude@linux.ibm.com: title and patch header slightly modified]
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-20 18:47:07 +01:00
..
block s390/dasd: fix endless loop after read unit address configuration 2019-08-06 19:06:55 +02:00
char
cio s390/cio: avoid calling strlen on null pointer 2019-10-11 18:21:08 +02:00
crypto s390/zcrypt: enable AP bus scan without a valid default domain 2019-11-20 18:47:07 +01:00
net s390/qeth: invoke softirqs after napi_schedule() 2019-11-20 18:46:51 +01:00
scsi scsi: zfcp: fix reaction on bit error threshold notification 2019-10-29 09:19:48 +01:00
virtio virtio/s390: fix race on airq_areas[] 2019-09-16 08:22:23 +02:00
Makefile