android_kernel_oneplus_msm8998/drivers
Subhash Jadavani 7a20ab7dd5 scsi: ufs: increase the scsi query response timeout
It is found thats UFS device may take longer than 100ms to respond to
query requests and in this case we might run into following scenario:

1. UFS host SW sends a query request to UFS device to read an attribute
   value. SW uses tag #31 for this purpose.
2. UFS host SW waits for 100ms to get the query response (and doorbell
   to be cleared by UFS host HW).
3. UFS device doesn't respond back within 100ms hence UFS host SW times
   out waiting for the query response.
4. UFS host SW clears the tag#31 from UTRLCLR register.
5. UFS host SW waits until UFS host HW to clear tag#31 from the doorbell
   register.
6. UFS host SW retries the same query request on same tag#31 (sends a query
   request to device to read an attribute value).
7. UFS host HW gets the query response from the device but this was
   intended as a query response for the 1st query request sent (step-1).
8. Now UFS device sends another query response to host (for query request
   sent @step-6).

Now there are 2 issues that could happen with above scenario:
1. UFS device should have actually responded back with only one query
   response but it is found that device may respond back with 2 query
   responses.
2. If UFS device responds back with 2 resposes on same tag, host HW/SW
   behaviour isn't predictable.

To avoid running into above scenario, we would basically allow device
to take longer (upto 1.5 seconds) for query response.

