海光model 4h处理器在die 交织场景,为了还原die 交织位,需要从相应寄存器获取die id,但是此时获取的die id值从4开始编号,当前die id交织位只有2bit, 还原时需要减去4才能获得正确的cs id值。
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/4745
当前改动涉及到几个改动点: 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。
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/4762
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/4814
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/4819