summaryrefslogtreecommitdiffstats
path: root/drivers/remoteproc
diff options
context:
space:
mode:
authorHoratiu Vultur <horatiu.vultur@microchip.com>2024-01-19 11:47:50 +0100
committerDavid S. Miller <davem@davemloft.net>2024-01-22 11:02:23 +0000
commitaaf632f7ab6dec57bc9329a438f94504fe8034b9 (patch)
treecfbabe8eddfa0ce922c59fd3f77c8316585b80f5 /drivers/remoteproc
parent94fa82b095c7d4949f0906ee3596e8b7988ea557 (diff)
downloadlinux-stable-aaf632f7ab6dec57bc9329a438f94504fe8034b9.tar.gz
linux-stable-aaf632f7ab6dec57bc9329a438f94504fe8034b9.tar.bz2
linux-stable-aaf632f7ab6dec57bc9329a438f94504fe8034b9.zip
net: micrel: Fix PTP frame parsing for lan8814
The HW has the capability to check each frame if it is a PTP frame, which domain it is, which ptp frame type it is, different ip address in the frame. And if one of these checks fail then the frame is not timestamp. Most of these checks were disabled except checking the field minorVersionPTP inside the PTP header. Meaning that once a partner sends a frame compliant to 8021AS which has minorVersionPTP set to 1, then the frame was not timestamp because the HW expected by default a value of 0 in minorVersionPTP. This is exactly the same issue as on lan8841. Fix this issue by removing this check so the userspace can decide on this. Fixes: ece19502834d ("net: phy: micrel: 1588 support for LAN8814 phy") Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Reviewed-by: Divya Koppera <divya.koppera@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/remoteproc')
0 files changed, 0 insertions, 0 deletions