01-08-2020, 03:06 AM
There is indeed a regression in linux kernel > 5.4.6
details here: https://gitlab.manjaro.org/manjaro-arm/p...4/issues/5
This impact both manjaro and arch linux.
If your system is impacted, there is a work around:
remove stmmac-platform.ko and rebuild it with this patch
diff -Naur linux-5.4-7/./drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c linux-5.4-6/./drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
--- linux-5.4-7/./drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c 2020-01-07 11:17:04.817218153 +0100
+++ linux-5.4-6/./drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c 2020-01-07 11:16:25.770550353 +0100
@@ -320,7 +320,7 @@
static int stmmac_dt_phy(struct plat_stmmacenet_data *plat,
struct device_node *np, struct device *dev)
{
- bool mdio = false;
+ bool mdio = true;
static const struct of_device_id need_mdio_ids[] = {
{ .compatible = "snps,dwc-qos-ethernet-4.10" },
{},
They are urrently testing a fix and discussing it here:
https://lkml.org/lkml/2020/1/7/375
By the way, you have to know that there is an another issue an archlinux:
They think they are applying patches but then dont. They use git apply outside of a git repo : linux kernel is a .xz file and patches applied with git apply.
They just dropped my pull request: https://github.com/archlinuxarm/PKGBUILDs/pull/1749
I m currently using manjaro, so I didnt care about that.
details here: https://gitlab.manjaro.org/manjaro-arm/p...4/issues/5
This impact both manjaro and arch linux.
If your system is impacted, there is a work around:
remove stmmac-platform.ko and rebuild it with this patch
diff -Naur linux-5.4-7/./drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c linux-5.4-6/./drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
--- linux-5.4-7/./drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c 2020-01-07 11:17:04.817218153 +0100
+++ linux-5.4-6/./drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c 2020-01-07 11:16:25.770550353 +0100
@@ -320,7 +320,7 @@
static int stmmac_dt_phy(struct plat_stmmacenet_data *plat,
struct device_node *np, struct device *dev)
{
- bool mdio = false;
+ bool mdio = true;
static const struct of_device_id need_mdio_ids[] = {
{ .compatible = "snps,dwc-qos-ethernet-4.10" },
{},
They are urrently testing a fix and discussing it here:
https://lkml.org/lkml/2020/1/7/375
By the way, you have to know that there is an another issue an archlinux:
They think they are applying patches but then dont. They use git apply outside of a git repo : linux kernel is a .xz file and patches applied with git apply.
They just dropped my pull request: https://github.com/archlinuxarm/PKGBUILDs/pull/1749
I m currently using manjaro, so I didnt care about that.