395 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

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

已完成
缺陷
创建于  
2021-07-26 12:02

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

评论 (2)

luochenglcs 创建了缺陷
luochenglcs 关联仓库设置为openEuler/kernel
展开全部操作日志

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 添加了
 
sig/Kernel
标签
zhengzengkai 关联分支设置为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) 修改了描述
成坚 (CHENG Jian) 修改了标题
zhengzengkai 修改了标题
zhengzengkai 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936 5479204 luochenglcs 1691216215
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助