Linux SNPS ARC Archive mirror
 help / color / mirror / Atom feed
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" <alexandre.torgue@foss.st.com>,
	"andrew@lunn.ch" <andrew@lunn.ch>,
	"boon.leong.ong@intel.com" <boon.leong.ong@intel.com>,
	"davem@davemloft.net" <davem@davemloft.net>,
	"edumazet@google.com" <edumazet@google.com>,
	"hkallweit1@gmail.com" <hkallweit1@gmail.com>,
	"hong.aun.looi@intel.com" <hong.aun.looi@intel.com>,
	Jose Abreu <Jose.Abreu@synopsys.com>,
	"kuba@kernel.org" <kuba@kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"linux-stm32@st-md-mailman.stormreply.com"
	<linux-stm32@st-md-mailman.stormreply.com>,
	"linux@armlinux.org.uk" <linux@armlinux.org.uk>,
	"mcoquelin.stm32@gmail.com" <mcoquelin.stm32@gmail.com>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"pabeni@redhat.com" <pabeni@redhat.com>,
	"peppe.cavallaro@st.com" <peppe.cavallaro@st.com>,
	"peter.jun.ann.lai@intel.com" <peter.jun.ann.lai@intel.com>,
	"weifeng.voon@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 09:06:23 +0000	[thread overview]
Message-ID: <f32d74cf-22e6-7c03-c9c9-a51eb5d10db6@synopsys.com> (raw)
In-Reply-To: <20230403212434.296975-1-martin.blumenstingl@googlemail.com>

Fixing the CC header. Apologies for the inconvenience.

------

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
_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc

           reply	other threads:[~2023-04-05  9:07 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20230403212434.296975-1-martin.blumenstingl@googlemail.com>]

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=f32d74cf-22e6-7c03-c9c9-a51eb5d10db6@synopsys.com \
    --to=shahab.vahedi@synopsys.com \
    --cc=Jose.Abreu@synopsys.com \
    --cc=alexandre.torgue@foss.st.com \
    --cc=andrew@lunn.ch \
    --cc=boon.leong.ong@intel.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=hkallweit1@gmail.com \
    --cc=hong.aun.looi@intel.com \
    --cc=kuba@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-snps-arc@lists.infradead.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=linux@armlinux.org.uk \
    --cc=martin.blumenstingl@googlemail.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=michael.wei.hong.sit@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=peppe.cavallaro@st.com \
    --cc=peter.jun.ann.lai@intel.com \
    --cc=vgupta@kernel.org \
    --cc=weifeng.voon@intel.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).