Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Fil Dunsky" <filipp.dunsky@gmail.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH net-next v6 2/3] net: mdio: Add Cortina CS7542 bus controller
Date: Sun, 06 Dec 2026 14:37:14 +0000	[thread overview]
Message-ID: <sashiko-outbox-252483@kernel.org> (raw)
In-Reply-To: <20261205-b4-cs7542-mdio-v6-2-228e312ff14b@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] net: mdio: incremental revision notes and review-bot tag in
  commit message
--

commit 379ac427eb9577dfa713c4d1c08ac4ee36e7a682
Author: Fil Dunsky <filipp.dunsky@gmail.com>

> net: mdio: Add Cortina CS7542 bus controller
>
> Support Clause 22 reads and writes through the CS7542 management
> interface. Retain the firmware-configured prescaler and unrelated
> configuration bits while enabling manual operation.
>
> Use sleepable polling for the bounded wait in the MDIO bus callbacks.
> Report timeout errors directly without tracking a pending transaction.
> Use managed bus allocation and registration to cover probe failures
> and removal.
>
> Acquire and enable the required APB input before accessing registers,
> and retain it for the lifetime of the registered bus. Managed bus teardown
> runs before the managed clock is disabled. The firmware MDC prescaler is
> preserved; no clock-rate or divisor programming is introduced.
>
> Allow a 6 to 20 us timer window between register checks instead of
> requesting usleep_range(1, 1). The first check remains immediate
> and the transaction timeout remains 10 ms.
>
> Reported-by: Sashiko <sashiko-bot@kernel.org>
> Link: https://lore.kernel.org/all/sashiko-outbox-251027@kernel.org/
> Signed-off-by: Fil Dunsky <filipp.dunsky@gmail.com>

[Severity: Low]
Should this commit message be rewritten to describe the new driver
standalone?

Because mdio-cs75xx.c is a new driver, delta notes against earlier unmerged
revisions (such as replacing usleep_range(1, 1) with a 6 to 20 us window,
or not tracking a pending transaction) belong below the --- tearoff line
rather than in the permanent commit log.

Similarly, the Reported-by: and Link: trailers point to review feedback on
an earlier unmerged revision rather than an upstream bug report, and can
be dropped from the commit message.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261205-b4-cs7542-mdio-v6-0-228e312ff14b@gmail.com?part=2

  reply	other threads:[~2026-12-06 14:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-05 14:36 [PATCH net-next v6 0/3] Add Cortina Systems CS7542 MDIO controller support Fil Dunsky via B4 Relay
2026-12-05 14:37 ` [PATCH net-next v6 1/3] dt-bindings: net: Add Cortina CS7542 MDIO controller Fil Dunsky via B4 Relay
2026-12-06 14:37   ` sashiko-bot
2026-12-05 14:37 ` [PATCH net-next v6 2/3] net: mdio: Add Cortina CS7542 bus controller Fil Dunsky via B4 Relay
2026-12-06 14:37   ` sashiko-bot [this message]
2026-12-05 14:37 ` [PATCH net-next v6 3/3] MAINTAINERS: Add Cortina CS7542 MDIO controller entry Fil Dunsky via B4 Relay

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=sashiko-outbox-252483@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=filipp.dunsky@gmail.com \
    --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