CRs-Fixed: 966573
Change-Id: I9885cac614eff011b617064edcd31d0e8daddd45
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2016-03-23 21:26:07 -07:00
..
accessibility
acpi ACPI / property: avoid leaking format string into kobject name 2016-01-08 01:01:41 +01:00
amba
android android: drivers: workaround debugfs race in binder 2016-02-16 13:54:24 -08:00
ata ahci: Intel DNV device IDs SATA 2016-02-17 12:31:03 -08:00
atm
auxdisplay
base firmware_class: fix direct firmware loading API support 2016-03-23 21:24:26 -07:00
bcma
bif spmi_devices: change to platform_devices 2016-03-01 12:22:33 -08:00
block staging: zram: Rate limit memory allocation errors 2016-03-23 21:12:22 -07:00
bluetooth bluetooth: wait for write_work from protocol layer to finish 2016-03-23 21:13:00 -07:00
bus bus: sunxi-rsb: Fix peripheral IC mapping runtime address 2015-12-22 11:42:30 -08:00
cdrom
char diag: Increase number of buffers for MHI and USB 2016-03-23 21:23:50 -07:00
clk clk: msm: cobalt: Update the vdd-level-cobalt header file 2016-03-23 21:21:48 -07:00
clocksource clocksource: arch_timer: Use _no_log variants while accessing registers 2016-03-23 21:23:41 -07:00
connector connector: bump skb->users before callback invocation 2016-01-04 21:46:45 -05:00
cpufreq cpufreq: interactive: use mult_frac in sl_busy_to_laf 2016-03-23 21:25:30 -07:00
cpuidle drivers: cpuidle: lpm-levels: Notify sched of idle state entry/exit 2016-03-23 21:24:38 -07:00
crypto crypto: msm: support aead aes 192 fallback on 4.4 kernel 2016-03-23 21:24:35 -07:00
dca
devfreq msm: kgsl: Add disable-busy-time-burst to disable ceiling threshold 2016-03-23 21:20:29 -07:00
dio
dma dma: Modify qcom-sps-dma based on framework changes 2016-03-22 11:10:31 -07:00
dma-buf CHROMIUM: android: fix warning when releasing active sync point 2016-02-16 13:53:25 -08:00
edac edac: cortex: Add EDAC L1 and L2 error reporting for Kryo2xx Silver CPUs 2016-03-23 21:21:30 -07:00
eisa
esoc esoc: Snapshot esoc drivers 2016-03-22 11:16:34 -07:00
extcon extcon: Don't register switch class if CONFIG_SWITCH is enabled 2016-03-23 21:25:46 -07:00
firewire
firmware firmware: qcom: add snapshot of tz_log.c 2016-03-23 20:08:20 -07:00
fmc
fpga
gpio gpio: qpnp-pin: Fix out of bound shift 2016-03-23 21:21:41 -07:00
gpu sync: oneshot_sync: Add oneshot_sync driver 2016-03-23 21:24:25 -07:00
hid Bluetooth: uhid: Prevent deadlock while waiting for response 2016-03-23 21:18:51 -07:00
hsi
hv
hwmon hwmon: qpnp-adc-voltage: Update VADC debug registers 2016-03-23 21:21:14 -07:00
hwspinlock Merge remote-tracking branch 'lsk-44/linux-linaro-lsk-v4.4' into 44rc2 2016-03-23 20:51:00 -07:00
hwtracing Coresight: add support for device names 2016-03-22 11:15:44 -07:00
i2c i2c-msm-v2: decrease runtime pm time to 250msec 2016-03-23 21:15:49 -07:00
ide
idle
iio iio: inkern: fix a NULL dereference on error 2016-02-25 12:01:17 -08:00
infiniband net/mlx5_core: Fix trimming down IRQ number 2016-01-31 11:29:01 -08:00
input input: gen_vkeys: squash commit from 3.14-kernel 2016-03-23 21:23:54 -07:00
iommu iommu/arm-smmu: Fix a Null pointer dereference 2016-03-23 21:25:40 -07:00
ipack
irqchip drivers: irqchip: Add codec interrupt pinctrl 2016-03-23 20:11:35 -07:00
isdn ser_gigaset: remove unnecessary kfree() calls from release method 2015-12-15 13:24:21 -05:00
leds leds: leds-qpnp-flash: set open circuit fault flag when detected 2016-03-23 21:23:51 -07:00
lguest
lightnvm lightnvm: wrong offset in bad blk lun calculation 2015-12-29 08:28:32 -07:00
macintosh
mailbox
mcb
md dm: add snapshot of dm-req-crypt 2016-03-23 21:24:15 -07:00
media msm: camera: isp: fix two corner case handling for the framedrop pattern 2016-03-23 21:22:53 -07:00
memory fsl-ifc: add missing include on ARM64 2015-12-16 00:16:58 +01:00
memstick
message
mfd drivers: mfd: Move codec reset gpio config to early boot 2016-03-23 21:20:53 -07:00
misc misc: Update the QPNP_MISC Kconfig entry 2016-03-23 21:21:23 -07:00
mmc mmc: new request notification unit-test 2016-03-22 11:01:44 -07:00
mtd mtd: ubi: wl: avoid erasing a PEB which is empty 2016-03-23 21:20:21 -07:00
net msm: ipa: snapshot of IPA changes 2016-03-23 21:25:09 -07:00
nfc
ntb
nubus
nvdimm libnvdimm: fix namespace object confusion in is_uuid_busy() 2016-02-25 12:01:21 -08:00
nvme NVMe: IO ending fixes on surprise removal 2015-12-22 10:12:04 -07:00
nvmem
of of: alloc anywhere from memblock if range not specified 2016-03-23 21:19:17 -07:00
oprofile
parisc parisc iommu: fix panic due to trying to allocate too large region 2015-12-12 16:07:25 +01:00
parport
pci msm: pcie: add support to panic on linkdown 2016-03-23 21:21:39 -07:00
pcmcia
perf perf: replace cpu_up/down with device_online/offline 2016-03-23 21:22:11 -07:00
phy ufs: qcom: add dts property to disable LPM modes 2016-03-23 21:25:44 -07:00
pinctrl pinctrl: Fix the return value for devices without default state 2016-03-23 21:23:52 -07:00
platform msm: ipa: snapshot of IPA changes 2016-03-23 21:25:09 -07:00
pnp
power power: qpnp-smbcharger: Replace DPF_DMF/DPR_DMR calls with regulator 2016-03-23 21:25:51 -07:00
powercap powercap / RAPL: fix BIOS lock check 2015-12-12 02:31:11 +01:00
pps
ps3
ptp
pwm spmi_devices: change to platform_devices 2016-03-01 12:22:33 -08:00
rapidio
ras
regulator regulator: cpr3-regulator: adjust voltage limits based upon aging results 2016-03-23 21:23:17 -07:00
remoteproc
reset
rpmsg
rtc spmi_devices: change to platform_devices 2016-03-01 12:22:33 -08:00
s390 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2015-12-22 15:43:18 -08:00
sbus
scsi scsi: ufs: increase the scsi query response timeout 2016-03-23 21:26:07 -07:00
sensors clocksource: migrate users of arch_get_cnt_pct to use virtual timers 2016-03-22 11:16:37 -07:00
sfi
sh
slimbus slim-msm-ngd: Register with specific subsystem 2016-03-23 21:21:18 -07:00
sn
soc soc: qcom: core_ctl: Add a tracing function 2016-03-23 21:26:00 -07:00
soundwire soundwire: Avoid runtime suspend after device path bringup 2016-03-23 21:20:44 -07:00
spi spi: spidev: add Qualcomm spi codec slave driver 2016-03-23 21:11:59 -07:00
spmi spmi: pmic_arb: use handle_fasteoi_irq handler 2016-03-22 11:16:03 -07:00
ssb
staging sync: oneshot_sync: Add oneshot_sync driver 2016-03-23 21:24:25 -07:00
switch drivers: switch: remove S_IWUSR from dev_attr 2016-02-16 13:51:00 -08:00
target iscsi-target: Fix potential dead-lock during node acl delete 2016-02-25 12:01:16 -08:00
tc
thermal thermal-core: fix compilation warnings on Kernel 4.4 2016-03-23 21:25:02 -07:00
thunderbolt
tty msm_serial_hs: update IRQ related error messages 2016-03-23 21:16:21 -07:00
uio uio: msm_sharedmem: Fix format specifier to print resource_size_t 2016-03-23 21:24:33 -07:00
usb usb: phy: qmp: Remove unused devicetree property with QMP PHY 2016-03-23 21:26:04 -07:00
uwb
vfio Revert: "vfio: Include No-IOMMU mode" 2015-12-04 08:38:42 -07:00
vhost vhost: replace % with & on data path 2015-12-07 17:28:10 +02:00
video msm: mdss: create u32 debugfs for enable_gate/wait4autorefresh 2016-03-23 21:24:34 -07:00
virt
virtio virtio_ring: shadow available ring flags & index 2015-12-07 17:28:11 +02:00
vlynq
vme
w1 w1: ds2482: Manage SLPZ pin sleep state 2016-02-16 13:54:18 -08:00
watchdog
xen xen: bug fixes for 4.4-rc5 2015-12-18 12:24:52 -08:00
zorro
Kconfig ASoC: wcd: Add Audio codec drivers for MSM targets 2016-03-23 20:11:28 -07:00
Makefile ASoC: wcd: Add Audio codec drivers for MSM targets 2016-03-23 20:11:28 -07:00