diff options
author | Sujit Reddy Thumma <sthumma@codeaurora.org> | 2013-07-30 00:35:59 +0530 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-08-26 12:51:25 +0400 |
commit | 66ec6d59407baf7c7a1f99c79d632403c1064266 (patch) | |
tree | 8b91e5a11b0b6966c00146229ff7ac0e91ae6412 /samples/rpmsg | |
parent | 68078d5cc1a59b2ddfc6982c67308f20f991426a (diff) | |
download | linux-66ec6d59407baf7c7a1f99c79d632403c1064266.tar.gz linux-66ec6d59407baf7c7a1f99c79d632403c1064266.tar.bz2 linux-66ec6d59407baf7c7a1f99c79d632403c1064266.zip |
[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>
Diffstat (limited to 'samples/rpmsg')
0 files changed, 0 insertions, 0 deletions