arm64: Remove the !CONFIG_ARM64_HW_AFDBM alternative code paths
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 6 Jul 2017 10:53:08 +0000 (11:53 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 21 Aug 2017 10:13:11 +0000 (11:13 +0100)
commitaf29678fe785ad79e7386e97b57093482f0dd7c4
tree73fcfd132e409c592abe2c5e57104d060c9adb27
parent64c26841b34957ef8f33f7a9e8663aeee59c3ded
arm64: Remove the !CONFIG_ARM64_HW_AFDBM alternative code paths

Since the pte handling for hardware AF/DBM works even when the hardware
feature is not present, make the pte accessors implementation permanent
and remove the corresponding #ifdefs. The Kconfig option is kept as it
can still be used to disable the feature at the hardware level.

Reviewed-by: Will Deacon <will.deacon@arm.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/pgtable.h
arch/arm64/kvm/hyp/s2-setup.c
arch/arm64/mm/fault.c