mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-04 18:19:28 +09:00
957b3c67cce6447f4d0995f69a4052eae1b40f02
For some reason, kernel crashes when booting with ODROID-Vu8S panel display unlike 'ODROID-Vu5S' which use 'compatible = "simple-panel-dsi'. This patch is a quick work around sine there is no problem showing boot splash rendered in U-Boot even if the function is not called. :( [ 3.067170] rockchip-drm display-subsystem: bound fe040000.vop (ops 0xffffffc008bec7d0) [ 3.067365] rockchip-drm display-subsystem: bound fe060000.dsi (ops 0xffffffc008bfcab0) [ 3.067421] mali fde60000.gpu: Probed as mali0 [ 3.068264] (��: Underflow of regulator enable count [ 3.068413] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 [ 3.090908] Mem abort info: [ 3.091167] ESR = 0x96000005 [ 3.091447] EC = 0x25: DABT (current EL), IL = 32 bits [ 3.091940] SET = 0, FnV = 0 [ 3.092220] EA = 0, S1PTW = 0 [ 3.092508] Data abort info: [ 3.092773] ISV = 0, ISS = 0x00000005 [ 3.093119] CM = 0, WnR = 0 [ 3.093397] user pgtable: 4k pages, 39-bit VAs, pgdp=00000001049eb000 [ 3.093975] [0000000000000000] pgd=0000000000000000, p4d=0000000000000000, pud=0000000000000000 [ 3.094766] Internal error: Oops: 96000005 [#1] SMP [ 3.095206] Modules linked in: [ 3.095493] CPU: 2 PID: 89 Comm: kworker/u8:1 Not tainted 5.10.0-odroid-arm64 #1 Ubuntu 5.10.160-202312182246~focal [ 3.096419] Hardware name: Hardkernel ODROID-M1S (DT) [ 3.096882] Workqueue: events_unbound deferred_probe_work_func [ 3.097409] pstate: 80c00009 (Nzcv daif +PAN +UAO -TCO BTYPE=--) [ 3.097959] pc : __memcpy+0xbc/0x180 [ 3.098289] lr : drm_mode_copy+0x30/0x48 [ 3.098646] sp : ffffffc009e13830 [ 3.098945] x29: ffffffc009e13830 x28: ffffff810564e000 [ 3.099426] x27: ffffff8104c90240 x26: 0000000000000003 [ 3.099906] x25: ffffff8100d2b000 x24: ffffff8105c21448 [ 3.100386] x23: ffffff81049f9600 x22: ffffff810564e000 [ 3.100865] x21: 0000000000000000 x20: 0000000000000000 [ 3.101344] x19: ffffff81049f9180 x18: 0000000000000000 [ 3.101823] x17: 00000000000057b0 x16: 0000000000000000 [ 3.102302] x15: 000000000000000a x14: 0000000000000577 [ 3.102781] x13: ffffffffffffffff x12: ffffffffffffffff [ 3.103261] x11: 0000000000000000 x10: 0000000000000a20 [ 3.103740] x9 : ffffffc0085b4408 x8 : ffffff81049f9200 [ 3.104219] x7 : 0000000000000000 x6 : ffffff81049f9180 [ 3.104698] x5 : 0000000000000040 x4 : 0000000000000000 [ 3.105177] x3 : 0000000000000080 x2 : fffffffffffffff8 [ 3.105655] x1 : 0000000000000000 x0 : ffffff81049f9180 [ 3.106135] Call trace: [ 3.106370] __memcpy+0xbc/0x180 [ 3.106672] drm_mode_duplicate+0x30/0x44 [ 3.107046] ili9881c_get_modes+0x34/0xb8 [ 3.107420] drm_panel_get_modes+0x2c/0x48 [ 3.107795] dw_mipi_dsi_connector_get_modes+0x48/0x54 [ 3.108262] rockchip_drm_show_logo+0xad4/0x1438 [ 3.108680] rockchip_drm_bind+0x6b8/0x740 [ 3.109053] try_to_bring_up_master+0xa0/0x284 [ 3.109460] component_master_add_with_match+0xdc/0x100 [ 3.109939] rockchip_drm_platform_probe+0x254/0x28c [ 3.110392] platform_drv_probe+0x5c/0xac [ 3.110764] really_probe+0x2dc/0x46c [ 3.111101] driver_probe_device+0x134/0x144 [ 3.111495] __device_attach_driver+0xd0/0x118 [ 3.111904] bus_for_each_drv+0xa0/0xc8 [ 3.112252] __device_attach+0xf8/0x184 [ 3.112600] device_initial_probe+0x1c/0x28 [ 3.112984] bus_probe_device+0x38/0x9c [ 3.113333] deferred_probe_work_func+0xdc/0xf0 [ 3.113757] process_one_work+0x1e0/0x298 [ 3.114129] process_scheduled_works+0x4c/0x50 [ 3.114536] worker_thread+0x1f4/0x278 [ 3.114885] kthread+0xf4/0x104 [ 3.115177] ret_from_fork+0x10/0x30 Change-Id: I2c76298218dfd2ef1609fe1d8810ca4045ed04b4 Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Merge
749a916a9c ("usb: dwc3: ep0: Don't clear ep0 DWC3_EP_TRANSFER_STARTED") into android14-6.1-lts
…
…
Merge commit 'a887a44ace2a27d86308356a7ea0db00d79f2c44' of https://android.googlesource.com/kernel/common
…
…
…
…
…
…
…
…
How do I submit patches to Android Common Kernels
-
BEST: Make all of your changes to upstream Linux. If appropriate, backport to the stable releases. These patches will be merged automatically in the corresponding common kernels. If the patch is already in upstream Linux, post a backport of the patch that conforms to the patch requirements below.
- Do not send patches upstream that contain only symbol exports. To be considered for upstream Linux,
additions of
EXPORT_SYMBOL_GPL()require an in-tree modular driver that uses the symbol -- so include the new driver or changes to an existing driver in the same patchset as the export. - When sending patches upstream, the commit message must contain a clear case for why the patch is needed and beneficial to the community. Enabling out-of-tree drivers or functionality is not not a persuasive case.
- Do not send patches upstream that contain only symbol exports. To be considered for upstream Linux,
additions of
-
LESS GOOD: Develop your patches out-of-tree (from an upstream Linux point-of-view). Unless these are fixing an Android-specific bug, these are very unlikely to be accepted unless they have been coordinated with kernel-team@android.com. If you want to proceed, post a patch that conforms to the patch requirements below.
Common Kernel patch requirements
- All patches must conform to the Linux kernel coding standards and pass
scripts/checkpatch.pl - Patches shall not break gki_defconfig or allmodconfig builds for arm, arm64, x86, x86_64 architectures (see https://source.android.com/setup/build/building-kernels)
- If the patch is not merged from an upstream branch, the subject must be tagged with the type of patch:
UPSTREAM:,BACKPORT:,FROMGIT:,FROMLIST:, orANDROID:. - All patches must have a
Change-Id:tag (see https://gerrit-review.googlesource.com/Documentation/user-changeid.html) - If an Android bug has been assigned, there must be a
Bug:tag. - All patches must have a
Signed-off-by:tag by the author and the submitter
Additional requirements are listed below based on patch type
Requirements for backports from mainline Linux: UPSTREAM:, BACKPORT:
- If the patch is a cherry-pick from Linux mainline with no changes at all
- tag the patch subject with
UPSTREAM:. - add upstream commit information with a
(cherry picked from commit ...)line - Example:
- if the upstream commit message is
- tag the patch subject with
important patch from upstream
This is the detailed description of the important patch
Signed-off-by: Fred Jones <fred.jones@foo.org>
- then Joe Smith would upload the patch for the common kernel as
UPSTREAM: important patch from upstream
This is the detailed description of the important patch
Signed-off-by: Fred Jones <fred.jones@foo.org>
Bug: 135791357
Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
(cherry picked from commit c31e73121f4c1ec41143423ac6ce3ce6dafdcec1)
Signed-off-by: Joe Smith <joe.smith@foo.org>
- If the patch requires any changes from the upstream version, tag the patch with
BACKPORT:instead ofUPSTREAM:.- use the same tags as
UPSTREAM: - add comments about the changes under the
(cherry picked from commit ...)line - Example:
- use the same tags as
BACKPORT: important patch from upstream
This is the detailed description of the important patch
Signed-off-by: Fred Jones <fred.jones@foo.org>
Bug: 135791357
Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
(cherry picked from commit c31e73121f4c1ec41143423ac6ce3ce6dafdcec1)
[joe: Resolved minor conflict in drivers/foo/bar.c ]
Signed-off-by: Joe Smith <joe.smith@foo.org>
Requirements for other backports: FROMGIT:, FROMLIST:,
- If the patch has been merged into an upstream maintainer tree, but has not yet
been merged into Linux mainline
- tag the patch subject with
FROMGIT: - add info on where the patch came from as
(cherry picked from commit <sha1> <repo> <branch>). This must be a stable maintainer branch (not rebased, so don't uselinux-nextfor example). - if changes were required, use
BACKPORT: FROMGIT: - Example:
- if the commit message in the maintainer tree is
- tag the patch subject with
important patch from upstream
This is the detailed description of the important patch
Signed-off-by: Fred Jones <fred.jones@foo.org>
- then Joe Smith would upload the patch for the common kernel as
FROMGIT: important patch from upstream
This is the detailed description of the important patch
Signed-off-by: Fred Jones <fred.jones@foo.org>
Bug: 135791357
(cherry picked from commit 878a2fd9de10b03d11d2f622250285c7e63deace
https://git.kernel.org/pub/scm/linux/kernel/git/foo/bar.git test-branch)
Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
Signed-off-by: Joe Smith <joe.smith@foo.org>
- If the patch has been submitted to LKML, but not accepted into any maintainer tree
- tag the patch subject with
FROMLIST: - add a
Link:tag with a link to the submittal on lore.kernel.org - add a
Bug:tag with the Android bug (required for patches not accepted into a maintainer tree) - if changes were required, use
BACKPORT: FROMLIST: - Example:
- tag the patch subject with
FROMLIST: important patch from upstream
This is the detailed description of the important patch
Signed-off-by: Fred Jones <fred.jones@foo.org>
Bug: 135791357
Link: https://lore.kernel.org/lkml/20190619171517.GA17557@someone.com/
Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
Signed-off-by: Joe Smith <joe.smith@foo.org>
Requirements for Android-specific patches: ANDROID:
- If the patch is fixing a bug to Android-specific code
- tag the patch subject with
ANDROID: - add a
Fixes:tag that cites the patch with the bug - Example:
- tag the patch subject with
ANDROID: fix android-specific bug in foobar.c
This is the detailed description of the important fix
Fixes: 1234abcd2468 ("foobar: add cool feature")
Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
Signed-off-by: Joe Smith <joe.smith@foo.org>
- If the patch is a new feature
- tag the patch subject with
ANDROID: - add a
Bug:tag with the Android bug (required for android-specific features)
- tag the patch subject with
Description
Languages
C
97.7%
Assembly
1.6%
Makefile
0.3%
Perl
0.1%