Re: [PATCH v3 07/11] iommu: Validate that pci_for_each_dma_alias() matches the groups

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

 





On 9/9/25 11:35 AM, Jason Gunthorpe wrote:
On Tue, Sep 09, 2025 at 01:00:08AM -0400, Donald Dutile wrote:


On 9/5/25 2:06 PM, Jason Gunthorpe wrote:
Directly check that the devices touched by pci_for_each_dma_alias() match
the groups that were built by pci_device_group(). This helps validate that
Do they have to match, as in equal, or be included ?

All aliases have to be in the same group, or have no group discovered yet.

I guess I'm not asking correctly, as I think you agreed, but I'm looking for a clearer statement.
You said 'in' the same group; that's not 'equal', or what I think of as a 'match' of the pci_device_group() & dma-alias.

So, is it in equality/match, or inclusion/inclusive check; if the later, just tweak the verbage.

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