401 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

[OLK-6.6] arm64支持machine check safe代码优化以及问题修复

已完成
任务
创建于  
2024-04-13 16:18
  1. do_sea()相关处理逻辑优化。
  2. 在copy_to/from_user()的ld指令上注册内存错误的fixup会掩盖在ld指令上非内存错误的问题(比如空指针)。 fixup_exception() 与 fixup_exception_mc() 都是使用UACCESS的fixup,触发空指针的访问触发翻译异常,走fixup_exception()会被fixup掉,原来没有注册fixup的是会按照预期报空指针错误。
  3. copy_mc_page.S与copy_page.S, memcpy_mc.S和memcpy.S 中大量重复汇编代码优化。
  4. 合入mailist补丁加固特性:https://lore.kernel.org/lkml/20240204080144.7977-1-xueshuai@linux.alibaba.com/

评论 (2)

Hi Tong-Tiangen, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Kernel, and any of the maintainers.

Tong Tiangen 创建了任务
openeuler-ci-bot 添加了
 
sig/Kernel
标签
展开全部操作日志

合入后验证uaccess, cow, coredump场景的machine check safe功能均正常,内核能避免panic,触发内存错误的进程被杀,coredump时能正常生成coredump file。

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助