android_kernel_motorola_sm6375/drivers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ikjoon Jang b227e97836 UPSTREAM: usb: xhci-mtk: fix unreleased bandwidth data
xhci-mtk needs XHCI_MTK_HOST quirk functions in add_endpoint() and
drop_endpoint() to handle its own sw bandwidth management.

It stores bandwidth data into an internal table every time
add_endpoint() is called, and drops those in drop_endpoint().
But when bandwidth allocation fails at one endpoint, all earlier
allocation from the same interface could still remain at the table.

This patch moves bandwidth management codes to check_bandwidth() and
reset_bandwidth() path. To do so, this patch also adds those functions
to xhci_driver_overrides and lets mtk-xhci to release all failed
endpoints in reset_bandwidth() path.

Fixes: 08e469de87 ("usb: xhci-mtk: supports bandwidth scheduling with multi-TT")
Signed-off-by: Ikjoon Jang <[email protected]>
Link: https://lore.kernel.org/r/20210113180444.v6.1.Id0d31b5f3ddf5e734d2ab11161ac5821921b1e1e@changeid
Cc: stable <[email protected]>
(cherry picked from commit 1d69f9d901ef14d81c3b004e3282b8cc7b456280
  https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-linus)
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Change-Id: I211875090c3b8080292a415fdb182fd4b8ac9729
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2021-01-26 18:23:27 +01:00
..
accessibility
acpi This is the 5.4.59 stable release 2020-08-19 08:40:57 +02:00
amba UPSTREAM: amba: Retry adding deferred devices at late_initcall 2020-06-27 01:02:29 +00:00
android ANDROID: sched: add em_pd_energy vendor hook 2021-01-21 10:32:49 +08:00
ata ata/libata: Fix usage of page address by page_address in ata_scsi_mode_select_xlat function 2020-06-30 15:37:03 -04:00
atm atm: fix atm_dev refcnt leaks in atmtcp_remove_persistent 2020-08-11 15:33:38 +02:00
auxdisplay
base UPSTREAM: driver core: Fix lockdep warning on wfs_lock 2021-01-05 23:13:30 +00:00
bcma
block This is the 5.4.59 stable release 2020-08-19 08:40:57 +02:00
bluetooth This is the 5.4.59 stable release 2020-08-19 08:40:57 +02:00
bus bus: ti-sysc: Add missing quirk flags for usb_host_hs 2020-08-19 08:16:00 +02:00
cdrom
char FROMLIST: char: misc: increase DYNAMIC_MINORS value 2020-10-29 17:07:39 +09:00
clk FROMLIST: clk: sunxi-ng: add support for the Allwinner A100 CCU 2020-08-27 17:11:05 +08:00
clocksource ANDROID: GKI: enable CONFIG_SUN4I_TIMER 2020-11-19 05:51:03 +00:00
connector
counter
cpufreq This is the 5.4.61 stable release 2020-08-26 11:11:38 +02:00
cpuidle ANDROID: adding __nocfi to cpuidle_enter_state 2020-10-08 12:58:32 +00:00
crypto Revert "ANDROID: Revert: Merge 5.4.60 into android11-5.4" 2020-08-23 13:12:51 +02:00
dax device-dax: don't leak kernel memory to user space after unloading kmem 2020-05-27 17:46:48 +02:00
dca
devfreq PM / devfreq: Add missing locking while setting suspend_freq 2020-05-10 10:31:34 +02:00
dio
dma This is the 5.4.54 stable release 2020-07-29 13:27:01 +02:00
dma-buf BACKPORT: dmabuf: fix NULL pointer dereference in dma_buf_release() 2020-12-14 16:30:03 +00:00
edac EDAC: Fix reference count leaks 2020-08-19 08:15:54 +02:00
eisa
extcon This is the 5.4.49 stable release 2020-06-25 07:49:21 +02:00
firewire
firmware This is the 5.4.61 stable release 2020-08-26 11:11:38 +02:00
fpga fpga: dfl: fix bug in port reset handshake 2020-07-29 10:18:31 +02:00
fsi
gnss This is the 5.4.48 stable release 2020-06-22 11:43:59 +02:00
gpio This is the 5.4.54 stable release 2020-07-29 13:27:01 +02:00
gpu This is the 5.4.61 stable release 2020-08-26 11:11:38 +02:00
greybus
hid UPSTREAM: HID: core: Correctly handle ReportSize being zero 2020-12-04 23:36:51 +00:00
hsi
hv Drivers: hv: vmbus: Ignore CHANNELMSG_TL_CONNECT_RESULT(23) 2020-08-11 15:33:38 +02:00
hwmon This is the 5.4.54 stable release 2020-07-29 13:27:01 +02:00
hwspinlock
hwtracing coresight: tmc: Fix TMC mode read in tmc_read_unprepare_etb() 2020-08-19 08:16:14 +02:00
i2c Revert "ANDROID: Revert: Merge 5.4.60 into android11-5.4" 2020-08-23 13:12:51 +02:00
i3c
ide
idle BACKPORT: FROMLIST: cpuidle: change enter_s2idle() prototype 2020-07-29 14:37:49 +00:00
iio Revert "ANDROID: Revert: Merge 5.4.60 into android11-5.4" 2020-08-23 13:12:51 +02:00
infiniband RDMA/bnxt_re: Do not add user qps to flushlist 2020-08-26 10:41:05 +02:00
input Revert "ANDROID: vendor_hooks: Add vendor hooks for key combination" 2020-09-11 11:47:54 +09:00
interconnect
iommu BACKPORT: FROMLIST: iommu/io-pgtable-arm-v7s: Quad lvl1 pgtable for MediaTek 2020-10-22 19:44:39 +00:00
ipack ipack: tpci200: fix error return code in tpci200_register() 2020-05-27 17:46:47 +02:00
irqchip Revert "ANDROID: Revert: Merge 5.4.60 into android11-5.4" 2020-08-23 13:12:51 +02:00
isdn
leds leds: core: Flush scheduled work for system suspend 2020-08-19 08:16:11 +02:00
lightnvm
macintosh macintosh/via-macii: Access autopoll_devs when inside lock 2020-08-19 08:16:15 +02:00
mailbox mailbox: zynqmp-ipi: Fix NULL vs IS_ERR() check in zynqmp_ipi_mbox_probe() 2020-06-24 17:50:36 +02:00
mcb
md This is the 5.4.61 stable release 2020-08-26 11:11:38 +02:00
media This is the 5.4.61 stable release 2020-08-26 11:11:38 +02:00
memory
memstick
message scsi: mptscsih: Fix read sense data size 2020-07-16 08:16:36 +02:00
mfd UPSTREAM: mfd: sprd: Add wakeup capability for PMIC IRQ 2020-11-18 02:12:45 +00:00
misc ANDROID: uid_sys_stats: report uid_cputime stats in microseconds 2020-11-18 23:33:46 +00:00
mmc UPSTREAM: mmc: sdhci: Fix SDHCI_QUIRK_BROKEN_CQE 2020-11-14 16:55:25 +01:00
mtd Revert "ANDROID: Revert: Merge 5.4.60 into android11-5.4" 2020-08-23 13:12:51 +02:00
mux
net BACKPORT: mac80211_hwsim: add frame transmission support over virtio 2020-11-23 17:45:44 +00:00
nfc nfc: s3fwrn5: add missing release on skb in s3fwrn5_recv_frame 2020-08-05 09:59:50 +02:00
ntb NTB: perf: Fix race condition when run with ntb_test 2020-06-24 17:50:41 +02:00
nubus
nvdimm Revert "ANDROID: Revert: Merge 5.4.60 into android11-5.4" 2020-08-23 13:12:51 +02:00
nvme nvme-multipath: do not fall back to __nvme_find_path() for non-optimized paths 2020-08-19 08:15:59 +02:00
nvmem UPSTREAM: nvmem: sprd: Fix return value of sprd_efuse_probe() 2020-11-14 16:29:41 +01:00
of UPSTREAM: of/platform: Unconditionally pause/resume sync state during kernel init 2020-11-14 16:56:37 +01:00
opp opp: Enable resources again if they were disabled earlier 2020-08-26 10:40:53 +02:00
oprofile
parisc parisc: mask out enable and reserved bits from sba imask 2020-08-19 08:16:26 +02:00
parport
pci ANDROID: PCI: dwc: export symbols for ep driver 2020-10-23 08:44:15 +09:00
pcmcia
perf drivers/perf: Prevent forced unbinding of PMU drivers 2020-07-29 10:18:40 +02:00
phy This is the 5.4.59 stable release 2020-08-19 08:40:57 +02:00
pinctrl FROMLIST: pinctrl: sunxi: add support for the Allwinner A100 pin controller 2020-08-27 17:09:29 +08:00
platform Revert "ANDROID: Revert: Merge 5.4.60 into android11-5.4" 2020-08-23 13:12:51 +02:00
pnp
power FROMLIST: power: supply: core: property to control reverse charge 2020-09-01 17:57:03 +00:00
powercap
pps
ps3
ptp
pwm Revert "ANDROID: Revert: Merge 5.4.60 into android11-5.4" 2020-08-23 13:12:51 +02:00
rapidio rapidio: fix an error in get_user_pages_fast() error handling 2020-05-27 17:46:48 +02:00
ras
regulator This is the 5.4.59 stable release 2020-08-19 08:40:57 +02:00
remoteproc Revert "ANDROID: Revert: Merge 5.4.60 into android11-5.4" 2020-08-23 13:12:51 +02:00
reset
rpmsg FROMLIST: rpmsg: Guard against null endpoint ops in destroy 2020-08-07 12:03:00 +00:00
rtc This is the 5.4.61 stable release 2020-08-26 11:11:38 +02:00
s390 scsi: zfcp: Fix use-after-free in request timeout handlers 2020-08-26 10:40:52 +02:00
sbus
scsi UPSTREAM: scsi: ufs: Fix interrupt error message for shared interrupts 2020-11-14 16:29:33 +01:00
sfi
sh
siox
slimbus This is the 5.4.53 stable release 2020-07-23 12:36:54 +02:00
soc This is the 5.4.59 stable release 2020-08-19 08:40:57 +02:00
soundwire soundwire: intel: fix memory leak with devm_kasprintf 2020-07-22 09:33:00 +02:00
spi UPSTREAM: spi: Fix regression to return zero on success instead of positive value 2020-11-14 16:56:44 +01:00
spmi
ssb
staging ANDROID: ion: export some ion symbols 2020-08-27 21:06:34 +00:00
target scsi: target: tcmu: Fix crash in tcmu_flush_dcache_range on ARM 2020-08-26 10:40:54 +02:00
tc
tee
thermal FROMLIST: thermal: Fix NULL pointer dereference issue 2020-11-17 23:56:27 +05:30
thunderbolt
tty ANDROID: sysrq: add vendor hook for sysrq crash information 2020-10-13 14:46:48 +09:00
uio uio_pdrv_genirq: fix use without device tree and no interrupt 2020-07-22 09:33:13 +02:00
usb UPSTREAM: usb: xhci-mtk: fix unreleased bandwidth data 2021-01-26 18:23:27 +01:00
vfio This is the 5.4.61 stable release 2020-08-26 11:11:38 +02:00
vhost This is the 5.4.56 stable release 2020-08-05 11:19:16 +02:00
video This is the 5.4.61 stable release 2020-08-26 11:11:38 +02:00
virt virt: vbox: Fix guest capabilities mask check 2020-07-22 09:33:11 +02:00
virtio This is the 5.4.61 stable release 2020-08-26 11:11:38 +02:00
visorbus
vlynq
vme
w1 w1: omap-hdq: cleanup to add missing newline for some dev_dbg 2020-06-22 09:31:26 +02:00
watchdog Revert "ANDROID: Revert: Merge 5.4.60 into android11-5.4" 2020-08-23 13:12:51 +02:00
xen xen: don't reschedule in preemption off sections 2020-08-26 10:41:07 +02:00
zorro
Kconfig
Makefile