2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-20 11:13:58 +08:00
linux-next/drivers/scsi/ufs
Sujit Reddy Thumma 66ec6d5940 [SCSI] ufs: Add support for host assisted background operations
Background operations in the UFS device can be disabled by
the host to reduce the response latency of transfer requests.
Add support for enabling/disabling the background operations
during runtime suspend/resume of the device.

If the device is in critical need of BKOPS it will raise an
URGENT_BKOPS exception which should be handled by the host to
make sure the device performs as expected.

During bootup, the BKOPS is enabled in the device by default.
The disable of BKOPS is supported only when the driver supports
runtime suspend/resume operations as the runtime PM framework
provides a way to determine the device idleness and hence BKOPS
can be managed effectively. During runtime resume the BKOPS is
disabled to reduce latency and during runtime suspend the BKOPS
is enabled to allow device to carry out idle time BKOPS.

In some cases where the BKOPS is disabled during runtime resume
and due to continuous data transfers the runtime suspend is not
triggered, the BKOPS is enabled when the device raises a level-2
exception (outstanding operations - performance impact).

Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
Signed-off-by: Santosh Y <santoshsy@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-08-26 12:51:25 +04:00
..
Kconfig [SCSI] ufs: SCSI_UFSHCD should depend on SCSI_DMA 2013-06-04 11:16:20 -07:00
Makefile [SCSI] ufs: Add Platform glue driver for ufshcd 2013-05-02 16:16:50 -07:00
ufs.h [SCSI] ufs: Add support for host assisted background operations 2013-08-26 12:51:25 +04:00
ufshcd-pci.c [SCSI] ufs: use devres functions for ufshcd 2013-06-28 13:11:28 -07:00
ufshcd-pltfrm.c [SCSI] ufshcd-pltfrm: remove unnecessary dma_set_coherent_mask() call 2013-06-28 13:17:35 -07:00
ufshcd.c [SCSI] ufs: Add support for host assisted background operations 2013-08-26 12:51:25 +04:00
ufshcd.h [SCSI] ufs: Add support for host assisted background operations 2013-08-26 12:51:25 +04:00
ufshci.h [SCSI] ufs: Set fDeviceInit flag to initiate device initialization 2013-08-26 12:51:25 +04:00