Commit bbaaa756 authored by zhangnaichuan's avatar zhangnaichuan
Browse files

iommu: Enable smmu-v3 when 3408iMR/3416iMRraid card exist

euleros inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8RJAT?from=project-issue


CVE: NA

----------------------------------

arm64 cannot support virtualization pass-through feature when using the
3408iMR/3416iMR raid card.
For solving the problem, we add two functions:
1.we prepare init bypass level2 entry for specific devices
when smmu uses 2 level streamid entry.
2.we add smmu.bypassdev cmdline to allow SMMU bypass streams
for some specific devices.

usage: 3408iMRraid: smmu.bypassdev=0x1000:0x17
       3416iMRraid: smmu.bypassdev=0x1000:0x15

Signed-off-by: default avatarzhangnaichuan <zhangnaichuan@huawei.com>
Signed-off-by: default avatar <luochunsheng&lt;luochunsheng@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent a60f40a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment