linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFT 0/3] ath9k: more PCU locking enhancements
@ 2010-10-26  8:40 Luis R. Rodriguez
  2010-10-26  8:40 ` [RFT 1/3] ath9k: simplify hw reset locking Luis R. Rodriguez
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Luis R. Rodriguez @ 2010-10-26  8:40 UTC (permalink / raw)
  To: linux-wireless; +Cc: greearb, kyungwan.nam, Luis R. Rodriguez

Here is some more PCU locking enhancements I tested today
while trying to resolve the WARN() that happens when we
try to stop RX DMA and fail. While working on that I figured
I'd work on the TX DMA stuff too, here's a shot at it. I
can no longer get TX / RX DMA rants, please test and let
me know if you do. I only tried some basic testing like
rmmoding while scannign, which typicallly produced some
errors. Now I don't get squat.

Ben if you can test wit your super proprietary application
that'd be great.

This also simplifies locking considerably.

This doesn't break suspend so I'm happy. It also depends
on the last RX DMA fixes I had posted earlier. If you'd
like to get an all-in-one patch of all my patches pending
you can wget this file and git am it:

http://www.kernel.org/pub/linux/kernel/people/mcgrof/patches/tmp/pending-mcgrof-2010-10-26-v1.patch
sha1sum: 874a3cc1a57f7e26ad191cd7b5045315f94c5823

If they do indeed fix the rants, then great, but not sure
if they warrant to be stable fixes.

If this works trick was to not mess with contend on the PCU for RX or TX
and for resets, all together. There is one call not protected here
though, the ath_tx_start_dma() but not sure how to address that or if we
need to.

Luis R. Rodriguez (3):
  ath9k: simplify hw reset locking
  ath9k: move the PCU lock to the sc structure
  ath9k: content DMA start / stop through the PCU lock

 drivers/net/wireless/ath/ath9k/ath9k.h |    3 +-
 drivers/net/wireless/ath/ath9k/init.c  |    1 -
 drivers/net/wireless/ath/ath9k/main.c  |   70 ++++++++++++++------------------
 drivers/net/wireless/ath/ath9k/recv.c  |    2 +-
 drivers/net/wireless/ath/ath9k/xmit.c  |    4 +-
 5 files changed, 34 insertions(+), 46 deletions(-)

-- 
1.7.3.2.90.gd4c43


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

end of thread, other threads:[~2010-10-27 18:55 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-26  8:40 [RFT 0/3] ath9k: more PCU locking enhancements Luis R. Rodriguez
2010-10-26  8:40 ` [RFT 1/3] ath9k: simplify hw reset locking Luis R. Rodriguez
2010-10-26  8:40 ` [RFT 2/3] ath9k: move the PCU lock to the sc structure Luis R. Rodriguez
2010-10-26  8:40 ` [RFT 3/3] ath9k: content DMA start / stop through the PCU lock Luis R. Rodriguez
2010-10-26 16:33 ` [RFT 0/3] ath9k: more PCU locking enhancements Ben Greear
2010-10-26 21:59 ` Ben Greear
2010-10-26 22:03   ` Luis R. Rodriguez
2010-10-26 22:11     ` Ben Greear
2010-10-26 22:17       ` Luis R. Rodriguez
2010-10-27 16:17         ` Ben Greear
2010-10-27 16:26           ` Luis R. Rodriguez
2010-10-27 16:38             ` Ben Greear
2010-10-27 18:55               ` Luis R. Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).