RE: [PATCH v4 08/17] iommufd: Always setup MSI and anforce cc on kernel-managed domains

From: Tian, Kevin
Date: Tue Oct 17 2023 - 05:05:45 EST


> From: Tian, Kevin
> Sent: Tuesday, October 17, 2023 4:53 PM
> >
> > This is why I wanted to get rid of this bad mechanism going forward.
> >
> > Manually created hwpt should have a manual specification of cc and
> > then we don't have so many problems.
> >

Actually I don't see much difference between manual specification of
cc vs. indirect specification of cc via specified idev in hwpt_alloc. What
really matters is how we want to deal with the compatibility in the
following attach path.