Skip to content

[PW_SID:1148763] Revert "riscv: Reset pmm when PR_TAGGED_ADDR_ENABLE is not set" - #2502

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

[PW_SID:1148763] Revert "riscv: Reset pmm when PR_TAGGED_ADDR_ENABLE is not set"#2502
linux-riscv-bot wants to merge 1 commit into
workflow__riscv__fixesfrom
pw1148763

Conversation

@linux-riscv-bot

Copy link
Copy Markdown

PR for series 1148763 applied to workflow__riscv__fixes

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

This reverts commit 3033b2b.

The reverted patch is userspace-visible behavior change, not a bug fix.
The two variables here (pmm and pmlen) control two independent features:
pmm is the _hardware_ pointer masking mode that applies while executing
in userspace. pmlen is the shift amount that the _kernel_ uses when
untagging addresses; PMLEN_0 means no untagging occurs, so the kernel
does not accept tagged addresses in syscall arguments.

It is valid (as documented and tested by the self test) to enable
pointer masking without enabling the tagged address ABI. This separation
is necessary to allow userspace to create an execution environment
similar to what the kernel supports on arm64 by default, where TBI is
enabled but the tagged address ABI is not. (On arm64, there is no
equivalent to PR_PMLEN_MASK because TBI is always enabled.)

Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot

Copy link
Copy Markdown
Author

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

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "Revert "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: 1507.44 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "Revert "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: 1773.25 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "Revert "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: 27.15 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "Revert "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.14 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

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

@linux-riscv-bot

Copy link
Copy Markdown
Author

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

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "Revert "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.23 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

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

@linux-riscv-bot

Copy link
Copy Markdown
Author

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

@linux-riscv-bot

Copy link
Copy Markdown
Author

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

@linux-riscv-bot

Copy link
Copy Markdown
Author

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

@linux-riscv-bot
linux-riscv-bot deleted the pw1148763 branch August 20, 2026 23:56
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