No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mayank Rana 6e65b88e7d dwc3: gadget: Don't queue USB request if pull up is getting disabled
There is possible race between pull up disable vs ep_queue() API.
Pull up disable sends END transfer command to per endpoint, and give
back started request and pending request back to function driver.
dwc3_gadget_giveback() API does release spinlock which may allow
ep_queue() or completion handling to queue next request. This results
into TRB pending without invoking end transfer command, whereas request
is being given back to function driver and being freed. Hence on setting
next pull up enable, USB controller accesses previous stale TRB causing
unmapped page fault. Fix this issue by checking pull up disable or not
while handling ep_queue().

Change-Id: I391aed05cbfe183cd3e2fe2f1aa335e4fd9ec37c
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2019-10-26 23:24:02 -07:00
arch Merge remote-tracking branch 'remotes/origin/tmp-3fde1dfb006c' into msm-lahaina 2019-10-23 14:22:32 -07:00
block blk-wbt: fix performance regression in wbt scale_up/scale_down 2019-10-06 09:26:41 -06:00
certs
crypto Merge branch 'next-lockdown' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security 2019-09-28 08:14:15 -07:00
Documentation Merge remote-tracking branch 'remotes/origin/tmp-3fde1dfb006c' into msm-lahaina 2019-10-23 14:22:32 -07:00
drivers dwc3: gadget: Don't queue USB request if pull up is getting disabled 2019-10-26 23:24:02 -07:00
fs Linux 5.4-rc3 2019-10-17 05:28:13 -07:00
include Merge remote-tracking branch 'remotes/origin/tmp-3fde1dfb006c' into msm-lahaina 2019-10-23 14:22:32 -07:00
init Merge remote-tracking branch 'remotes/origin/tmp-3fde1dfb006c' into msm-lahaina 2019-10-23 14:22:32 -07:00
ipc Merge 5.4-rc1-prelrease into android-mainline 2019-10-02 17:58:47 +02:00
kernel Merge remote-tracking branch 'remotes/origin/tmp-3fde1dfb006c' into msm-lahaina 2019-10-23 14:22:32 -07:00
lib Merge remote-tracking branch 'remotes/origin/tmp-3fde1dfb006c' into msm-lahaina 2019-10-23 14:22:32 -07:00
LICENSES
mm Merge remote-tracking branch 'remotes/origin/tmp-3fde1dfb006c' into msm-lahaina 2019-10-23 14:22:32 -07:00
net Merge remote-tracking branch 'remotes/origin/tmp-3fde1dfb006c' into msm-lahaina 2019-10-23 14:22:32 -07:00
patches ANDROID: quilt series: drop cuttlefish config changes 2019-10-22 14:47:59 +01:00
samples
scripts Merge remote-tracking branch 'remotes/origin/tmp-3fde1dfb006c' into msm-lahaina 2019-10-23 14:22:32 -07:00
security Linux 5.4-rc3 2019-10-17 05:28:13 -07:00
sound
techpack
tools Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-10-12 15:15:17 -07:00
usr kbuild: update compile-test header list for v5.4-rc2 2019-10-05 15:29:49 +09:00
virt KVM/arm fixes for 5.4, take #1 2019-10-03 12:08:50 +02:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore Merge remote-tracking branch 'remotes/origin/tmp-3fde1dfb006c' into msm-lahaina 2019-10-23 14:22:32 -07:00
.mailmap
abi_gki_aarch64.xml
abi_gki_aarch64_3fde1dfb006c.xml ABI: aarch64: Update ABI snapshot based on v5.4-rc3 2019-10-23 19:57:45 -07:00
build.config.aarch64
build.config.allmodconfig ANDROID: Fix x86_64 allmodconfig build 2019-10-11 14:30:56 +00:00
build.config.allmodconfig.aarch64
build.config.allmodconfig.x86_64
build.config.common ANDROID: Move from clang r353983c to r365631c 2019-10-22 17:59:02 +00:00
build.config.gki
build.config.gki.aarch64
build.config.gki.x86_64
build.config.x86_64
COPYING
CREDITS MAINTAINERS: Remove Simon as Renesas SoC Co-Maintainer 2019-10-10 08:12:51 -07:00
Kbuild
Kconfig
MAINTAINERS USB fixes for 5.4-rc3 2019-10-12 15:37:12 -07:00
Makefile Merge remote-tracking branch 'remotes/origin/tmp-3fde1dfb006c' into msm-lahaina 2019-10-23 14:22:32 -07:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.