Unverified Commit 8a42d874 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

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

Merge Pull Request from: @ci-robot 
 
PR sync from: zhangnaichuan <zhangnaichuan@huawei.com>
https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/BDWAEGMBBRTLL5Y7PUUPQPTVIPFB6ASN/ 
arm64 cannot support virtualization pass-through feature when using the
3408iMR/3416iMR raid card.
For solving the problem, we add two fuctions:
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


-- 
2.33.0
 
https://gitee.com/openeuler/kernel/issues/I8RJAT?from=project-issue 
 
Link:https://gitee.com/openeuler/kernel/pulls/3656

 

Reviewed-by: default avatarWeilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parents 5014f0ab bbaaa756
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment