All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] ath9k deadbeef
@ 2011-01-07 16:34 Brian Prodoehl
  2011-01-07 16:55 ` Senthilkumar Balasubramanian
  0 siblings, 1 reply; 10+ messages in thread
From: Brian Prodoehl @ 2011-01-07 16:34 UTC (permalink / raw)
  To: ath9k-devel

What's the story on reading a register in ath9k and getting
0xDEADBEEF?  I know this has come up before, and whatever the symptom
is sort of goes away and everyone moves on, but I haven't seen a
discussion of why deadbeef comes up in the first place.  A couple
weeks ago I had a calibration fail on an AR9280 with a recent
compat-wireless, and dmesg revealed that some register value was
0xDEADBEEF (sadly I wasn't in a position to capture it).  If I set up
a loop to read a big register block over and over again on AR9220 and
AR9280 chips, it's very easy to get large chunks of the register set
to read as 0xDEADBEEF.  Should the register read routine be checking
for this?  Are we occasionally getting deadbeef at random points, and
doing the wrong thing because finally some bit we're checking on is
cleared or set?

I wonder if adding a WARN_ON whenever a register reads as deadbeef
would shed some light on any of the common bugs (such as the "ath:
Could not stop RX, we could be confusing the DMA engine when we start
RX up" problem, which I see all the time) or the others that are more
easily reproduced with lots of vifs.

I just don't know enough about why I'm seeing deadbeef in the first
place to say where it may or may not cause problems.

-Brian

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-01-11 15:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-07 16:34 [ath9k-devel] ath9k deadbeef Brian Prodoehl
2011-01-07 16:55 ` Senthilkumar Balasubramanian
2011-01-07 17:24   ` Ben Greear
2011-01-07 17:44     ` Brian Prodoehl
2011-01-07 18:05       ` Peter Stuge
2011-01-07 18:14         ` [ath9k-devel] unknown header type 04, ignoring device Peter Stuge
2011-01-11 15:30           ` Mohammed Shafi
2011-01-07 18:15         ` [ath9k-devel] ath9k deadbeef Ben Greear
2011-01-07 23:53           ` Peter Stuge
2011-01-08  0:10             ` Ben Greear

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.