1 /* SPDX-License-Identifier: GPL-2.0 */
3 * arch/s390/kernel/base.S
5 * Copyright IBM Corp. 2006, 2007
6 * Author(s): Heiko Carstens <heiko.carstens@de.ibm.com>
7 * Michael Holzheu <holzheu@de.ibm.com>
10 #include <linux/linkage.h>
11 #include <asm/asm-offsets.h>
12 #include <asm/nospec-insn.h>
13 #include <asm/ptrace.h>
18 ENTRY(s390_base_pgm_handler)
19 stmg %r0,%r15,__LC_SAVE_AREA_SYNC
21 0: aghi %r15,-STACK_FRAME_OVERHEAD
22 larl %r1,s390_base_pgm_handler_fn
27 lmg %r0,%r15,__LC_SAVE_AREA_SYNC
28 lpswe __LC_PGM_OLD_PSW
29 1: lpswe disabled_wait_psw-0b(%r13)
30 ENDPROC(s390_base_pgm_handler)
34 .quad 0x0002000180000000,0x0000000000000000 + s390_base_pgm_handler
38 .globl s390_base_pgm_handler_fn
39 s390_base_pgm_handler_fn: