-
由 openeuler-ci-bot 提交于
Merge Pull Request from: @zhangjian210 These patches has 7 bugfix which have been found in Ascend case: 1. When enable CONFIG_ASCEND_FEATURES, we will use tmp hugepage, and when we cause a OOM and disable OOM-killer, the process will always not run normal although the system has enough memory later. One patch fixes this. 2. Some Taishan core's(Taishan110) sub version is 2, we must figiure it when enable Taishan IDC feature. 3. When enable CONFIG_ASCEND_FEATURES, if a process cause OOM and enable OOM panic, we must using a call chain to tell other drivers this problem. 4. In Ascend feature, some driver's VMA struct contains hugepage and nomal page. In this case, we can't use VMA's message to alloc page. To fix this, we only alloc huge page directly in this interface rather than using VMA's message. 5. When enable CONFIG_ASCEND_FEATURES and enable ACPI fearture, if we want to enbale SMMU though ACPI, we must get it's sid from ACPI tables. 2 patch is Backport from maimline: 1. This patch fixes when we don's reserve EXTRA cma memory, the log buffer can be easily filled up by CMA failure warning. And use pr_err_ratelimited() instead to reduce the duplicate CMA warning. 2. The ECC feature increases a maximum of 64 reserved physical memory segments, which increases the number 14 of memblocks. Link:https://gitee.com/openeuler/kernel/pulls/294 Reviewed-by: Zheng Zengkai <zhengzengkai@huawei.com> Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com>
d4a78fdf