Re: [PATCH v5 08/12] iommufd: Enforce pasid compatible domain for PASID-capable device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 10, 2024 at 11:15:13AM +0800, Yi Liu wrote:

> > Why can't it be in iommufd? A PASID domain should be a hwpt_paging
> > with the ALLOC_PASID flag, just put a bit in the hwpt_paging struct
> > and be done with it. That automatically rejects nested domains from
> > pasid.
> 
> The problem is Intel side, we allow attaching nested domains to pasid. :(
> That's why I'm asking for updating the description of ALLOC_PASID and
> the enforcement to be only applicable to paging domains, not applicable for
> nested domains.

Seems reasonable

Jason




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux