linux/drivers/net/ethernet/intel
Petr Oros 9e5dead140 ice: add dpll peer notification for paired SMA and U.FL pins
SMA and U.FL pins share physical signal paths in pairs (SMA1/U.FL1 and
SMA2/U.FL2).  When one pin's state changes via a PCA9575 GPIO write,
the paired pin's state also changes, but no notification is sent for
the peer pin.  Userspace consumers monitoring the peer via dpll netlink
subscribe never learn about the update.

Add ice_dpll_sw_pin_notify_peer() which sends a change notification for
the paired SW pin.  Call it from ice_dpll_pin_sma_direction_set(),
ice_dpll_sma_pin_state_set(), and ice_dpll_ufl_pin_state_set() after
pf->dplls.lock is released.  Use __dpll_pin_change_ntf() because
dpll_lock is still held by the dpll netlink layer (dpll_pin_pre_doit).

Fixes: 2dd5d03c77 ("ice: redesign dpll sma/u.fl pins control")
Signed-off-by: Petr Oros <poros@redhat.com>
Tested-by: Alexander Nowlin <alexander.nowlin@intel.com>
Reviewed-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20260427-jk-iwl-net-petr-oros-fixes-v1-11-cdcb48303fd8@intel.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2026-04-30 11:37:39 +02:00
..
e1000 e1000: check return value of e1000_read_eeprom 2026-04-06 14:13:38 -07:00
e1000e e1000e: Unroll PTP in probe error handling 2026-04-18 12:01:41 -07:00
fm10k Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
i40e i40e: don't advertise IFF_SUPP_NOFCS 2026-04-18 12:01:34 -07:00
iavf iavf: add VIRTCHNL_OP_ADD_VLAN to success completion handler 2026-04-30 11:37:38 +02:00
ice ice: add dpll peer notification for paired SMA and U.FL pins 2026-04-30 11:37:39 +02:00
idpf pci-v7.1-changes 2026-04-15 14:41:21 -07:00
igb igb: remove napi_synchronize() in igb_down() 2026-04-06 14:13:19 -07:00
igbvf Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
igc pci-v7.1-changes 2026-04-15 14:41:21 -07:00
ixgbe Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2026-04-09 13:20:59 -07:00
ixgbevf ixgbevf: add missing negotiate_features op to Hyper-V ops table 2026-04-06 13:39:23 -07:00
libeth libeth, idpf: use truesize as XDP RxQ info frag_size 2026-03-05 08:02:05 -08:00
libie libie: prevent memleak in fwlog code 2026-03-17 14:12:36 -07:00
e100.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-11-06 09:27:40 -08:00
Makefile libie: fix linking with libie_{adminq,fwlog} when CONFIG_LIBIE=n 2025-09-16 16:18:45 -07:00