Skip to content

[PW_SID:1079116] riscv: Assorted bug fixes#1744

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

[PW_SID:1079116] riscv: Assorted bug fixes#1744
linux-riscv-bot wants to merge 5 commits into
workflow__riscv__fixesfrom
pw1079116

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 1079116 applied to workflow__riscv__fixes

Name: riscv: Assorted bug fixes
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1079116
Version: 1

mikey added 5 commits April 9, 2026 09:15
The condition checking whether a specific errata needs patching uses
logical AND (&&) instead of bitwise AND (&). Since logical AND only
checks that both operands are non-zero, this causes all errata patches
to be applied whenever any single errata is detected, rather than only
applying the matching one.

The SiFive errata implementation correctly uses bitwise AND for the same
check.

Fixes: 0b0ca95 ("riscv: errata: Fix the PAUSE Opcode for MIPS P8700")
Signed-off-by: Michael Neuling <mikey@neuling.org>
Assisted-by: Cursor:claude-4.6-opus-high-thinking
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
compat_riscv_gpr_set() calls cregs_to_regs() unconditionally, even when
user_regset_copyin() fails. Since cregs is an uninitialized stack
variable, a copyin failure causes uninitialized stack data to be written
into the target task's pt_regs, corrupting its register state and
potentially leaking kernel stack contents.

Only call cregs_to_regs() when user_regset_copyin() succeeds.

Fixes: 4608c15 ("riscv: compat: ptrace: Add compat_arch_ptrace implement")
Signed-off-by: Michael Neuling <mikey@neuling.org>
Assisted-by: Cursor:claude-4.6-opus-high-thinking
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
find_vm_area() can return NULL if no vm_struct covers the given address.
The code immediately dereferences area->addr without a NULL check.
While is_vmalloc_or_module_addr() confirms the address falls within the
vmalloc/module address range, it does not guarantee the address belongs
to an active allocation, so find_vm_area() may still return NULL.

Add the missing NULL check.

Fixes: 311cd2f ("riscv: Fix set_memory_XX() and set_direct_map_XX() by splitting huge linear mappings")
Signed-off-by: Michael Neuling <mikey@neuling.org>
Assisted-by: Cursor:claude-4.6-opus-high-thinking
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
huge_pte_offset() can return NULL when any level of the page table walk
encounters a non-present entry. Both huge_ptep_set_access_flags() and
huge_ptep_set_wrprotect() re-derive ptep via huge_pte_offset() in the
napot path but use the result without a NULL check, leading to NULL
pointer dereferences in get_clear_contig_flush() and set_pte_at().

Add NULL checks after huge_pte_offset() in both functions.

Fixes: 82a1a1f ("riscv: mm: support Svnapot in hugetlb page")
Signed-off-by: Michael Neuling <mikey@neuling.org>
Assisted-by: Cursor:claude-4.6-opus-high-thinking
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
remove_pte_mapping() reads the PTE via ptep_get() (a READ_ONCE) into a
local variable, but then checks pte_present(*ptep) by dereferencing the
pointer directly, reading the PTE a second time. If another CPU modifies
the PTE between the two reads, pte_present may check a different value
than what was captured, and the subsequent pte_page() could derive the
wrong page to free.

Use the already-captured local pte variable for the pte_present check.

Fixes: c75a74f ("riscv: mm: Add memory hotplugging support")
Signed-off-by: Michael Neuling <mikey@neuling.org>
Assisted-by: Cursor:claude-4.6-opus-high-thinking
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/5] riscv: errata: Fix bitwise vs logical AND in MIPS errata patching"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 135.14 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/5] riscv: errata: Fix bitwise vs logical AND in MIPS errata patching"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1098.30 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/5] riscv: errata: Fix bitwise vs logical AND in MIPS errata patching"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1601.00 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/5] riscv: errata: Fix bitwise vs logical AND in MIPS errata patching"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 24.71 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/5] riscv: errata: Fix bitwise vs logical AND in MIPS errata patching"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 26.01 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/5] riscv: errata: Fix bitwise vs logical AND in MIPS errata patching"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.85 seconds
Result: ERROR
Output:

