xref: /openbmc/linux/arch/sparc/kernel/sun4v_mcd.S (revision 4e95bc26)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/* sun4v_mcd.S: Sun4v memory corruption detected precise exception handler
3 *
4 * Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved.
5 * Authors: Bob Picco <bob.picco@oracle.com>,
6 *          Khalid Aziz <khalid.aziz@oracle.com>
7 */
8	.text
9	.align 32
10
11sun4v_mcd_detect_precise:
12	mov	%l4, %o1
13	mov 	%l5, %o2
14	call	sun4v_mem_corrupt_detect_precise
15	 add	%sp, PTREGS_OFF, %o0
16	ba,a,pt	%xcc, rtrap
17	 nop
18