diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2019-10-16 05:42:57 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2019-10-16 18:52:28 +0200 |
commit | 29a0f5ad87e6f45c984ffffa57b7142d178ff422 (patch) | |
tree | 9072385d3bee6f7a33d990f3db74c8502849fd11 /arch/arm64 | |
parent | arm64: entry.S: Do not preempt from IRQ before all cpufeatures are enabled (diff) | |
download | linux-29a0f5ad87e6f45c984ffffa57b7142d178ff422.tar.xz linux-29a0f5ad87e6f45c984ffffa57b7142d178ff422.zip |
arm64: sysreg: fix incorrect definition of SYS_PAR_EL1_F
The 'F' field of the PAR_EL1 register lives in bit 0, not bit 1.
Fix the broken definition in 'sysreg.h'.
Fixes: e8620cff9994 ("arm64: sysreg: Add some field definitions for PAR_EL1")
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/include/asm/sysreg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h index 972d196c7714..6e919fafb43d 100644 --- a/arch/arm64/include/asm/sysreg.h +++ b/arch/arm64/include/asm/sysreg.h @@ -212,7 +212,7 @@ #define SYS_FAR_EL1 sys_reg(3, 0, 6, 0, 0) #define SYS_PAR_EL1 sys_reg(3, 0, 7, 4, 0) -#define SYS_PAR_EL1_F BIT(1) +#define SYS_PAR_EL1_F BIT(0) #define SYS_PAR_EL1_FST GENMASK(6, 1) /*** Statistical Profiling Extension ***/ |