arch/sparc/kernel/sun4v_mcd.S
raw| 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 <[email protected]>, |
| 6 | * Khalid Aziz <[email protected]> |
| 7 | */ |
| 8 | .text |
| 9 | .align 32 |
| 10 | |
| 11 | sun4v_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 |