Bug 913 - [Anolis8]ck-4.19内核在倚天机器上启动失败
Summary: [Anolis8]ck-4.19内核在倚天机器上启动失败
Status: RESOLVED FIXED
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: kernel - anck-4.19 (show other bugs) kernel - anck-4.19
Version: 8.4
Hardware: aarch64 Linux
: P3-Medium S2-major
Target Milestone: ---
Assignee: Shiloong
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-26 11:48 UTC by shuming
Modified: 2022-04-26 16:22 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shuming admin 2022-04-26 11:48:37 UTC
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:
Comment 1 神卢锡安 alibaba_cloud_group 2022-04-26 16:22:00 UTC
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>