/ 详情

[openEuler 21.09] arm64在使用3408iMR/3416iMRraid卡时不支持SMMU使能

Done
Bug
Opened this issue  
2021-07-26 12:02

【环境信息】
硬件信息:kunpeng-920服务器 + 3408iMR/3416iMRraid卡
软件信息:
1)openEuler master
2)内核版本5.10
【问题复现步骤】
1、使能SMMU
2、环境无法安装启动
出现概率:必现
【预期结果】
预期结果:环境正常安装启动
【实际结果】
开启SMMU时,环境无法正常安装启动。

Attachments

Comments (2)

luocheng created缺陷
luocheng set related repository to openEuler/kernel
Expand operation logs

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.

openeuler-ci-bot added
 
sig/Kernel
label
zhengzengkai set branch to openEuler-21.09

验证结果:
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
成坚 (CHENG Jian) changed description
成坚 (CHENG Jian) changed title
zhengzengkai changed title
zhengzengkai changed issue state from 待办的 to 已完成

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
Confirm
参与者(2)
5329419 openeuler ci bot 1578984659 5479204 luocheng382548 1578987359