WARNING: Please use correct Fixes: style 'Fixes: <12+ chars of sha1> ("<title line>")' - ie: 'Fixes: 0b0ca959d206 ("riscv: errata: Fix the PAUSE Opcode for MIPS P8700")'
#16: 
Fixes: 0b0ca959d2 ("riscv: errata: Fix the PAUSE Opcode for MIPS P8700")

WARNING: Non-standard signature: Assisted-by:
#18: 
Assisted-by: Cursor:claude-4.6-opus-high-thinking

ERROR: Unrecognized email address: 'Cursor:claude-4.6-opus-high-thinking'
#18: 
Assisted-by: Cursor:claude-4.6-opus-high-thinking

total: 1 errors, 2 warnings, 0 checks, 8 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

Commit 7dafcd696c08 ("riscv: errata: Fix bitwise vs logical AND in MIPS errata patching") has style problems, please review.

NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.
ERROR: Unrecognized email address: 'Cursor:claude-4.6-opus-high-thinking'
WARNING: Non-standard signature: Assisted-by:
WARNING: Please use correct Fixes: style 'Fixes: <12+ chars of sha1> ("<title line>")' - ie: 'Fixes: 0b0ca959d206 ("riscv: errata: Fix the PAUSE Opcode for MIPS P8700")'


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/5] riscv: errata: Fix bitwise vs logical AND in MIPS errata patching"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 83.30 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/5] riscv: errata: Fix bitwise vs logical AND in MIPS errata patching"
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: "[1/5] riscv: errata: Fix bitwise vs logical AND in MIPS errata patching"
kdoc
Desc: Detects for kdoc errors
Duration: 0.84 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/5] riscv: errata: Fix bitwise vs logical AND in MIPS errata patching"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/5] riscv: errata: Fix bitwise vs logical AND in MIPS errata patching"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 1.26 seconds
Result: ERROR
Output:

Commit: 7dafcd696c082 ("riscv: errata: Fix bitwise vs logical AND in MIPS errata patching")
	Fixes tag: Fixes: 0b0ca959d2 ("riscv: errata: Fix the PAUSE Opcode for MIPS P8700")
	Has these problem(s):
		- SHA1 should be at least 12 digits long
		  Can be fixed by setting core.abbrev to 12 (or more) or (for git v2.11
		  or later) just making sure it is not set (or set to "auto").
Problems with Fixes tag: 1


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/5] riscv: errata: Fix bitwise vs logical AND in MIPS errata patching"
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 2: "[2/5] riscv: ptrace: Fix register corruption in compat_riscv_gpr_set on error"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 134.93 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/5] riscv: ptrace: Fix register corruption in compat_riscv_gpr_set on error"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1100.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/5] riscv: ptrace: Fix register corruption in compat_riscv_gpr_set on error"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1610.61 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/5] riscv: ptrace: Fix register corruption in compat_riscv_gpr_set on error"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 24.62 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/5] riscv: ptrace: Fix register corruption in compat_riscv_gpr_set on error"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 26.16 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/5] riscv: ptrace: Fix register corruption in compat_riscv_gpr_set on error"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.66 seconds
Result: ERROR
Output:

WARNING: Please use correct Fixes: style 'Fixes: <12+ chars of sha1> ("<title line>")' - ie: 'Fixes: 4608c159594f ("riscv: compat: ptrace: Add compat_arch_ptrace implement")'
#15: 
Fixes: 4608c15959 ("riscv: compat: ptrace: Add compat_arch_ptrace implement")

WARNING: Non-standard signature: Assisted-by:
#17: 
Assisted-by: Cursor:claude-4.6-opus-high-thinking

ERROR: Unrecognized email address: 'Cursor:claude-4.6-opus-high-thinking'
#17: 
Assisted-by: Cursor:claude-4.6-opus-high-thinking

total: 1 errors, 2 warnings, 0 checks, 10 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

Commit f675f5546272 ("riscv: ptrace: Fix register corruption in compat_riscv_gpr_set on error") has style problems, please review.

NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.
ERROR: Unrecognized email address: 'Cursor:claude-4.6-opus-high-thinking'
WARNING: Non-standard signature: Assisted-by:
WARNING: Please use correct Fixes: style 'Fixes: <12+ chars of sha1> ("<title line>")' - ie: 'Fixes: 4608c159594f ("riscv: compat: ptrace: Add compat_arch_ptrace implement")'


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/5] riscv: ptrace: Fix register corruption in compat_riscv_gpr_set on error"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 82.64 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/5] riscv: ptrace: Fix register corruption in compat_riscv_gpr_set on error"
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/5] riscv: ptrace: Fix register corruption in compat_riscv_gpr_set on error"
kdoc
Desc: Detects for kdoc errors
Duration: 0.89 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/5] riscv: ptrace: Fix register corruption in compat_riscv_gpr_set on error"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/5] riscv: ptrace: Fix register corruption in compat_riscv_gpr_set on error"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 1.27 seconds
Result: ERROR
Output:

Commit: f675f55462721 ("riscv: ptrace: Fix register corruption in compat_riscv_gpr_set on error")
	Fixes tag: Fixes: 4608c15959 ("riscv: compat: ptrace: Add compat_arch_ptrace implement")
	Has these problem(s):
		- SHA1 should be at least 12 digits long
		  Can be fixed by setting core.abbrev to 12 (or more) or (for git v2.11
		  or later) just making sure it is not set (or set to "auto").
Problems with Fixes tag: 1


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/5] riscv: ptrace: Fix register corruption in compat_riscv_gpr_set on error"
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 3: "[3/5] riscv: mm: Fix NULL pointer dereference in __set_memory"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 134.58 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/5] riscv: mm: Fix NULL pointer dereference in __set_memory"
kdoc
Desc: Detects for kdoc errors
Duration: 0.86 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/5] riscv: mm: Fix NULL pointer dereference in __set_memory"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/5] riscv: mm: Fix NULL pointer dereference in __set_memory"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 1.25 seconds
Result: ERROR
Output:

Commit: f27e58caa7b30 ("riscv: mm: Fix NULL pointer dereference in __set_memory")
	Fixes tag: Fixes: 311cd2f6e2 ("riscv: Fix set_memory_XX() and set_direct_map_XX() by splitting huge linear mappings")
	Has these problem(s):
		- SHA1 should be at least 12 digits long
		  Can be fixed by setting core.abbrev to 12 (or more) or (for git v2.11
		  or later) just making sure it is not set (or set to "auto").
Problems with Fixes tag: 1


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/5] riscv: mm: Fix NULL pointer dereference in __set_memory"
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 4: "[4/5] riscv: mm: Fix NULL dereferences in napot hugetlb functions"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 134.90 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/5] riscv: mm: Fix NULL dereferences in napot hugetlb functions"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1105.44 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/5] riscv: mm: Fix NULL dereferences in napot hugetlb functions"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1615.29 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/5] riscv: mm: Fix NULL dereferences in napot hugetlb functions"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 24.54 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/5] riscv: mm: Fix NULL dereferences in napot hugetlb functions"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 26.02 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/5] riscv: mm: Fix NULL dereferences in napot hugetlb functions"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.83 seconds
Result: ERROR
Output:

WARNING: Please use correct Fixes: style 'Fixes: <12+ chars of sha1> ("<title line>")' - ie: 'Fixes: 82a1a1f3bfb6 ("riscv: mm: support Svnapot in hugetlb page")'
#14: 
Fixes: 82a1a1f3bf ("riscv: mm: support Svnapot in hugetlb page")

WARNING: Non-standard signature: Assisted-by:
#16: 
Assisted-by: Cursor:claude-4.6-opus-high-thinking

ERROR: Unrecognized email address: 'Cursor:claude-4.6-opus-high-thinking'
#16: 
Assisted-by: Cursor:claude-4.6-opus-high-thinking

total: 1 errors, 2 warnings, 0 checks, 16 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

Commit 4b5ced257037 ("riscv: mm: Fix NULL dereferences in napot hugetlb functions") has style problems, please review.

NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.
ERROR: Unrecognized email address: 'Cursor:claude-4.6-opus-high-thinking'
WARNING: Non-standard signature: Assisted-by:
WARNING: Please use correct Fixes: style 'Fixes: <12+ chars of sha1> ("<title line>")' - ie: 'Fixes: 82a1a1f3bfb6 ("riscv: mm: support Svnapot in hugetlb page")'


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/5] riscv: mm: Fix NULL dereferences in napot hugetlb functions"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 82.80 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/5] riscv: mm: Fix NULL dereferences in napot hugetlb functions"
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 4: "[4/5] riscv: mm: Fix NULL dereferences in napot hugetlb functions"
kdoc
Desc: Detects for kdoc errors
Duration: 0.87 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/5] riscv: mm: Fix NULL dereferences in napot hugetlb functions"
module-param
Desc: Detect module_param changes
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/5] riscv: mm: Fix NULL dereferences in napot hugetlb functions"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 1.27 seconds
Result: ERROR
Output:

Commit: 4b5ced257037e ("riscv: mm: Fix NULL dereferences in napot hugetlb functions")
	Fixes tag: Fixes: 82a1a1f3bf ("riscv: mm: support Svnapot in hugetlb page")
	Has these problem(s):
		- SHA1 should be at least 12 digits long
		  Can be fixed by setting core.abbrev to 12 (or more) or (for git v2.11
		  or later) just making sure it is not set (or set to "auto").
Problems with Fixes tag: 1


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/5] riscv: mm: Fix NULL dereferences in napot hugetlb functions"
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 5: "[5/5] riscv: mm: Fix TOCTOU race in remove_pte_mapping"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 135.09 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[5/5] riscv: mm: Fix TOCTOU race in remove_pte_mapping"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1103.61 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[5/5] riscv: mm: Fix TOCTOU race in remove_pte_mapping"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1605.83 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[5/5] riscv: mm: Fix TOCTOU race in remove_pte_mapping"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 24.85 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[5/5] riscv: mm: Fix TOCTOU race in remove_pte_mapping"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 25.83 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[5/5] riscv: mm: Fix TOCTOU race in remove_pte_mapping"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 2.25 seconds
Result: ERROR
Output:

WARNING: Please use correct Fixes: style 'Fixes: <12+ chars of sha1> ("<title line>")' - ie: 'Fixes: c75a74f4ba19 ("riscv: mm: Add memory hotplugging support")'
#15: 
Fixes: c75a74f4ba ("riscv: mm: Add memory hotplugging support")

WARNING: Non-standard signature: Assisted-by:
#17: 
Assisted-by: Cursor:claude-4.6-opus-high-thinking

ERROR: Unrecognized email address: 'Cursor:claude-4.6-opus-high-thinking'
#17: 
Assisted-by: Cursor:claude-4.6-opus-high-thinking

total: 1 errors, 2 warnings, 0 checks, 8 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

Commit 6efb04b58714 ("riscv: mm: Fix TOCTOU race in remove_pte_mapping") has style problems, please review.

NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.
ERROR: Unrecognized email address: 'Cursor:claude-4.6-opus-high-thinking'
WARNING: Non-standard signature: Assisted-by:
WARNING: Please use correct Fixes: style 'Fixes: <12+ chars of sha1> ("<title line>")' - ie: 'Fixes: c75a74f4ba19 ("riscv: mm: Add memory hotplugging support")'


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[5/5] riscv: mm: Fix TOCTOU race in remove_pte_mapping"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 82.96 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[5/5] riscv: mm: Fix TOCTOU race in remove_pte_mapping"
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 5: "[5/5] riscv: mm: Fix TOCTOU race in remove_pte_mapping"
kdoc
Desc: Detects for kdoc errors
Duration: 1.16 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[5/5] riscv: mm: Fix TOCTOU race in remove_pte_mapping"
module-param
Desc: Detect module_param changes
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[5/5] riscv: mm: Fix TOCTOU race in remove_pte_mapping"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 1.27 seconds
Result: ERROR
Output:

Commit: 6efb04b58714f ("riscv: mm: Fix TOCTOU race in remove_pte_mapping")
	Fixes tag: Fixes: c75a74f4ba ("riscv: mm: Add memory hotplugging support")
	Has these problem(s):
		- SHA1 should be at least 12 digits long
		  Can be fixed by setting core.abbrev to 12 (or more) or (for git v2.11
		  or later) just making sure it is not set (or set to "auto").
Problems with Fixes tag: 1


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[5/5] riscv: mm: Fix TOCTOU race in remove_pte_mapping"
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 pw1079116 branch April 17, 2026 01:52
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