Re: [RFC PATCH 4/5] PCI: Export pci_reset_supported()

[email protected]
Newsgroups org.kernel.vger.linux-pci,org.kernel.vger.kvm
Message-ID <[email protected]>
> The success or failure of pci_reset_function() is conditional on the
> state of the device, ex. VFs enabled on an SR-IOV PF.  Therefore a
> driver can no longer infer through executing pci_reset_function()
> whether a device has supported reset methods.  The reset_methods
> array indicates whether the device has any available reset mechanisms
> and is not gated on dynamic blockers, like SR-IOV enablement.
> 
> Export pci_reset_supported() for drivers to use for an instant
> snapshot of reset support.
> 
> Assisted-by: Claude:claude-opus-4-8
> Signed-off-by: Alex Williamson <[email protected]>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=4
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.