* [Intel-wired-lan] [PATCH net v2 0/8] Intel Wired LAN Driver Updates 2026-05-04 (i40e, ice, idpf)
@ 2026-05-06 21:48 Jacob Keller
2026-05-06 21:48 ` [Intel-wired-lan] [PATCH net v2 6/8] ice: fix locking in ice_dcb_rebuild() Jacob Keller
2026-05-08 23:20 ` [Intel-wired-lan] [PATCH net v2 0/8] Intel Wired LAN Driver Updates 2026-05-04 (i40e, ice, idpf) patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Jacob Keller @ 2026-05-06 21:48 UTC (permalink / raw)
To: Przemek Kitszel, Andrew Lunn, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni, Piotr Kwapulinski,
Aleksandr Loktionov, Arkadiusz Kubalewski, Maciej Fijalkowski,
Joshua Hay, Madhu Chittim, Willem de Bruijn, Dave Ertman,
Ivan Vecera, Grzegorz Nitka
Cc: netdev, stable, Jacob Keller, Matt Vollrath, Sunitha Mekala,
Kohei Enju, Paul Menzel, Emil Tantilov, Simon Horman,
Samuel Salin, Greg Kroah-Hartman, Tony Nguyen, stable,
Marcin Szycik, Bart Van Assche, intel-wired-lan, Arpana Arland
Matt Volrath fixes two issues with the i40e driver probe routine, ensuring
that PTP is properly cleaned up if the probe fails.
Emil corrects the initialization of the read_dev_clk_lock spinlock in
idpf_ptp_init, ensuring it is initialized prior to when the
ptp_schedule_worker() is called.
Greg KH fixes a double free and use-after free in the idpf auxiliary device
error paths.
Marcin fixes ice_set_rss_hfunc() to use the correct q_opt_flags field,
correcting the assignment and preventing submission of invalid data to the
firmware.
Bart corrects the locking in ice_dcb_rebuild(), ensuring that the tc_mutex
is held over the entire operation.
Ivan fixes the rclk pin state get for E810 devices, ensuring the index is
properly offset by the base_rclk_idx value. This ensures that the correct
pin index is used to look up recovered clock state. He additionally adds
bounds checking to prevent attempting to access pins outside of the pin
state array.
Ivan also moves the CGU register macros to the top of ice_dpll.h, inside
the header guard to avoid duplicate macro definitions should the ice_dpll.h
header is included multiple times.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
---
Changes in v2:
- Dropped patches which had comments from Sashiko pointing out issues that
need to be addressed.
- Link to v1: https://patch.msgid.link/20260504-jk-iwl-net-2026-05-04-v1-0-a222a88bd962@intel.com
---
Bart Van Assche (1):
ice: fix locking in ice_dcb_rebuild()
Emil Tantilov (1):
idpf: fix read_dev_clk_lock spinlock init in idpf_ptp_init()
Greg Kroah-Hartman (1):
idpf: fix double free and use-after-free in aux device error paths
Ivan Vecera (2):
ice: dpll: fix rclk pin state get for E810
ice: dpll: fix misplaced header macros
Marcin Szycik (1):
ice: fix setting RSS VSI hash for E830
Matt Vollrath (2):
i40e: Cleanup PTP registration on probe failure
i40e: Cleanup PTP pins on probe failure
drivers/net/ethernet/intel/i40e/i40e.h | 1 +
drivers/net/ethernet/intel/ice/ice_dpll.h | 32 ++++++++++++++--------------
drivers/net/ethernet/intel/i40e/i40e_main.c | 2 ++
drivers/net/ethernet/intel/i40e/i40e_ptp.c | 3 ++-
drivers/net/ethernet/intel/ice/ice_dcb_lib.c | 4 ++--
drivers/net/ethernet/intel/ice/ice_dpll.c | 5 +++++
drivers/net/ethernet/intel/ice/ice_main.c | 2 +-
drivers/net/ethernet/intel/idpf/idpf_idc.c | 6 ++++++
drivers/net/ethernet/intel/idpf/idpf_ptp.c | 4 ++--
9 files changed, 37 insertions(+), 22 deletions(-)
---
base-commit: bd3a4795d5744f59a1f485379f1303e5e606f377
change-id: 20260504-jk-iwl-net-2026-05-04-f9526823577f
Best regards,
--
Jacob Keller <jacob.e.keller@intel.com>
^ permalink raw reply [flat|nested] 3+ messages in thread* [Intel-wired-lan] [PATCH net v2 6/8] ice: fix locking in ice_dcb_rebuild()
2026-05-06 21:48 [Intel-wired-lan] [PATCH net v2 0/8] Intel Wired LAN Driver Updates 2026-05-04 (i40e, ice, idpf) Jacob Keller
@ 2026-05-06 21:48 ` Jacob Keller
2026-05-08 23:20 ` [Intel-wired-lan] [PATCH net v2 0/8] Intel Wired LAN Driver Updates 2026-05-04 (i40e, ice, idpf) patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Jacob Keller @ 2026-05-06 21:48 UTC (permalink / raw)
To: Przemek Kitszel, Andrew Lunn, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni, Piotr Kwapulinski,
Aleksandr Loktionov, Arkadiusz Kubalewski, Maciej Fijalkowski,
Joshua Hay, Madhu Chittim, Willem de Bruijn, Dave Ertman,
Ivan Vecera, Grzegorz Nitka
Cc: netdev, stable, Jacob Keller, Bart Van Assche, intel-wired-lan,
Arpana Arland
From: Bart Van Assche <bvanassche@acm.org>
Move the mutex_lock() call up to prevent that DCB settings change after
the first ice_query_port_ets() call. The second ice_query_port_ets()
call in ice_dcb_rebuild() is already protected by pf->tc_mutex.
This also fixes a bug in an error path, as before taking the first
"goto dcb_error" in the function jumped over mutex_lock() to
mutex_unlock().
This bug has been detected by the clang thread-safety analyzer.
Cc: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Cc: intel-wired-lan@lists.osuosl.org
Fixes: 242b5e068b25 ("ice: Fix DCB rebuild after reset")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Tested-by: Arpana Arland <arpanax.arland@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
---
drivers/net/ethernet/intel/ice/ice_dcb_lib.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/intel/ice/ice_dcb_lib.c b/drivers/net/ethernet/intel/ice/ice_dcb_lib.c
index 16aa25535152..0bc6dd375687 100644
--- a/drivers/net/ethernet/intel/ice/ice_dcb_lib.c
+++ b/drivers/net/ethernet/intel/ice/ice_dcb_lib.c
@@ -537,14 +537,14 @@ void ice_dcb_rebuild(struct ice_pf *pf)
struct ice_dcbx_cfg *err_cfg;
int ret;
+ mutex_lock(&pf->tc_mutex);
+
ret = ice_query_port_ets(pf->hw.port_info, &buf, sizeof(buf), NULL);
if (ret) {
dev_err(dev, "Query Port ETS failed\n");
goto dcb_error;
}
- mutex_lock(&pf->tc_mutex);
-
if (!pf->hw.port_info->qos_cfg.is_sw_lldp)
ice_cfg_etsrec_defaults(pf->hw.port_info);
--
2.54.0.rc2.531.gaf818d63126a
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [Intel-wired-lan] [PATCH net v2 0/8] Intel Wired LAN Driver Updates 2026-05-04 (i40e, ice, idpf)
2026-05-06 21:48 [Intel-wired-lan] [PATCH net v2 0/8] Intel Wired LAN Driver Updates 2026-05-04 (i40e, ice, idpf) Jacob Keller
2026-05-06 21:48 ` [Intel-wired-lan] [PATCH net v2 6/8] ice: fix locking in ice_dcb_rebuild() Jacob Keller
@ 2026-05-08 23:20 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-05-08 23:20 UTC (permalink / raw)
To: Jacob Keller
Cc: piotr.kwapulinski, emil.s.tantilov, gregkh, tactii, edumazet,
madhu.chittim, anthony.l.nguyen, kohei, ivecera, bvanassche,
przemyslaw.kitszel, Samuel.salin, arkadiusz.kubalewski,
aleksandr.loktionov, arpanax.arland, intel-wired-lan,
david.m.ertman, pabeni, stable, pmenzel, maciej.fijalkowski, kuba,
willemb, sunithax.d.mekala, joshua.a.hay, stable, andrew+netdev,
marcin.szycik, horms, netdev, davem
Hello:
This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Wed, 06 May 2026 14:48:09 -0700 you wrote:
> Matt Volrath fixes two issues with the i40e driver probe routine, ensuring
> that PTP is properly cleaned up if the probe fails.
>
> Emil corrects the initialization of the read_dev_clk_lock spinlock in
> idpf_ptp_init, ensuring it is initialized prior to when the
> ptp_schedule_worker() is called.
>
> [...]
Here is the summary with links:
- [net,v2,1/8] i40e: Cleanup PTP registration on probe failure
https://git.kernel.org/netdev/net/c/1619553b0a6b
- [net,v2,2/8] i40e: Cleanup PTP pins on probe failure
https://git.kernel.org/netdev/net/c/678b713ece1e
- [net,v2,3/8] idpf: fix read_dev_clk_lock spinlock init in idpf_ptp_init()
https://git.kernel.org/netdev/net/c/da4f76b6a84e
- [net,v2,4/8] idpf: fix double free and use-after-free in aux device error paths
https://git.kernel.org/netdev/net/c/6c77b9510829
- [net,v2,5/8] ice: fix setting RSS VSI hash for E830
https://git.kernel.org/netdev/net/c/b3cda96feb60
- [net,v2,6/8] ice: fix locking in ice_dcb_rebuild()
https://git.kernel.org/netdev/net/c/0ded1f36ba40
- [net,v2,7/8] ice: dpll: fix rclk pin state get for E810
https://git.kernel.org/netdev/net/c/cce709d8df6b
- [net,v2,8/8] ice: dpll: fix misplaced header macros
https://git.kernel.org/netdev/net/c/30f1658fc538
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-05-08 23:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-06 21:48 [Intel-wired-lan] [PATCH net v2 0/8] Intel Wired LAN Driver Updates 2026-05-04 (i40e, ice, idpf) Jacob Keller
2026-05-06 21:48 ` [Intel-wired-lan] [PATCH net v2 6/8] ice: fix locking in ice_dcb_rebuild() Jacob Keller
2026-05-08 23:20 ` [Intel-wired-lan] [PATCH net v2 0/8] Intel Wired LAN Driver Updates 2026-05-04 (i40e, ice, idpf) patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox