diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2019-10-16 11:42:57 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2019-10-16 09:52:28 -0700 |
commit | 29a0f5ad87e6f45c984ffffa57b7142d178ff422 (patch) | |
tree | 9072385d3bee6f7a33d990f3db74c8502849fd11 /arch | |
parent | 19c95f261c6558d4c2cbbfacd2d8bb6501384601 (diff) | |
download | linux-29a0f5ad87e6f45c984ffffa57b7142d178ff422.tar.bz2 |
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')
-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 ***/ |