summaryrefslogtreecommitdiff
path: root/Extra
AgeCommit message (Expand)AuthorFilesLines
2013-07-30build: reduce Extra contents to bare minimumDaniel Borkmann1-16/+0
2013-07-30build: Don't uninstall configuration filesTobias Klauser1-12/+0
2013-07-29build: Use NACL_{INC,LIB}_DIR set by configureTobias Klauser1-1/+1
2013-07-24build: split build system into smaller manageable piecesDaniel Borkmann1-0/+32
it/commit/.mailmap?id=c7d4d259b7477866376435155eb0ccdaee880677'>c7d4d259b7477866376435155eb0ccdaee880677 (patch) tree2edec563434d8e1ee9e085b9ae3807a35581b1c2 /.mailmap parentf9dc447ec8f1f0a9f2ba4e4d5a61758f8df4acd8 (diff)
s390/crypto: cleanup and move the header with the cpacf definitions
The CPACF instructions are going be used in KVM as well, move the defines and the inline functions from arch/s390/crypt/crypt_s390.h to arch/s390/include/asm. Rename the header to cpacf.h and replace the crypt_s390_xxx names with cpacf_xxx. While we are at it, cleanup the header as well. The encoding for the CPACF operations is odd, there is an enum for each of the CPACF instructions with the hardware function code in the lower 8 bits of each entry and a software defined number for the CPACF instruction in the upper 8 bits. Remove the superfluous software number and replace the enums with simple defines. The crypt_s390_func_available() function tests for the presence of a specific CPACF operations. The new name of the function is cpacf_query and it works slightly different than before. It gets passed an opcode of an CPACF instruction and a function code for this instruction. The facility_mask parameter is gone, the opcode is used to find the correct MSA facility bit to check if the CPACF instruction itself is available. If it is the query function of the given instruction is used to test if the requested CPACF operation is present. Acked-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to '.mailmap')