Joerg,
On 4/28/2022 3:40 PM, Joerg Roedel wrote: > On Mon, Apr 25, 2022 at 05:03:48PM +0530, Vasant Hegde wrote: >> + /* Largest PCI device id we expect translation requests for */ >> + u16 last_bdf; > > How does the IVRS table look like on these systems? Do they still > enumerate the whole PCI Bus/Dev/Fn space? If so I am fine with getting > rid of last_bdf alltogether and just allocate the data structures with > their maximum size. > We still need to parse IVHD to find max devices supported by each PCI segment (same as the way its doing it today). Hence we need all these variables. -Vasant _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu