]> git.baikalelectronics.ru Git - kernel.git/commit
zcrypt: handle AP Info notification from CHSC SEI command
authorTony Krowiak <akrowiak@linux.ibm.com>
Mon, 18 Feb 2019 17:01:35 +0000 (12:01 -0500)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 11 Mar 2019 17:16:42 +0000 (10:16 -0700)
commit3d37d8862ad24f2230117f33a8b5b300e2f7d1c5
tree5f86129caff371c694973b1f9349f010d2b31bf5
parentea51b42949ba31e242cad9d641d6e3c2f1fca603
zcrypt: handle AP Info notification from CHSC SEI command

The current AP bus implementation periodically polls the AP configuration
to detect changes. When the AP configuration is dynamically changed via the
SE or an SCLP instruction, the changes will not be reflected to sysfs until
the next time the AP configuration is polled. The CHSC architecture
provides a Store Event Information (SEI) command to make notification of an
AP configuration change. This patch introduces a handler to process
notification from the CHSC SEI command by immediately kicking off an AP bus
scan-after-event.

Signed-off-by: Tony Krowiak <akrowiak@linux.ibm.com>
Reviewed-by: Halil Pasic <pasic@linux.ibm.com>
Reviewed-by: Sebastian Ott <sebott@linux.ibm.com>
Reviewed-by: Harald Freudenberger <FREUDE@de.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Sebastian Ott <sebott@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/ap.h
drivers/s390/cio/chsc.c
drivers/s390/crypto/ap_bus.c