sync: rvck #120: Optimization of the assembly code of uaccess APIs.#168
Merged
Conversation
mainline inclusion from mainline-v6.10-rc1 commit f1905946bed052522522303f1d144f506ef5d9f9 category: feature bugzilla: RVCK-Project/rvck#112 -------------------------------- When the dst buffer pointer points to the last accessible aligned addr, we could still run another iteration of unrolled copy. Signed-off-by: Xiao Wang <xiao.w.wang@intel.com> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com> Signed-off-by: gaorui <gao.rui@zte.com.cn> Signed-off-by: Yanteng Si <si.yanteng@linux.dev> Signed-off-by: Mingzheng Xing <xingmingzheng@iscas.ac.cn> (cherry picked from commit 93a3ff3)
mainline inclusion from mainline-v6.10-rc1 commit 9850e73e82972f518b75dd0d94d2322f44d9191d category: feature bugzilla: RVCK-Project/rvck#112 -------------------------------- The bytes copy for unaligned head would cover at most SZREG-1 bytes, so it's better to set the threshold as >= (SZREG-1 + word_copy stride size) which equals to 9*SZREG-1. Signed-off-by: Xiao Wang <xiao.w.wang@intel.com> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com> Signed-off-by: gaorui <gao.rui@zte.com.cn> Signed-off-by: Yanteng Si <si.yanteng@linux.dev> Signed-off-by: Mingzheng Xing <xingmingzheng@iscas.ac.cn> (cherry picked from commit 269dadf)
|
开始测试 log: https://github.com/RVCK-Project/rvck-olk/actions/runs/24122428324 参数解析结果
测试完成 详细结果:RVCK result
Kunit Test Result[07:28:19] Testing complete. Ran 454 tests: passed: 442, skipped: 12 Kernel Build ResultKernel build succeeded: RVCK-Project/rvck-olk/168__1/ ff153d7ce64ae11b74f3ab3c8ecd06d9 /srv/guix_result/17a3d4f1e3d8f06e8b39e6d8534fb9a0e3fd8893/Image LAVA Checkargs:
result:Lava check done! lava log: https://lava.oerv.ac.cn/scheduler/job/1760 lava result count: [fail]: 20, [pass]: 1586, [skip]: 293 Check Patch Result
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sync commits from rvck PR #120.
Source PR: RVCK-Project/rvck#120
Commits
93a3ff344b69riscv: uaccess: Allow the last potential unrolled copy269dadf8845friscv: uaccess: Relax the threshold for fast path