diff options
author | Will Deacon <will@kernel.org> | 2020-01-15 14:06:37 +0000 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-01-15 16:49:48 +0000 |
commit | a569f5f37203451d5378cb7de45f643bcb93d5e9 (patch) | |
tree | 61ded13bb8dc746f02b194d25eaac348b635071e /arch/arm64/Kconfig | |
parent | arm64: Simplify early check for broken TX1 when KASLR is enabled (diff) | |
download | linux-dev-a569f5f37203451d5378cb7de45f643bcb93d5e9.tar.xz linux-dev-a569f5f37203451d5378cb7de45f643bcb93d5e9.zip |
arm64: Use register field helper in kaslr_requires_kpti()
Rather than open-code the extraction of the E0PD field from the MMFR2
register, we can use the cpuid_feature_extract_unsigned_field() helper
instead.
Acked-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/Kconfig')
0 files changed, 0 insertions, 0 deletions