From: Alexey.Brodkin@synopsys.com (Alexey Brodkin)
To: linux-snps-arc@lists.infradead.org
Subject: snps,dwmac interrupt storm (Was: ARC770: "unexpected IRQ trap at vector 00" during boot)
Date: Wed, 2 Aug 2017 07:16:39 +0000 [thread overview]
Message-ID: <1501658198.6345.6.camel@synopsys.com> (raw)
In-Reply-To: <f8fe08e7-aafb-6dfa-48b7-56c7bcd8f66a@synopsys.com>
Hi Alex,
On Wed, 2017-08-02@11:53 +0530, Vineet Gupta wrote:
> On 08/02/2017 03:03 AM, Alex wrote:
> >
> > On 07/25/2017 08:08 PM, Vineet Gupta wrote:
> >
> > Hi Vineet,
> >
> > >
> > > On 07/26/2017 01:41 AM, Alexey Brodkin wrote:
> > > >
> > > > BTW what is your exact kernel version?
> > > >
> > > > In the meantime we'll try to revisit rework of ARC's INTC init
> > > > procedure??but
> > > > I cannot promise anything very soon as I'm on ETO this week but we'll
> > > > see how it goes.
> > >
> > > And exactly do we intend to rework - AFAIK nothings really broken at the
> > > moment in ARC intc handling !
> >
> > I have tried the workarouns I mentioned on top of linux 4.9.34, and it works?
> > exactly as expected. however, on top of 4.13-rc3 [1], the story is a lot?
> > different. As soon as I release the GMAC from reset, the boot stops. I can?
> > single-step through JTAG, and see that the GMAC sends an interrupt storm. The?
> > kernel doesn't have time to move on with the dwmac initialization and register the?
> > interrupt, and that's that.
The only guess I have given mentioned symptoms is you're somehow affected by
90f522a20e3d "NET: dwmac: Make dwmac reset unconditional", see:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=90f522a20e3d16d153e5a5f84cf4ff92281ee417
I guess what happens in 4.13-rc3 with that patch in place your previous work-around
gets reset together with GMAC on driver probe.
So just try to revert that patch for a moment and let me know if that was the case.
-Alexey
next prev parent reply other threads:[~2017-08-02 7:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-24 17:38 ARC770: "unexpected IRQ trap at vector 00" during boot Alexandru Gagniuc
2017-07-24 20:39 ` Alexey Brodkin
2017-07-25 4:04 ` Alex
2017-07-25 20:11 ` Alexey Brodkin
2017-07-26 3:08 ` Vineet Gupta
2017-08-01 21:33 ` snps,dwmac interrupt storm (Was: ARC770: "unexpected IRQ trap at vector 00" during boot) Alex
2017-08-02 6:23 ` snps, dwmac " Vineet Gupta
2017-08-02 7:16 ` Alexey Brodkin [this message]
2017-08-02 17:20 ` Alexandru Gagniuc
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=1501658198.6345.6.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox