All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Chuanxiao.Dong" <chuanxiao.dong@intel.com>
To: cjb@laptop.org
Cc: adrian.hunter@nokia.com, linux-mmc@vger.kernel.org
Subject: [PATCH v1 0/3]mmc: set a suitable max discard sectors value for host controller
Date: Thu, 11 Nov 2010 17:05:02 +0800	[thread overview]
Message-ID: <20101111090502.GA18170@intel.com> (raw)

Hi Chris,
   These 3 patches set a suitable max_discard_sectors value for mmc
   queue which will be used for ERASE/TRIM. Add Adrian in Cc loop since
   he implemented the ERASE/TRIM feature for MMC driver.

   patch1: calculated a suitable timeout time for SDHCI host controller.
   Each erase cmd should be finished within the timeout time.

   patch2: calculated a suitable max_discard_sectors value for mmc
   queue. Since some SDHCI host controller cannot process the whole
   sectors at one time. In this patch, a new callback get_tmclk in
   mmc_host_ops was added to help core layer to calculate the max value.
   If this callback was implemented, core layer will calculted a suitable
   value. If not, the max_discard_sectors value will be the same as
   before.

   patch3: implemented get_tmclk callback for SDHCI host controller.

   Adrian, hope I can get your comment about these patches as well.
   Thanks for your time to review these patches.

Regards
Chuanxiao

                 reply	other threads:[~2010-11-11  9:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20101111090502.GA18170@intel.com \
    --to=chuanxiao.dong@intel.com \
    --cc=adrian.hunter@nokia.com \
    --cc=cjb@laptop.org \
    --cc=linux-mmc@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 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.