On 10/20/2018 11:03 AM, Bjorn Helgaas wrote:
We can also drop the series if we think that current API are good enough
and nuances are well understood.
I don't think the current API is good enough:) It's just a small
matter of sorting out a better one.
I guess the next logical question is if you have any suggestion.
merge __pci_reset_function_locked() and pci_reset_function_locked().
Then save the context all the time?
What about locked vs. unlocked APIs? If there is a way to know if lock
is being held by the currently running task, we could skip the locking business
and unify these two APIs.