Description of problem: 升级BIOS版本到B121之后内核启动失败,需关闭SMMU才能boot起来。 内核版本:4.19.91-25.7.an8.aarch64 升级前BIOS版本:1.2.M1.AL.E.119.02 升级后BIOS版本:1.2.M1.AL.E.121.88 Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 倚天机器上安装Anolis 8.4 ISO 2. 3. Actual results: Expected results: Additional info:
cloud kernel 4.19 内核已经合入了这个补丁 commit 272069ca6d12835422d901fe728cd367f92444f9 Author: Jean-Philippe Brucker <jean-philippe@linaro.org> Date: Wed May 13 13:02:57 2020 +0200 iommu/arm-smmu-v3: Don't reserve implementation defined register space OpenAnolis Bug Tracker: 0000571 commit 52f3fab0067d6fa9e99c1b7f63265dd48ca76046 upstream Some SMMUv3 implementation embed the Perf Monitor Group Registers (PMCG) inside the first 64kB region of the SMMU. Since PMCG are managed by a separate driver, this layout causes resource reservation conflicts during boot. To avoid this conflict, don't reserve the MMIO regions that are implementation defined. Although devm_ioremap_resource() still works on full pages under the hood, this way we benefit from resource conflict checks. Fixes: 7d839b4b9e00 ("perf/smmuv3: Add arm64 smmuv3 pmu driver") Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org> Reviewed-by: Robin Murphy <robin.murphy@arm.com> Link: https://lore.kernel.org/r/20200513110255.597203-1-jean-philippe@linaro.org Signed-off-by: Will Deacon <will@kernel.org> Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com> Reviewed-by: luanshi <zhangliguang@linux.alibaba.com>