summaryrefslogtreecommitdiff
path: root/include/asm-xtensa/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorZishun Yi <vulab@iscas.ac.cn>2026-03-23 00:00:22 +0800
committerPaul Walmsley <pjw@kernel.org>2026-04-04 18:37:45 -0600
commit3033b2b1e3949274f33a140e2a97571b5a307298 (patch)
treed445b2dffc12970d6e0d903d3c2144bd5e495c71 /include/asm-xtensa/git@git.tavy.me:linux.git
parent57f0253bc1538446ee46a4550fe85d91235fb678 (diff)
riscv: Reset pmm when PR_TAGGED_ADDR_ENABLE is not set
In set_tagged_addr_ctrl(), when PR_TAGGED_ADDR_ENABLE is not set, pmlen is correctly set to 0, but it forgets to reset pmm. This results in the CPU pmm state not corresponding to the software pmlen state. Fix this by resetting pmm along with pmlen. Fixes: 2e1743085887 ("riscv: Add support for the tagged address ABI") Signed-off-by: Zishun Yi <vulab@iscas.ac.cn> Reviewed-by: Samuel Holland <samuel.holland@sifive.com> Link: https://patch.msgid.link/20260322160022.21908-1-vulab@iscas.ac.cn Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'include/asm-xtensa/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions