linux/drivers
William Wu f3db2b6e55 usb: uas: ignore UAS for Seagate Expansion Portable Drive
The Seagate Expansion Portable Drive HDD (idVendor=0bc2, idProduct=2321) is reported to fail to work on rockchip platforms
with the following error message when do read/write operation by dd command:

xhci-hcd xhci-hcd.11.auto: Ring expansion failed

According to tkaiser's suggestion[1], we can try to increase the kernel's
coherent-pool memory size to fix this issue. The kernel coherent-pool memory
size was limited at 256KB by default. When set the DEFAULT_DMA_COHERENT_POOL_SIZE
to 1MB, the error "Ring expansion failed" can be fixed, but it still not
work with the other error message:

xhci-hcd xhci-hcd.12.auto: ERROR Unknown event condition 34 for slot 1 ep 3 , HC probably busted
sd 0:0:0:0: [sda] tag#16 uas_eh_abort_handler 0 uas-tag 17 inflight: CMD OUT
...
scsi host0: uas_eh_bus_reset_handler start
xhci-hcd xhci-hcd.12.auto: ERROR Transfer event for disabled endpoint slot 1 ep 6 or incorrect stream ring

Falling back to USB mass storage can solve this problem, so ignore UAS
function of this HDD.

[1] https://forum.armbian.com/topic/4811-uas-mainline-kernel-coherent-pool-memory-size/

