【环境信息】
硬件信息:kunpeng-920服务器 + 3408iMR/3416iMRraid卡
软件信息:
1)openEuler master
2)内核版本5.10
【问题复现步骤】
1、使能SMMU
2、环境无法安装启动
出现概率:必现
【预期结果】
预期结果:环境正常安装启动
【实际结果】
开启SMMU时,环境无法正常安装启动。
Hey luochenglcs, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
验证结果:
1、环境正常安装启动
[root@localhost ~]# uname -r
5.10.0+
2、配置启动参数 smmu.bypassdev=0x1000:0x17 smmu.bypassdev=0x1000:0x15; 在默认其他设备使用SMMU DMA的情况下, 3408iMR/3416iMRraid使用SMMU identity;
[root@localhost iommu_groups]# pwd
/sys/kernel/iommu_groups
[root@localhost iommu_groups]# for i in `ls`;do echo $i; cat $i/type;done
0
DMA
1
DMA
10
DMA
11
DMA
12
DMA
13
DMA
14
DMA
15
DMA
16
DMA
17
DMA
18
DMA
19
DMA
2
DMA
20
DMA
21
DMA
22
DMA
23
DMA
24
identity
25
DMA
26
DMA
27
DMA
28
DMA
29
DMA
3
DMA
30
DMA
31
DMA
32
DMA
33
DMA
34
DMA
35
DMA
36
DMA
37
DMA
38
DMA
4
DMA
5
DMA
6
DMA
7
DMA
8
DMA
9
DMA
[root@localhost iommu_groups]#
[root@localhost iommu_groups]# lspci |grep 3408
07:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID Tri-Mode SAS3408 (rev 01)
[root@localhost iommu_groups]# cd 24/
[root@localhost 24]# cat type
identity
[root@localhost 24]# cd devices/
[root@localhost devices]# ll
total 0
lrwxrwxrwx. 1 root root 0 Jul 26 11:12 0000:07:00.0 -> ../../../../devices/pci0000:00/0000:00:08.0/0000:07:00.0
[root@localhost devices]# cat 0000\:07\:00.0/vendor
0x1000
[root@localhost devices]# cat 0000\:07\:00.0/device
0x0017
登录 后才可以发表评论