arm64: cpufeature: Track user visible fields
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Mon, 9 Jan 2017 17:28:30 +0000 (17:28 +0000)
committerWill Deacon <will.deacon@arm.com>
Tue, 10 Jan 2017 17:13:36 +0000 (17:13 +0000)
commitfe4fbdbcddeaab58a4f9b5297f28b8a4babf6f1f
treec5d62581a2b6adc3d72c078199610a3192979f3d
parent8c2dcbd2c4443bad0b4242fb62baa47b260b8f79
arm64: cpufeature: Track user visible fields

Track the user visible fields of a CPU feature register. This will be
used for exposing the value to the userspace. All the user visible
fields of a feature register will be passed on as it is, while the
others would be filled with their respective safe value.

Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/cpufeature.h
arch/arm64/kernel/cpufeature.c
arch/arm64/kernel/traps.c