Description of problem: RISC-V IOMMU为RISCV架构系统的输入和输出设备提供内存地址转换和隔离,支持每个设备的转换上下文、共享进程地址空间(包括PCIe规范中的ATS和PRI组件)、两级地址转换以及MSI重映射。 目前暂时只支持设备树方式配置 Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 使用qemu模拟,使用如下命令 $ qemu-system-riscv64 \ -M virt,aia=aplic-imsic,aia-guests=5 \ -device riscv-iommu-pci,addr=1.0,vendor-id=0x1efd,device-id=0xedf1 \ -device e1000e,netdev=net1 -netdev user,id=net1,net=192.168.0.0/24 \ -device e1000e,netdev=net2 -netdev user,id=net2,net=192.168.200.0/24 \ ...... Actual results: 系统启动后会创建两个e1000e网卡的iommu groups组 Expected results: Additional info:
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/5473