> -----Original Message-----
> From: David Brownell [mailto:[email protected]]
> Sent: Wednesday, February 11, 2009 4:06 PM
> To: Narnakaje, Snehaprabha
> Cc: [email protected]; Kevin Hilman
> Subject: Re: [PATCH] NET: dm9000 ethernet on dm355: fix NETDEV WATCHDOG
> timeout issue
> 
> On Wednesday 11 February 2009, Narnakaje, Snehaprabha wrote:
> > After going through some testing, it looks like the issue is
> > how we have the dm9000 interrupt configured on the DM355 EVM.
> 
> This doesn't explain anything to me, though ...
> 
> 
> > On DM355 EVM, we have GPIO1 configured as dm9000 interrupt line.
> > May be on other boards have a dedicated dm9000 interrupt line.
> > If we have a dedicated interrupt (to which the disable/enable
> > dm9000 interrupt is also tied), I think it is enough to use
> > global IRQ disable/enable APIs.
> 
> So what's the particular problem?  Something with how
> GPIO interrupts are being processed?  I could believe
> that ... they've not been stressed much before, and such
> low-level code can hide subtle issues for a long time.

We were trying to see why we need this additional dm9000 specific 
disable/enable interrupts in the xmit function. It seems like dm9000 ethernet 
controller being used on other boards does not require this. The difference is 
with the usage of GPIO based interrupt for dm9000, on DM355.
Ideally spin_lock_irqsave is supposed to disable interrupts locally. Does it 
mean GPIO1 interrupt or does it mean dm9000 hardware interrupt. I was trying to 
see if we have a problem here.

> 
> But I'm still curious why I don't see the problem.
> Admittedly I'm not using NFS much, but still I would
> expect to ssee *some* dm9000 issue.

I think, the issue is easily (almost always) reproducible if I use a NFS root 
filesystem. If I come up other filesystems (like ramdisk) and then configure 
Ethernet, it is not always reproducible. In this case, I have seen the NETDEV 
watchdog timeouts occasionally when I ping another host from the EVM.

Thanks
Sneha

> 
> - Dave
> 

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to