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

From: Leon Romanovsky
Date: Sat Mar 27 2021 - 02:03:53 EST


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@xxxxxxxxxx> 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
>