+6
−0
drivers/soc/hisilicon/hisi_mem_ras.c
0 → 100644
+582
−0
drivers/soc/hisilicon/hisi_mem_ras.h
0 → 100644
+112
−0
Loading
driver inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IAO2AR CVE: NA -------------------------------- Kunpeng SoC support several memory repair capability. Normally, such repairs are done in firmware startup stage or triggered by BMC(Baseboard Management Controller) and done in firmware in runtime stage. OS can't perceive such capability. Some support online repair, while others can't. One reason of not supporting online repair is that the memory is in use and the hardware does not support backpressure on the primary access channel. In order to support more online memory repair, we seek solutions from OS. That is try to isolate the memory page first, and do repair, and de-isloate after repair done. This patch support online ACLS(Adapter Cache Line Sparing) repair, and sPPR(Soft Post Package Repair). All need firmware support first. Signed-off-by:Xiaofei Tan <tanxiaofei@huawei.com> Signed-off-by:
Junhao He <hejunhao3@huawei.com>