Skip to content

[PW_SID:1118753] [v4] riscv: mm: Avoid spurious fault after hotplugging vmemmap#2172

Closed
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1118753
Closed

[PW_SID:1118753] [v4] riscv: mm: Avoid spurious fault after hotplugging vmemmap#2172
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1118753

Conversation

@linux-riscv-bot

Copy link
Copy Markdown

PR for series 1118753 applied to workflow__riscv__fixes

Name: [v4] riscv: mm: Avoid spurious fault after hotplugging vmemmap
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1118753
Version: 4

Linux RISC-V bot and others added 2 commits June 25, 2026 20:36
section_activate() does not flush TLB after populating new vmemmap
pages. On most architectures, this is okay. However it is a problem on
RISC-V since there the TLB caching non-present entries is permitted,
which causes spurious faults on some hardwares.

This seems to be most easily reproduced with DEBUG_VM=y and
PAGE_POISONING=y, which causes these newly mapped struct pages to be
poisoned i.e. written to immediately after mapping.

Add a hook vmemmap_populate_finalize() in __populate_section_memmap()
after population, to allow architectures to handle such situations as
needed. Then implement it on RISC-V to arrange for the existing
exception handler code to deal with these faults if they happen.

Signed-off-by: Vivian Wang <wangruikang@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: "[v4] riscv: mm: Avoid spurious fault after hotplugging vmemmap"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 119.79 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v4] riscv: mm: Avoid spurious fault after hotplugging vmemmap"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 2440.91 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v4] riscv: mm: Avoid spurious fault after hotplugging vmemmap"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 3085.62 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v4] riscv: mm: Avoid spurious fault after hotplugging vmemmap"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 22.31 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v4] riscv: mm: Avoid spurious fault after hotplugging vmemmap"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 23.73 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v4] riscv: mm: Avoid spurious fault after hotplugging vmemmap"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.14 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v4] riscv: mm: Avoid spurious fault after hotplugging vmemmap"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 79.87 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v4] riscv: mm: Avoid spurious fault after hotplugging vmemmap"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.51 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v4] riscv: mm: Avoid spurious fault after hotplugging vmemmap"
kdoc
Desc: Detects for kdoc errors
Duration: 0.86 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v4] riscv: mm: Avoid spurious fault after hotplugging vmemmap"
module-param
Desc: Detect module_param changes
Duration: 0.53 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v4] riscv: mm: Avoid spurious fault after hotplugging vmemmap"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.52 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v4] riscv: mm: Avoid spurious fault after hotplugging vmemmap"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.46 seconds
Result: PASS

@linux-riscv-bot
linux-riscv-bot force-pushed the workflow__riscv__fixes branch 2 times, most recently from 89be0ce to dc5ff20 Compare July 7, 2026 03:25
@linux-riscv-bot
linux-riscv-bot deleted the pw1118753 branch July 8, 2026 01: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