sparc64: Add ADI capability to cpu capabilities
authorKhalid Aziz <khalid.aziz@oracle.com>
Thu, 17 Dec 2015 17:33:50 +0000 (10:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Dec 2015 17:05:06 +0000 (12:05 -0500)
commit82924e542f20e645bc7de86e2889fe3fb0858566
tree761f8c93f58d6c9180ad714d684ad14c6144bf22
parent01fd3c2744540ae7554bf098a9615a8310c6fc13
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>
arch/sparc/include/asm/elf_64.h
arch/sparc/kernel/setup_64.c