All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juuso Oikarinen <juuso.oikarinen@nokia.com>
To: linux-wireless@vger.kernel.org
Cc: luciano.coelho@nokia.com
Subject: Re: [RFC PATCH] wl12xx: Change claiming of the (SDIO) bus
Date: Mon, 07 Feb 2011 08:08:22 +0200	[thread overview]
Message-ID: <1297058902.4035.69.camel@wimaxnb.nmp.nokia.com> (raw)
In-Reply-To: <1296819336-8373-1-git-send-email-juuso.oikarinen@nokia.com>

On Fri, 2011-02-04 at 13:35 +0200, ext juuso.oikarinen@nokia.com wrote:
> From: Juuso Oikarinen <juuso.oikarinen@nokia.com>
> 
> Currently, the SDIO bus is claimed separately for each and every SDIO
> transaction - i.e. every register write/read etc.
> 
> The SDIO claiming is a relatively heavy operation. In a worst case scenario,
> it will put the SDIO bus on suspend, stop relevant clocks etc which all can be
> extremely costly if done between each SDIO transaction. This has a dramatic
> impact on the maximum throughput achieved.
> 
> The driver already manages its access to the bus as it needs to manage
> chipset ELP. This mechanism disables ELP for the duration of the whole bus
> access, consisting of multiple transactions.
> 
> Into the IO layer, this patch implements a claim/unclaim function, which is
> used to claim access to the bus. Relevant functions are checked and updated to
> maintain correctly the claim reference counter, so that each claim is paired
> with a corresponding unclaim.
> 
> For PLT and ad-hoc modes the bus is kept claimed contantly.
> 
> For AP mode, this patch brings no change to the previous way of working,
> someone familiar with it and with the ability to test it may implement
> something similar as is done here for the other modes.
> 
> For the SPI bus, the claim/unclaim functions are not implemented, i.e. no
> change to functionality.
> 
> Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
> ---

I realised there are two separate issues here in one patch. I'll need to
split this into two patches. Also, there are some other issues I need to
address.

-Juuso


  reply	other threads:[~2011-02-07  6:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-04 11:35 [RFC PATCH] wl12xx: Change claiming of the (SDIO) bus juuso.oikarinen
2011-02-07  6:08 ` Juuso Oikarinen [this message]
2011-02-08 11:24   ` Juuso Oikarinen

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=1297058902.4035.69.camel@wimaxnb.nmp.nokia.com \
    --to=juuso.oikarinen@nokia.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=luciano.coelho@nokia.com \
    /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 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.