All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey.Brodkin@synopsys.com (Alexey Brodkin)
To: linux-snps-arc@lists.infradead.org
Subject: stmmac: GMAC_RGSMIIIS reports bogus values
Date: Tue, 31 Jan 2017 13:24:00 +0000	[thread overview]
Message-ID: <1485869040.2706.15.camel@synopsys.com> (raw)
In-Reply-To: <28d0ab2c-eb68-a520-e59a-83b15700fe44@st.com>

Hi?Giuseppe,

On Tue, 2017-01-31@10:55 +0100, Giuseppe CAVALLARO wrote:
> On 1/27/2017 11:23 AM, Alexey Brodkin wrote:
> > 
> > That's why my initial proposal was to ignore whatever we read from this register
> > if we have MDIO bus instantiated already.
> 
> sorry for my late reply, I agree with this approach, according to the
> HW and platform configuration the driver has to understand and then
> work to use either SMA or PCS module.

I already submitted another solution which IMHO is much cleaner and appropriate,
see David has it already in master tree here:
http://git.kernel.org/cgit/linux/kernel/git/davem/net.git/commit/?id=0a764db103376cf69d04449b10688f3516cc0b88

-Alexey

WARNING: multiple messages have this Message-ID (diff)
From: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
To: "peppe.cavallaro@st.com" <peppe.cavallaro@st.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"linux-snps-arc@lists.infradead.org" 
	<linux-snps-arc@lists.infradead.org>
Subject: Re: stmmac: GMAC_RGSMIIIS reports bogus values
Date: Tue, 31 Jan 2017 13:24:00 +0000	[thread overview]
Message-ID: <1485869040.2706.15.camel@synopsys.com> (raw)
In-Reply-To: <28d0ab2c-eb68-a520-e59a-83b15700fe44@st.com>

Hi Giuseppe,

On Tue, 2017-01-31 at 10:55 +0100, Giuseppe CAVALLARO wrote:
> On 1/27/2017 11:23 AM, Alexey Brodkin wrote:
> > 
> > That's why my initial proposal was to ignore whatever we read from this register
> > if we have MDIO bus instantiated already.
> 
> sorry for my late reply, I agree with this approach, according to the
> HW and platform configuration the driver has to understand and then
> work to use either SMA or PCS module.

I already submitted another solution which IMHO is much cleaner and appropriate,
see David has it already in master tree here:
http://git.kernel.org/cgit/linux/kernel/git/davem/net.git/commit/?id=0a764db103376cf69d04449b10688f3516cc0b88

-Alexey

WARNING: multiple messages have this Message-ID (diff)
From: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
To: "peppe.cavallaro@st.com" <peppe.cavallaro@st.com>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"linux-snps-arc@lists.infradead.org"
	<linux-snps-arc@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: stmmac: GMAC_RGSMIIIS reports bogus values
Date: Tue, 31 Jan 2017 13:24:00 +0000	[thread overview]
Message-ID: <1485869040.2706.15.camel@synopsys.com> (raw)
In-Reply-To: <28d0ab2c-eb68-a520-e59a-83b15700fe44@st.com>

Hi Giuseppe,

On Tue, 2017-01-31 at 10:55 +0100, Giuseppe CAVALLARO wrote:
> On 1/27/2017 11:23 AM, Alexey Brodkin wrote:
> > 
> > That's why my initial proposal was to ignore whatever we read from this register
> > if we have MDIO bus instantiated already.
> 
> sorry for my late reply, I agree with this approach, according to the
> HW and platform configuration the driver has to understand and then
> work to use either SMA or PCS module.

I already submitted another solution which IMHO is much cleaner and appropriate,
see David has it already in master tree here:
http://git.kernel.org/cgit/linux/kernel/git/davem/net.git/commit/?id=0a764db103376cf69d04449b10688f3516cc0b88

-Alexey
_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc

  reply	other threads:[~2017-01-31 13:24 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-03 16:17 stmmac: GMAC_RGSMIIIS reports bogus values Alexey Brodkin
2016-11-03 16:17 ` Alexey Brodkin
2016-11-14  8:14 ` Giuseppe CAVALLARO
2016-11-14  8:14   ` Giuseppe CAVALLARO
2016-11-14  8:14   ` Giuseppe CAVALLARO
2017-01-25 18:39   ` Alexey Brodkin
2017-01-25 18:39     ` Alexey Brodkin
2017-01-25 18:47     ` Vineet Gupta
2017-01-25 18:47       ` Vineet Gupta
2017-01-27 10:23     ` Alexey Brodkin
2017-01-27 10:23       ` Alexey Brodkin
2017-01-27 10:23       ` Alexey Brodkin
2017-01-31  9:55       ` Giuseppe CAVALLARO
2017-01-31  9:55         ` Giuseppe CAVALLARO
2017-01-31  9:55         ` Giuseppe CAVALLARO
2017-01-31 13:24         ` Alexey Brodkin [this message]
2017-01-31 13:24           ` Alexey Brodkin
2017-01-31 13:24           ` Alexey Brodkin
2017-01-31 13:46           ` Giuseppe CAVALLARO
2017-01-31 13:46             ` Giuseppe CAVALLARO
2017-01-31 13:46             ` Giuseppe CAVALLARO

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=1485869040.2706.15.camel@synopsys.com \
    --to=alexey.brodkin@synopsys.com \
    --cc=linux-snps-arc@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.