aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
authorTom Caputi <[email protected]>2018-01-31 18:17:56 -0500
committerBrian Behlendorf <[email protected]>2018-01-31 15:17:56 -0800
commita73c94934f6176f63c3ec4c216a84066e9b65465 (patch)
treeaebd8460b1b41f82984302e929385a779ea2c7e9 /include/sys
parentf90a30ad1b32a971f62a540f8944e42f99b254ce (diff)
Change movaps to movups in AES-NI code
Currently, the ICP contains accelerated assembly code to be used specifically on CPUs with AES-NI enabled. This code makes heavy use of the movaps instruction which assumes that it will be provided aes keys that are 16 byte aligned. This assumption seems to hold on Illumos, but on Linux some kernel options such as 'slub_debug=P' will violate it. This patch changes all instances of this instruction to movups which is the same except that it can handle unaligned memory. This patch also adds a few flags which were accidentally never given to the assembly compiler, resulting in objtool warnings. Reviewed by: Gvozden Neskovic <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Nathaniel R. Lewis <[email protected]> Signed-off-by: Tom Caputi <[email protected]> Closes #7065 Closes #7108
Diffstat (limited to 'include/sys')
0 files changed, 0 insertions, 0 deletions