Re: [PATCH 4/4] PCI/sysfs: Allow userspace to query and set device reset mechanism

Leon Romanovsky
2021-03-27T06:03:49Z

On Fri, Mar 26, 2021 at 08:20:07AM -0600, Alex Williamson wrote:
> On Fri, 26 Mar 2021 09:40:30 +0300
> Leon Romanovsky <leon@kernel.org> wrote:

<...>

> >
> > It supports by writing: echo "bus,pm" > reset_methods.
> > Regarding comma, IMHO it is easiest pattern for the parsing.
> >
> > Anyway, The in-kernel implementation is not important to me.
>
> Too bad, it should have been apparent from the sample code that it was
> using a comma separated list with re-ordering support. Thanks,

Excellent, both of us think that "bus,pm" is the easiest way to
implement policy decision.

Thanks

>
> Alex
>