[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2025010859-finlike-reprise-1f7a@gregkh>
Date: Wed, 8 Jan 2025 17:13:10 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Luiz Augusto von Dentz <luiz.dentz@...il.com>
Cc: Hsin-chen Chuang <chharry@...omium.org>,
linux-bluetooth@...r.kernel.org,
chromeos-bluetooth-upstreaming@...omium.org,
Johan Hedberg <johan.hedberg@...il.com>,
Marcel Holtmann <marcel@...tmann.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Bluetooth: Allow reset via sysfs
On Wed, Jan 08, 2025 at 10:33:01AM -0500, Luiz Augusto von Dentz wrote:
> Hi Greg,
>
> On Wed, Jan 8, 2025 at 10:11 AM Greg KH <gregkh@...uxfoundation.org> wrote:
> >
> > On Wed, Jan 08, 2025 at 10:06:34AM -0500, Luiz Augusto von Dentz wrote:
> > > Hi Greg,
> > >
> > > On Wed, Jan 8, 2025 at 7:34 AM Greg KH <gregkh@...uxfoundation.org> wrote:
> > > >
> > > > On Fri, Jan 03, 2025 at 11:20:20AM +0800, Hsin-chen Chuang wrote:
> > > > > Allow sysfs to trigger reset via the cmd_timeout function in hci device.
> > > > > This is required to recover devices that are not responsive from
> > > > > userspace.
> > > > >
> > > > > Also remove the cmd timeout count in btusb since we only ever allow one
> > > > > command in flight at a time. We should always reset after a single
> > > > > command times out.
> > > > >
> > > > > Signed-off-by: Hsin-chen Chuang <chharry@...omium.org>
> > > > > ---
> > > > > This commit has been tested on a Chromebook by running
> > > > > `echo 1 > /sys/class/bluetooth/hci0/reset`
> > > >
> > > > You forgot the required Documentation/ABI/ update for your new sysfs
> > > > file :(
> > >
> > > Looks like I've missed that when reviewing these changes, anyway no
> > > pull-request has been made, I assume we should follow what is
> > > documentation on Documentation/ABI/README?
> >
> > Yes, all sysfs entries must be documented that way. We have a script in
> > the tree that you can run to verify that all entries are documented, but
> > I don't think anyone runs it very often :(
>
> Do you recall which script it is? I'd like to include that in my hooks
> and in our CI so I don't miss it next time.
It's scripts/get_abi.pl
Powered by blists - more mailing lists