summaryrefslogtreecommitdiffstats
path: root/drivers/s390/crypto/zcrypt_error.h
diff options
context:
space:
mode:
authorIngo Tuchscherer <ingo.tuchscherer@linux.vnet.ibm.com>2016-11-02 10:23:24 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-12-14 16:33:39 +0100
commitc1c1368de497648cf532e7f37a407361c70aa638 (patch)
tree61cab74f5476c11cc7032beebab982b0063f233c /drivers/s390/crypto/zcrypt_error.h
parent148784246ef2d85f000713cf56e1c90b405228e8 (diff)
downloadlinux-c1c1368de497648cf532e7f37a407361c70aa638.tar.bz2
s390/zcrypt: Fix ap_max_domain_id for older machine types
According to the system architecture the current implementation requires the presence of the N bit in GR2 in the TAPQ response field to validate the max. number of domains (Nd). Older machine types don't have this N bit, hence the max. domain field was ignored. Before the N bit was introduced the maximum number of domain was a constant value of 15. So set this value in case of N bit absence. Signed-off-by: Ingo Tuchscherer <ingo.tuchscherer@linux.vnet.ibm.com> Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/crypto/zcrypt_error.h')
0 files changed, 0 insertions, 0 deletions