Re: [PATCH v2 0/2] Add support to enable ATS on VFs independently

From: Sathyanarayanan Kuppuswamy
Date: Wed Mar 01 2023 - 23:24:18 EST




On 2/27/23 8:21 PM, Ganapatrao Kulkarni wrote:
> As discussed in [1], adding a helper function to configure the STU of an
> ATS capability. Function pci_ats_stu_configure() can be called to program
> the STU while enumerating the PF, to support scenarios like PF is not
> enabled with ATS, whereas VFs can enable it.
>
> In SMMU-V3 driver, calling pci_ats_stu_configure() to confgiure the STU
> while enumerating a PF in passthrough mode.

It looks like you are fixing this issue only for your platform. Is there any
way to generically program PF STU? May be from pci_ats_init()?

--
Sathyanarayanan Kuppuswamy
Linux Kernel Developer