mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Austin, Alex (DCCG)" <alex.austin@amd.com>
To: netdev-bot+sashiko@kernel.org
Cc: netdev@vger.kernel.org, andrew+netdev@lunn.ch,
	bhutchings@solarflare.com, davem@davemloft.net,
	ecree.xilinx@gmail.com, edumazet@kernel.org, kuba@kernel.org,
	linux-kernel@vger.kernel.org, linux-net-drivers@amd.com,
	pabeni@redhat.com, richardcochran@gmail.com,
	smhodgson@solarflare.com, alucero@amd.com,
	pieter.jansen-van-vuuren@amd.com, alucerop@amd.com
Subject: Re: [PATCH net 1/2] sfc: ptp: serialize host and MC synchronization transactions
Date: Mon, 12 Oct 2026 15:46:34 +0100	[thread overview]
Message-ID: <20f3d530-0e18-4cf6-881c-ec82dcf3ca5e@amd.com> (raw)
In-Reply-To: <179165944590.434549.13992833657056738261@kernel.org>


On 10/10/2026 20:10, netdev-bot+sashiko@kernel.org wrote:
> [Some people who received this message don't often get email from netdev-bot+sashiko@kernel.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
> Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
>
>
> Thank you for your contribution! Sashiko AI review found 5 potential
> issue(s) to consider.
>
> Critical: 0 · High: 0 · Medium: 3 (1) · Low: 2
>
> If you believe none of the issues are legitimate, please reply to each
> issue of Medium severity or higher and explain why the AI is wrong.
> If any of them are legitimate and you plan to respin, please let patchwork
> know by including "pw-bot: cr" as a separate line at the end of your reply
> (one such reply per series is enough).
>
> - [Medium] At this commit, ptp->host_time_pps is written by
>   efx_ptp_process_times() while phc_lock is held.
> - [Medium] phc_lock is created separately in each PCI function's
>   efx_ptp_data: efx_ptp_probe() calls mutex_init(&ptp->phc_lock) for…
> - [Medium] sfc: data race on current_adjfreq in efx_ptp_start
> - [Low] The patch changes how efx_ptp_synchronize()
>   (drivers/net/ethernet/sfc/ptp.c) handles a failed…
> - [Low] The commit message says clock adjustments are serialized with
>   phc_lock "so they cannot change the PHC during a capture".
>
> Pre-existing issues:
> - [Medium] efx_ptp_start() resets ptp->current_adjfreq = 0 (line 1457)
>   without phc_lock.


More care needs to be taken when efx_ptp_synchronize() is called by secondary function(s) - will respin.

pw-bot: cr


  reply	other threads:[~2026-10-12 14:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-09 18:32 [PATCH net 0/2] sfc: fix PTP synchronization races Alex Austin
2026-10-09 18:32 ` [PATCH net 1/2] sfc: ptp: serialize host and MC synchronization transactions Alex Austin
2026-10-10 19:10   ` netdev-bot+sashiko
2026-10-12 14:46     ` Austin, Alex (DCCG) [this message]
2026-10-12 21:48   ` Edward Cree
2026-10-09 18:32 ` [PATCH net 2/2] sfc: ptp: avoid racing PPS timestamp updates Alex Austin
2026-10-10 19:10   ` netdev-bot+sashiko
2026-10-09 18:35 ` [PATCH net 0/2] sfc: fix PTP synchronization races netdev-bot+sinfo

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=20f3d530-0e18-4cf6-881c-ec82dcf3ca5e@amd.com \
    --to=alex.austin@amd.com \
    --cc=alucero@amd.com \
    --cc=alucerop@amd.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=bhutchings@solarflare.com \
    --cc=davem@davemloft.net \
    --cc=ecree.xilinx@gmail.com \
    --cc=edumazet@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-net-drivers@amd.com \
    --cc=netdev-bot+sashiko@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=pieter.jansen-van-vuuren@amd.com \
    --cc=richardcochran@gmail.com \
    --cc=smhodgson@solarflare.com \
    /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

all inboxes | Powered by JetHome®