]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/vdso: Get rid of permutation constants
authorHeiko Carstens <hca@linux.ibm.com>
Thu, 19 Sep 2024 12:40:04 +0000 (14:40 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 23 Sep 2024 15:57:04 +0000 (17:57 +0200)
commit8e391ae0607fc820e9ece87d1415e6a1ff274e69
treecfb4dc4c017aa7c9999b4398d197b1895786adc0
parent1ec6d097897a35dfb55c4c31fc8633cf5be46497
s390/vdso: Get rid of permutation constants

The three byte masks for VECTOR PERMUTE are not needed, since the
instruction VECTOR SHIFT LEFT DOUBLE BY BYTE can be used to implement
the required "rotate left" easily.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Jens Remus <jremus@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/vdso64/vgetrandom-chacha.S