Re: [PATCH 06/13] PCI: Account for ACS egress control in isolation checks
Logan Gunthorpe <[email protected]> Tue, 4 Aug 2026 15:55:22 -0600
| Newsgroups | gmane.linux.documentation,gmane.linux.kernel.pci,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
On 2026-08-02 09:09, Leon Romanovsky wrote: > From: Leon Romanovsky <[email protected]> > > pci_acs_enabled() treats P2P Request Redirect as effective whenever its > control bit is set. PCIe r7.0, sec 6.12.3, table 6-11 lets an enabled > Egress Control Vector override it: a clear vector bit routes the request > directly. > > IOMMU grouping uses this check to prove peer requests cannot bypass the > IOMMU, but cannot know every applicable vector bit, so Request Redirect > gives no such guarantee while Egress Control is enabled. > > Report Request Redirect as ineffective there, merging the devices into > one IOMMU group, and report no isolation when the register cannot be > read. Apply the same rule to the Intel SPT PCH quirk. > > Signed-off-by: Leon Romanovsky <[email protected]> Reviewed-by: Logan Gunthorpe <[email protected]>