]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 20 Sep 2021 16:50:19 +0000 (18:50 +0200)
commitdcf6608ffad2dcec62717dac8bb4c059ec6aee26
treeba868f80158765b50c319264f53f5a936501d41a
parent99a99b4fa9da721f92f46a76a5a2ecf1456d853d
s390/ap: Support AP card SCLP config and deconfig operations

BugLink: https://bugs.launchpad.net/bugs/1939618
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>
(cherry picked from commit 5caa2af97118308c79f29cc9876aec3ed504f9b0)
Signed-off-by: Frank Heimes <frank.heimes@canonical.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/s390/crypto/ap_card.c