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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101202112526.GA10358@intel.com>
Date:	Thu, 2 Dec 2010 19:25:26 +0800
From:	Chuanxiao Dong <chuanxiao.dong@...el.com>
To:	linux-mmc@...r.kernel.org
Cc:	linux-kernel@...r.kernel.org, cjb@...top.org,
	arjan@...ux.intel.com, alan@...ux.intel.com,
	akpm@...ux-foundation.org, adrian.hunter@...ia.com
Subject: [PATVH v3 0/3]mmc: set a suitable max_discard_sectors value for HC

Hi,
	This is the version 3 patch which set a suitable max_discard_sectors
	value for SDHCI host controller. In this patch, a new quirk is added for
	such controller.

	max_discard_sectors is a parameter of MMC driver request queue. This
	value can limit how many sectors will be passed down to host for
	erasing. The original value for this parameter is UINT_MAX which means
	there is no limitation for the count of sectors to pass down for
	erasing.

	But some SDHCI host controller cannot erase too many sectors at one
	time. It may generate a timeout interrupt since the time erasing used is
	longer than the timeout time host can wait.

	So these patches add a new quirk for such SDHCI host controller and let
	it erase only signle eraseblock each time. This will be safe for such
	SDHCI host to use.

	patch1: add a new quirk for SDHCI host controller. Also add a new
	routine mmc_set_discard_limit which is used to set max_discard_sectors
	value for such SDHCI host controller.
	patch2: set timeout control register for such SDHCI host controller.
	patch3: add this quirk for MFLD SDHCI host controller.

	Change-log:
	patch1: let mmc_set_discard_limit can return value UINT_MAX.
	patch2: no change.
	patch3: no change.

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