diff options
author | 2018-09-17 15:23:03 +0200 | |
---|---|---|
committer | 2018-09-20 13:20:28 +0200 | |
commit | 1c472d46283263497adccd7a0bec64ee2f9c09e5 (patch) | |
tree | f9a821bbabcdfb7dcd575da84d16097615ac3ceb /include/linux/start_kernel.h | |
parent | s390: add initial 64-bit restart PSW (diff) | |
download | linux-rng-1c472d46283263497adccd7a0bec64ee2f9c09e5.tar.xz linux-rng-1c472d46283263497adccd7a0bec64ee2f9c09e5.zip |
s390/zcrypt: enable AP bus scan without a valid default domain
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: 7e0bdbe5c21c "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>
Diffstat (limited to 'include/linux/start_kernel.h')
0 files changed, 0 insertions, 0 deletions