s390/ap: Support AP card SCLP config and deconfig operations
authorHarald Freudenberger <freude@linux.ibm.com>
Mon, 27 Jul 2020 12:49:34 +0000 (14:49 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 7 Oct 2020 19:50:01 +0000 (21:50 +0200)
commit5caa2af97118308c79f29cc9876aec3ed504f9b0
tree347518c4f2bfe103deed2365d5f7fa45eb2783f0
parent0671cc1048744c9a6f1c896baa85966a5abc42a0
s390/ap: Support AP card SCLP config and deconfig operations

Support SCLP AP adapter config and deconfig operations:
The sysfs deconfig attribute /sys/devices/ap/cardxx/deconfig
for each AP card is now read-write. Writing in a '1' triggers
a synchronous SCLP request to configure the adapter, writing
in a '0' sends a synchronous SCLP deconfigure request.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/crypto/ap_card.c