Skip to content

[PW_SID:1089099] riscv: alternative: Also patch the CFI vDSO#1864

Closed
linux-riscv-bot wants to merge 5 commits into
workflow__riscv__fixesfrom
pw1089099
Closed

[PW_SID:1089099] riscv: alternative: Also patch the CFI vDSO#1864
linux-riscv-bot wants to merge 5 commits into
workflow__riscv__fixesfrom
pw1089099

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 1089099 applied to workflow__riscv__fixes

Name: riscv: alternative: Also patch the CFI vDSO
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1089099
Version: 1

Linux RISC-V bot and others added 5 commits May 2, 2026 08:13
Make the declarations of vdso_start and its related symbols always
visible. With that their users don't have to use ifdeffery but can
use the better IS_ENABLED() compile-time checks.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
…ternatives()

IS_ENABLED() allows better compilation coverage while still optimizing
away all the dead code. Also it will make some upcoming changes easier.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
…atives()

The dedicated vDSO with CFI should also be patched in the same way.
To prepare for that move the currently hardcoded vDSO start symbol
into a parameter.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The dedicated vDSO for CFI-enabled userspace can also contain
alternative entries.

Patch those, too.

Fixes: ccad8c1 ("arch/riscv: add dual vdso creation logic and select vdso based on hw")
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/4] riscv: vdso: Always declare vdso_start symbols"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 140.56 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/4] riscv: vdso: Always declare vdso_start symbols"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1159.35 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/4] riscv: vdso: Always declare vdso_start symbols"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1697.21 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/4] riscv: vdso: Always declare vdso_start symbols"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 25.65 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/4] riscv: vdso: Always declare vdso_start symbols"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 26.65 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/4] riscv: vdso: Always declare vdso_start symbols"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.75 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/4] riscv: vdso: Always declare vdso_start symbols"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 86.83 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/4] riscv: vdso: Always declare vdso_start symbols"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/4] riscv: vdso: Always declare vdso_start symbols"
kdoc
Desc: Detects for kdoc errors
Duration: 0.83 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/4] riscv: vdso: Always declare vdso_start symbols"
module-param
Desc: Detect module_param changes
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/4] riscv: vdso: Always declare vdso_start symbols"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/4] riscv: vdso: Always declare vdso_start symbols"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.30 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/4] riscv: alternative: Use IS_ENABLED() over ifdeffery for apply_vdso_alternatives()"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 139.00 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/4] riscv: alternative: Use IS_ENABLED() over ifdeffery for apply_vdso_alternatives()"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1131.17 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/4] riscv: alternative: Use IS_ENABLED() over ifdeffery for apply_vdso_alternatives()"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1680.28 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/4] riscv: alternative: Use IS_ENABLED() over ifdeffery for apply_vdso_alternatives()"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 25.62 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/4] riscv: alternative: Use IS_ENABLED() over ifdeffery for apply_vdso_alternatives()"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 27.01 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/4] riscv: alternative: Use IS_ENABLED() over ifdeffery for apply_vdso_alternatives()"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.71 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/4] riscv: alternative: Use IS_ENABLED() over ifdeffery for apply_vdso_alternatives()"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 86.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/4] riscv: alternative: Use IS_ENABLED() over ifdeffery for apply_vdso_alternatives()"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/4] riscv: alternative: Use IS_ENABLED() over ifdeffery for apply_vdso_alternatives()"
kdoc
Desc: Detects for kdoc errors
Duration: 0.90 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/4] riscv: alternative: Use IS_ENABLED() over ifdeffery for apply_vdso_alternatives()"
module-param
Desc: Detect module_param changes
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/4] riscv: alternative: Use IS_ENABLED() over ifdeffery for apply_vdso_alternatives()"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/4] riscv: alternative: Use IS_ENABLED() over ifdeffery for apply_vdso_alternatives()"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.31 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/4] riscv: alternative: Pass vDSO start as parameter to apply_vdso_alternatives()"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 139.42 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/4] riscv: alternative: Pass vDSO start as parameter to apply_vdso_alternatives()"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1131.92 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/4] riscv: alternative: Pass vDSO start as parameter to apply_vdso_alternatives()"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1688.16 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/4] riscv: alternative: Pass vDSO start as parameter to apply_vdso_alternatives()"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 25.89 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/4] riscv: alternative: Pass vDSO start as parameter to apply_vdso_alternatives()"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 26.95 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/4] riscv: alternative: Pass vDSO start as parameter to apply_vdso_alternatives()"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 74.75 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/4] riscv: alternative: Pass vDSO start as parameter to apply_vdso_alternatives()"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 87.16 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/4] riscv: alternative: Pass vDSO start as parameter to apply_vdso_alternatives()"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/4] riscv: alternative: Pass vDSO start as parameter to apply_vdso_alternatives()"
kdoc
Desc: Detects for kdoc errors
Duration: 0.92 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/4] riscv: alternative: Pass vDSO start as parameter to apply_vdso_alternatives()"
module-param
Desc: Detect module_param changes
Duration: 0.27 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/4] riscv: alternative: Pass vDSO start as parameter to apply_vdso_alternatives()"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/4] riscv: alternative: Pass vDSO start as parameter to apply_vdso_alternatives()"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.32 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/4] riscv: alternative: Also patch the CFI vDSO"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 139.47 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/4] riscv: alternative: Also patch the CFI vDSO"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1130.91 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/4] riscv: alternative: Also patch the CFI vDSO"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1671.07 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/4] riscv: alternative: Also patch the CFI vDSO"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 25.65 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/4] riscv: alternative: Also patch the CFI vDSO"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 27.11 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/4] riscv: alternative: Also patch the CFI vDSO"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.80 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/4] riscv: alternative: Also patch the CFI vDSO"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 87.94 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/4] riscv: alternative: Also patch the CFI vDSO"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.27 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/4] riscv: alternative: Also patch the CFI vDSO"
kdoc
Desc: Detects for kdoc errors
Duration: 0.88 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/4] riscv: alternative: Also patch the CFI vDSO"
module-param
Desc: Detect module_param changes
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/4] riscv: alternative: Also patch the CFI vDSO"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.29 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/4] riscv: alternative: Also patch the CFI vDSO"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.31 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot force-pushed the workflow__riscv__fixes branch from 2c3b264 to 2d4fcdd Compare May 10, 2026 02:08
@linux-riscv-bot linux-riscv-bot deleted the pw1089099 branch May 12, 2026 02:14
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