Re: [PATCH v5 1/7] PCI/ATS: Ensure pci_ats_supported() is PF-aware for VFs

From: Baolu Lu

Date: Fri May 29 2026 - 02:04:09 EST


On 5/29/26 04:23, Pranjal Shrivastava wrote:
Update pci_ats_supported() to additionally check the associated PF's
status when called on a VF. This ensures that PF-level quirks and
untrusted status are correctly propagated to VFs, providing a robust
support check that aligns with the kernel's PF-centric ATS configuration
model and is immune to the timing of VF-specific fixups.

Reviewed-by: Jason Gunthorpe<jgg@xxxxxxxxxx>
Reviewed-by: Samiullah Khawaja<skhawaja@xxxxxxxxxx>
Reviewed-by: Nicolin Chen<nicolinc@xxxxxxxxxx>
Signed-off-by: Pranjal Shrivastava<praan@xxxxxxxxxx>
---
drivers/pci/ats.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)

Reviewed-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>