linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kalle Valo <kalle.valo@iki.fi>
To: Max Filippov <jcmvbkbc@gmail.com>
Cc: linux-wireless@vger.kernel.org, Christian Lamparter <chunkeey@web.de>
Subject: Re: [PATCH 5/5] p54spi: use firmware/DMA bug workaround that work under hight load in p54spi_rx
Date: Mon, 18 May 2009 21:53:05 +0300	[thread overview]
Message-ID: <87tz3i9ram.fsf@litku.valot.fi> (raw)
In-Reply-To: <1242601355-3178-6-git-send-email-jcmvbkbc@gmail.com> (Max Filippov's message of "Mon\, 18 May 2009 03\:02\:35 +0400")

Max Filippov <jcmvbkbc@gmail.com> writes:

> Under high load first data word, read after available data size
> is sometimes lost in p54spi_rx. It seems to depend on frequency
> of interrupts and latency of data read request relatively to
> 'data available' interrupt. The worst consequence of this bug
> is loss of packet transmission acknowledgement, which in turn
> causes overflow of tx queues and permanent link loss.
>
> Read data size and first data word in one SPI transaction.
> No packets from LMAC should have length less than 1 word,
> so this shouldn't interfere with the next read transaction.

There is a bug in omap2_mcspi which corrupts some DMA transfers, I don't
know if the bug you see is this one or something else. I'll send the
patch to linux-omap sometime later this week.

-- 
Kalle Valo

  reply	other threads:[~2009-05-18 18:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <0001-p54spi-fix-incorrect-access-sequence-to-DMA_WRITE_C.patch>
2009-05-17 23:02 ` [PATCH 0/5] p54spi: fixes to achieve link stability Max Filippov
2009-05-17 23:02   ` [PATCH 1/5] p54spi: fix incorrect access sequence to DMA_WRITE_CTRL in p54spi_spi_write_dma Max Filippov
2009-05-17 23:02     ` [PATCH 2/5] p54spi: cosmetic fixes: use even byte count in SPI write; drop unused interrupt status read Max Filippov
2009-05-17 23:02       ` [PATCH 3/5] p54spi: return status of p54spi_wakeup Max Filippov
2009-05-17 23:02         ` [PATCH 4/5] p54spi: always call p54spi_sleep in p54spi_tx_frame if p54spi_wakeup succeeded Max Filippov
2009-05-17 23:02           ` [PATCH 5/5] p54spi: use firmware/DMA bug workaround that work under hight load in p54spi_rx Max Filippov
2009-05-18 18:53             ` Kalle Valo [this message]
2009-05-18 21:21               ` Max Filippov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tz3i9ram.fsf@litku.valot.fi \
    --to=kalle.valo@iki.fi \
    --cc=chunkeey@web.de \
    --cc=jcmvbkbc@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).