Re: [PATCH v15 0/9] PCI: Expose and manage PCI device reset
From: Shanker R Donthineni
Date: Thu Aug 12 2021 - 09:04:22 EST
Hi Bjorn,
On 8/5/21 11:29 AM, Amey Narkhede wrote:
> External email: Use caution opening links or attachments
>
>
> PCI and PCIe devices may support a number of possible reset mechanisms
> for example Function Level Reset (FLR) provided via Advanced Feature or
> PCIe capabilities, Power Management reset, bus reset, or device specific reset.
> Currently the PCI subsystem creates a policy prioritizing these reset methods
> which provides neither visibility nor control to userspace.
>
> Expose the reset methods available per device to userspace, via sysfs
> and allow an administrative user or device owner to have ability to
> manage per device reset method priorities or exclusions.
> This feature aims to allow greater control of a device for use cases
> as device assignment, where specific device or platform issues may
> interact poorly with a given reset method, and for which device specific
> quirks have not been developed.
>
> Changes in v15:
> - Fix use of uninitialized variable in patch 3/9
We would like to include this feature in the v5.15 release. Could you please look
at the updated patches and provide review feedback?
Thanks,
Shanker Donthineni