Skip to content

Commit 29a0f5a

Browse files
Yang Yingliangwilldeacon
authored andcommitted
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: e8620cf ("arm64: sysreg: Add some field definitions for PAR_EL1") Reviewed-by: Mark Rutland <[email protected]> Signed-off-by: Yang Yingliang <[email protected]> Signed-off-by: Will Deacon <[email protected]>
1 parent 19c95f2 commit 29a0f5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/include/asm/sysreg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
#define SYS_FAR_EL1 sys_reg(3, 0, 6, 0, 0)
213213
#define SYS_PAR_EL1 sys_reg(3, 0, 7, 4, 0)
214214

215-
#define SYS_PAR_EL1_F BIT(1)
215+
#define SYS_PAR_EL1_F BIT(0)
216216
#define SYS_PAR_EL1_FST GENMASK(6, 1)
217217

218218
/*** Statistical Profiling Extension ***/

0 commit comments

Comments
 (0)