lineage_android_kernel_xiao.../include/linux/mmc
Jaehoon Chung 950d56acce mmc: support BKOPS feature for eMMC
Enable eMMC background operations (BKOPS) feature.

If URGENT_BKOPS is set after a response, note that BKOPS are required.
Immediately run BKOPS if required.  Read/write operations should be
requested during BKOPS(LEVEL-1), then issue HPI to interrupt the
ongoing BKOPS and service the foreground operation.
(This patch only controls the LEVEL2/3.)

When repeating the writing 1GB data, at a certain time, performance is
decreased.  At that time, card triggers the Level-3 or Level-2.  After
running bkops, performance is recovered.

Future considerations:
 * Check BKOPS_LEVEL=1 and start BKOPS in a preventive manner.
 * Interrupt ongoing BKOPS before powering off the card.
 * How do we get BKOPS_STATUS value (periodically send ext_csd command)?
 * If using periodic bkops, also consider runtime_pm control.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Konstantin Dorfman <kdorfman@codeaurora.org>
Reviewed-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
2012-10-03 10:05:12 -04:00
..
Kbuild
boot.h
card.h mmc: support BKOPS feature for eMMC 2012-10-03 10:05:12 -04:00
core.h mmc: support BKOPS feature for eMMC 2012-10-03 10:05:12 -04:00
dw_mmc.h mmc: dw_mmc: make multiple instances of dw_mci_card_workqueue 2012-05-09 10:14:10 -04:00
host.h mmc: core: Do not rescan non-removable devices 2012-09-04 13:58:27 -04:00
ioctl.h
mmc.h mmc: support BKOPS feature for eMMC 2012-10-03 10:05:12 -04:00
mxs-mmc.h mmc: mxs-mmc: move header from mach into linux folder 2012-05-13 08:05:38 +08:00
pm.h
sd.h
sdhci-pci-data.h
sdhci-spear.h Viresh has moved 2012-06-20 14:39:36 -07:00
sdhci.h mmc: sdhci: Add regulator support for vccq (voltage regualor) 2012-09-04 13:58:13 -04:00
sdio.h mmc: sdio: fix setting card data bus width as 4-bit 2012-06-06 09:22:53 -04:00
sdio_func.h
sdio_ids.h
sh_mmcif.h Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma 2012-07-24 17:12:54 -07:00
sh_mobile_sdhi.h mmc: sh_mobile_sdhi: support caps2 flags 2012-07-21 00:02:19 -04:00
slot-gpio.h mmc: core: add WP pin handler to slot functions 2012-07-21 00:02:18 -04:00
tmio.h