public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
From: Chuanxiao Dong <chuanxiao.dong@intel.com>
To: linux-mmc@vger.kernel.org, cjb@laptop.org
Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org,
	adrian.hunter@nokia.com
Subject: [PATCH v4 0/3]mmc: enable TRIM/ERASE caps for SDHCI host
Date: Sat, 12 Feb 2011 14:22:07 +0800	[thread overview]
Message-ID: <20110212062207.GA25519@intel.com> (raw)

Hi Chris,
   These patches enable TRIM/ERASE capability for SDHCI host controller.

   patch001: mmc: set max_discard_sectors value for mmc queue
   Rightnow max_discard_sectors value for mmc queue is UINT_MAX which means
   block layer can accept unlimited sectors to erase at one time. But this may
   delay some other important I/O requests. So set a suitable value for
   max_discard_sectors value by using 'pref_erase'

   patch0002: mmc: enable TRIM/ERASE capability for SDHCI host.
   ERASE command needs R1B response, so before sending command, SDHCI host
   driver also need to set timeout control register for such command

   patch0003: mmc: fix division by zero when calculate erase timeout
   when enable clock gating feature, host clock may be zero when calculate erase
   timeout value and this will cause division by zero bug.

Thanks
Chuanxiao

                 reply	other threads:[~2011-02-12  6:28 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=20110212062207.GA25519@intel.com \
    --to=chuanxiao.dong@intel.com \
    --cc=adrian.hunter@nokia.com \
    --cc=akpm@linux-foundation.org \
    --cc=cjb@laptop.org \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox