linux-stable/drivers/net/ethernet
Oleksij Rempel 78a6136e94 net: stmmac: Assign configured channel value to EXTTS event
commit 8851346912 upstream.

Assign the configured channel value to the EXTTS event in the timestamp
interrupt handler. Without assigning the correct channel, applications
like ts2phc will refuse to accept the event, resulting in errors such
as:
...
ts2phc[656.834]: config item end1.ts2phc.pin_index is 0
ts2phc[656.834]: config item end1.ts2phc.channel is 3
ts2phc[656.834]: config item end1.ts2phc.extts_polarity is 2
ts2phc[656.834]: config item end1.ts2phc.extts_correction is 0
...
ts2phc[656.862]: extts on unexpected channel
ts2phc[658.141]: extts on unexpected channel
ts2phc[659.140]: extts on unexpected channel

Fixes: f4da56529d ("net: stmmac: Add support for external trigger timestamping")
Cc: stable@vger.kernel.org
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Link: https://lore.kernel.org/r/20240618073821.619751-1-o.rempel@pengutronix.de
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-06-27 13:49:11 +02:00
..
3com 3c589_cs: Fix an error handling path in tc589_probe() 2023-05-22 19:17:58 -07:00
8390 net: ethernet: 8390: ne2k-pci: use module_pci_driver() macro 2023-08-10 19:31:57 -07:00
actions
adaptec
adi net: ethernet: adi: adin1110: Fix uninitialized variable 2023-10-21 11:54:42 +01:00
aeroflex net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00
agere et131x: Use pci_dev_id() to simplify the code 2023-08-13 12:30:39 +01:00
alacritech net: ethernet: slicoss: remove redundant increment of pointer data 2023-07-28 15:37:08 -07:00
allwinner
alteon
altera net: altera-tse: make ALTERA_TSE depend on HAS_IOMEM 2023-08-18 10:18:51 -07:00
amazon net: ena: Fix redundant device NUMA node override 2024-06-12 11:12:59 +02:00
amd net: pds_core: Fix possible double free in error handling path 2024-03-15 10:48:21 -04:00
apm net: xgene: Fix unused xgene_enet_of_match warning for !CONFIG_OF 2023-10-21 11:49:31 +01:00
apple net/macmace: Replace zero-length array with DECLARE_FLEX_ARRAY() helper 2023-08-01 14:46:21 -07:00
aquantia net: atlantic: Fix DMA mapping for PTP hwts ring 2024-02-16 19:10:47 +01:00
arc net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00
asix
atheros ethernet: atheros: fix a memleak in atl1e_setup_ring_resources 2024-01-01 12:42:31 +00:00
broadcom bnxt_en: Restore PTP tx_avail count in case of skb_pad() error 2024-06-27 13:49:08 +02:00
brocade bna: ensure the copied buf is NUL terminated 2024-05-17 12:02:02 +02:00
cadence net: macb: fix sleep inside spinlock 2023-09-12 14:58:44 +02:00
calxeda
cavium liquidio: Adjust a NULL pointer handling path in lio_vf_rep_copy_packet 2024-06-21 14:38:32 +02:00
chelsio cxgb4: Properly lock TX queue for the selftest. 2024-05-17 12:02:05 +02:00
cirrus cirrus: cs89x0: fix the return value handle and remove redundant dev_warn() for platform_get_irq() 2023-08-02 12:10:39 -07:00
cisco enic: Validate length of nl attributes in enic_set_vf_port 2024-06-12 11:12:55 +02:00
cortina net: ethernet: cortina: Locking fixes 2024-06-12 11:11:52 +02:00
davicom net: dm9051: Use PTR_ERR_OR_ZERO() to simplify code 2023-08-23 18:57:30 -07:00
dec
dlink
emulex rtnetlink: remove redundant checks for nlattr IFLA_BRIDGE_MODE 2023-08-08 15:10:37 -07:00
engleder tsnep: Fix mapping for zero copy XDP_TX action 2024-02-16 19:10:48 +01:00
ezchip net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00
faraday net: ftmac100: add multicast filtering possibility 2023-08-11 06:58:31 +01:00
freescale net:fec: Add fec_enet_deinit() 2024-06-12 11:12:56 +02:00
fujitsu
fungible eth: add missing xdp.h includes in drivers 2023-08-03 08:38:07 -07:00
google gve: ignore nonrelevant GSO type bits when processing TSO headers 2024-06-21 14:38:35 +02:00
hisilicon net: hns3: add cond_resched() to hns3 ring buffer init process 2024-06-21 14:38:32 +02:00
huawei net: hinic: Fix warning-hinic_set_vlan_fliter() warn: variable dereferenced before check 'hwdev' 2023-09-20 10:54:45 +01:00
i825xx
ibm ibmveth: Remove condition to recompute TCP header checksum. 2023-10-04 11:19:57 +01:00
intel ice: Fix VSI list rule with ICE_SW_LKUP_LAST type 2024-06-27 13:49:08 +02:00
litex net: ethernet: litex: add support for 64 bit stats 2023-06-15 22:56:46 -07:00
marvell octeontx2-pf: Fix linking objects into multiple modules 2024-06-27 13:49:08 +02:00
mediatek net: ethernet: mtk_eth_soc: fix WED + wifi reset 2024-04-27 17:11:33 +02:00
mellanox net/mlx5e: Fix features validation check for tunneled UDP (non-VXLAN) packets 2024-06-21 14:38:33 +02:00
micrel net: ks8851: Fix another TX stall caused by wrong ISR flag handling 2024-05-25 16:22:52 +02:00
microchip net: lan743x: Support WOL at both the PHY and MAC appropriately 2024-06-27 13:49:07 +02:00
microsoft net: mana: Fix the extra HZ in mana_hwc_send_request 2024-06-12 11:11:19 +02:00
moxa
mscc net: mscc: ocelot: fix pMAC TX RMON stats for bucket 256-511 and above 2024-01-01 12:42:30 +00:00
myricom net: move gso declarations and functions to their own files 2023-06-10 00:11:41 -07:00
natsemi
neterion ethernet: s2io: Use ether_addr_to_u64() to convert ethernet address 2023-08-09 15:26:49 -07:00
netronome nfp: flower: handle acti_netdevs allocation failure 2024-03-26 18:19:41 -04:00
ni net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00
nvidia forcedeth: Fix an error handling path in nv_probe() 2023-05-22 19:17:28 -07:00
nxp
oki-semi net: pch_gbe: Allow build on MIPS_GENERIC kernel 2023-06-08 19:18:32 -07:00
packetengines
pasemi
pensando ionic: fix use after netif_napi_del() 2024-06-21 14:38:36 +02:00
qlogic qed: avoid truncating work queue length 2024-06-12 11:11:37 +02:00
qualcomm qca_spi: Make interrupt remembering atomic 2024-06-27 13:49:07 +02:00
rdc
realtek r8169: Fix possible ring buffer corruption on fragmented Tx packets. 2024-06-12 11:11:19 +02:00
renesas net: ravb: Always update error counters 2024-04-10 16:35:57 +02:00
rocker
samsung
seeq
sfc sfc: fix a double-free bug in efx_probe_filters 2024-01-10 17:16:50 +01:00
sgi
silan
sis
smsc net: smc91x: Fix m68k kernel compilation for ColdFire CPU 2024-06-12 11:11:20 +02:00
socionext page_pool: split types and declarations from page_pool.h 2023-08-07 13:05:19 -07:00
stmicro net: stmmac: Assign configured channel value to EXTTS event 2024-06-27 13:49:11 +02:00
sun eth: sungem: remove .ndo_poll_controller to avoid deadlocks 2024-06-12 11:11:51 +02:00
sunplus
synopsys
tehuti
ti net: ti: icssg-prueth: Fix start counter for ft1 filter 2024-06-12 11:12:57 +02:00
toshiba net: spider_net: Use size_add() in call to struct_size() 2023-11-20 11:58:57 +01:00
tundra
vertexcom
via net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00
wangxun net: wangxun: fix to change Rx features 2024-06-12 11:12:13 +02:00
wiznet
xilinx net: ll_temac: platform_get_resource replaced by wrong function 2024-04-03 15:28:56 +02:00
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-08-03 14:34:37 -07:00
lantiq_etop.c
lantiq_xrx200.c
Makefile