mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Petr Oros <poros@redhat.com>
To: netdev-bot+sashiko@kernel.org
Cc: Petr Oros <poros@redhat.com>,
	Tony Nguyen <anthony.l.nguyen@intel.com>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Przemek Kitszel <przemyslaw.kitszel@intel.com>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	Aleksandr Loktionov <aleksandr.loktionov@intel.com>,
	Simon Horman <horms@kernel.org>,
	Michal Swiatkowski <michal.swiatkowski@linux.intel.com>,
	Grzegorz Nitka <grzegorz.nitka@intel.com>,
	Paul Menzel <pmenzel@molgen.mpg.de>,
	Wojciech Drewek <wojciech.drewek@intel.com>,
	Marcin Szycik <marcin.szycik@linux.intel.com>,
	Martyna Szapar-Mudlaw <martyna.szapar-mudlaw@linux.intel.com>,
	Ivan Vecera <ivecera@redhat.com>,
	Alice Michael <alice.michael@intel.com>,
	Jacob Keller <jacob.e.keller@intel.com>,
	Jesse Brandeburg <jbrandeb@kernel.org>,
	Patryk Holda <patryk.holda@intel.com>,
	Rinitha S <sx.rinitha@intel.com>,
	Aaron Ma <aaron.ma@canonical.com>,
	netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH net v5 1/4] ice: stop the service task before the PF is unloaded
Date: Mon, 30 Nov 2026 14:20:04 +0100	[thread overview]
Message-ID: <20261130132009.1176908-1-poros@redhat.com> (raw)
In-Reply-To: <179585820637.3135.16053674648760900756@kernel.org>

On Sat, 28 Nov 2026 09:30:06 +0000, netdev-bot+sashiko@kernel.org wrote:

> - [High] The patch moves the early ice_service_task_stop() only in
>   ice_remove().

Right, ice_devlink_reinit_down() and the error path of ice_probe() also
tear the PF down before their only stop. Both did so before commit
8a37f9e2ff40 ("ice: move ice_deinit_dev() to the end of deinit paths"),
the reinit since commit
41cc4e53934c ("ice: Remove and readd netdev during devlink reload").
This patch only puts the stop back where ice_remove() had it, and the
v6 message says so.

> - [High] The patch handles the "last run re-arms the service timer after
>   the stop, and the timer fires after the PF is freed" race only in the…

Right, a path that stops only once can still be left with an armed
timer, and those paths are older too. In ice_remove() the stop in
ice_deinit_dev() deletes it. With the 12 s test delay from the commit
message the E810-C without this patch faulted in call_timer_fn() after
rmmod, and with it rmmod took 12.0 s and KASAN reported nothing.

> - [Medium] The early ice_service_task_stop() in ice_remove()
>   (ice_main.c:5390) does not stop the service work from being queued…

Right, and that window is as old as ICE_SERVICE_DIS, commit 8d81fa55bac0
("ice: Introduce SERVICE_DIS flag and service routine functions").
Before commit 8a37f9e2ff40 ice_remove() stopped at the same place with
the same window. It is not changed here.


  reply	other threads:[~2026-11-30 13:20 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27  8:57 [PATCH net v5 0/4] ice: fix DFLT Rx rule handling for promisc and switchdev Petr Oros
2026-11-27  8:57 ` [PATCH net v5 1/4] ice: stop the service task before the PF is unloaded Petr Oros
2026-11-27 13:34   ` Ivan Vecera
2026-11-27 14:50   ` Przemek Kitszel
2026-11-28  9:30   ` netdev-bot+sashiko
2026-11-30 13:20     ` Petr Oros [this message]
2026-11-27  8:57 ` [PATCH net v5 2/4] ice: do not leave switchdev mode while representors exist Petr Oros
2026-11-27 13:34   ` Ivan Vecera
2026-11-28  9:30   ` netdev-bot+sashiko
2026-11-30 13:20     ` Petr Oros
2026-11-27  8:57 ` [PATCH net v5 3/4] ice: resync uplink filters after a switchdev session Petr Oros
2026-11-27 13:35   ` Ivan Vecera
2026-11-28  9:30   ` netdev-bot+sashiko
2026-11-30 13:20     ` Petr Oros
2026-11-27  8:57 ` [PATCH net v5 4/4] ice: use a VLAN agnostic multicast promisc rule pair for PF VSIs Petr Oros
2026-11-27 13:36   ` Ivan Vecera
2026-11-28  9:30   ` netdev-bot+sashiko
2026-11-30 13:20     ` Petr Oros

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=20261130132009.1176908-1-poros@redhat.com \
    --to=poros@redhat.com \
    --cc=aaron.ma@canonical.com \
    --cc=aleksandr.loktionov@intel.com \
    --cc=alice.michael@intel.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=anthony.l.nguyen@intel.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=grzegorz.nitka@intel.com \
    --cc=horms@kernel.org \
    --cc=intel-wired-lan@lists.osuosl.org \
    --cc=ivecera@redhat.com \
    --cc=jacob.e.keller@intel.com \
    --cc=jbrandeb@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcin.szycik@linux.intel.com \
    --cc=martyna.szapar-mudlaw@linux.intel.com \
    --cc=michal.swiatkowski@linux.intel.com \
    --cc=netdev-bot+sashiko@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=patryk.holda@intel.com \
    --cc=pmenzel@molgen.mpg.de \
    --cc=przemyslaw.kitszel@intel.com \
    --cc=sx.rinitha@intel.com \
    --cc=wojciech.drewek@intel.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®