diff options
| author | Anshuman Khandual <[email protected]> | 2025-07-04 06:38:12 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2025-07-04 15:46:04 +0000 |
| commit | 9dd1757493416310a5e71146a08bc228869f8dae (patch) | |
| tree | 47f3030ff3fb7e2335ef28b3100eab98e0fbdd50 /net/unix/af_unix.c | |
| parent | arm64: poe: Handle spurious Overlay faults (diff) | |
| download | kernel-9dd1757493416310a5e71146a08bc228869f8dae.tar.gz kernel-9dd1757493416310a5e71146a08bc228869f8dae.zip | |
arm64/mm: Drop wrong writes into TCR2_EL1
Register X0 contains PIE_E1_ASM and should not be written into REG_TCR2_EL1
which could have an adverse impact otherwise. This has remained undetected
till now probably because current value for PIE_E1_ASM (0xcc880e0ac0800000)
clears TCR2_EL1 which again gets set subsequently with 'tcr2' after testing
for FEAT_TCR2.
Drop this unwarranted 'msr' which is a stray change from an earlier commit.
This line got re-introduced when rebasing on top of the commit 926b66e2ebc8
("arm64: setup: name 'tcr2' register").
Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Ryan Roberts <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: [email protected]
Cc: [email protected]
Fixes: 7052e808c446 ("arm64/sysreg: Get rid of the TCR2_EL1x SysregFields")
Acked-by: Marc Zyngier <[email protected]>
Signed-off-by: Anshuman Khandual <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
