lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Sat, 12 Feb 2011 14:22:07 +0800
From:	Chuanxiao Dong <chuanxiao.dong@...el.com>
To:	linux-mmc@...r.kernel.org, cjb@...top.org
Cc:	linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
	adrian.hunter@...ia.com
Subject: [PATCH v4 0/3]mmc: enable TRIM/ERASE caps for SDHCI host

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