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.
I'm a bit confused here. Are you saying that your current patchset for ARC is
broken on 4.13.x due to "something" while it was working with 4.9.
I'd file this under both 'regression' and 'bug' categories.
Sure - the question where is the bug/regression, is it in ARC port, driver updates
or yet something else in the kernel.
Not sure what changed under the hood from 4.9 to 4.13-rc3 to cause such a
drastically different behavior. I can't really do much else as workarounds, since
the GMAC registers are not writable while the GMAC is in reset.
We had a fair bit of churn in intc department in 4.10 and 4.11 but most of those
were related to the IDU intc found only on HS38x cores, not on ARC700. To really
narrow down the regression, perhaps try a dirty bisect trick (which works for me
sometimes). Squash all the Adaptrum changes into 1 patch - I presume that same
patch applies to 4.9 as to 4.13 (otherwise u need to improvise). git bisect
between 4.9 (good) and 4.13-rcx (bad) and patch -p1 < ur-patch at each stage.
-Vineet
_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc