diff options
author | Wong Vee Khee <vee.khee.wong@intel.com> | 2021-03-05 07:03:42 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-05 21:59:32 +0100 |
commit | 8eb37ab7cc045ec6305a6a1a9c32374695a1a977 (patch) | |
tree | 4645546cf667a52754fdec3de1622956d4229cee /net/ipv4 | |
parent | net: stmmac: Fix VLAN filter delete timeout issue in Intel mGBE SGMII (diff) | |
download | linux-8eb37ab7cc045ec6305a6a1a9c32374695a1a977.tar.xz linux-8eb37ab7cc045ec6305a6a1a9c32374695a1a977.zip |
stmmac: intel: Fixes clock registration error seen for multiple interfaces
Issue seen when enumerating multiple Intel mGbE interfaces in EHL.
[ 6.898141] intel-eth-pci 0000:00:1d.2: enabling device (0000 -> 0002)
[ 6.900971] intel-eth-pci 0000:00:1d.2: Fail to register stmmac-clk
[ 6.906434] intel-eth-pci 0000:00:1d.2: User ID: 0x51, Synopsys ID: 0x52
We fix it by making the clock name to be unique following the format
of stmmac-pci_name(pci_dev) so that we can differentiate the clock for
these Intel mGbE interfaces in EHL platform as follow:
/sys/kernel/debug/clk/stmmac-0000:00:1d.1
/sys/kernel/debug/clk/stmmac-0000:00:1d.2
/sys/kernel/debug/clk/stmmac-0000:00:1e.4
Fixes: 58da0cfa6cf1 ("net: stmmac: create dwmac-intel.c to contain all Intel platform")
Signed-off-by: Wong Vee Khee <vee.khee.wong@intel.com>
Signed-off-by: Voon Weifeng <weifeng.voon@intel.com>
Co-developed-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions