From: Shahab Vahedi <Shahab.Vahedi@synopsys.com>
To: Michael Sit Wei Hong <michael.wei.hong.sit@intel.com>
Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
Vineet Gupta <vgupta@kernel.org>,
"linux-snps-arc@lists.infradead.org"
<linux-snps-arc@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"alexandre.torgue@foss.st.com andrew@lunn.ch
boon.leong.ong@intel.com davem@davemloft.net edumazet@google.com
hkallweit1@gmail.com hong.aun.looi@intel.com
joabreu@synopsys.com kuba@kernel.org
linux-arm-kernel@lists.infradead.org
linux-stm32@st-md-mailman.stormreply.com linux@armlinux.org.uk
mcoquelin.stm32@gmail.com netdev@vger.kernel.org
pabeni@redhat.com peppe.cavallaro@st.com
peter.jun.ann.lai@intel.com weifeng.voon"@intel.com,
<"alexandre.torgue@foss.st.com andrew@lunn.ch
boon.leong.ong@intel.com davem@davemloft.net edumazet@google.com
hkallweit1@gmail.com hong.aun.looi@intel.com
joabreu@synopsys.com kuba@kernel.org
linux-arm-kernel@lists.infradead.org
linux-stm32@st-md-mailman.stormreply.com linux@armlinux.org.uk
mcoquelin.stm32@gmail.com netdev@vger.kernel.org
pabeni@redhat.com peppe.cavallaro@st.com
peter.jun.ann.lai@intel.com weifeng.voon"@intel.com>
Subject: Re: [PATCH net v5 2/3] net: stmmac: check if MAC needs to attach to a PHY
Date: Wed, 5 Apr 2023 08:48:19 +0000 [thread overview]
Message-ID: <4b0261ef-a747-cd88-3fc1-6d99ff3d8913@synopsys.com> (raw)
In-Reply-To: <20230403212434.296975-1-martin.blumenstingl@googlemail.com>
Same happens on ARC HSDK [1]:
# dmesg | grep stmmaceth
stmmaceth f0008000.ethernet: use coherent DMA ops
stmmaceth f0008000.ethernet: IRQ eth_wake_irq not found
stmmaceth f0008000.ethernet: IRQ eth_lpi not found
stmmaceth f0008000.ethernet: PTP uses main clock
stmmaceth f0008000.ethernet: User ID: 0x10, Synopsys ID: 0x37
stmmaceth f0008000.ethernet: DWMAC1000
stmmaceth f0008000.ethernet: DMA HW capability register supported
stmmaceth f0008000.ethernet: RX Checksum Offload Engine supported
stmmaceth f0008000.ethernet: COE Type 2
stmmaceth f0008000.ethernet: TX Checksum insertion supported
stmmaceth f0008000.ethernet: Normal descriptors
stmmaceth f0008000.ethernet: Ring mode enabled
stmmaceth f0008000.ethernet: Enable RX Mitigation via HW Watchdog Timer
stmmaceth f0008000.ethernet: device MAC address 7e:14:df:5f:b8:78
stmmaceth f0008000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
stmmaceth f0008000.ethernet eth0: PHY [stmmac-0:00] driver [Micrel KSZ9031 Gigabit PHY] (irq=POLL)
stmmaceth f0008000.ethernet eth0: no phy found
stmmaceth f0008000.ethernet eth0: __stmmac_open: Cannot attach to PHY (error: -19)
After reverting this patch:
# dmesg | grep stmmaceth
stmmaceth f0008000.ethernet: use coherent DMA ops
stmmaceth f0008000.ethernet: IRQ eth_wake_irq not found
stmmaceth f0008000.ethernet: IRQ eth_lpi not found
stmmaceth f0008000.ethernet: PTP uses main clock
stmmaceth f0008000.ethernet: User ID: 0x10, Synopsys ID: 0x37
stmmaceth f0008000.ethernet: DWMAC1000
stmmaceth f0008000.ethernet: DMA HW capability register supported
stmmaceth f0008000.ethernet: RX Checksum Offload Engine supported
stmmaceth f0008000.ethernet: COE Type 2
stmmaceth f0008000.ethernet: TX Checksum insertion supported
stmmaceth f0008000.ethernet: Normal descriptors
stmmaceth f0008000.ethernet: Ring mode enabled
stmmaceth f0008000.ethernet: Enable RX Mitigation via HW Watchdog Timer
stmmaceth f0008000.ethernet: device MAC address 26:05:ea:c0:66:16
stmmaceth f0008000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
stmmaceth f0008000.ethernet eth0: PHY [stmmac-0:00] driver [Micrel KSZ9031
Gigabit PHY] (irq=POLL)
stmmaceth f0008000.ethernet eth0: No Safety Features support found
stmmaceth f0008000.ethernet eth0: PTP not supported by HW
stmmaceth f0008000.ethernet eth0: configuring for phy/rgmii-id link mode
stmmaceth f0008000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[1]
arch/arc/boot/dts/hsdk.dts
--
Shahab
next prev parent reply other threads:[~2023-04-05 8:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-30 9:14 [PATCH net v5 0/3] Fix PHY handle no longer parsing Michael Sit Wei Hong
2023-03-30 9:14 ` [PATCH net v5 1/3] net: phylink: add phylink_expects_phy() method Michael Sit Wei Hong
2023-04-12 8:38 ` Maxime Chevallier
2023-04-12 6:58 ` Sit, Michael Wei Hong
2023-03-30 9:14 ` [PATCH net v5 2/3] net: stmmac: check if MAC needs to attach to a PHY Michael Sit Wei Hong
2023-04-03 21:24 ` RE " Martin Blumenstingl
2023-04-05 8:48 ` Shahab Vahedi [this message]
2023-04-05 9:06 ` Shahab Vahedi
2023-03-30 9:14 ` [PATCH net v5 3/3] net: stmmac: remove redundant fixup to support fixed-link mode Michael Sit Wei Hong
2023-03-31 8:30 ` [PATCH net v5 0/3] Fix PHY handle no longer parsing patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4b0261ef-a747-cd88-3fc1-6d99ff3d8913@synopsys.com \
--to=shahab.vahedi@synopsys.com \
--cc="alexandre.torgue@foss.st.com andrew@lunn.ch boon.leong.ong@intel.com davem@davemloft.net edumazet@google.com hkallweit1@gmail.com hong.aun.looi@intel.com joabreu@synopsys.com kuba@kernel.org linux-arm-kernel@lists.infradead.org linux-stm32@st-md-mailman.stormreply.com linux@armlinux.org.uk mcoquelin.stm32@gmail.com netdev@vger.kernel.org pabeni@redhat.com peppe.cavallaro@st.com peter.jun.ann.lai@intel.com weifeng.voon"@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-snps-arc@lists.infradead.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=michael.wei.hong.sit@intel.com \
--cc=vgupta@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox