Bug 19124 - Correct address translation for Hygon family 18h model 4h~10h
Summary: Correct address translation for Hygon family 18h model 4h~10h
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: X86 (show other bugs) X86
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Guanjun
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-28 15:20 UTC by liaoxuan
Modified: 2025-05-26 16:17 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description liaoxuan hygon_group 2025-02-28 15:20:12 UTC
海光model 4h处理器在die 交织场景,为了还原die 交织位,需要从相应寄存器获取die id,但是此时获取的die id值从4开始编号,当前die id交织位只有2bit, 还原时需要减去4才能获得正确的cs id值。
Comment 1 小龙 admin 2025-03-03 20:38:06 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/4745
Comment 2 liaoxuan hygon_group 2025-03-04 10:13:03 UTC
当前改动涉及到几个改动点:
1、Fix the calculation of cs id for Hygon family 18h model 4h;
2、Use u16 for some umc variables for Hygon family 18h model 4h;
3、Get intlv_num_dies from F0x60 for Hygon family 18h model 6h;
4、Adjust address translation for Hygon family 18h model 10h。
Comment 3 小龙 admin 2025-03-04 15:33:37 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/4762
Comment 4 小龙 admin 2025-03-14 14:52:03 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/4814
Comment 5 小龙 admin 2025-03-14 15:02:59 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/4819