Change-Id: I0d817cc3aaea548c2060b323c3077c6cbbd3bb6e
Signed-off-by: William Wu <william.wu@rock-chips.com>
2019-11-14 11:15:51 +08:00
..
accessibility
acpi This is the 4.19.80 stable release 2019-10-17 15:33:07 -07:00
amba
android This is the 4.19.64 stable release 2019-08-04 09:37:11 +02:00
ata libata/ahci: Drop PCS quirk for Denverton and beyond 2019-10-05 13:09:52 +02:00
atm Kconfig: Fix the reference to the IDT77105 Phy driver in the description of ATM_NICSTAR_USE_IDT77105 2019-09-21 07:16:57 +02:00
auxdisplay auxdisplay: panel: need to delete scan_timer when misc_register fails in panel_attach 2019-09-06 10:21:56 +02:00
base PM / Domains: Keep the pd status during system PM phases 2019-11-01 09:59:04 +08:00
bcma
block This is the 4.19.79 stable release 2019-10-11 19:13:57 +02:00
bluetooth Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
bus bus: ti-sysc: Simplify cleanup upon failures in sysc_probe() 2019-09-21 07:16:51 +02:00
cdrom
char Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
clk Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
clocksource Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
connector
cpufreq Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
cpuidle
crypto Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
dax
dca
devfreq drivers: devfreq: rockchip_dmc: rk3368: enable ddr 2T mode 2019-11-11 16:48:42 +08:00
dio
dma Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
dma-buf This is the 4.19.78 stable release 2019-10-07 19:17:35 +02:00
edac EDAC/amd64: Decode syndrome before translating address 2019-10-05 13:09:48 +02:00
eisa
energy_model
extcon Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-06-22 22:26:14 +08:00
firewire
firmware Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
fmc
fpga fpga: altera-ps-spi: Fix getting of optional confd gpio 2019-09-21 07:16:53 +02:00
fsi fsi: scom: Don't abort operations for minor errors 2019-09-06 10:22:19 +02:00
gnss
gpio mfd: remove unused rk805 drivers 2019-11-11 18:07:56 +08:00
gpu drm/rockchip: add more clock protect for loader logo 2019-11-12 11:00:09 +08:00
headset_observe rk_headset: Porting to kernel 4.19 2019-10-28 16:09:36 +08:00
hid Revert "HID: core: move Usage Page concatenation to Main item" 2019-11-14 09:28:31 +08:00
hsi
hv Drivers: hv: kvp: Fix the recent regression caused by incorrect clean-up 2019-09-16 08:21:54 +02:00
hwmon hwmon: (acpi_power_meter) Change log level for 'unsafe software power cap' 2019-10-05 13:09:54 +02:00
hwspinlock
hwtracing coresight: etm4x: Use explicit barriers on enable/disable 2019-10-11 18:21:39 +02:00
i2c i2c: i2c devices with the same device address can be registered on the same i2c bus. 2019-11-01 10:08:10 +08:00
ide
idle
iio Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
infiniband This is the 4.19.77 stable release 2019-10-06 11:27:45 +02:00
input Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
iommu Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
ipack
irqchip Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
isdn mISDN: enforce CAP_NET_RAW for raw sockets 2019-10-05 13:09:31 +02:00
leds Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
lightnvm lightnvm: pblk: fix freeing of merged pages 2019-07-26 09:14:09 +02:00
macintosh
mailbox Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
mcb
md Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
media uvcvideo: add quirk for dev parent with broken auto suspend 2019-11-14 11:15:51 +08:00
memory memory: tegra: Fix integer overflow on tick value calculation 2019-05-25 18:23:32 +02:00
memstick memstick: Fix error cleanup path of memstick_init 2019-07-31 07:26:59 +02:00
message
mfd pinctrl: rk805: add rk816 support 2019-11-11 18:07:56 +08:00
misc Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
mmc mmc: core: Add mmc_sd_shutdown support for SD as main disk 2019-11-05 19:11:37 +08:00
mtd Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
mux
net net: rkwifi: Fix sinfo use-before-initialization 2019-11-11 09:33:16 +08:00
nfc Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
ntb ntb: point to right memory window index 2019-10-11 18:21:18 +02:00
nubus
nvdimm libnvdimm/region: Initialize bad block for volatile namespaces 2019-10-11 18:21:20 +02:00
nvme nvme-multipath: fix ana log nsid lookup when nsid is not found 2019-10-05 13:09:52 +02:00
nvmem Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
of FROMGIT: of: property: Create device links for all child-supplier depencencies 2019-10-07 17:22:57 -07:00
opp Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-06-22 22:26:14 +08:00
oprofile
parisc parisc: Disable HP HSC-PCI Cards to prevent kernel crash 2019-10-05 13:10:04 +02:00
parport parport: Fix mem leak in parport_register_dev_model 2019-06-25 11:35:55 +08:00
pci Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
pcmcia
perf drivers/perf: arm_pmu: Fix failure path in PM notifier 2019-08-06 19:06:55 +02:00
phy phy: rockchip-inno-combphy: avoid reinit usb3 phy 2019-11-14 11:15:51 +08:00
pinctrl pinctrl: rk805: add rk816 support 2019-11-11 18:07:56 +08:00
platform platform/x86: intel_pmc_core: Do not ioremap RAM 2019-10-05 13:09:55 +02:00
pnp
power power: rk818-charger: support temperature charge v2 2019-11-14 10:46:07 +08:00
powercap
pps drivers/pps/pps.c: clear offset flags in PPS_SETPARAMS ioctl 2019-08-04 09:30:56 +02:00
ps3
ptp
pwm pwm: rockchip: Make pwm pinctrl setting after pwm enabled 2019-10-31 15:05:41 +08:00
rapidio drivers/rapidio/devices/rio_mport_cdev.c: NUL terminate some strings 2019-08-06 19:06:52 +02:00
ras RAS/CEC: Fix pfn insertion 2019-07-26 09:14:05 +02:00
regulator mfd: remove unused rk805 drivers 2019-11-11 18:07:56 +08:00
remoteproc remoteproc: qcom: q6v5-mss: add SCM probe dependency 2019-09-16 08:21:48 +02:00
reset
rk_nand drivers: rk_nand: fix access to virtual address 0 bug 2019-10-31 14:57:46 +08:00
rkflash drivers: rkflash: remove using memzero func 2019-10-15 16:13:55 +08:00
rpmsg
rtc Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
s390 s390/cio: avoid calling strlen on null pointer 2019-10-11 18:21:08 +02:00
sbus
scsi scsi: core: Reduce memory required for SCSI logging 2019-10-07 18:57:04 +02:00
sfi
sh
siox
slimbus slimbus: fix a potential NULL pointer dereference in of_qcom_slim_ngd_register 2019-05-31 06:46:14 -07:00
smc
sn
soc soc: rockchip: system_monitor: fix clang warning 2019-11-05 14:25:58 +08:00
soundwire soundwire: fix regmap dependencies and align with other serial links 2019-10-07 18:57:27 +02:00
spi Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
spmi
ssb ssb: Fix possible NULL pointer dereference in ssb_host_pcmcia_exit 2019-05-31 06:46:04 -07:00
staging Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
switch
target scsi: target/iblock: Fix overrun in WRITE SAME emulation 2019-09-16 08:22:17 +02:00
tc
tee UPSTREAM: tee/shm: untag user pointers in tee_shm_register 2019-10-07 15:27:41 -04:00
testcode
thermal Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
thunderbolt thunderbolt: property: Fix a NULL pointer dereference 2019-05-31 06:46:31 -07:00
tty Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
uio
usb usb: uas: ignore UAS for Seagate Expansion Portable Drive 2019-11-14 11:15:51 +08:00
uwb
vfio UPSTREAM: vfio/type1: untag user pointers in vaddr_get_pfn 2019-10-07 15:27:41 -04:00
vhost vhost: make sure log_num < in_num 2019-09-16 08:22:25 +02:00
video video: rockchip: add path for vcodec driver 2019-11-13 20:29:28 +08:00
virt
virtio
visorbus
vlynq
vme
w1 w1: fix the resume command API 2019-05-31 06:46:14 -07:00
watchdog watchdog: aspeed: Add support for AST2600 2019-10-11 18:21:15 +02:00
xen xen/pci: reserve MCFG areas earlier 2019-10-11 18:21:13 +02:00
zorro
Kconfig drivers/Kconfig: reorder rkflash and headset_observe 2019-10-30 08:45:55 +08:00
Makefile rk_headset: Porting to kernel 4.19 2019-10-28 16:09:36 +08:00