mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 22:44:27 +08:00
750375003d
SPARC M7 processor adds new control register fields, ASIs and a new trap to support the ADI (Application Data Integrity) feature. This patch adds definitions for these register fields, ASIs and a handler for the new precise memory corruption detected trap. Signed-off-by: Khalid Aziz <khalid.aziz@oracle.com> Cc: Khalid Aziz <khalid@gonehiking.org> Reviewed-by: Anthony Yznaga <anthony.yznaga@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
19 lines
488 B
ArmAsm
19 lines
488 B
ArmAsm
/* sun4v_mcd.S: Sun4v memory corruption detected precise exception handler
|
|
*
|
|
* Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved.
|
|
* Authors: Bob Picco <bob.picco@oracle.com>,
|
|
* Khalid Aziz <khalid.aziz@oracle.com>
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2.
|
|
*/
|
|
.text
|
|
.align 32
|
|
|
|
sun4v_mcd_detect_precise:
|
|
mov %l4, %o1
|
|
mov %l5, %o2
|
|
call sun4v_mem_corrupt_detect_precise
|
|
add %sp, PTREGS_OFF, %o0
|
|
ba,a,pt %xcc, rtrap
|
|
nop
|