> From: Joao Martins <joao.m.martins@xxxxxxxxxx> > Sent: Thursday, October 19, 2023 4:27 AM > > In order to selftest the iommu domain dirty enforcing implement the > mock_domain necessary support and add a new dev_flags to test that the > hwpt_alloc/attach_device fails as expected. > > Expand the existing mock_domain fixture with a enforce_dirty test that > exercises the hwpt_alloc and device attachment. > > Signed-off-by: Joao Martins <joao.m.martins@xxxxxxxxxx> Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>