summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/elf_64.h
diff options
context:
space:
mode:
authorKhalid Aziz2015-12-17 18:33:50 +0100
committerDavid S. Miller2015-12-24 18:05:06 +0100
commit82924e542f20e645bc7de86e2889fe3fb0858566 (patch)
tree761f8c93f58d6c9180ad714d684ad14c6144bf22 /arch/sparc/include/asm/elf_64.h
parenttty: serial: constify sunhv_ops structs (diff)
downloadkernel-qcow2-linux-82924e542f20e645bc7de86e2889fe3fb0858566.tar.gz
kernel-qcow2-linux-82924e542f20e645bc7de86e2889fe3fb0858566.tar.xz
kernel-qcow2-linux-82924e542f20e645bc7de86e2889fe3fb0858566.zip
sparc64: Add ADI capability to cpu capabilities
Add ADI (Application Data Integrity) capability to cpu capabilities list. ADI capability allows virtual addresses to be encoded with a tag in bits 63-60. This tag serves as an access control key for the regions of virtual address with ADI enabled and a key set on them. Hypervisor encodes this capability as "adp" in "hwcap-list" property in machine description. Signed-off-by: Khalid Aziz <khalid.aziz@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/elf_64.h')
-rw-r--r--arch/sparc/include/asm/elf_64.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/elf_64.h b/arch/sparc/include/asm/elf_64.h
index 370ca1e71ffb..93310837c2df 100644
--- a/arch/sparc/include/asm/elf_64.h
+++ b/arch/sparc/include/asm/elf_64.h
@@ -95,6 +95,7 @@
* really available. So we simply advertise only "crypto" support.
*/
#define HWCAP_SPARC_CRYPTO 0x04000000 /* CRYPTO insns available */
+#define HWCAP_SPARC_ADI 0x08000000 /* ADI available */
#define CORE_DUMP_USE_REGSET