sparc64: Add support for ADI register fields, ASIs and traps
authorKhalid Aziz <[email protected]>
Wed, 21 Feb 2018 17:15:45 +0000 (10:15 -0700)
committerDavid S. Miller <[email protected]>
Sun, 18 Mar 2018 14:38:45 +0000 (07:38 -0700)
commit750375003deae240967eed6b13529a4bfc8ca11e
tree5e6accb3f665deb0efb64b7eb2f737d549927ec5
parentca827d55ebaa24de9fca36ee24e42d6fc5119ee3
sparc64: Add support for ADI register fields, ASIs and traps

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 <[email protected]>
Cc: Khalid Aziz <[email protected]>
Reviewed-by: Anthony Yznaga <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
arch/sparc/include/asm/hypervisor.h
arch/sparc/include/asm/pgtable_64.h
arch/sparc/include/asm/ttable.h
arch/sparc/include/uapi/asm/asi.h
arch/sparc/include/uapi/asm/pstate.h
arch/sparc/kernel/entry.h
arch/sparc/kernel/head_64.S
arch/sparc/kernel/sun4v_mcd.S [new file with mode: 0644]
arch/sparc/kernel/traps_64.c
arch/sparc/kernel/ttable_64.S