s390/ap: Unmask SLCF bit in card and queue ap functions sysfs
authorHarald Freudenberger <freude@linux.ibm.com>
Wed, 23 Jul 2025 13:39:12 +0000 (15:39 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Thu, 31 Jul 2025 16:59:26 +0000 (18:59 +0200)
commit123b7c7c2ba725daf3bfa5ce421d65b92cb5c075
treed1142feb735eca744cd72166561c20a9e7f7a9f1
parentbc46b7cbc58c4cb562b6a45a1fbc7b8e7b23df58
s390/ap: Unmask SLCF bit in card and queue ap functions sysfs

The SLCF bit ("stateless command filtering") introduced with
CEX8 cards was because of the function mask's default value
suppressed when user space read the ap function for an AP
card or queue. Unmask this bit so that user space applications
like lszcrypt can evaluate and list this feature.

Fixes: d4c53ae8e494 ("s390/ap: store TAPQ hwinfo in struct ap_card")
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Holger Dengler <dengler@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/include/asm/ap.h
drivers/s390/crypto/ap_bus.h