Re: [PATCH v2 3/3] iommufd/selftest: Add coverage for reserved IOVAs

2024-08-09 Thread kernel test robot
el.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git next patch link: https://lore.kernel.org/r/544ab894a301c83eb9f9d7a6326f4cb87f517019.1722644866.git.nicolinc%40nvidia.com patch subject: [PATCH v2 3/3] iommufd/selftest: Add coverage for reserved IOVAs config: x86_64-rhel-8.3-kselftes

[PATCH v2 3/3] iommufd/selftest: Add coverage for reserved IOVAs

2024-08-02 Thread Nicolin Chen
Define an IOMMU_RESV_SW_MSI region (within the mock aperture) as the ARM SMMU drivers do. Implement the get_msi_mapping_domain nested domain op to allow dma-iommu to find the correct paging domain. Add a new IOMMU_TEST_OP_MD_CHECK_SW_MSI to loopback test the MSI mapping using public dma-iommu and