On 07/07/2020 23:12, Daniel Vetter wrote: > Gives us proper nonblocking support for free, and a pile of other > things. The tilcdc code is simply old enough that it was never > converted over, but was stuck forever with the copypasta from when it > was initially merged. > > The riskiest thing with this conversion is maybe that there's an issue > with the vblank handling or vblank event handling, which will upset > the modern commit support in atomic helpers. But from a cursory review > drm_crtc_vblank_on/off is called in the right places, and the event > handling also seems to exist (albeit with much hand-rolling and > probably some races, could perhaps be converted over to > drm_crtc_arm_vblank_event without any real loss). > > Motivated by me not having to hand-roll the dma-fence annotations for > this. > > Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxxx> > Cc: Jyri Sarha <jsarha@xxxxxx> > Cc: Tomi Valkeinen <tomi.valkeinen@xxxxxx> I tried this out, but it is not working. Something breaks in the event handling and event reference counting. Unfortunately my vacation is pressing on, and I am not sure if I have time to debug the issue further before that. Anyway, I have attached the boot log with the following WARN dumps: ---------------------------------------------------------------- [ 12.203874] WARNING: CPU: 0 PID: 208 at drivers/gpu/drm/drm_atomic_helper.c:2329 drm_atomic_helper_commit_hw_done+0x144/0x168 [drm_kms_helper] [ 12.217682] WARNING: CPU: 0 PID: 208 at drivers/gpu/drm/drm_atomic_helper.c:2329 drm_atomic_helper_commit_hw_done+0x144/0x168 [drm_kms_helper] [ 232.156231] WARNING: CPU: 0 PID: 1315 at drivers/gpu/drm/drm_atomic_helper.c:2329 drm_atomic_helper_commit_hw_done+0x144/0x168 [drm_kms_helper] [ 232.472068] WARNING: CPU: 0 PID: 1315 at lib/refcount.c:28 __drm_atomic_helper_plane_destroy_state+0xd0/0xe0 [drm_kms_helper] [ 240.611129] WARNING: CPU: 0 PID: 1317 at drivers/gpu/drm/drm_atomic_helper.c:2329 drm_atomic_helper_commit_hw_done+0x144/0x168 [drm_kms_helper] ---------------------------------------------------------------- The first two came at boot time when setting up the fbconsole, the ones after that came when I tried to use kmstest[1]. The fbconsole came up, but nothing after that works. I am back from vacation in the beginning of august, so there may be some time before I can debug this further. Best regards, Jyri [1] https://github.com/tomba/kmsxx > --- > drivers/gpu/drm/tilcdc/tilcdc_drv.c | 47 +---------------------------- > 1 file changed, 1 insertion(+), 46 deletions(-) > > diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c > index 0d74a6443263..4f5fc3e87383 100644 > --- a/drivers/gpu/drm/tilcdc/tilcdc_drv.c > +++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.c > @@ -87,55 +87,10 @@ static int tilcdc_atomic_check(struct drm_device *dev, > return ret; > } > > -static int tilcdc_commit(struct drm_device *dev, > - struct drm_atomic_state *state, > - bool async) > -{ > - int ret; > - > - ret = drm_atomic_helper_prepare_planes(dev, state); > - if (ret) > - return ret; > - > - ret = drm_atomic_helper_swap_state(state, true); > - if (ret) { > - drm_atomic_helper_cleanup_planes(dev, state); > - return ret; > - } > - > - /* > - * Everything below can be run asynchronously without the need to grab > - * any modeset locks at all under one condition: It must be guaranteed > - * that the asynchronous work has either been cancelled (if the driver > - * supports it, which at least requires that the framebuffers get > - * cleaned up with drm_atomic_helper_cleanup_planes()) or completed > - * before the new state gets committed on the software side with > - * drm_atomic_helper_swap_state(). > - * > - * This scheme allows new atomic state updates to be prepared and > - * checked in parallel to the asynchronous completion of the previous > - * update. Which is important since compositors need to figure out the > - * composition of the next frame right after having submitted the > - * current layout. > - */ > - > - drm_atomic_helper_commit_modeset_disables(dev, state); > - > - drm_atomic_helper_commit_planes(dev, state, 0); > - > - drm_atomic_helper_commit_modeset_enables(dev, state); > - > - drm_atomic_helper_wait_for_vblanks(dev, state); > - > - drm_atomic_helper_cleanup_planes(dev, state); > - > - return 0; > -} > - > static const struct drm_mode_config_funcs mode_config_funcs = { > .fb_create = drm_gem_fb_create, > .atomic_check = tilcdc_atomic_check, > - .atomic_commit = tilcdc_commit, > + .atomic_commit = drm_atomic_helper_commit, > }; > > static void modeset_init(struct drm_device *dev) > -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.8.0-rc2-00068-g9817f9c44b85 (oku@jadmar) (arm-linux-gnueabihf-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0, GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #17 SMP Wed Jul 8 11:51:57 EEST 2020 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: TI AM335x BeagleBone Black [ 0.000000] Memory policy: Data cache writeback [ 0.000000] cma: Reserved 64 MiB at 0x9b800000 [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000080000000-0x000000009fdfffff] [ 0.000000] HighMem empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080000000-0x000000009fdfffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009fdfffff] [ 0.000000] On node 0 totalpages: 130560 [ 0.000000] Normal zone: 1148 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 130560 pages, LIFO batch:31 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM335X ES2.0 (sgx neon) [ 0.000000] percpu: Embedded 19 pages/cpu s49036 r8192 d20596 u77824 [ 0.000000] pcpu-alloc: s49036 r8192 d20596 u77824 alloc=19*4096 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129412 [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs rw nfsroot=10.1.1.15:/nfs/jessie-armhf,v3,tcp rootwait ip=10.1.1.24:10.1.1.15:10.1.1.1:255.255.255.0:epos::off init=/sbin/init debug loglevel=8 video=HDMI-A-1:1280x720 cma=64M [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 436884K/522240K available (9216K kernel code, 797K rwdata, 2152K rodata, 1024K init, 255K bss, 19820K reserved, 65536K cma-reserved, 0K highmem) [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts [ 0.000000] random: get_random_bytes called from start_kernel+0x2f0/0x530 with crng_init=0 [ 0.000000] TI gptimer clocksource: always-on /ocp/interconnect@44c00000/segment@200000/target-module@31000 [ 0.000009] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [ 0.000026] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000417] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000 [ 0.001815] Console: colour dummy device 80x30 [ 0.001845] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' [ 0.001852] This ensures that you still see kernel messages. Please [ 0.001858] update your kernel commandline. [ 0.001893] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736) [ 0.090500] pid_max: default: 32768 minimum: 301 [ 0.090672] LSM: Security Framework initializing [ 0.090786] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.090799] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.091911] CPU: Testing write buffer coherency: ok [ 0.091976] CPU0: Spectre v2: using BPIALL workaround [ 0.092341] CPU0: thread -1, cpu 0, socket -1, mpidr 0 [ 0.093134] Setting up static identity map for 0x80100000 - 0x80100078 [ 0.093324] rcu: Hierarchical SRCU implementation. [ 0.093749] smp: Bringing up secondary CPUs ... [ 0.093763] smp: Brought up 1 node, 1 CPU [ 0.093773] SMP: Total of 1 processors activated (996.14 BogoMIPS). [ 0.093780] CPU: All CPU(s) started in SVC mode. [ 0.094438] devtmpfs: initialized [ 0.106464] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.106780] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.106808] futex hash table entries: 256 (order: 2, 16384 bytes, linear) [ 0.111563] pinctrl core: initialized pinctrl subsystem [ 0.112416] thermal_sys: Registered thermal governor 'fair_share' [ 0.112423] thermal_sys: Registered thermal governor 'step_wise' [ 0.112436] thermal_sys: Registered thermal governor 'user_space' [ 0.113604] NET: Registered protocol family 16 [ 0.116350] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.136587] l3-aon-clkctrl:0000:0: failed to disable [ 0.137574] audit: initializing netlink subsys (disabled) [ 0.138721] cpuidle: using governor menu [ 0.769728] audit: type=2000 audit(0.130:1): state=initialized audit_enabled=0 res=1 [ 0.844811] No ATAGs? [ 0.844832] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.864572] reg-fixed-voltage fixedregulator0: GPIO lookup for consumer (null) [ 0.864594] reg-fixed-voltage fixedregulator0: using device tree for GPIO lookup [ 0.864630] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/fixedregulator0[0]' [ 0.864648] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator0[0]' [ 0.864661] reg-fixed-voltage fixedregulator0: using lookup tables for GPIO lookup [ 0.864673] reg-fixed-voltage fixedregulator0: No GPIO consumer (null) found [ 0.867416] iommu: Default domain type: Translated [ 0.869149] vgaarb: loaded [ 0.869744] SCSI subsystem initialized [ 0.870101] libata version 3.00 loaded. [ 0.870777] pps_core: LinuxPPS API ver. 1 registered [ 0.870790] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@xxxxxxxx> [ 0.870813] PTP clock support registered [ 0.872000] clocksource: Switched to clocksource dmtimer [ 1.487412] VFS: Disk quotas dquot_6.6.0 [ 1.487531] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.497659] NET: Registered protocol family 2 [ 1.498484] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 1.498519] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 1.498561] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 1.498621] TCP: Hash tables configured (established 4096 bind 4096) [ 1.498734] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 1.498758] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 1.498921] NET: Registered protocol family 1 [ 1.499765] RPC: Registered named UNIX socket transport module. [ 1.499784] RPC: Registered udp transport module. [ 1.499790] RPC: Registered tcp transport module. [ 1.499797] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.499813] PCI: CLS 0 bytes, default 64 [ 1.501365] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available [ 1.503177] Initialise system trusted keyrings [ 1.503633] workingset: timestamp_bits=14 max_order=17 bucket_order=3 [ 1.504915] NFS: Registering the id_resolver key type [ 1.504963] Key type id_resolver registered [ 1.504971] Key type id_legacy registered [ 1.505014] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 1.505361] Key type asymmetric registered [ 1.505375] Asymmetric key parser 'x509' registered [ 1.505393] io scheduler mq-deadline registered [ 1.505402] io scheduler kyber registered [ 1.587775] gpio gpiochip0: (gpio-0-31): added GPIO chardev (254:0) [ 1.587890] gpio gpiochip0: registered GPIOs 0 to 31 on gpio-0-31 [ 1.587964] OMAP GPIO hardware version 0.1 [ 1.732762] gpio gpiochip1: (gpio-32-63): added GPIO chardev (254:1) [ 1.732886] gpio gpiochip1: registered GPIOs 32 to 63 on gpio-32-63 [ 1.768366] gpio gpiochip2: (gpio-64-95): added GPIO chardev (254:2) [ 1.768482] gpio gpiochip2: registered GPIOs 64 to 95 on gpio-64-95 [ 1.775981] gpio gpiochip3: (gpio-96-127): added GPIO chardev (254:3) [ 1.776091] gpio gpiochip3: registered GPIOs 96 to 127 on gpio-96-127 [ 1.814868] debugfs: Directory '49000000.dma' with parent 'dmaengine' already present! [ 1.814905] edma 49000000.dma: TI EDMA DMA engine driver [ 1.827289] pinctrl-single 44e10800.pinmux: 142 pins, size 568 [ 1.829921] gpio-clk clk_mcasp0: GPIO lookup for consumer enable [ 1.829940] gpio-clk clk_mcasp0: using device tree for GPIO lookup [ 1.829990] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/clk_mcasp0[0]' - status (0) [ 1.830069] gpio gpiochip1: Persistence not supported for GPIO 27 [ 1.833916] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled [ 1.837537] omap8250 44e09000.serial: GPIO lookup for consumer rs485-term [ 1.837559] omap8250 44e09000.serial: using device tree for GPIO lookup [ 1.837604] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/ocp/interconnect@44c00000/segment@200000/target-module@9000/serial@0[0]' [ 1.837630] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/ocp/interconnect@44c00000/segment@200000/target-module@9000/serial@0[0]' [ 1.837646] omap8250 44e09000.serial: using lookup tables for GPIO lookup [ 1.837657] omap8250 44e09000.serial: No GPIO consumer rs485-term found [ 1.837707] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 20, base_baud = 3000000) is a 8250 [ 2.473074] random: fast init done [ 2.726110] printk: console [ttyS0] enabled [ 2.743351] brd: module loaded [ 2.755392] loop: module loaded [ 2.760628] mtdoops: mtd device (mtddev=name/number) must be supplied [ 2.769679] mdio_bus fixed-0: GPIO lookup for consumer reset [ 2.775465] mdio_bus fixed-0: using lookup tables for GPIO lookup [ 2.781588] mdio_bus fixed-0: No GPIO consumer reset found [ 2.787156] libphy: Fixed MDIO Bus: probed [ 2.795217] mdio_bus 4a101000.mdio: GPIO lookup for consumer reset [ 2.801441] mdio_bus 4a101000.mdio: using device tree for GPIO lookup [ 2.808041] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/interconnect@4a000000/segment@0/target-module@100000/ethernet@0/mdio@1000[0]' [ 2.822843] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/interconnect@4a000000/segment@0/target-module@100000/ethernet@0/mdio@1000[0]' [ 2.837536] mdio_bus 4a101000.mdio: using lookup tables for GPIO lookup [ 2.844199] mdio_bus 4a101000.mdio: No GPIO consumer reset found [ 2.902000] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000 [ 2.909703] libphy: 4a101000.mdio: probed [ 2.914964] mdio_bus 4a101000.mdio:00: GPIO lookup for consumer reset [ 2.921446] mdio_bus 4a101000.mdio:00: using device tree for GPIO lookup [ 2.928300] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/interconnect@4a000000/segment@0/target-module@100000/ethernet@0/mdio@1000/ethernet-phy@0[0]' [ 2.944425] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/interconnect@4a000000/segment@0/target-module@100000/ethernet@0/mdio@1000/ethernet-phy@0[0]' [ 2.960427] mdio_bus 4a101000.mdio:00: using lookup tables for GPIO lookup [ 2.967351] mdio_bus 4a101000.mdio:00: No GPIO consumer reset found [ 2.974297] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720 [ 2.983686] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4 [ 2.990070] cpsw 4a100000.ethernet: ALE Table size 1024 [ 2.995512] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies) [ 3.002837] cpsw 4a100000.ethernet: Detected MACID = 00:1e:ac:3f:09:fb [ 3.011391] i2c /dev entries driver [ 3.016869] cpuidle: enable-method property 'ti,am3352' found operations [ 3.024553] sdhci: Secure Digital Host Controller Interface driver [ 3.030766] sdhci: Copyright(c) Pierre Ossman [ 3.036223] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd [ 3.042332] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 3.048936] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/interconnect@48000000/segment@0/target-module@60000/mmc@0[0]' - status (0) [ 3.062810] gpio gpiochip0: Persistence not supported for GPIO 6 [ 3.068854] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22) [ 3.077616] omap_hsmmc 48060000.mmc: Got CD GPIO [ 3.082275] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp [ 3.088305] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 3.094938] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/interconnect@48000000/segment@0/target-module@60000/mmc@0[0]' [ 3.108077] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/interconnect@48000000/segment@0/target-module@60000/mmc@0[0]' [ 3.121110] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup [ 3.127868] omap_hsmmc 48060000.mmc: No GPIO consumer wp found [ 3.160991] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd [ 3.167150] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup [ 3.173777] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/interconnect@48000000/segment@100000/target-module@d8000/mmc@0[0]' [ 3.187352] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/interconnect@48000000/segment@100000/target-module@d8000/mmc@0[0]' [ 3.200825] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup [ 3.207576] omap_hsmmc 481d8000.mmc: No GPIO consumer cd found [ 3.213455] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp [ 3.219487] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup [ 3.226076] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/interconnect@48000000/segment@100000/target-module@d8000/mmc@0[0]' [ 3.239642] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/interconnect@48000000/segment@100000/target-module@d8000/mmc@0[0]' [ 3.253108] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup [ 3.259838] omap_hsmmc 481d8000.mmc: No GPIO consumer wp found [ 3.290866] omap_hsmmc 47810000.mmc: GPIO lookup for consumer cd [ 3.296967] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup [ 3.303575] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/target-module@47810000/mmc@0[0]' [ 3.314180] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/target-module@47810000/mmc@0[0]' [ 3.324684] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup [ 3.331416] omap_hsmmc 47810000.mmc: No GPIO consumer cd found [ 3.337296] omap_hsmmc 47810000.mmc: GPIO lookup for consumer wp [ 3.343345] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup [ 3.349912] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/target-module@47810000/mmc@0[0]' [ 3.360510] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/target-module@47810000/mmc@0[0]' [ 3.371010] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup [ 3.377758] omap_hsmmc 47810000.mmc: No GPIO consumer wp found [ 3.383935] omap_hsmmc 47810000.mmc: RX DMA channel request failed [ 3.390928] sdhci-pltfm: SDHCI platform and OF driver helper [ 3.397613] ledtrig-cpu: registered to indicate activity on CPUs [ 3.405738] drop_monitor: Initializing network drop monitor service [ 3.412430] Initializing XFRM netlink socket [ 3.416927] NET: Registered protocol family 10 [ 3.423084] Segment Routing with IPv6 [ 3.426880] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 3.433670] NET: Registered protocol family 17 [ 3.438163] NET: Registered protocol family 15 [ 3.442793] Key type dns_resolver registered [ 3.447690] oprofile: using arm/armv7 [ 3.451550] ThumbEE CPU extension supported. [ 3.455933] Registering SWP/SWPB emulation handler [ 3.461148] omap_voltage_late_init: Voltage driver support not added [ 3.467596] sr_dev_init: Unknown instance smartreflex0 [ 3.473053] SmartReflex Class3 initialized [ 3.477863] Loading compiled-in X.509 certificates [ 3.503012] mmc0: host does not support reading read-only switch, assuming write-enable [ 3.513192] mmc0: new high speed SDHC card at address 1234 [ 3.519641] mmcblk0: mmc0:1234 SA08G 7.29 GiB [ 3.527358] mmcblk0: p1 p2 [ 3.544158] tps65217 0-0024: TPS65217 ID 0xe version 1.2 [ 3.549984] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz [ 3.557939] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz [ 3.567467] cpsw 4a100000.ethernet: initializing cpsw version 1.12 (0) [ 3.589889] mmc1: new high speed MMC card at address 0001 [ 3.596467] mmcblk1: mmc1:0001 MMC02G 1.79 GiB [ 3.601340] mmcblk1boot0: mmc1:0001 MMC02G partition 1 1.00 MiB [ 3.607690] mmcblk1boot1: mmc1:0001 MMC02G partition 2 1.00 MiB [ 3.614034] mmcblk1rpmb: mmc1:0001 MMC02G partition 3 128 KiB, chardev (249:0) [ 3.652932] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL) [ 5.762708] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off [ 5.792020] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 5.822103] IP-Config: Complete: [ 5.825364] device=eth0, hwaddr=00:1e:ac:3f:09:fb, ipaddr=10.1.1.24, mask=255.255.255.0, gw=10.1.1.1 [ 5.835012] host=epos, domain=, nis-domain=(none) [ 5.840173] bootserver=10.1.1.15, rootserver=10.1.1.15, rootpath= [ 5.869051] VFS: Mounted root (nfs filesystem) on device 0:16. [ 5.875703] devtmpfs: mounted [ 5.880029] Freeing unused kernel memory: 1024K [ 5.902484] Run /sbin/init as init process [ 5.906604] with arguments: [ 5.909579] /sbin/init [ 5.912327] with environment: [ 5.915479] HOME=/ [ 5.917843] TERM=linux Mount failed for selinuxfs on /sys/fs/selinux: No such file or directory INIT: version 2.88 booting [info] Using makefile-style concurrent boot in runlevel S. calling: info [....] Starting the hotplug events dispatcher: udevd[ 7.505495] systemd-udevd[178]: starting version 215 [ 7.602490] random: udevd: uninitialized urandom read (16 bytes read) [ 7.646368] random: udevd: uninitialized urandom read (16 bytes read) . ok [....] Synthesizing the initial hotplug events...calling: trigger [ 8.353831] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led2[0]' - status (0) [ 8.363044] gpio gpiochip1: Persistence not supported for GPIO 21 [ 8.369166] gpio-53 (?): no flags found for gpios [ 8.374175] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led3[0]' - status (0) [ 8.383232] gpio gpiochip1: Persistence not supported for GPIO 22 [ 8.389351] gpio-54 (?): no flags found for gpios [ 8.394282] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led4[0]' - status (0) [ 8.403327] gpio gpiochip1: Persistence not supported for GPIO 23 [ 8.409444] gpio-55 (?): no flags found for gpios [ 8.414332] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led5[0]' - status (0) [ 8.423366] gpio gpiochip1: Persistence not supported for GPIO 24 [ 8.429483] gpio-56 (?): no flags found for gpios [ 8.568007] remoteproc remoteproc0: wkup_m3 is available [ 8.970424] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer reset [ 8.977899] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup [ 8.985508] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/target-module@47400000/usb-phy@1300[0]' [ 8.996990] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/target-module@47400000/usb-phy@1300[0]' [ 9.008372] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup [ 9.016086] am335x-phy-driver 47401300.usb-phy: No GPIO consumer reset found [ 9.023186] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer vbus-detect [ 9.030962] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup [ 9.038506] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/target-module@47400000/usb-phy@1300[0]' [ 9.050499] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/target-module@47400000/usb-phy@1300[0]' [ 9.062395] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup [ 9.070084] am335x-phy-driver 47401300.usb-phy: No GPIO consumer vbus-detect found [ 9.077819] am335x-phy-driver 47401300.usb-phy: supply vcc not found, using dummy regulator [ 9.121116] usbcore: registered new interface driver usbfs [ 9.126851] usbcore: registered new interface driver hub [ 9.132345] usbcore: registered new device driver usb [ 9.234175] at24 0-0050: supply vcc not found, using dummy regulator [ 9.240715] at24 0-0050: GPIO lookup for consumer wp [ 9.245824] at24 0-0050: using device tree for GPIO lookup [ 9.251378] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/interconnect@44c00000/segment@200000/target-module@b000/i2c@0/baseboard_eeprom@50[0]' [ 9.266762] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/interconnect@44c00000/segment@200000/target-module@b000/i2c@0/baseboard_eeprom@50[0]' [ 9.281907] at24 0-0050: using lookup tables for GPIO lookup [ 9.287623] at24 0-0050: No GPIO consumer wp found [ 9.516777] tps6521x_pwrbutton tps65217-pwrbutton: DMA mask not set [ ok [ 9.663757] wkup_m3_ipc 44e11324.wkup_m3_ipc: IPC Request for A8->M3 Channel failed! -517 done. [ 9.866980] omap_rtc 44e3e000.rtc: registered as rtc0 [ 9.872225] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01T00:00:00 UTC (946684800) [ 9.880898] omap_rtc 44e3e000.rtc: GPIO lookup for consumer wp [ 9.886789] omap_rtc 44e3e000.rtc: using device tree for GPIO lookup [ 9.893233] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/interconnect@44c00000/segment@200000/target-module@3e000/rtc@0[0]' [ 9.906805] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/interconnect@44c00000/segment@200000/target-module@3e000/rtc@0[0]' [ 9.920279] omap_rtc 44e3e000.rtc: using lookup tables for GPIO lookup [ 9.926855] omap_rtc 44e3e000.rtc: No GPIO consumer wp found [ 9.935578] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 9.945173] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 9.952599] at24 2-0054: supply vcc not found, using dummy regulator [ 9.959124] at24 2-0054: GPIO lookup for consumer wp [ 9.964189] at24 2-0054: using device tree for GPIO lookup [ 9.969729] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0/cape_eeprom0@54[0]' [ 9.984703] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0/cape_eeprom0@54[0]' [ 9.999571] at24 2-0054: using lookup tables for GPIO lookup [ 10.005276] at24 2-0054: No GPIO consumer wp found [ 10.011841] wkup_m3_ipc 44e11324.wkup_m3_ipc: IPC Request for A8->M3 Channel failed! -517 [ 10.031670] input: tps65217_pwrbutton as /devices/platform/ocp/44c00000.interconnect/44c00000.interconnect:segment@200000/44e0b000.target-module/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0 [ 10.183904] wkup_m3_ipc 44e11324.wkup_m3_ipc: IPC Request for A8->M3 Channel failed! -517 [....] Waiting for /dev to be fully populated...[ 10.371134] random: crng init done [ 10.435849] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer reset [ 10.443298] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup [ 10.450853] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/target-module@47400000/usb-phy@1b00[0]' [ 10.462346] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/target-module@47400000/usb-phy@1b00[0]' [ 10.473729] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup [ 10.481421] am335x-phy-driver 47401b00.usb-phy: No GPIO consumer reset found [ 10.488528] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer vbus-detect [ 10.496333] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup [ 10.503881] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/target-module@47400000/usb-phy@1b00[0]' [ 10.515876] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/target-module@47400000/usb-phy@1b00[0]' [ 10.527772] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup [ 10.535480] am335x-phy-driver 47401b00.usb-phy: No GPIO consumer vbus-detect found [ 10.543219] am335x-phy-driver 47401b00.usb-phy: supply vcc not found, using dummy regulator [ 10.621347] wkup_m3_ipc 44e11324.wkup_m3_ipc: IPC Request for A8->M3 Channel failed! -517 [ 10.635326] wkup_m3_ipc 44e11324.wkup_m3_ipc: IPC Request for A8->M3 Channel failed! -517 [ 10.681475] at24 2-0055: supply vcc not found, using dummy regulator [ 10.688194] at24 2-0055: GPIO lookup for consumer wp [ 10.693277] at24 2-0055: using device tree for GPIO lookup [ 10.698824] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0/cape_eeprom1@55[0]' [ 10.713805] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0/cape_eeprom1@55[0]' [ 10.728673] at24 2-0055: using lookup tables for GPIO lookup [ 10.734377] at24 2-0055: No GPIO consumer wp found calling: settle [ 10.854845] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400 [ 11.008807] remoteproc remoteproc0: powering up wkup_m3 [ 11.107258] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 216220 [ 11.115832] remoteproc remoteproc0: remote processor wkup_m3 is now up [ 11.115851] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191 [ 11.273381] at24 2-0056: supply vcc not found, using dummy regulator [ 11.279918] at24 2-0056: GPIO lookup for consumer wp [ 11.285020] at24 2-0056: using device tree for GPIO lookup [ 11.290566] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0/cape_eeprom2@56[0]' [ 11.305549] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0/cape_eeprom2@56[0]' [ 11.320418] at24 2-0056: using lookup tables for GPIO lookup [ 11.326124] at24 2-0056: No GPIO consumer wp found [ 11.575645] davinci-mcasp 48038000.mcasp: IRQ common not found [ 11.606924] musb-hdrc musb-hdrc.1: MUSB HDRC host driver [ 11.612491] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1 [ 11.686338] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.08 [ 11.694810] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 11.702091] usb usb1: Product: MUSB HDRC host driver [ 11.707078] usb usb1: Manufacturer: Linux 5.8.0-rc2-00068-g9817f9c44b85 musb-hcd [ 11.714526] usb usb1: SerialNumber: musb-hdrc.1 [ 11.720780] at24 2-0057: supply vcc not found, using dummy regulator [ 11.727429] at24 2-0057: GPIO lookup for consumer wp [ 11.732464] at24 2-0057: using device tree for GPIO lookup [ 11.738010] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0/cape_eeprom3@57[0]' [ 11.752980] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0/cape_eeprom3@57[0]' [ 11.767850] at24 2-0057: using lookup tables for GPIO lookup [ 11.773569] at24 2-0057: No GPIO consumer wp found [ 11.783691] tda998x 0-0070: found TDA19988 [ 11.977718] omap_rng 48310000.rng: Random Number Generator ver. 20 [ 12.013109] hub 1-0:1.0: USB hub found [ 12.019571] hub 1-0:1.0: 1 port detected [ 12.027878] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_driver_exit [tda998x]) [ 12.062497] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0 [ 12.203719] ------------[ cut here ]------------ [ 12.203874] WARNING: CPU: 0 PID: 208 at drivers/gpu/drm/drm_atomic_helper.c:2329 drm_atomic_helper_commit_hw_done+0x144/0x168 [drm_kms_helper] [ 12.203881] Modules linked in: omap_rng tilcdc(+) rng_core snd_soc_davinci_mcasp tda998x snd_soc_ti_udma snd_soc_ti_edma snd_soc_ti_sdma drm_kms_helper snd_soc_core cfbfillrect syscopyarea snd_pcm_dmaengine cfbimgblt sysfillrect snd_pcm sysimgblt fb_sys_fops snd_timer omap_mailbox cfbcopyarea snd soundcore drm omap_wdt rtc_omap watchdog wkup_m3_ipc musb_dsps musb_hdrc tps65218_pwrbutton drm_panel_orientation_quirks at24 udc_core usbcore phy_am335x phy_am335x_control phy_generic usb_common cppi41 wkup_m3_rproc leds_gpio led_class cpufreq_dt [ 12.203980] CPU: 0 PID: 208 Comm: udevd Not tainted 5.8.0-rc2-00068-g9817f9c44b85 #17 [ 12.203983] Hardware name: Generic AM33XX (Flattened Device Tree) [ 12.204023] [<c0111adc>] (unwind_backtrace) from [<c010b9dc>] (show_stack+0x10/0x14) [ 12.204039] [<c010b9dc>] (show_stack) from [<c054f49c>] (dump_stack+0xc4/0xe4) [ 12.204059] [<c054f49c>] (dump_stack) from [<c01389e4>] (__warn+0xc0/0xf4) [ 12.204069] [<c01389e4>] (__warn) from [<c0138d74>] (warn_slowpath_fmt+0x58/0xb8) [ 12.204124] [<c0138d74>] (warn_slowpath_fmt) from [<bf1eb6b4>] (drm_atomic_helper_commit_hw_done+0x144/0x168 [drm_kms_helper]) [ 12.204222] [<bf1eb6b4>] (drm_atomic_helper_commit_hw_done [drm_kms_helper]) from [<bf1eb71c>] (drm_atomic_helper_commit_tail+0x44/0x6c [drm_kms_helper]) [ 12.204296] [<bf1eb71c>] (drm_atomic_helper_commit_tail [drm_kms_helper]) from [<bf1ebde8>] (commit_tail+0x168/0x1a8 [drm_kms_helper]) [ 12.204369] [<bf1ebde8>] (commit_tail [drm_kms_helper]) from [<bf1eca28>] (drm_atomic_helper_commit+0x12c/0x158 [drm_kms_helper]) [ 12.204657] [<bf1eca28>] (drm_atomic_helper_commit [drm_kms_helper]) from [<bf107490>] (drm_client_modeset_commit_atomic+0x1f4/0x238 [drm]) [ 12.204843] [<bf107490>] (drm_client_modeset_commit_atomic [drm]) from [<bf10759c>] (drm_client_modeset_commit_locked+0x5c/0x188 [drm]) [ 12.205002] [<bf10759c>] (drm_client_modeset_commit_locked [drm]) from [<bf1076ec>] (drm_client_modeset_commit+0x24/0x40 [drm]) [ 12.205141] [<bf1076ec>] (drm_client_modeset_commit [drm]) from [<bf1f1594>] (drm_fb_helper_restore_fbdev_mode_unlocked+0x50/0xa4 [drm_kms_helper]) [ 12.205217] [<bf1f1594>] (drm_fb_helper_restore_fbdev_mode_unlocked [drm_kms_helper]) from [<bf1f1614>] (drm_fb_helper_set_par+0x2c/0x5c [drm_kms_helper]) [ 12.205268] [<bf1f1614>] (drm_fb_helper_set_par [drm_kms_helper]) from [<c05bdc44>] (fbcon_init+0x3f8/0x5d4) [ 12.205289] [<c05bdc44>] (fbcon_init) from [<c060c918>] (visual_init+0xb8/0x100) [ 12.205301] [<c060c918>] (visual_init) from [<c060df88>] (do_bind_con_driver+0x1f4/0x3d4) [ 12.205313] [<c060df88>] (do_bind_con_driver) from [<c060e4c4>] (do_take_over_console+0x130/0x1e8) [ 12.205323] [<c060e4c4>] (do_take_over_console) from [<c05ba24c>] (do_fbcon_takeover+0x60/0xc0) [ 12.205333] [<c05ba24c>] (do_fbcon_takeover) from [<c05b2018>] (register_framebuffer+0x1bc/0x2d4) [ 12.205377] [<c05b2018>] (register_framebuffer) from [<bf1f1070>] (__drm_fb_helper_initial_config_and_unlock+0x398/0x56c [drm_kms_helper]) [ 12.205453] [<bf1f1070>] (__drm_fb_helper_initial_config_and_unlock [drm_kms_helper]) from [<bf1f1820>] (drm_fbdev_client_hotplug+0xd0/0x190 [drm_kms_helper]) [ 12.205525] [<bf1f1820>] (drm_fbdev_client_hotplug [drm_kms_helper]) from [<bf1f2470>] (drm_fbdev_generic_setup+0x8c/0x1a0 [drm_kms_helper]) [ 12.205611] [<bf1f2470>] (drm_fbdev_generic_setup [drm_kms_helper]) from [<bf229e74>] (tilcdc_init.constprop.1+0x3dc/0x604 [tilcdc]) [ 12.205652] [<bf229e74>] (tilcdc_init.constprop.1 [tilcdc]) from [<c0635d78>] (try_to_bring_up_master+0x15c/0x1a8) [ 12.205666] [<c0635d78>] (try_to_bring_up_master) from [<c0636050>] (component_master_add_with_match+0xb4/0xf4) [ 12.205687] [<c0636050>] (component_master_add_with_match) from [<bf22a10c>] (tilcdc_pdev_probe+0x70/0x98 [tilcdc]) [ 12.205718] [<bf22a10c>] (tilcdc_pdev_probe [tilcdc]) from [<c063ea58>] (platform_drv_probe+0x48/0x98) [ 12.205730] [<c063ea58>] (platform_drv_probe) from [<c063c94c>] (really_probe+0x1dc/0x340) [ 12.205740] [<c063c94c>] (really_probe) from [<c063cbb8>] (driver_probe_device+0x58/0xb4) [ 12.205750] [<c063cbb8>] (driver_probe_device) from [<c063cdb4>] (device_driver_attach+0x58/0x60) [ 12.205760] [<c063cdb4>] (device_driver_attach) from [<c063ce14>] (__driver_attach+0x58/0xcc) [ 12.205769] [<c063ce14>] (__driver_attach) from [<c063ad00>] (bus_for_each_dev+0x70/0xb4) [ 12.205779] [<c063ad00>] (bus_for_each_dev) from [<c063bc6c>] (bus_add_driver+0xf0/0x1d4) [ 12.205789] [<c063bc6c>] (bus_add_driver) from [<c063d8ac>] (driver_register+0x74/0x108) [ 12.205803] [<c063d8ac>] (driver_register) from [<c0101f4c>] (do_one_initcall+0x48/0x22c) [ 12.205816] [<c0101f4c>] (do_one_initcall) from [<c01d88d4>] (do_init_module+0x5c/0x234) [ 12.205826] [<c01d88d4>] (do_init_module) from [<c01dae50>] (load_module+0x22fc/0x2578) [ 12.205835] [<c01dae50>] (load_module) from [<c01db310>] (sys_finit_module+0xbc/0xdc) [ 12.205844] [<c01db310>] (sys_finit_module) from [<c0100080>] (ret_fast_syscall+0x0/0x54) [ 12.205850] Exception stack(0xda3d5fa8 to 0xda3d5ff0) [ 12.205860] 5fa0: b6d6c7d4 00051d08 00000006 b6d6b9f8 00000000 b6d6c31c [ 12.205870] 5fc0: b6d6c7d4 00051d08 2e022500 0000017b 00020000 00037f78 00050048 00051750 [ 12.205876] 5fe0: be9bcee0 be9bced0 b6d65c4b b6e70a42 [ 12.205882] ---[ end trace ffb4a56da19e65d8 ]--- [ 12.217344] Console: switching to colour frame buffer device 160x45 [ 12.217539] ------------[ cut here ]------------ [ 12.217682] WARNING: CPU: 0 PID: 208 at drivers/gpu/drm/drm_atomic_helper.c:2329 drm_atomic_helper_commit_hw_done+0x144/0x168 [drm_kms_helper] [ 12.217687] Modules linked in: omap_rng tilcdc(+) rng_core snd_soc_davinci_mcasp tda998x snd_soc_ti_udma snd_soc_ti_edma snd_soc_ti_sdma drm_kms_helper snd_soc_core cfbfillrect syscopyarea snd_pcm_dmaengine cfbimgblt sysfillrect snd_pcm sysimgblt fb_sys_fops snd_timer omap_mailbox cfbcopyarea snd soundcore drm omap_wdt rtc_omap watchdog wkup_m3_ipc musb_dsps musb_hdrc tps65218_pwrbutton drm_panel_orientation_quirks at24 udc_core usbcore phy_am335x phy_am335x_control phy_generic usb_common cppi41 wkup_m3_rproc leds_gpio led_class cpufreq_dt [ 12.217786] CPU: 0 PID: 208 Comm: udevd Tainted: G W 5.8.0-rc2-00068-g9817f9c44b85 #17 [ 12.217790] Hardware name: Generic AM33XX (Flattened Device Tree) [ 12.217828] [<c0111adc>] (unwind_backtrace) from [<c010b9dc>] (show_stack+0x10/0x14) [ 12.217843] [<c010b9dc>] (show_stack) from [<c054f49c>] (dump_stack+0xc4/0xe4) [ 12.217862] [<c054f49c>] (dump_stack) from [<c01389e4>] (__warn+0xc0/0xf4) [ 12.217873] [<c01389e4>] (__warn) from [<c0138d74>] (warn_slowpath_fmt+0x58/0xb8) [ 12.217929] [<c0138d74>] (warn_slowpath_fmt) from [<bf1eb6b4>] (drm_atomic_helper_commit_hw_done+0x144/0x168 [drm_kms_helper]) [ 12.218010] [<bf1eb6b4>] (drm_atomic_helper_commit_hw_done [drm_kms_helper]) from [<bf1eb71c>] (drm_atomic_helper_commit_tail+0x44/0x6c [drm_kms_helper]) [ 12.218084] [<bf1eb71c>] (drm_atomic_helper_commit_tail [drm_kms_helper]) from [<bf1ebde8>] (commit_tail+0x168/0x1a8 [drm_kms_helper]) [ 12.218156] [<bf1ebde8>] (commit_tail [drm_kms_helper]) from [<bf1eca28>] (drm_atomic_helper_commit+0x12c/0x158 [drm_kms_helper]) [ 12.218442] [<bf1eca28>] (drm_atomic_helper_commit [drm_kms_helper]) from [<bf107490>] (drm_client_modeset_commit_atomic+0x1f4/0x238 [drm]) [ 12.218624] [<bf107490>] (drm_client_modeset_commit_atomic [drm]) from [<bf10759c>] (drm_client_modeset_commit_locked+0x5c/0x188 [drm]) [ 12.218765] [<bf10759c>] (drm_client_modeset_commit_locked [drm]) from [<bf1f20f0>] (drm_fb_helper_pan_display+0xc4/0x1dc [drm_kms_helper]) [ 12.218826] [<bf1f20f0>] (drm_fb_helper_pan_display [drm_kms_helper]) from [<c05b1204>] (fb_pan_display+0x9c/0x110) [ 12.218847] [<c05b1204>] (fb_pan_display) from [<c05bf158>] (bit_update_start+0x14/0x30) [ 12.218858] [<c05bf158>] (bit_update_start) from [<c05bd20c>] (fbcon_switch+0x34c/0x4d0) [ 12.218876] [<c05bd20c>] (fbcon_switch) from [<c060dbfc>] (redraw_screen+0xcc/0x264) [ 12.218888] [<c060dbfc>] (redraw_screen) from [<c060e0f0>] (do_bind_con_driver+0x35c/0x3d4) [ 12.218899] [<c060e0f0>] (do_bind_con_driver) from [<c060e4c4>] (do_take_over_console+0x130/0x1e8) [ 12.218909] [<c060e4c4>] (do_take_over_console) from [<c05ba24c>] (do_fbcon_takeover+0x60/0xc0) [ 12.218918] [<c05ba24c>] (do_fbcon_takeover) from [<c05b2018>] (register_framebuffer+0x1bc/0x2d4) [ 12.218964] [<c05b2018>] (register_framebuffer) from [<bf1f1070>] (__drm_fb_helper_initial_config_and_unlock+0x398/0x56c [drm_kms_helper]) [ 12.219040] [<bf1f1070>] (__drm_fb_helper_initial_config_and_unlock [drm_kms_helper]) from [<bf1f1820>] (drm_fbdev_client_hotplug+0xd0/0x190 [drm_kms_helper]) [ 12.219113] [<bf1f1820>] (drm_fbdev_client_hotplug [drm_kms_helper]) from [<bf1f2470>] (drm_fbdev_generic_setup+0x8c/0x1a0 [drm_kms_helper]) [ 12.219198] [<bf1f2470>] (drm_fbdev_generic_setup [drm_kms_helper]) from [<bf229e74>] (tilcdc_init.constprop.1+0x3dc/0x604 [tilcdc]) [ 12.219232] [<bf229e74>] (tilcdc_init.constprop.1 [tilcdc]) from [<c0635d78>] (try_to_bring_up_master+0x15c/0x1a8) [ 12.219245] [<c0635d78>] (try_to_bring_up_master) from [<c0636050>] (component_master_add_with_match+0xb4/0xf4) [ 12.219268] [<c0636050>] (component_master_add_with_match) from [<bf22a10c>] (tilcdc_pdev_probe+0x70/0x98 [tilcdc]) [ 12.219300] [<bf22a10c>] (tilcdc_pdev_probe [tilcdc]) from [<c063ea58>] (platform_drv_probe+0x48/0x98) [ 12.219313] [<c063ea58>] (platform_drv_probe) from [<c063c94c>] (really_probe+0x1dc/0x340) [ 12.219323] [<c063c94c>] (really_probe) from [<c063cbb8>] (driver_probe_device+0x58/0xb4) [ 12.219333] [<c063cbb8>] (driver_probe_device) from [<c063cdb4>] (device_driver_attach+0x58/0x60) [ 12.219342] [<c063cdb4>] (device_driver_attach) from [<c063ce14>] (__driver_attach+0x58/0xcc) [ 12.219352] [<c063ce14>] (__driver_attach) from [<c063ad00>] (bus_for_each_dev+0x70/0xb4) [ 12.219362] [<c063ad00>] (bus_for_each_dev) from [<c063bc6c>] (bus_add_driver+0xf0/0x1d4) [ 12.219372] [<c063bc6c>] (bus_add_driver) from [<c063d8ac>] (driver_register+0x74/0x108) [ 12.219386] [<c063d8ac>] (driver_register) from [<c0101f4c>] (do_one_initcall+0x48/0x22c) [ 12.219399] [<c0101f4c>] (do_one_initcall) from [<c01d88d4>] (do_init_module+0x5c/0x234) [ 12.219409] [<c01d88d4>] (do_init_module) from [<c01dae50>] (load_module+0x22fc/0x2578) [ 12.219418] [<c01dae50>] (load_module) from [<c01db310>] (sys_finit_module+0xbc/0xdc) [ 12.219427] [<c01db310>] (sys_finit_module) from [<c0100080>] (ret_fast_syscall+0x0/0x54) [ 12.219433] Exception stack(0xda3d5fa8 to 0xda3d5ff0) [ 12.219442] 5fa0: b6d6c7d4 00051d08 00000006 b6d6b9f8 00000000 b6d6c31c [ 12.219452] 5fc0: b6d6c7d4 00051d08 2e022500 0000017b 00020000 00037f78 00050048 00051750 [ 12.219459] 5fe0: be9bcee0 be9bced0 b6d65c4b b6e70a42 [ 12.219465] ---[ end trace ffb4a56da19e65d9 ]--- [ 12.392256] PM: bootloader does not support rtc-only! [ 12.513598] omap-sham 53100000.sham: hw accel on OMAP rev 4.3 [ 12.805191] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2 [ 12.817944] omap-aes 53500000.aes: will run requests pump with realtime priority [ 13.942785] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound[0]' [ 13.942803] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound[0]' [ 13.981036] asoc-simple-card sound: i2s-hifi <-> 48038000.mcasp mapping ok [ 15.073830] tilcdc 4830e000.lcdc: fb0: tilcdcdrmfb frame buffer device done. [ ok ] Activating swap...done. [ ok ] Activating lvm and md swap...done. [....] Checking file systems...fsck from util-linux 2.25.2 done. [ ok ] Cleaning up temporary files... /tmp. [ ok ] Mounting local filesystems...done. [ ok ] Activating swapfile swap...done. [ ok ] Cleaning up temporary files.... [ ok ] Setting kernel variables ...done. [ ok ] Configuring network interfaces...done. [ ok ] Starting rpcbind daemon.... [ ok ] Starting NFS common utilities: statd idmapd. [ ok ] Cleaning up temporary files.... [ ok ] Setting up ALSA...done. [ ok ] Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix. INIT: Entering runlevel: 2 [info] Using makefile-style concurrent boot in runlevel 2. [ ok ] Starting enhanced syslogd: rsyslogd. [....] Starting cgroup management daemon: cgmanager[....] Starting periodic comm[ ok cheduler: cron. [....] Starting system message bus: dbusUnknown username "colord" in message bus configuration file . ok [ ok ] Starting cgroup management proxy daemon: cgproxy. [ ok ] Starting NTP server: ntpd. [ ok ] saned disabled; edit /etc/default/saned. [ ok ] Starting OpenBSD Secure Shell server: sshd. Forcing mount of all filesystems Debian GNU/Linux 8 moonglum ttyS0 moonglum login: [ 232.151232] ------------[ cut here ]------------ [ 232.156231] WARNING: CPU: 0 PID: 1315 at drivers/gpu/drm/drm_atomic_helper.c:2329 drm_atomic_helper_commit_hw_done+0x144/0x168 [drm_kms_helper] [ 232.169238] Modules linked in: snd_soc_hdmi_codec evdev snd_soc_simple_card omap_aes_driver snd_soc_simple_card_utils crypto_engine omap_crypto libaes omap_sham pm33xx ti_emif_sram omap_rng tilcdc rng_core snd_soc_davinci_mcasp tda998x snd_soc_ti_udma snd_soc_ti_edma snd_soc_ti_sdma drm_kms_helper snd_soc_core cfbfillrect syscopyarea snd_pcm_dmaengine cfbimgblt sysfillrect snd_pcm sysimgblt fb_sys_fops snd_timer omap_mailbox cfbcopyarea snd soundcore drm omap_wdt rtc_omap watchdog wkup_m3_ipc musb_dsps musb_hdrc tps65218_pwrbutton drm_panel_orientation_quirks at24 udc_core usbcore phy_am335x phy_am335x_control phy_generic usb_common cppi41 wkup_m3_rproc leds_gpio led_class cpufreq_dt [ 232.230220] CPU: 0 PID: 1315 Comm: kmstest Tainted: G W 5.8.0-rc2-00068-g9817f9c44b85 #17 [ 232.239740] Hardware name: Generic AM33XX (Flattened Device Tree) [ 232.245895] [<c0111adc>] (unwind_backtrace) from [<c010b9dc>] (show_stack+0x10/0x14) [ 232.253680] [<c010b9dc>] (show_stack) from [<c054f49c>] (dump_stack+0xc4/0xe4) [ 232.260946] [<c054f49c>] (dump_stack) from [<c01389e4>] (__warn+0xc0/0xf4) [ 232.267853] [<c01389e4>] (__warn) from [<c0138d74>] (warn_slowpath_fmt+0x58/0xb8) [ 232.275424] [<c0138d74>] (warn_slowpath_fmt) from [<bf1eb6b4>] (drm_atomic_helper_commit_hw_done+0x144/0x168 [drm_kms_helper]) [ 232.286938] [<bf1eb6b4>] (drm_atomic_helper_commit_hw_done [drm_kms_helper]) from [<bf1eb71c>] (drm_atomic_helper_commit_tail+0x44/0x6c [drm_kms_helper]) [ 232.300799] [<bf1eb71c>] (drm_atomic_helper_commit_tail [drm_kms_helper]) from [<bf1ebde8>] (commit_tail+0x168/0x1a8 [drm_kms_helper]) [ 232.313003] [<bf1ebde8>] (commit_tail [drm_kms_helper]) from [<bf1eca28>] (drm_atomic_helper_commit+0x12c/0x158 [drm_kms_helper]) [ 232.324991] [<bf1eca28>] (drm_atomic_helper_commit [drm_kms_helper]) from [<bf107490>] (drm_client_modeset_commit_atomic+0x1f4/0x238 [drm]) [ 232.337738] [<bf107490>] (drm_client_modeset_commit_atomic [drm]) from [<bf10759c>] (drm_client_modeset_commit_locked+0x5c/0x188 [drm]) [ 232.350118] [<bf10759c>] (drm_client_modeset_commit_locked [drm]) from [<bf1076ec>] (drm_client_modeset_commit+0x24/0x40 [drm]) [ 232.361775] [<bf1076ec>] (drm_client_modeset_commit [drm]) from [<bf1f1594>] (drm_fb_helper_restore_fbdev_mode_unlocked+0x50/0xa4 [drm_kms_helper]) [ 232.375115] [<bf1f1594>] (drm_fb_helper_restore_fbdev_mode_unlocked [drm_kms_helper]) from [<bf1f18f8>] (drm_fbdev_client_restore+0x10/0x18 [drm_kms_helper]) [ 232.389373] [<bf1f18f8>] (drm_fbdev_client_restore [drm_kms_helper]) from [<bf106f38>] (drm_client_dev_restore+0x68/0xb0 [drm]) [ 232.401051] [<bf106f38>] (drm_client_dev_restore [drm]) from [<bf0df6d0>] (drm_release+0x104/0x110 [drm]) [ 232.410742] [<bf0df6d0>] (drm_release [drm]) from [<c02c94f8>] (__fput+0xa8/0x228) [ 232.418351] [<c02c94f8>] (__fput) from [<c01590d8>] (task_work_run+0x9c/0xc4) [ 232.425527] [<c01590d8>] (task_work_run) from [<c013df00>] (do_exit+0x424/0xb5c) [ 232.432959] [<c013df00>] (do_exit) from [<c013e69c>] (do_group_exit+0x38/0xd0) [ 232.440216] [<c013e69c>] (do_group_exit) from [<c013e744>] (__wake_up_parent+0x0/0x14) [ 232.448277] ---[ end trace ffb4a56da19e65da ]--- [ 232.467274] ------------[ cut here ]------------ [ 232.472068] WARNING: CPU: 0 PID: 1315 at lib/refcount.c:28 __drm_atomic_helper_plane_destroy_state+0xd0/0xe0 [drm_kms_helper] [ 232.483503] refcount_t: underflow; use-after-free. [ 232.488371] Modules linked in: snd_soc_hdmi_codec evdev snd_soc_simple_card omap_aes_driver snd_soc_simple_card_utils crypto_engine omap_crypto libaes omap_sham pm33xx ti_emif_sram omap_rng tilcdc rng_core snd_soc_davinci_mcasp tda998x snd_soc_ti_udma snd_soc_ti_edma snd_soc_ti_sdma drm_kms_helper snd_soc_core cfbfillrect syscopyarea snd_pcm_dmaengine cfbimgblt sysfillrect snd_pcm sysimgblt fb_sys_fops snd_timer omap_mailbox cfbcopyarea snd soundcore drm omap_wdt rtc_omap watchdog wkup_m3_ipc musb_dsps musb_hdrc tps65218_pwrbutton drm_panel_orientation_quirks at24 udc_core usbcore phy_am335x phy_am335x_control phy_generic usb_common cppi41 wkup_m3_rproc leds_gpio led_class cpufreq_dt [ 232.549333] CPU: 0 PID: 1315 Comm: kmstest Tainted: G W 5.8.0-rc2-00068-g9817f9c44b85 #17 [ 232.558852] Hardware name: Generic AM33XX (Flattened Device Tree) [ 232.565003] [<c0111adc>] (unwind_backtrace) from [<c010b9dc>] (show_stack+0x10/0x14) [ 232.572786] [<c010b9dc>] (show_stack) from [<c054f49c>] (dump_stack+0xc4/0xe4) [ 232.580052] [<c054f49c>] (dump_stack) from [<c01389e4>] (__warn+0xc0/0xf4) [ 232.586959] [<c01389e4>] (__warn) from [<c0138da8>] (warn_slowpath_fmt+0x8c/0xb8) [ 232.594532] [<c0138da8>] (warn_slowpath_fmt) from [<bf1ee730>] (__drm_atomic_helper_plane_destroy_state+0xd0/0xe0 [drm_kms_helper]) [ 232.606482] [<bf1ee730>] (__drm_atomic_helper_plane_destroy_state [drm_kms_helper]) from [<bf1ee7a8>] (drm_atomic_helper_plane_destroy_state+0x10/0x1c [drm_kms_helper]) [ 232.621860] [<bf1ee7a8>] (drm_atomic_helper_plane_destroy_state [drm_kms_helper]) from [<bf0f37e8>] (drm_atomic_state_default_clear+0x1a4/0x2d8 [drm]) [ 232.635565] [<bf0f37e8>] (drm_atomic_state_default_clear [drm]) from [<bf0f3948>] (__drm_atomic_state_free+0x10/0x50 [drm]) [ 232.646896] [<bf0f3948>] (__drm_atomic_state_free [drm]) from [<bf1074a4>] (drm_client_modeset_commit_atomic+0x208/0x238 [drm]) [ 232.658575] [<bf1074a4>] (drm_client_modeset_commit_atomic [drm]) from [<bf10759c>] (drm_client_modeset_commit_locked+0x5c/0x188 [drm]) [ 232.670949] [<bf10759c>] (drm_client_modeset_commit_locked [drm]) from [<bf1076ec>] (drm_client_modeset_commit+0x24/0x40 [drm]) [ 232.682604] [<bf1076ec>] (drm_client_modeset_commit [drm]) from [<bf1f1594>] (drm_fb_helper_restore_fbdev_mode_unlocked+0x50/0xa4 [drm_kms_helper]) [ 232.695944] [<bf1f1594>] (drm_fb_helper_restore_fbdev_mode_unlocked [drm_kms_helper]) from [<bf1f18f8>] (drm_fbdev_client_restore+0x10/0x18 [drm_kms_helper]) [ 232.710201] [<bf1f18f8>] (drm_fbdev_client_restore [drm_kms_helper]) from [<bf106f38>] (drm_client_dev_restore+0x68/0xb0 [drm]) [ 232.721879] [<bf106f38>] (drm_client_dev_restore [drm]) from [<bf0df6d0>] (drm_release+0x104/0x110 [drm]) [ 232.731570] [<bf0df6d0>] (drm_release [drm]) from [<c02c94f8>] (__fput+0xa8/0x228) [ 232.739178] [<c02c94f8>] (__fput) from [<c01590d8>] (task_work_run+0x9c/0xc4) [ 232.746355] [<c01590d8>] (task_work_run) from [<c013df00>] (do_exit+0x424/0xb5c) [ 232.753787] [<c013df00>] (do_exit) from [<c013e69c>] (do_group_exit+0x38/0xd0) [ 232.761044] [<c013e69c>] (do_group_exit) from [<c013e744>] (__wake_up_parent+0x0/0x14) [ 232.769140] ---[ end trace ffb4a56da19e65db ]--- [ 240.606273] ------------[ cut here ]------------ [ 240.611129] WARNING: CPU: 0 PID: 1317 at drivers/gpu/drm/drm_atomic_helper.c:2329 drm_atomic_helper_commit_hw_done+0x144/0x168 [drm_kms_helper] [ 240.624239] Modules linked in: snd_soc_hdmi_codec evdev snd_soc_simple_card omap_aes_driver snd_soc_simple_card_utils crypto_engine omap_crypto libaes omap_sham pm33xx ti_emif_sram omap_rng tilcdc rng_core snd_soc_davinci_mcasp tda998x snd_soc_ti_udma snd_soc_ti_edma snd_soc_ti_sdma drm_kms_helper snd_soc_core cfbfillrect syscopyarea snd_pcm_dmaengine cfbimgblt sysfillrect snd_pcm sysimgblt fb_sys_fops snd_timer omap_mailbox cfbcopyarea snd soundcore drm omap_wdt rtc_omap watchdog wkup_m3_ipc musb_dsps musb_hdrc tps65218_pwrbutton drm_panel_orientation_quirks at24 udc_core usbcore phy_am335x phy_am335x_control phy_generic usb_common cppi41 wkup_m3_rproc leds_gpio led_class cpufreq_dt [ 240.685295] CPU: 0 PID: 1317 Comm: kmstest Tainted: G W 5.8.0-rc2-00068-g9817f9c44b85 #17 [ 240.694819] Hardware name: Generic AM33XX (Flattened Device Tree) [ 240.700983] [<c0111adc>] (unwind_backtrace) from [<c010b9dc>] (show_stack+0x10/0x14) [ 240.708777] [<c010b9dc>] (show_stack) from [<c054f49c>] (dump_stack+0xc4/0xe4) [ 240.716052] [<c054f49c>] (dump_stack) from [<c01389e4>] (__warn+0xc0/0xf4) [ 240.722969] [<c01389e4>] (__warn) from [<c0138d74>] (warn_slowpath_fmt+0x58/0xb8) [ 240.730580] [<c0138d74>] (warn_slowpath_fmt) from [<bf1eb6b4>] (drm_atomic_helper_commit_hw_done+0x144/0x168 [drm_kms_helper]) [ 240.742150] [<bf1eb6b4>] (drm_atomic_helper_commit_hw_done [drm_kms_helper]) from [<bf1eb71c>] (drm_atomic_helper_commit_tail+0x44/0x6c [drm_kms_helper]) [ 240.756065] [<bf1eb71c>] (drm_atomic_helper_commit_tail [drm_kms_helper]) from [<bf1ebde8>] (commit_tail+0x168/0x1a8 [drm_kms_helper]) [ 240.768320] [<bf1ebde8>] (commit_tail [drm_kms_helper]) from [<bf1eca28>] (drm_atomic_helper_commit+0x12c/0x158 [drm_kms_helper]) [ 240.780403] [<bf1eca28>] (drm_atomic_helper_commit [drm_kms_helper]) from [<bf107490>] (drm_client_modeset_commit_atomic+0x1f4/0x238 [drm]) [ 240.793261] [<bf107490>] (drm_client_modeset_commit_atomic [drm]) from [<bf10759c>] (drm_client_modeset_commit_locked+0x5c/0x188 [drm]) [ 240.805744] [<bf10759c>] (drm_client_modeset_commit_locked [drm]) from [<bf1076ec>] (drm_client_modeset_commit+0x24/0x40 [drm]) [ 240.817488] [<bf1076ec>] (drm_client_modeset_commit [drm]) from [<bf1f1594>] (drm_fb_helper_restore_fbdev_mode_unlocked+0x50/0xa4 [drm_kms_helper]) [ 240.830882] [<bf1f1594>] (drm_fb_helper_restore_fbdev_mode_unlocked [drm_kms_helper]) from [<bf1f18f8>] (drm_fbdev_client_restore+0x10/0x18 [drm_kms_helper]) [ 240.845223] [<bf1f18f8>] (drm_fbdev_client_restore [drm_kms_helper]) from [<bf106f38>] (drm_client_dev_restore+0x68/0xb0 [drm]) [ 240.857010] [<bf106f38>] (drm_client_dev_restore [drm]) from [<bf0df6d0>] (drm_release+0x104/0x110 [drm]) [ 240.866758] [<bf0df6d0>] (drm_release [drm]) from [<c02c94f8>] (__fput+0xa8/0x228) [ 240.874376] [<c02c94f8>] (__fput) from [<c01590d8>] (task_work_run+0x9c/0xc4) [ 240.881562] [<c01590d8>] (task_work_run) from [<c013df00>] (do_exit+0x424/0xb5c) [ 240.889004] [<c013df00>] (do_exit) from [<c013e69c>] (do_group_exit+0x38/0xd0) [ 240.896269] [<c013e69c>] (do_group_exit) from [<c013e744>] (__wake_up_parent+0x0/0x14) [ 240.904404] ---[ end trace ffb4a56da19e65dc ]---
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel