From: sashiko-bot@kernel.org
To: "Jingyuan Liang" <jingyliang@chromium.org>
Cc: dmitry.torokhov@gmail.com, robh@kernel.org, conor+dt@kernel.org,
devicetree@vger.kernel.org, linux-input@vger.kernel.org,
linux-trace-kernel@vger.kernel.org
Subject: Re: [PATCH v3 01/11] Documentation: Correction in HID output_report callback description.
Date: Thu, 13 Aug 2026 23:18:10 +0000 [thread overview]
Message-ID: <20260813231810.AA3EA1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260402-send-upstream-v3-1-6091c458d357@chromium.org>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The commit modifies `Documentation/hid/hid-transport.rst` to state that the `output_report` callback 'might be asynchronous', which directly contradicts the strict HID subsystem architectural rule requiring it to be unconditionally asynchronous.
--
--- Patch [1]: [PATCH v3 01/11] Documentation: Correction in HID output_report callback description. ---
commit 5b8559748c059ec63c5c810fdf494efbd38be948
Author: Jarrett Schultz <jaschultz@microsoft.com>
Documentation: Correction in HID output_report callback description.
This commit modifies the HID transport documentation to indicate that the
output_report callback might be asynchronous rather than strictly requiring
it to be asynchronous. It notes that some implementations, like i2c-hid,
do not implement it asynchronously.
> diff --git a/Documentation/hid/hid-transport.rst b/Documentation/hid/hid-transport.rst
> index 6f1692da296cf..2008cf432af12 100644
> --- a/Documentation/hid/hid-transport.rst
> +++ b/Documentation/hid/hid-transport.rst
[ ... ]
> @@ -327,8 +327,8 @@ The available HID callbacks are:
>
> Send raw output report via intr channel. Used by some HID device drivers
> which require high throughput for outgoing requests on the intr channel. This
> - must not cause SET_REPORT calls! This must be implemented as asynchronous
> - output report on the intr channel!
> + must not cause SET_REPORT calls! This call might be asynchronous, so the
> + caller should not expect an immediate response!
[Severity: Medium]
This isn't a bug, but does this documentation change conflict with the
subsystem's architectural guidelines?
The official HID subsystem guidelines explicitly state that the
output_report callback (used for high-throughput data on the interrupt
channel) must be asynchronous and must not trigger synchronous SET_REPORT
calls.
Relaxing this language to "might be asynchronous" contradicts the strict
architectural rule and might encourage future driver implementations that
block or perform synchronous operations. Should the documentation continue
to mandate the asynchronous requirement to prevent synchronous blocking on
the interrupt channel?
>
> ::
>
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260402-send-upstream-v3-0-6091c458d357@chromium.org?part=1
next prev parent reply other threads:[~2026-08-13 23:18 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-02 1:59 [PATCH v3 00/11] Add spi-hid transport driver Jingyuan Liang
2026-04-02 1:59 ` [PATCH v3 01/11] Documentation: Correction in HID output_report callback description Jingyuan Liang
2026-08-13 23:18 ` sashiko-bot [this message]
2026-04-02 1:59 ` [PATCH v3 02/11] HID: Add BUS_SPI support and define HID_SPI_DEVICE macro Jingyuan Liang
2026-04-02 1:59 ` [PATCH v3 03/11] HID: spi-hid: add transport driver skeleton for HID over SPI bus Jingyuan Liang
2026-04-02 1:59 ` [PATCH v3 04/11] HID: spi-hid: add spi-hid driver HID layer Jingyuan Liang
2026-04-02 1:59 ` [PATCH v3 05/11] HID: spi-hid: add HID SPI protocol implementation Jingyuan Liang
2026-04-02 1:59 ` [PATCH v3 06/11] HID: spi_hid: add spi_hid traces Jingyuan Liang
2026-04-02 1:59 ` [PATCH v3 07/11] HID: spi_hid: add ACPI support for SPI over HID Jingyuan Liang
2026-04-02 1:59 ` [PATCH v3 08/11] HID: spi_hid: add device tree " Jingyuan Liang
2026-04-02 1:59 ` [PATCH v3 09/11] dt-bindings: input: Document hid-over-spi DT schema Jingyuan Liang
2026-04-09 16:02 ` Conor Dooley
2026-04-09 17:16 ` Dmitry Torokhov
2026-04-10 17:35 ` Conor Dooley
2026-04-13 22:34 ` Rob Herring
2026-04-15 8:41 ` Benjamin Tissoires
2026-04-02 1:59 ` [PATCH v3 10/11] HID: spi-hid: add power management implementation Jingyuan Liang
2026-04-02 1:59 ` [PATCH v3 11/11] HID: spi-hid: add panel follower support Jingyuan Liang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260813231810.AA3EA1F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=jingyliang@chromium.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox