Skip to content

[PW_SID:1070515] riscv: Reset pmm when PR_TAGGED_ADDR_ENABLE is not set#1656

Closed
linux-riscv-bot wants to merge 1 commit into
workflow__riscv__fixesfrom
pw1070515
Closed

[PW_SID:1070515] riscv: Reset pmm when PR_TAGGED_ADDR_ENABLE is not set#1656
linux-riscv-bot wants to merge 1 commit into
workflow__riscv__fixesfrom
pw1070515

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 1070515 applied to workflow__riscv__fixes

Name: riscv: Reset pmm when PR_TAGGED_ADDR_ENABLE is not set
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1070515
Version: 1

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: 2e17430 ("riscv: Add support for the tagged address ABI")
Signed-off-by: Zishun Yi <vulab@iscas.ac.cn>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Reset pmm when PR_TAGGED_ADDR_ENABLE is not set"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 138.32 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Reset pmm when PR_TAGGED_ADDR_ENABLE is not set"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1116.99 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Reset pmm when PR_TAGGED_ADDR_ENABLE is not set"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1630.08 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Reset pmm when PR_TAGGED_ADDR_ENABLE is not set"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 26.87 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Reset pmm when PR_TAGGED_ADDR_ENABLE is not set"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 28.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Reset pmm when PR_TAGGED_ADDR_ENABLE is not set"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.74 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Reset pmm when PR_TAGGED_ADDR_ENABLE is not set"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 83.50 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Reset pmm when PR_TAGGED_ADDR_ENABLE is not set"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Reset pmm when PR_TAGGED_ADDR_ENABLE is not set"
kdoc
Desc: Detects for kdoc errors
Duration: 0.88 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Reset pmm when PR_TAGGED_ADDR_ENABLE is not set"
module-param
Desc: Detect module_param changes
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Reset pmm when PR_TAGGED_ADDR_ENABLE is not set"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Reset pmm when PR_TAGGED_ADDR_ENABLE is not set"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.29 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot deleted the pw1070515 branch March 25, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants