Netdev List
 help / color / mirror / Atom feed
From: Przemek Kitszel <przemyslaw.kitszel@intel.com>
To: <netdev-bot+sashiko@kernel.org>, <willemb@google.com>,
	<pabeni@redhat.com>
Cc: <netdev@vger.kernel.org>, <donald.hunter@gmail.com>,
	<jiri@resnulli.us>, <intel-wired-lan@lists.osuosl.org>,
	<anthony.l.nguyen@intel.com>, <davem@davemloft.net>,
	<edumazet@kernel.org>, <kuba@kernel.org>, <horms@kernel.org>,
	<andrew+netdev@lunn.ch>, <poros@redhat.com>
Subject: Re: [PATCH net 2/3] ice: lock VF config while changing its MSI-X vector count
Date: Fri, 4 Dec 2026 13:41:08 +0100	[thread overview]
Message-ID: <17314ff2-9e16-4300-ad5f-cdabf218133e@intel.com> (raw)
In-Reply-To: <179630471576.3146.16306536090827178112@kernel.org>

On 12/3/26 2:31 PM, netdev-bot+sashiko@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential
> issue(s) to consider.
> 
> Critical: 0 · High: 1 (2) · Medium: 0 · Low: 0
> 
> 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).
> 
> - [High] The patch serializes ice_sriov_set_msix_vec_count() against
>    resets of the target VF only.

Right, that is the scope of this fix: the reported oops is a race
between the MSI-X change and a reset of the same VF. The other inactive
VFs are remapped without their cfg_lock since 05c16687e0cc, this patch
does not change that.

So the issue is pre-existing.

> 
> Pre-existing issues:
> - [High] This problem wasn't introduced by this patch, but it is a memory
>    corruption bug on the same function's error path.
> - [High] This problem wasn't introduced by this patch, but it is a NULL-
>    pointer oops on the error path the patch now wraps in cfg_lock.

Both are on error paths that were there before, also out of scope here.

I've tried to expand this commit to cover more fixes, but sadly it only
opened a can of worms resulting in "3 fixes in one commit plus 2 more
commits", and local sashiko kept reporting errors on it anyway.

sashiko.dev report on this patch also points a pre-existing bug.

--

Please merge this, as it fixes reproducible problem, that would only be
amplified by my XLVF series.

  reply	other threads:[~2026-12-04 13:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 12:48 [PATCH net 0/3] ice, devlink: fixes needed for XLVF Przemek Kitszel
2026-12-02 12:48 ` [PATCH net 1/3] ice: move only the valid VF queues on LAG reclaim and reset rebuild Przemek Kitszel
2026-12-04 14:56   ` Loktionov, Aleksandr
2026-12-02 12:48 ` [PATCH net 2/3] ice: lock VF config while changing its MSI-X vector count Przemek Kitszel
2026-12-03 13:31   ` netdev-bot+sashiko
2026-12-04 12:41     ` Przemek Kitszel [this message]
2026-12-02 12:48 ` [PATCH net 3/3] devlink: make room for many nested instances in a dev message Przemek Kitszel
2026-12-03 13:31   ` netdev-bot+sashiko
2026-12-04 12:49     ` Przemek Kitszel
2026-12-02 12:54 ` [PATCH net 0/3] ice, devlink: fixes needed for XLVF netdev-bot+sinfo
2026-12-04 12:53 ` Przemek Kitszel

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=17314ff2-9e16-4300-ad5f-cdabf218133e@intel.com \
    --to=przemyslaw.kitszel@intel.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=anthony.l.nguyen@intel.com \
    --cc=davem@davemloft.net \
    --cc=donald.hunter@gmail.com \
    --cc=edumazet@kernel.org \
    --cc=horms@kernel.org \
    --cc=intel-wired-lan@lists.osuosl.org \
    --cc=jiri@resnulli.us \
    --cc=kuba@kernel.org \
    --cc=netdev-bot+sashiko@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=poros@redhat.com \
    --cc=willemb@google.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