[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090521.151841.160383267.davem@davemloft.net>
Date: Thu, 21 May 2009 15:18:41 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: hong.pham@...driver.com
Cc: netdev@...r.kernel.org, matheos.worku@....com
Subject: Re: [PATCH 0/1] NIU: fix spurious interrupts
From: "Hong H. Pham" <hong.pham@...driver.com>
Date: Wed, 20 May 2009 11:57:16 -0400
> I've added the suggested instrumentations to dump out the LD interrupt
> registers
> when spurious interrupts occur. Attached below is a kernel log.
>
> In all cases, interrupts are being generated even though the LDG has
> been disarmed!
There's a bug in your debugging patch:
+ ld_im0_reg = LD_IM0(ldn);
+ ldg_imgmt_reg = LDG_IMGMT(ldn);
You're reading the register "address", not the register's "value".
So all of the debugging output is bogus.
You need to do nr64(ld_im0_reg) and use that as the value, for
example.
Can you rerun the test with this fixed? Thanks!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists