Bug 21665 - [Anolis23.3 RC][loongarch]修正龙芯平台使用大页时报错问题
Summary: [Anolis23.3 RC][loongarch]修正龙芯平台使用大页时报错问题
Status: RESOLVED FIXED
Alias: None
Product: ANCK 6.6 Dev
Classification: ANCK
Component: ARCH(unspecified) (show other bugs) ARCH(unspecified)
Version: 6.6.88-4
Hardware: loongarch Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: gaojuxin09
QA Contact: shuming
URL:
Whiteboard: Cherry-pick to RC2
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-05 10:42 UTC by gaojuxin09
Modified: 2025-06-06 10:23 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gaojuxin09 loongson_group 2025-06-05 10:42:41 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 小龙 admin 2025-06-05 10:52:06 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/5398
Comment 2 gaojuxin09 loongson_group 2025-06-06 10:00:12 UTC
    anolis: Loongarch:Fixed up panic cause by a NULL-pmd
    
    ANBZ: #21665
    
    In some cases, pmd may be NULL and rely on NULL as the return value
    for processing, so it is necessary to determine this situation here
    
    Signed-off-by: zhangtianyang <zhangtianyang@loongson.cn>
    Signed-off-by: Juxin Gao <gaojuxin@loongson.cn>
    Link: https://gitee.com/anolis/cloud-kernel/pulls/5398