]> www.infradead.org Git - users/dwmw2/linux.git/commit
s390/ap: Externalize AP bus specific bitmap reading function
authorJason J. Herne <jjherne@linux.ibm.com>
Mon, 15 Apr 2024 15:25:51 +0000 (11:25 -0400)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Mon, 22 Apr 2024 10:49:17 +0000 (12:49 +0200)
commit6e6973948ce6911e35cb559bc53de4156b4a9675
treec37f6a7f0115f8212c69a4d3104ab54b7f74700c
parentba05b39d54eef78043b5c8ee90545cb06a98ae6f
s390/ap: Externalize AP bus specific bitmap reading function

Rename hex2bitmap() to ap_hex2bitmap() and export it for external
use. This function will be used by the implementation of the vfio-ap
ap_config sysfs attribute.

Signed-off-by: "Jason J. Herne" <jjherne@linux.ibm.com>
Reviewed-by: Tony Krowiak <akrowiak@linux.ibm.com>
Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Link: https://lore.kernel.org/r/20240415152555.13152-2-jjherne@linux.ibm.com
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
drivers/s390/crypto/ap_bus.c
drivers/s390/crypto/ap_bus.h