Skip to content

[PW_SID:1128156] riscv: mm: Some optimizations for tlb flush#2290

Closed
linux-riscv-bot wants to merge 4 commits into
workflow__riscv__fixesfrom
pw1128156
Closed

[PW_SID:1128156] riscv: mm: Some optimizations for tlb flush#2290
linux-riscv-bot wants to merge 4 commits into
workflow__riscv__fixesfrom
pw1128156

Conversation

@linux-riscv-bot

Copy link
Copy Markdown

PR for series 1128156 applied to workflow__riscv__fixes

Name: riscv: mm: Some optimizations for tlb flush
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1128156
Version: 2

Linux RISC-V bot and others added 4 commits July 15, 2026 14:25
Only flush TLB entries for the specified mm in update_mmu_cache_range().

Signed-off-by: Xu Lu <luxu.kernel@bytedance.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Use Svinval in update_mmu_cache_range() when the extension is available.

Signed-off-by: Xu Lu <luxu.kernel@bytedance.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Clear corresponding bit of current cpu in mm_cpumask after executing
local_flush_tlb_all_asid().

Signed-off-by: Xu Lu <luxu.kernel@bytedance.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2,1/3] riscv: mm: Use ASID in update_mmu_cache()"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 119.42 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2,1/3] riscv: mm: Use ASID in update_mmu_cache()"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 2646.58 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2,1/3] riscv: mm: Use ASID in update_mmu_cache()"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 3286.92 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2,1/3] riscv: mm: Use ASID in update_mmu_cache()"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 20.60 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2,1/3] riscv: mm: Use ASID in update_mmu_cache()"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 22.72 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2,1/3] riscv: mm: Use ASID in update_mmu_cache()"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.81 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2,1/3] riscv: mm: Use ASID in update_mmu_cache()"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 82.75 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2,1/3] riscv: mm: Use ASID in update_mmu_cache()"
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: "[v2,1/3] riscv: mm: Use ASID in update_mmu_cache()"
kdoc
Desc: Detects for kdoc errors
Duration: 0.82 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2,1/3] riscv: mm: Use ASID in update_mmu_cache()"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2,1/3] riscv: mm: Use ASID in update_mmu_cache()"
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: "[v2,1/3] riscv: mm: Use ASID in update_mmu_cache()"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.27 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v2,2/3] riscv: mm: Apply Svinval in update_mmu_cache()"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 120.12 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v2,2/3] riscv: mm: Apply Svinval in update_mmu_cache()"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 2710.18 seconds
Result: PASS

@linux-riscv-bot
linux-riscv-bot force-pushed the workflow__riscv__fixes branch from 56b6f30 to 8ca72ef Compare July 15, 2026 17:25
@linux-riscv-bot
linux-riscv-bot deleted the pw1128156 branch July 15, 2026 17:25
@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v2,2/3] riscv: mm: Apply Svinval in update_mmu_cache()"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 3222.09 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v2,2/3] riscv: mm: Apply Svinval in update_mmu_cache()"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 20.48 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v2,2/3] riscv: mm: Apply Svinval in update_mmu_cache()"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 22.15 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v2,2/3] riscv: mm: Apply Svinval in update_mmu_cache()"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 2.03 seconds
Result: WARNING
Output:

CHECK: spaces preferred around that '%' (ctx:BxV)
#56: FILE: arch/riscv/include/asm/tlbflush.h:36:
+		asm volatile(SINVAL_VMA(%0, %1) : : "r" (vma), "r" (asid) : "memory");
 		                        ^

CHECK: spaces preferred around that '%' (ctx:WxV)
#56: FILE: arch/riscv/include/asm/tlbflush.h:36:
+		asm volatile(SINVAL_VMA(%0, %1) : : "r" (vma), "r" (asid) : "memory");
 		                            ^

CHECK: spaces preferred around that '%' (ctx:BxV)
#58: FILE: arch/riscv/include/asm/tlbflush.h:38:
+		asm volatile(SINVAL_VMA(%0, zero) : : "r" (vma) : "memory");
 		                        ^

total: 0 errors, 0 warnings, 3 checks, 62 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 125329876330 ("riscv: mm: Apply Svinval in update_mmu_cache()") 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.
total: 0 errors, 0 warnings, 3 checks, 62 lines checked
CHECK: spaces preferred around that '%' (ctx:BxV)
CHECK: spaces preferred around that '%' (ctx:WxV)


@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v2,2/3] riscv: mm: Apply Svinval in update_mmu_cache()"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 83.45 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v2,2/3] riscv: mm: Apply Svinval in update_mmu_cache()"
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: "[v2,2/3] riscv: mm: Apply Svinval in update_mmu_cache()"
kdoc
Desc: Detects for kdoc errors
Duration: 0.74 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v2,2/3] riscv: mm: Apply Svinval in update_mmu_cache()"
module-param
Desc: Detect module_param changes
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v2,2/3] riscv: mm: Apply Svinval in update_mmu_cache()"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v2,2/3] riscv: mm: Apply Svinval in update_mmu_cache()"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[v2,3/3] riscv: mm: Clear cpu in mm_cpumask after local_flush_tlb_all_asid"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 121.51 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[v2,3/3] riscv: mm: Clear cpu in mm_cpumask after local_flush_tlb_all_asid"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1443.65 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[v2,3/3] riscv: mm: Clear cpu in mm_cpumask after local_flush_tlb_all_asid"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1766.18 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[v2,3/3] riscv: mm: Clear cpu in mm_cpumask after local_flush_tlb_all_asid"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 20.64 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[v2,3/3] riscv: mm: Clear cpu in mm_cpumask after local_flush_tlb_all_asid"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 22.15 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[v2,3/3] riscv: mm: Clear cpu in mm_cpumask after local_flush_tlb_all_asid"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.67 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[v2,3/3] riscv: mm: Clear cpu in mm_cpumask after local_flush_tlb_all_asid"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 85.90 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[v2,3/3] riscv: mm: Clear cpu in mm_cpumask after local_flush_tlb_all_asid"
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 3: "[v2,3/3] riscv: mm: Clear cpu in mm_cpumask after local_flush_tlb_all_asid"
kdoc
Desc: Detects for kdoc errors
Duration: 0.73 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[v2,3/3] riscv: mm: Clear cpu in mm_cpumask after local_flush_tlb_all_asid"
module-param
Desc: Detect module_param changes
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[v2,3/3] riscv: mm: Clear cpu in mm_cpumask after local_flush_tlb_all_asid"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[v2,3/3] riscv: mm: Clear cpu in mm_cpumask after local_flush_tlb_all_asid"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.62 seconds
Result: PASS

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