aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorAlexandru Elisei <[email protected]>2021-08-24 16:45:23 +0100
committerCatalin Marinas <[email protected]>2021-08-26 11:35:09 +0100
commit50cb99fa89aa2bec2cab2f9917010bbd7769bfa3 (patch)
tree848a58f22bec7c6ca711370f8014531801ad4818 /net/lapb/lapb_timer.c
parent5845e703f9b5f949dc1db4122b7fc6d8563048a2 (diff)
arm64: Do not trap PMSNEVFR_EL1
Commit 31c00d2aeaa2 ("arm64: Disable fine grained traps on boot") zeroed the fine grained trap registers to prevent unwanted register traps from occuring. However, for the PMSNEVFR_EL1 register, the corresponding HDFG{R,W}TR_EL2.nPMSNEVFR_EL1 fields must be 1 to disable trapping. Set both fields to 1 if FEAT_SPEv1p2 is detected to disable read and write traps. Fixes: 31c00d2aeaa2 ("arm64: Disable fine grained traps on boot") Cc: <[email protected]> # 5.13.x Signed-off-by: Alexandru Elisei <[email protected]> Reviewed-by: Mark Brown <[email protected]> Acked-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions