[Letux-kernel] jz4780 CI20 v5.8 - SMP

H. Nikolaus Schaller hns at goldelico.com
Mon Jul 6 09:20:29 CEST 2020


Hi Paul,

> Am 05.07.2020 um 22:43 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
> 
> Hi Paul,
>> So we will have it in letux-5.8-rc4 tomorrow.
> 
> Seems not really be related to jz4780.
> 
> But I have found v8 of the jz4780 patches (we have forward-ported v6):
> 
> https://patchwork.kernel.org/patch/11557921/
> 
> It wasn't simple to apply it to v5.8 but I could
> apply it to v5.7 and then rebase.
> 
> This needed to move the initialization from prom.c
> to setup.c
> 
> But here it is:
> 
> https://git.goldelico.com/?p=letux-kernel.git;a=shortlog;h=refs/heads/letux/jz4780-smp-v8
> 
> With this, I could simply do:
> 
> git checkout letux-5.8-rc3
> git revert letux-base..letux/jz4780-smp-v6
> git merge letux/jz4780-smp-v8
> 
> It now compiles but I haven't had time to test.
> The update to v5.8-rc4 will directly include
> letux/jz4780-smp-v8.

Ok, seems to work! So we can remove the SMP issue from our todo list.

There is another one which reminds me on the omap5 issue.

[    8.037207] [drm] Initialized ingenic-drm 1.0.0 20190422 for 13050000.lcdc0 on minor 1
[    8.281913] drm_setup_crtcs_fb: sw_rotations=1
[    8.286821] drm_setup_crtcs_fb: fbcon_rotate_hint=0
--- nothing happens (UART interrupts disabled/locked?) ---
[    8.527478] [<8001690c>] ret_from_kernel_thread+0x14/0x1c
[    8.527498] ---[ end trace 9a99bf7d6729d42d ]---
[    8.527555] Console: switching to colour frame buffer device 128x37
[   18.542990] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:32:crtc-0] flip_done timed out
[   28.695601] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:34:HDMI-A-1] flip_done timed out
[   31.895437] wlan0_power: disabling
[   39.023001] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:31:plane-0] flip_done timed out
[   39.213119] ------------[ cut here ]------------
[   39.213323] WARNING: CPU: 1 PID: 858 at drivers/gpu/drm/drm_atomic_helper.c:1495 drm_atomic_helper_wait_for_vblanks+0x220/0x2a8 [drm_kms_helper]
[   39.213330] [CRTC:32:crtc-0] vblank wait timed out
[   39.213334] Modules linked in: dw_hdmi_jz4780 dw_hdmi ingenic_drm drm_kms_helper pvrsrvkm_jz4780_sgx540_130 syscopyarea gpio_ir_recv gpio_keys sysfillrect sysimgblt dm9000 fb_sys_fops mii nvmem_jz4780_efuse drm rtc_pcf8563 drm_panel_orientation_quirks ipv6 autofs4
[   39.213391] CPU: 1 PID: 858 Comm: kworker/1:3 Tainted: G        W         5.8.0-rc4-letux-l400+ #2873
[   39.213409] Workqueue: events deferred_probe_work_func
[   39.213415] Stack : 00000000 80b70000 809894f4 8ee9f6f4 80a6657c 000001ba 80a60000 80a60000
[   39.213437]         8099f5b4 80ab0000 00000009 000005d7 8f8d9000 00000001 8ee9f6a0 60e601e6
[   39.213457]         00000000 00000000 8099f5b4 80b691a8 000001ba 8044fef8 00000001 746e6576
[   39.213475]         65642073 0000597a 0000000f 72726566 80a60000 00000000 00000001 80ab0000
[   39.213495]         00000009 000005d7 8f8d9000 00000000 00000010 804f26a8 017eac5f 017eac9f
[   39.213514]         ...
[   39.213522] Call Trace:
[   39.213534] [<8001d0b0>] show_stack+0x6c/0x12c
[   39.213550] [<8043306c>] dump_stack+0xa4/0xd8
[   39.213563] [<80034dd0>] __warn+0xe0/0x114
[   39.213574] [<80034e8c>] warn_slowpath_fmt+0x88/0xbc
[   39.213705] [<c02a83d4>] drm_atomic_helper_wait_for_vblanks+0x220/0x2a8 [drm_kms_helper]
[   39.213949] [<c02aae20>] drm_atomic_helper_commit_tail+0x8c/0xb0 [drm_kms_helper]
[   39.214193] [<c02ab484>] commit_tail+0xec/0x218 [drm_kms_helper]
[   39.214437] [<c02ab720>] drm_atomic_helper_commit+0x160/0x1a0 [drm_kms_helper]
[   39.214922] [<c1b439a8>] drm_client_modeset_commit_atomic+0x188/0x294 [drm]
[   39.215531] [<c1b43b24>] drm_client_modeset_commit_locked+0x70/0x1c0 [drm]
[   39.215966] [<c02b2ca0>] drm_fb_helper_pan_display+0xe4/0x234 [drm_kms_helper]
[   39.216099] [<8046c504>] fb_pan_display+0xe4/0x140
[   39.216110] [<8047a934>] bit_update_start+0x20/0x4c
[   39.216119] [<804777ac>] fbcon_switch+0x3e4/0x4a4
[   39.216134] [<804b8dac>] redraw_screen+0x11c/0x210
[   39.216145] [<804b96f0>] do_bind_con_driver+0x308/0x384
[   39.216157] [<804b9ba4>] do_take_over_console+0x1ac/0x1fc
[   39.216170] [<80475984>] do_fbcon_takeover+0x90/0xf8
[   39.216181] [<8046d8b0>] register_framebuffer+0x1dc/0x2e0
[   39.216310] [<c02b0d40>] __drm_fb_helper_initial_config_and_unlock+0x494/0x5a0 [drm_kms_helper]
[   39.216555] [<c02b1f24>] drm_fbdev_client_hotplug+0xf8/0x154 [drm_kms_helper]
[   39.216799] [<c02b23cc>] drm_fbdev_generic_setup+0x1bc/0x224 [drm_kms_helper]
[   39.216937] [<c0263cbc>] ingenic_drm_probe+0x62c/0x66c [ingenic_drm]
[   39.216955] [<804da720>] platform_drv_probe+0x58/0xb4
[   39.216966] [<804d89ac>] really_probe+0x18c/0x338
[   39.216977] [<804d8d48>] driver_probe_device+0x88/0xd0
[   39.216987] [<804d6acc>] bus_for_each_drv+0x90/0xc8
[   39.216997] [<804d8c04>] __device_attach+0xac/0x14c
[   39.217007] [<804d79e8>] bus_probe_device+0x3c/0xb4
[   39.217018] [<804d7f84>] deferred_probe_work_func+0x7c/0xb4
[   39.217030] [<800506fc>] process_one_work+0x200/0x390
[   39.217041] [<80050df8>] worker_thread+0x228/0x338
[   39.217050] [<80056ab0>] kthread+0x14c/0x154
[   39.217062] [<8001690c>] ret_from_kernel_thread+0x14/0x1c
[   39.217235] ---[ end trace 9a99bf7d6729d42e ]---
[   42.206490] ingenic-drm 13050000.lcdc0: fb0: ingenic-drmdrmf frame buffer device

This is without any of your new patches, just letux-5.8-rc3 rebased to -rc4 and SMP fixed.

HDMI panel is active (backlight on) but no image.

But contrary to the omap5 I have a /dev/fb0. Well, the omap5 doesn't exit from
"--- nothing happens (UART interrupts disabled/locked?) ---"

BR,
Nikolaus




More information about the Letux-kernel mailing list