[Letux-kernel] playing around with the latest series of Sebastians patches

H. Nikolaus Schaller hns at goldelico.com
Fri Nov 30 22:48:16 CET 2018


Hi Andras,

> Am 30.11.2018 um 22:42 schrieb Andreas Kemnade <andreas at kemnade.info>:
> 
> Hi,
> 
> I tried Sebastian's latest patchset on the pyra and now there is
> already a display enable call.

Ah good! Do you have a pointer to this latest patch set (so far I thought that they do not really help to solve our problems) so that I can update my tree?

> But now I disabling (which happens when the xserver is started,
> or tiler-ctl is used) the
> display is a problem:

head->scratch(this)

maybe Sebastian did not test driver removal.

BR,
Nikolaus

> 
>   38.138933] DISPC: dispc_runtime_get
> [   38.143469] DISPC: dispc_enable_plane 0, 0
> [   38.148595] DISPC: GO LCD
> [   38.154005] DISPC: dispc_runtime_put
> [   38.160709] DISPC: dispc_runtime_get
> [   38.164499] panel-btl507212-w677l 58004000.encoder:lcd: disable
> [   38.170813] panel-btl507212-w677l 58004000.encoder:lcd: stop()
> [   38.177428] panel-btl507212-w677l 58004000.encoder:lcd: power_off()
> [   38.184333] DSI: dsi_if_enable(0)
> [   38.202636] DSI: dsi_vc_enable channel 0, enable 0
> [   38.207765] DSI: dsi_vc_enable channel 0, enable 1
> [   38.212805] DSI: dsi_if_enable(1)
> [   38.235947] omapdrm omapdrm.0: no framedone handler?
> [   38.241350] Unable to handle kernel NULL pointer dereference at virtual address 00000000
> [   38.250394] pgd = 17f65a63
> [   38.253248] [00000000] *pgd=00000000
> [   38.257127] Internal error: Oops: 80000005 [#1] PREEMPT SMP ARM
> [   38.261888] ------------[ cut here ]------------
> [   38.263346] Modules linked in: bnep usb_f_ecm g_ether usb_f_rndis u_ether libcomposite configfs ipv6 arc4 omapdrm(-) drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops snd_soc_omap_hdmi_audio wl18xx wlcore mac80211 panel_bos
> [   38.263526]  snd_soc_omap_mcpdm
> [   38.268204] WARNING: CPU: 0 PID: 2610 at /home/andi/gta04/pyra-kernel/kernel/locking/lockdep.c:3556 lock_downgrade+0xcc/0x1c8
> [   38.359704]  snd_soc_omap_mcbsp snd_soc_sdma
> [   38.362995] downgrading a read lock
> [   38.362998] Modules linked in:
> [   38.374842] CPU: 1 PID: 2597 Comm: modprobe Tainted: G        W         4.20.0-rc4-letux+ #3
> [   38.379312]  bnep usb_f_ecm g_ether usb_f_rndis u_ether libcomposite configfs ipv6 arc4 omapdrm(-) drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops snd_soc_omap_hdmi_audio wl18xx wlcore mac80211 panel_boe_w677l cfg80211 sm
> [   38.379435]  snd_soc_omap_mcbsp
> [   38.382965] Hardware name: Generic OMAP5 (Flattened Device Tree)
> [   38.386165]  snd_soc_sdma
> [   38.395015] PC is at   (null)
> [   38.486792] CPU: 0 PID: 2610 Comm: cut Tainted: G        W         4.20.0-rc4-letux+ #3
> [   38.490091] LR is at w677l_disable+0xa0/0x128 [panel_boe_w677l]
> [   38.496370] Hardware name: Generic OMAP5 (Flattened Device Tree)
> [   38.496391] [<c01110e4>] (unwind_backtrace) from [<c010c664>] (show_stack+0x10/0x14)
> [   38.499116] pc : [<00000000>]    lr : [<bf4f1340>]    psr: 60070013
> [   38.502221] [<c010c664>] (show_stack) from [<c0846f58>] (dump_stack+0x90/0xc4)
> [   38.510602] sp : ebbafe00  ip : ebbafd98  fp : eccdb980
> [   38.516811] [<c0846f58>] (dump_stack) from [<c01332ec>] (__warn+0xf0/0x110)
> [   38.523098] r10: bf674e8a  r9 : 0ccccb60  r8 : c0abf62c
> [   38.531202] [<c01332ec>] (__warn) from [<c0133350>] (warn_slowpath_fmt+0x44/0x6c)
> [   38.537764] r7 : ecad94bc  r6 : 0000000b  r5 : ece55484  r4 : ecad9410
> [   38.545322] [<c0133350>] (warn_slowpath_fmt) from [<c018dda0>] (lock_downgrade+0xcc/0x1c8)
> [   38.550787] r3 : 00000000  r2 : db920ebc  r1 : f0caa000  r0 : ece55484
> [   38.558079] [<c018dda0>] (lock_downgrade) from [<c0187dd4>] (downgrade_write+0x14/0xcc)
> [   38.563549] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
> [   38.571386] [<c0187dd4>] (downgrade_write) from [<c0272520>] (__do_munmap+0x184/0x2ac)
> [   38.578212] Control: 10c5387d  Table: abbec06a  DAC: 00000051
> [   38.586874] [<c0272520>] (__do_munmap) from [<c0272c5c>] (__vm_munmap+0x70/0xb4)
> [   38.593704] Process modprobe (pid: 2597, stack limit = 0xf53c660b)
> [   38.602093] [<c0272c5c>] (__vm_munmap) from [<c0101000>] (ret_fast_syscall+0x0/0x28)
> [   38.609551] Stack: (0xebbafe00 to 0xebbb0000)
> [   38.617846] Exception stack(0xebbf5fa8 to 0xebbf5ff0)
> [   38.623874] fe00: ecf61e80 ece71280 00000000 bf6a19b4 ece70800 bf675564 bf674e8a bf66c73c
> [   38.631604] 5fa0:                   b6fdb910 00000011 b6fcf000 00008961 00000000 b6fcf002
> [   38.638084] fe20: 00000002 ecf61e80 ece70800 ecaf0400 00000000 00000000 ebbae000 00000081
> [   38.646191] 5fc0: b6fdb910 00000011 00000001 0000005b b6fdad98 00000003 00000000 b6fdb968
> [   38.650761] fe40: beb9ce04 bf698418 ecf61e80 bf6a105c ece70800 bf66cfbc ecf61e80 00000000
> [   38.656041] 5fe0: b6fb3000 bed09a3c b6fc2a2d b6fc43c6
> [   38.664624] fe60: ece70800 bf66d0f8 00000000 ecf61e80 00000004 00000014 00000000 bf66b610
> [   38.673176] irq event stamp: 1346
> [   38.681752] fe80: c0d07548 ece70800 bf6a4104 ecfc2444 c0d7a0ac bf66b750 edc08f00 000000ac
> [   38.690336] hardirqs last  enabled at (1345): [<c0236010>] filemap_map_pages+0x3b8/0x608
> [   38.690346] hardirqs last disabled at (1346): [<c085e0c0>] __schedule+0x150/0xa14
> [   38.698912] fea0: 00000007 00000000 00000000 bf2ef55c 00000000 bf2ef560 c0f1d6cc 00000000
> [   38.704206] softirqs last  enabled at (1322): [<c01022cc>] __do_softirq+0x1a4/0x5a4
> [   38.704216] softirqs last disabled at (1301): [<c013acac>] irq_exit+0xc0/0x174
> [   38.712787] fec0: bf2e7494 00000001 00000006 00000000 ecadd25c ece70b5c 00000000 db920ebc
> [   38.716251] ---[ end trace 25e632ac00eaf48c ]---
> [   38.724827] fee0: ece70800 ece70800 ecaf0400 bf6982b8 ecfc2410 ecfc2410 bf6a4104 c0577e04
> [   38.787333] ff00: ecfc2410 c0d7a078 bf6a4104 c05763f0 ecfc2410 bf6a4104 00000800 00000000
> [   38.795914] ff20: 0044f3f4 c057657c bf6a4104 bf6a10c4 00000800 c0575404 00000000 c0577ee0
> [   38.804492] ff40: bf6a4400 c0d07548 00000800 c01d1978 70616d6f 006d7264 00000006 c01011c4
> [   38.813079] ff60: ebbaff74 c0160f8c edc08f00 00000000 beb9ce04 c0155ccc ecb01cc0 ecb01cc0
> [   38.821658] ff80: ecaa4780 db920ebc 00c08f00 db920ebc 0044f3c0 0044f3c0 00000001 00000081
> [   38.830238] ffa0: c01011c4 c0101000 0044f3c0 0044f3c0 0044f3f4 00000800 29e38300 00000000
> [   38.838825] ffc0: 0044f3c0 0044f3c0 00000001 00000081 00000000 00000001 0044f3c0 beb9ce04
> [   38.847407] ffe0: b6f00521 beb9ba2c 00432613 b6f00526 80010030 0044f3f4 00000000 00000000
> [   38.856066] [<bf4f1340>] (w677l_disable [panel_boe_w677l]) from [<bf66c73c>] (drm_atomic_helper_commit_modeset_disables+0x37c/0x3a4 [drm_kms_helper])
> [   38.870200] [<bf66c73c>] (drm_atomic_helper_commit_modeset_disables [drm_kms_helper]) from [<bf698418>] (omap_atomic_commit_tail+0x2c/0xb8 [omapdrm])
> [   38.884332] [<bf698418>] (omap_atomic_commit_tail [omapdrm]) from [<bf66cfbc>] (commit_tail+0x40/0x6c [drm_kms_helper])
> [   38.895734] [<bf66cfbc>] (commit_tail [drm_kms_helper]) from [<bf66d0f8>] (drm_atomic_helper_commit+0x108/0x11c [drm_kms_helper])
> [   38.908058] [<bf66d0f8>] (drm_atomic_helper_commit [drm_kms_helper]) from [<bf66b610>] (__drm_atomic_helper_disable_all.constprop.6+0x68/0x164 [drm_kms_helper])
> [   38.923201] [<bf66b610>] (__drm_atomic_helper_disable_all.constprop.6 [drm_kms_helper]) from [<bf66b750>] (drm_atomic_helper_shutdown+0x44/0xa0 [drm_kms_helper])
> [   38.938386] [<bf66b750>] (drm_atomic_helper_shutdown [drm_kms_helper]) from [<bf6982b8>] (pdev_remove+0x40/0x8c [omapdrm])
> [   38.950000] [<bf6982b8>] (pdev_remove [omapdrm]) from [<c0577e04>] (platform_drv_remove+0x24/0x3c)
> [   38.959430] [<c0577e04>] (platform_drv_remove) from [<c05763f0>] (device_release_driver_internal+0xec/0x20c)
> [   38.969738] [<c05763f0>] (device_release_driver_internal) from [<c057657c>] (driver_detach+0x60/0x6c)
> [   38.979406] [<c057657c>] (driver_detach) from [<c0575404>] (bus_remove_driver+0x64/0x90)
> [   38.987907] [<c0575404>] (bus_remove_driver) from [<c0577ee0>] (platform_unregister_drivers+0x28/0x2c)
> [   38.997684] [<c0577ee0>] (platform_unregister_drivers) from [<c01d1978>] (sys_delete_module+0x1ac/0x234)
> [   39.007630] [<c01d1978>] (sys_delete_module) from [<c0101000>] (ret_fast_syscall+0x0/0x28)
> [   39.016298] Exception stack(0xebbaffa8 to 0xebbafff0)
> [   39.021601] ffa0:                   0044f3c0 0044f3c0 0044f3f4 00000800 29e38300 00000000
> [   39.030190] ffc0: 0044f3c0 0044f3c0 00000001 00000081 00000000 00000001 0044f3c0 beb9ce04
> [   39.038775] ffe0: b6f00521 beb9ba2c 00432613 b6f00526
> [   39.044085] Code: bad PC value
> [   39.056781] ---[ end trace 25e632ac00eaf48d ]---
> 
> 
> Regards,
> Andreas
> _______________________________________________
> http://projects.goldelico.com/p/gta04-kernel/
> Letux-kernel mailing list
> Letux-kernel at openphoenux.org
> http://lists.goldelico.com/mailman/listinfo.cgi/letux-kernel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20181130/e1c9768e/attachment.asc>


More information about the Letux-kernel mailing list