Bug 19127 - Get the correct instance id calculation for Hygon family 18h model 6h~10h
Summary: Get the correct instance id calculation for Hygon family 18h model 6h~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:26 UTC by liaoxuan
Modified: 2025-03-14 14:53 UTC (History)
0 users

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:26:03 UTC
On Hygon family 18h model 6h platform, each DDR has two subchannels, and each subchannel has a mca bank with a cs corresponded. In the process of address translation, it needs to know the instance id of cs to access df register correctly. The instance id of cs can be calculated from IPID[23:20] and IPID[13]: IPID[23:20] represents which umc controller it belongs to, and IPID[13] represents which subchannel it is.
Comment 1 liaoxuan hygon_group 2025-03-04 10:18:47 UTC
1、Fix the calculation of instance id for Hygon family 18h model 6h;
2、Get instance id for Hygon family 18h model 10h。
Comment 2 小龙 admin 2025-03-04 10:53:12 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/4748
Comment 3 小龙 admin 2025-03-04 15:35:16 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/4763
Comment 4 小龙 admin 2025-03-14 14:53:16 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/4815