net: stmmac: dwmac: enforce preamble before SFD for i.MX8MP
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Changes in v3 from the cover letter
- Instead of using phy_register_fixup add a new phy_device::dev_flags flag PHY_F_KEEP_PREAMBLE_BEFORE_SFD so that a MAC can request to keep the preamble before SFD if needed (Russell)
- Link to v2: https://lore.kernel.org/all/[email protected]/
Patches in v3 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | net: phy: add a new phy_device flag to keep preamble before sfdinclude/ | +3 | 3 replies | Applied |
| 2/3 | net: phy: micrel: add option to keep the preamble before sfd for KSZ9131drivers/ | +13 | 1 reply | Applied |
| 3/3 | net: stmmac: dwmac-imx: keep preamble before sfd on i.MX8MPdrivers/ drivers/ include/ | +13 | 1 reply | Applied |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Maxime Chevallier | Andrew Lunn |
|---|---|---|
| Series | T-b R-b | |
| 1/3 | R-b | |
| 2/3 | R-b | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v3 0/3] net: stmmac: dwmac: enforce preamble before SFD for i.MX8MP
This series adds a new phy_device flag PHY_F_KEEP_PREAMBLE_BEFORE_SFD that allows a MAC driver to request to keep the preamble bytes before the start frame delimiter (SFD) when receiving frames from the PHY.
This flag is set in the stmmac driver for the i.MX8MP SoC due to errata (ERR050694), which causes it to drop frames without a preamble.
The Micrel KSZ9131 PHY supports keeping the preamble before SFD by setting an undocumented flag, that was confirmed by NXP and Micrel. This new feature has been added to the Micrel PHY driver for the KSZ9131 PHY.
Changes since v2:
- Instead of using phy_register_fixup add a new phy_device::dev_flags flag PHY_F_KEEP_PREAMBLE_BEFORE_SFD so that a MAC can request to keep the preamble before SFD if needed (Russell)
- Link to v2: https://lore.kernel.org/all/[email protected]/
Changes since v1:
- Use phy_register_fixup_for_uid() instead of adding a new device tree property
- I will send the conversion of the micrel.txt binding as a separate patch series
- Link to v1: https://lore.kernel.org/all/[email protected]/
Stefan Eichenberger (3):
net: phy: add a new phy_device flag to keep preamble before sfd
net: phy: micrel: add option to keep the preamble before sfd for
KSZ9131
net: stmmac: dwmac-imx: keep preamble before sfd on i.MX8MP
drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c | 6 +++++- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 8 +++++++- drivers/net/phy/micrel.c | 14 +++++++++++++- include/linux/phy.h | 5 +++-- include/linux/stmmac.h | 1 + 5 files changed, 29 insertions(+), 5 deletions(-)
Signature · 1 line
2.51.0