OSDN Git Service

arm64: Expose Arm v8.4 features
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Mon, 12 Mar 2018 10:04:14 +0000 (10:04 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 19 Mar 2018 18:14:27 +0000 (18:14 +0000)
commit7206dc93a58fb76421c4411eefa3c003337bcb2d
tree9bf4f279e538a41472bf6f5e8e3088645c86f8b0
parent847ecd3fa311cde0f10a1b66c572abb136742b1d
arm64: Expose Arm v8.4 features

Expose the new features introduced by Arm v8.4 extensions to
Arm v8-A profile.

These include :

 1) Data indpendent timing of instructions. (DIT, exposed as HWCAP_DIT)
 2) Unaligned atomic instructions and Single-copy atomicity of loads
    and stores. (AT, expose as HWCAP_USCAT)
 3) LDAPR and STLR instructions with immediate offsets (extension to
    LRCPC, exposed as HWCAP_ILRCPC)
 4) Flag manipulation instructions (TS, exposed as HWCAP_FLAGM).

Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Dave Martin <dave.martin@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Documentation/arm64/cpu-feature-registers.txt
Documentation/arm64/elf_hwcaps.txt
arch/arm64/include/asm/sysreg.h
arch/arm64/include/uapi/asm/hwcap.h
arch/arm64/kernel/cpufeature.c
arch/arm64/kernel/cpuinfo.c