Home
last modified time | relevance | path

Searched hist:"6733775 a92eacd612ac88afa0fd922e4ffeb2bc7" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/s390/crypto/
H A Dzcrypt_error.hdiff 6733775a92eacd612ac88afa0fd922e4ffeb2bc7 Wed Nov 20 11:44:31 CET 2019 Harald Freudenberger <freude@linux.ibm.com> s390/zcrypt: handle new reply code FILTERED_BY_HYPERVISOR

This patch introduces support for a new architectured reply
code 0x8B indicating that a hypervisor layer (if any) has
rejected an ap message.

Linux may run as a guest on top of a hypervisor like zVM
or KVM. So the crypto hardware seen by the ap bus may be
restricted by the hypervisor for example only a subset like
only clear key crypto requests may be supported. Other
requests will be filtered out - rejected by the hypervisor.
The new reply code 0x8B will appear in such cases and needs
to get recognized by the ap bus and zcrypt device driver zoo.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>