s390/vdso: Add CFI annotations to __arch_chacha20_blocks_nostack()

This allows proper unwinding, for instance when using a debugger such
as GDB.

Signed-off-by: Jens Remus <jremus@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Acked-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
Jens Remus
2024-09-19 14:40:06 +02:00
committed by Vasily Gorbik
parent ff35a3f0ca
commit 5cccfc8be6
@@ -3,6 +3,7 @@
#include <linux/stringify.h>
#include <linux/linkage.h>
#include <asm/alternative.h>
#include <asm/dwarf.h>
#include <asm/fpu-insn.h>
#define STATE0 %v0
@@ -38,6 +39,7 @@
* size_t nblocks)
*/
SYM_FUNC_START(__arch_chacha20_blocks_nostack)
CFI_STARTPROC
larl %r1,.Lconstants
/* COPY0 = "expand 32-byte k" */
@@ -177,4 +179,5 @@ SYM_FUNC_START(__arch_chacha20_blocks_nostack)
VPERM TMP3,STATE3,STATE3,BEPERM
VSTM TMP0,TMP3,0,%r2
j .Lstoredone
CFI_ENDPROC
SYM_FUNC_END(__arch_chacha20_blocks_nostack)