a4fd173df1310705a06b8913204fab7985a628b0
There will be gadget driver unregister twice in USB secure when try to set the UDC to none from userspace, which will cause kernel panic in 4.9 kernel version, as there is a feature about pending gadget driver list being added in this version. As a solution, make sure gadget driver unregister or probe only once over secure mode entry or usb configure from userspace. Kernel BUG at ffffff8093067140 [verbose debug info unavailable] Internal error: Accessing user space memory outside uaccess.h routines: 96000045 [#1] PREEMPT SMP PC is at usb_gadget_unregister_driver+0x88/0xf0 LR is at usb_gadget_unregister_driver+0x30/0xf0 Change-Id: I77dfbd4162c7a4d96bbe297Montana4c99e876f5cf88 Signed-off-by: Yonghua Yan <yanyh2@motorola.com> Reviewed-on: https://gerrit.mot.com/1287125 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Xiaojun Ji <jixj@motorola.com> Reviewed-by: Yuecai Liu <liuyc20@motorola.com> Reviewed-by: Jianqi Yang <yangj@motorola.com> Submit-Approved: Jira Key Reviewed-on: https://gerrit.mot.com/1338869 Reviewed-by: Huosheng Liao <liaohs@motorola.com> Reviewed-on: https://gerrit.mot.com/1449121 Reviewed-on: https://gerrit.mot.com/1511639 Reviewed-by: Zonghua Liu <a17671@motorola.com> Reviewed-by: Wang Wang <wangwang1@lenovo.com>
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
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.
See Documentation/00-INDEX for a list of what is contained in each file.
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.
Description
Android Kernel for Motorola Moto G52 (sm6225) — Nethunter Release
2 GiB
0 Stars
1 Watchers
0 Forks