Giter Site home page Giter Site logo

freescale / linux-fslc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from torvalds/linux

232.0 232.0 230.0 5.43 GB

Linux kernel source tree

License: Other

Makefile 0.20% C 98.22% Assembly 0.79% C++ 0.02% Shell 0.36% Perl 0.10% Awk 0.01% Python 0.19% UnrealScript 0.01% Yacc 0.01% Lex 0.01% sed 0.01% Gherkin 0.01% XS 0.01% Roff 0.02% Clojure 0.01% M4 0.01% SmPL 0.01% Raku 0.01% Rust 0.05%

linux-fslc's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

linux-fslc's Issues

5.15-2.2.x: lpuart still not working

Since the fix and merge of #621 happened so fast, I was able to test it today. Sadly, it does not work. This time the results are different - no error happens, but console output just plain stops after some diagnostic messages from the driver.

This is the last of what I see:

[    1.198118] 5a060000.serial: ttyLP0 at MMIO 0x5a060010 (irq = 74, base_baud = 5000000) is a FSL_LPUART
[    1.208224] 5a070000.serial: ttyLP1 at MMIO 0x5a070010 (irq = 75, base_baud = 5000000) is a FSL_LPUART

I have no clue as to why this happens. What fixes this for me is moving uart_add_one_port() before lpuart_global_reset(). So, where before #621 there were two calls to add_one_port(), and the patch removed the first one while reordering cleanup, what works for me is removing the second call and leaving cleanup as-is.

If necessary, I can create a PR later tonight.

cc @otavio @MrCry0

I.MX8QM-EVK Fails to boot due to mmc not getting probed

Hi,

I was trying to boot an I.MX8QM-EVK board with 6.6-1.0.x-imx and getting problems due to the MMC not getting probed, thus being unable to mount rootfs. The kernel output was the following:

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.6.28-lf-6.6.y-lf-6.6.y-g776652a165f5 (oe-user@oe-host) (aarch64-fsl-linux-gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.42.0.20240216) #1 SMP PREEMPT Tue Apr 30 17:02:34 UTC 2024
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: Freescale i.MX8QM MEK
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000c0000000, size 960 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x00000000c0000000..0x00000000fbffffff (983040 KiB) map reusable linux,cma
[    0.000000] OF: reserved mem: 0x0000000084000000..0x0000000085ffffff (32768 KiB) nomap non-reusable decoder_boot@84000000
[    0.000000] OF: reserved mem: 0x0000000086000000..0x00000000861fffff (2048 KiB) nomap non-reusable encoder1_boot@86000000
[    0.000000] OF: reserved mem: 0x0000000086200000..0x00000000863fffff (2048 KiB) nomap non-reusable encoder2_boot@86200000
[    0.000000] OF: reserved mem: 0x0000000090000000..0x0000000090007fff (32 KiB) nomap non-reusable vdev0vring0@90000000
[    0.000000] OF: reserved mem: 0x0000000090008000..0x000000009000ffff (32 KiB) nomap non-reusable vdev0vring1@90008000
[    0.000000] OF: reserved mem: 0x0000000090010000..0x0000000090017fff (32 KiB) nomap non-reusable vdev1vring0@90010000
[    0.000000] OF: reserved mem: 0x0000000090018000..0x000000009001ffff (32 KiB) nomap non-reusable vdev1vring1@90018000
[    0.000000] OF: reserved mem: 0x00000000900ff000..0x00000000900fffff (4 KiB) nomap non-reusable rsc-table@900ff000
[    0.000000] OF: reserved mem: 0x0000000090100000..0x0000000090107fff (32 KiB) nomap non-reusable vdev0vring0@90100000
[    0.000000] OF: reserved mem: 0x0000000090108000..0x000000009010ffff (32 KiB) nomap non-reusable vdev0vring1@90108000
[    0.000000] OF: reserved mem: 0x0000000090110000..0x0000000090117fff (32 KiB) nomap non-reusable vdev1vring0@90110000
[    0.000000] OF: reserved mem: 0x0000000090118000..0x000000009011ffff (32 KiB) nomap non-reusable vdev1vring1@90118000
[    0.000000] OF: reserved mem: 0x00000000901ff000..0x00000000901fffff (4 KiB) nomap non-reusable rsc-table@901ff000
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000090400000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node vdevbuffer@90400000, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x0000000090400000..0x00000000904fffff (1024 KiB) nomap non-reusable vdevbuffer@90400000
[    0.000000] OF: reserved mem: 0x0000000092000000..0x00000000920fffff (1024 KiB) nomap non-reusable decoder_rpc@92000000
[    0.000000] OF: reserved mem: 0x0000000092400000..0x00000000933fffff (16384 KiB) nomap non-reusable dsp@92400000
[    0.000000] OF: reserved mem: 0x0000000093400000..0x00000000942effff (15296 KiB) nomap non-reusable dsp_reserved_heap@93400000
[    0.000000] OF: reserved mem: 0x00000000942f0000..0x00000000942f7fff (32 KiB) nomap non-reusable vdev0vring0@942f0000
[    0.000000] OF: reserved mem: 0x00000000942f8000..0x00000000942fffff (32 KiB) nomap non-reusable vdev0vring1@942f8000
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000094300000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node vdev0buffer@94300000, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x0000000094300000..0x00000000943fffff (1024 KiB) nomap non-reusable vdev0buffer@94300000
[    0.000000] OF: reserved mem: 0x0000000094400000..0x0000000094afffff (7168 KiB) nomap non-reusable encoder1_rpc@94400000
[    0.000000] OF: reserved mem: 0x0000000094b00000..0x00000000951fffff (7168 KiB) nomap non-reusable encoder1_rpc@94b00000
[    0.000000] OF: reserved mem: 0x00000000fe000000..0x00000000ffdfffff (30720 KiB) nomap non-reusable optee_core@fe000000
[    0.000000] OF: reserved mem: 0x00000000ffe00000..0x00000000ffffffff (2048 KiB) nomap non-reusable optee_shm@ffe00000
[    0.000000] OF: reserved mem: 0x0000000880000000..0x000000088fffffff (262144 KiB) nomap non-reusable gpu_reserved@8800000000
[    0.000000] earlycon: lpuart32 at MMIO32 0x000000005a060000 (options '')
[    0.000000] printk: bootconsole [lpuart32] enabled
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000080200000-0x000000097fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x97f3e86c0-0x97f3eafff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080200000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000097fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080200000-0x0000000083ffffff]
[    0.000000]   node   0: [mem 0x0000000084000000-0x00000000863fffff]
[    0.000000]   node   0: [mem 0x0000000086400000-0x000000008fffffff]
[    0.000000]   node   0: [mem 0x0000000090000000-0x000000009001ffff]
[    0.000000]   node   0: [mem 0x0000000090020000-0x00000000900fefff]
[    0.000000]   node   0: [mem 0x00000000900ff000-0x000000009011ffff]
[    0.000000]   node   0: [mem 0x0000000090120000-0x00000000901fefff]
[    0.000000]   node   0: [mem 0x00000000901ff000-0x00000000901fffff]
[    0.000000]   node   0: [mem 0x0000000090200000-0x00000000903fffff]
[    0.000000]   node   0: [mem 0x0000000090400000-0x00000000904fffff]
[    0.000000]   node   0: [mem 0x0000000090500000-0x0000000091ffffff]
[    0.000000]   node   0: [mem 0x0000000092000000-0x00000000920fffff]
[    0.000000]   node   0: [mem 0x0000000092100000-0x00000000923fffff]
[    0.000000]   node   0: [mem 0x0000000092400000-0x00000000951fffff]
[    0.000000]   node   0: [mem 0x0000000095200000-0x00000000fdffffff]
[    0.000000]   node   0: [mem 0x0000000880000000-0x000000088fffffff]
[    0.000000]   node   0: [mem 0x0000000890000000-0x000000097fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080200000-0x000000097fffffff]
[    0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[    0.000000] On node 0, zone Normal: 8192 pages in unavailable ranges
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 22 pages/cpu s50536 r8192 d31384 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: kernel page table isolation forced OFF by mitigations=off
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=ttyLP0,115200 earlycon root=/dev/mmcblk0p2 rootwait rw cpufreq.default_governor=SCHEDUTIL
[    0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Fallback order for Node 0: 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1539592
[    0.000000] Policy zone: Normal
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 8.
[    0.000000] software IO TLB: mapped [mem 0x00000000bc000000-0x00000000c0000000] (64MB)
[    0.000000] Memory: 4569744K/6256640K available (20480K kernel code, 1560K rwdata, 7580K rodata, 3904K init, 631K bss, 703856K reserved, 983040K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=6.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 512 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000051b00000
[    0.000000] ITS: No ITS available, not enabling LPIs
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 8.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
[    0.000000] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
[    0.008961] Console: colour dummy device 80x25
[    0.013145] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=32000)
[    0.023321] pid_max: default: 32768 minimum: 301
[    0.027991] LSM: initializing lsm=capability,integrity
[    0.033154] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.040631] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.049463] spectre-v4 mitigation disabled by command-line option
[    0.056169] RCU Tasks: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1.
[    0.062948] RCU Tasks Trace: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1.
[    0.070603] rcu: Hierarchical SRCU implementation.
[    0.075221] rcu:     Max phase no-delay instances is 1000.
[    0.083537] EFI services will not be available.
[    0.088022] smp: Bringing up secondary CPUs ...
[    0.093185] Detected VIPT I-cache on CPU1
[    0.093254] GICv3: CPU1: found redistributor 1 region 0:0x0000000051b20000
[    0.093301] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.094285] Detected VIPT I-cache on CPU2
[    0.094326] GICv3: CPU2: found redistributor 2 region 0:0x0000000051b40000
[    0.094350] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.095247] Detected VIPT I-cache on CPU3
[    0.095286] GICv3: CPU3: found redistributor 3 region 0:0x0000000051b60000
[    0.095306] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.097185] CPU features: detected: Spectre-v2
[    0.097193] CPU features: detected: Spectre-v3a
[    0.097196] CPU features: detected: Spectre-BHB
[    0.097201] CPU features: detected: ARM erratum 1742098
[    0.097204] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.097207] Detected PIPT I-cache on CPU4
[    0.097254] GICv3: CPU4: found redistributor 100 region 0:0x0000000051b80000
[    0.097277] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.098207] Detected PIPT I-cache on CPU5
[    0.098240] GICv3: CPU5: found redistributor 101 region 0:0x0000000051ba0000
[    0.098254] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.098323] smp: Brought up 1 node, 6 CPUs
[    0.214948] SMP: Total of 6 processors activated.
[    0.219635] CPU features: detected: 32-bit EL0 Support
[    0.224765] CPU features: detected: 32-bit EL1 Support
[    0.229882] CPU features: detected: CRC32 instructions
[    0.235055] spectre-v2 mitigation disabled by command line option
[    0.241127] CPU: All CPU(s) started at EL2
[    0.245190] alternatives: applying system-wide alternatives
[    0.253388] devtmpfs: initialized
[    0.277245] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.286678] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.320398] pinctrl core: initialized pinctrl subsystem
[    0.330278] DMI not present or invalid.
[    0.334371] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.341030] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.348182] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.356158] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.363863] audit: initializing netlink subsys (disabled)
[    0.369328] audit: type=2000 audit(0.244:1): state=initialized audit_enabled=0 res=1
[    0.369837] thermal_sys: Registered thermal governor 'step_wise'
[    0.376947] thermal_sys: Registered thermal governor 'power_allocator'
[    0.382968] cpuidle: using governor menu
[    0.393563] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.400237] ASID allocator initialised with 65536 entries
[    0.407860] Serial: AMBA PL011 UART driver
[    0.411688] imx mu driver is registered.
[    0.415537] imx rpmsg driver is registered.
[    0.436752] platform 58227000.csi: Fixed dependency cycle(s) with /bus@58000000/i2c@58226000/max9286_mipi@6a
[    0.446591] platform 58247000.csi: Fixed dependency cycle(s) with /bus@58000000/i2c@58246000/max9286_mipi@6a
[    0.501974] platform 56180000.dpu: Fixed dependency cycle(s) with /bus@56220000/dsi_host@56228000
[    0.510580] platform 56228000.dsi_host: Fixed dependency cycle(s) with /bus@56220000/i2c@56226000/adv7535@3d
[    0.520357] platform 56228000.dsi_host: Fixed dependency cycle(s) with /bus@56000000/dpu@56180000
[    0.532183] platform 57180000.dpu: Fixed dependency cycle(s) with /bus@57220000/dsi_host@57228000
[    0.540775] platform 57228000.dsi_host: Fixed dependency cycle(s) with /bus@57220000/i2c@57226000/adv7535@3d
[    0.550555] platform 57228000.dsi_host: Fixed dependency cycle(s) with /bus@57000000/dpu@57180000
[    0.560432] platform cbtl04gp: Fixed dependency cycle(s) with /bus@5a000000/i2c@5a800000/tcpc@51/connector
[    0.573612] Modules: 24176 pages in range for non-PLT usage
[    0.573617] Modules: 515696 pages in range for PLT usage
[    0.579591] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.591340] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.597599] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.604371] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.610627] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.617403] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.623658] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.630433] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.640316] ACPI: Interpreter disabled.
[    0.645632] iommu: Default domain type: Translated
[    0.650097] iommu: DMA domain TLB invalidation policy: strict mode
[    0.656584] SCSI subsystem initialized
[    0.660330] usbcore: registered new interface driver usbfs
[    0.665511] usbcore: registered new interface driver hub
[    0.670812] usbcore: registered new device driver usb
[    0.679067] mc: Linux media interface: v0.10
[    0.683036] videodev: Linux video capture interface: v2.00
[    0.688529] pps_core: LinuxPPS API ver. 1 registered
[    0.693421] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.702550] PTP clock support registered
[    0.706935] EDAC MC: Ver: 3.0.0
[    0.710310] scmi_core: SCMI protocol bus registered
[    0.715645] FPGA manager framework
[    0.718779] Advanced Linux Sound Architecture Driver Initialized.
[    0.725533] Bluetooth: Core ver 2.22
[    0.728784] NET: Registered PF_BLUETOOTH protocol family
[    0.734072] Bluetooth: HCI device and connection manager initialized
[    0.740416] Bluetooth: HCI socket layer initialized
[    0.745277] Bluetooth: L2CAP socket layer initialized
[    0.750321] Bluetooth: SCO socket layer initialized
[    0.755769] vgaarb: loaded
[    0.758709] imx-scu system-controller: NXP i.MX SCU Initialized
[    0.797607] platform system-controller:pinctrl: Fixed dependency cycle(s) with /system-controller/pinctrl/hoggrp
[    0.807856] imx8qm-pinctrl system-controller:pinctrl: initialized IMX pinctrl driver
[    0.819867] clocksource: Switched to clocksource arch_sys_counter
[    0.825880] VFS: Disk quotas dquot_6.6.0
[    0.829564] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.836578] pnp: PnP ACPI: disabled
[    0.870704] NET: Registered PF_INET protocol family
[    0.875599] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.888054] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.896335] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.903990] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.912301] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[    0.921124] TCP: Hash tables configured (established 65536 bind 65536)
[    0.927477] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.934248] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.941610] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.947400] RPC: Registered named UNIX socket transport module.
[    0.952993] RPC: Registered udp transport module.
[    0.957679] RPC: Registered tcp transport module.
[    0.962367] RPC: Registered tcp-with-tls transport module.
[    0.967841] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.975362] PCI: CLS 0 bytes, default 64
[    0.979432] kvm [1]: IPA Size Limit: 40 bits
[    0.984986] kvm [1]: vgic-v2@52020000
[    0.988327] kvm [1]: GIC system register CPU interface enabled
[    0.994152] kvm [1]: vgic interrupt IRQ9
[    0.998063] kvm [1]: Hyp mode initialized successfully
[    1.004935] Initialise system trusted keyrings
[    1.009179] workingset: timestamp_bits=42 max_order=21 bucket_order=0
[    1.015761] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.021521] NFS: Registering the id_resolver key type
[    1.026345] Key type id_resolver registered
[    1.030495] Key type id_legacy registered
[    1.034510] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.041181] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.048585] jffs2: version 2.2. (NAND) ยฉ 2001-2006 Red Hat, Inc.
[    1.054827] 9p: Installing v9fs 9p2000 file system support
[    1.092579] Key type asymmetric registered
[    1.096345] Asymmetric key parser 'x509' registered
[    1.101253] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    1.108592] io scheduler mq-deadline registered
[    1.113171] io scheduler kyber registered
[    1.117130] io scheduler bfq registered
[    1.152229] EINJ: ACPI disabled.
[    1.326769] mxs-dma 5b810000.dma-apbh: initialized
[    1.334881] Bus freq driver module loaded
[    1.347422] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    1.366337] printk: console [ttyLP0] enabled0x5a060010 (irq = 84, base_baud = 5000000) is a FSL_LPUART
[    1.366337] printk: console [ttyLP0] enabled
[    1.374782] printk: bootconsole [lpuart32] disabled
[    1.374782] printk: bootconsole [lpuart32] disabled
[    1.388693] 5a070000.serial: ttyLP1 at MMIO 0x5a070010 (irq = 85, base_baud = 5000000) is a FSL_LPUART
[    1.398090] serial serial0: tty port ttyLP1 registered
[    1.404984] arm-smmu 51400000.iommu: probing hardware configuration...
[    1.411546] arm-smmu 51400000.iommu: SMMUv2 with:
[    1.416266] arm-smmu 51400000.iommu:         stage 1 translation
[    1.421670] arm-smmu 51400000.iommu:         stage 2 translation
[    1.427076] arm-smmu 51400000.iommu:         nested translation
[    1.432393] arm-smmu 51400000.iommu:         stream matching with 32 register groups
[    1.439532] arm-smmu 51400000.iommu:         32 context banks (0 stage-2 only)
[    1.446153] arm-smmu 51400000.iommu:         Supported page sizes: 0x61311000
[    1.452686] arm-smmu 51400000.iommu:         Stage-1: 48-bit VA -> 48-bit IPA
[    1.459219] arm-smmu 51400000.iommu:         Stage-2: 48-bit IPA -> 48-bit PA
[    1.466109] arm-smmu 51400000.iommu:         preserved 0 boot mappings
[    1.472048] arm-smmu 51400000.iommu: Failed to disable prefetcher [errata #841119 and #826419], check ACR.CACHE_LOCK
[    1.570919] dpu-core 56180000.dpu: driver probed
[    1.575599] imx8qm-ldb ldb1-display-controller: Failed to create device link (0x180) with 56180000.dpu
[    1.589100] dpu-core 57180000.dpu: driver probed
[    1.593771] imx8qm-ldb ldb2-display-controller: Failed to create device link (0x180) with 57180000.dpu
[    1.609952] loop: module loaded
[    1.616259] megasas: 07.725.01.00-rc1
[    1.632886] spi-nor spi0.0: mt35xu512aba (65536 Kbytes)
[    1.643446] tun: Universal TUN/TAP device driver, 1.6
[    1.650803] thunder_xcv, ver 1.0
[    1.654073] thunder_bgx, ver 1.0
[    1.657327] nicpf, ver 1.0
[    1.666216] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    1.673458] hns3: Copyright (c) 2017 Huawei Corporation.
[    1.678815] hclge is initializing
[    1.682180] e1000: Intel(R) PRO/1000 Network Driver
[    1.687065] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    1.692843] e1000e: Intel(R) PRO/1000 Network Driver
[    1.697812] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.703869] igb: Intel(R) Gigabit Ethernet Network Driver
[    1.709276] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.714883] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    1.721156] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.727514] sky2: driver version 1.30
[    1.732709] usbcore: registered new device driver r8152-cfgselector
[    1.739012] usbcore: registered new interface driver r8152
[    1.744914] VFIO - User Level meta-driver version: 0.3
[    1.755650] cdns3-imx 5b110000.usb: Adding to iommu group 0
[    1.762445] platform 5b120000.usb: Fixed dependency cycle(s) with /bus@5a000000/i2c@5a800000/tcpc@51
[    1.775754] usbcore: registered new interface driver uas
[    1.781133] usbcore: registered new interface driver usb-storage
[    1.787221] usbcore: registered new interface driver usbserial_generic
[    1.793796] usbserial: USB Serial support registered for generic
[    1.799871] usbcore: registered new interface driver ftdi_sio
[    1.805673] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.813032] usbcore: registered new interface driver usb_serial_simple
[    1.819603] usbserial: USB Serial support registered for carelink
[    1.825867] usbserial: USB Serial support registered for flashloader
[    1.832449] usbserial: USB Serial support registered for funsoft
[    1.838646] usbserial: USB Serial support registered for google
[    1.844698] usbserial: USB Serial support registered for hp4x
[    1.850497] usbserial: USB Serial support registered for kaufmann
[    1.856632] usbserial: USB Serial support registered for libtransistor
[    1.863191] usbserial: USB Serial support registered for moto_modem
[    1.869489] usbserial: USB Serial support registered for motorola_tetra
[    1.876133] usbserial: USB Serial support registered for nokia
[    1.881996] usbserial: USB Serial support registered for novatel_gps
[    1.888375] usbserial: USB Serial support registered for siemens_mpi
[    1.894752] usbserial: USB Serial support registered for suunto
[    1.900698] usbserial: USB Serial support registered for vivopay
[    1.906730] usbserial: USB Serial support registered for zio
[    1.912434] usbcore: registered new interface driver usb_ehset_test
[    1.923540] input: system-controller:keys as /devices/platform/system-controller/system-controller:keys/input/input0
[    1.937281] imx-sc-rtc system-controller:rtc: registered as rtc0
[    1.943768] imx-sc-rtc system-controller:rtc: setting system clock to 1970-01-01T00:00:47 UTC (47)
[    1.953526] i2c_dev: i2c /dev entries driver
[    1.963401] amphion-vpu-core 2d080000.vpu-core: [0] = decoder
[    1.970683] amphion-vpu-core 2d090000.vpu-core: [1] = encoder
[    1.978279] amphion-vpu-core 2d0a0000.vpu-core: [2] = encoder
[    1.995318] Bluetooth: HCI UART driver ver 2.3
[    1.999790] Bluetooth: HCI UART protocol H4 registered
[    2.004933] Bluetooth: HCI UART protocol BCSP registered
[    2.010268] Bluetooth: HCI UART protocol LL registered
[    2.015411] Bluetooth: HCI UART protocol ATH3K registered
[    2.020829] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    2.027336] Bluetooth: HCI UART protocol Broadcom registered
[    2.033014] Bluetooth: HCI UART protocol QCA registered
[    2.044415] sdhci: Secure Digital Host Controller Interface driver
[    2.050619] sdhci: Copyright(c) Pierre Ossman
[    2.056640] Synopsys Designware Multimedia Card Interface Driver
[    2.064609] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.072575] sdhci-esdhc-imx 5b010000.mmc: Adding to iommu group 1
[    2.078816] ledtrig-cpu: registered to indicate activity on CPUs
[    2.085315] of_clk_hw_onecell_get: invalid index 16
[    2.088029] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    2.096753] sdhci-esdhc-imx: probe of 5b010000.mmc failed with error -2
[    2.097119] usbcore: registered new interface driver usbhid
[    2.108998] usbhid: USB HID core driver
[    2.131879] mxc-mipi-csi2 58227000.csi: lanes: 4, name: mxc-mipi-csi2.0
[    2.156082] mxc-mipi-csi2 58247000.csi: lanes: 4, name: mxc-mipi-csi2.1
[    2.166839] mxc-isi_v1 58100000.isi: mxc_isi.0 registered successfully
[    2.174630] mxc-isi_v1 58110000.isi: mxc_isi.1 registered successfully
[    2.182092] mxc-isi_v1 58120000.isi: mxc_isi.2 registered successfully
[    2.189764] mxc-isi_v1 58130000.isi: mxc_isi.3 registered successfully
[    2.197063] mxc-isi_v1 58140000.isi: mxc_isi.4 registered successfully
[    2.204566] mxc-isi_v1 58150000.isi: mxc_isi.5 registered successfully
[    2.211887] mxc-isi_v1 58160000.isi: mxc_isi.6 registered successfully
[    2.219179] mxc-isi_v1 58170000.isi: mxc_isi.7 registered successfully
[    2.235748] of_clk_hw_onecell_get: invalid index 16
[    2.240677] imx8qxp-adc 5a880000.adc: error -ENOENT: Failed getting clock
[    2.247502] imx8qxp-adc: probe of 5a880000.adc failed with error -2
[    2.255317] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    2.269667]  cs_system_cfg: CoreSight Configuration manager initialised
[    2.280343] optee: probing for conduit method.
[    2.284824] optee: revision 4.0 (e0a3e777)
[    2.285689] optee: dynamic shared memory is enabled
[    2.295084] optee: initialized driver
[    2.301273] mxc_emvsim 5a0d0000.sim0: emvsim register success
[    2.313483] NET: Registered PF_LLC protocol family
[    2.318389] u32 classifier
[    2.321399]     input device check on
[    2.325091]     Actions configured
[    2.328838] NET: Registered PF_INET6 protocol family
[    2.334792] Segment Routing with IPv6
[    2.338513] In-situ OAM (IOAM) with IPv6
[    2.342503] NET: Registered PF_PACKET protocol family
[    2.347591] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.360634] Bluetooth: RFCOMM TTY layer initialized
[    2.365527] Bluetooth: RFCOMM socket layer initialized
[    2.370690] Bluetooth: RFCOMM ver 1.11
[    2.374456] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.379777] Bluetooth: BNEP filters: protocol multicast
[    2.385019] Bluetooth: BNEP socket layer initialized
[    2.389990] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.395918] Bluetooth: HIDP socket layer initialized
[    2.401035] 8021q: 802.1Q VLAN Support v1.8
[    2.405250] lib80211: common routines for IEEE802.11 drivers
[    2.410966] 9pnet: Installing 9P2000 support
[    2.415379] Key type dns_resolver registered
[    2.433406] registered taskstats version 1
[    2.438001] Loading compiled-in X.509 certificates
[    2.479298] of_clk_hw_onecell_get: invalid index 28
[    2.484243] mxs_phy 5b100000.usbphy: error -ENOENT: failed to get clock
[    2.490884] mxs_phy: probe of 5b100000.usbphy failed with error -2
[    2.520391] imx-lpi2c 58226000.i2c: use pio mode
[    2.536050] max9286_mipi 2-006a: max9286_read_reg:read reg error: reg=1e
[    2.542782] max9286 is not found, chip id reg 0x1e = 0x(ffffffff)
[    2.549187] i2c i2c-2: LPI2C adapter registered
[    2.554880] imx-lpi2c 58246000.i2c: use pio mode
[    2.572227] max9286_mipi 3-006a: max9286_read_reg:read reg error: reg=1e
[    2.578953] max9286 is not found, chip id reg 0x1e = 0x(ffffffff)
[    2.585138] i2c i2c-3: LPI2C adapter registered
[    2.590593] imx-lpi2c 5a800000.i2c: use pio mode
[    2.595737] isl29018 4-0044: supply vcc not found, using dummy regulator
[    2.602592] isl29018 4-0044: No cache defaults, reading back from HW
[    2.612298] i2c i2c-4: supply vdd not found, using dummy regulator
[    2.618616] i2c i2c-4: supply vddio not found, using dummy regulator
[    2.660235] max732x 4-0068: failed reading
[    2.664359] max732x: probe of 4-0068 failed with error -5
[    2.728802] platform 5b120000.usb: Fixed dependency cycle(s) with /bus@5a000000/i2c@5a800000/tcpc@51
[    2.738280] i2c 4-0051: Fixed dependency cycle(s) with /bus@5b000000/usb@5b110000/usb@5b120000
[    2.748714] i2c i2c-4: LPI2C adapter registered
[    2.754594] gpio-590 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    2.763594] imx-lpi2c 5a810000.i2c: using scl,sda for recovery
[    2.769454] imx-lpi2c 5a810000.i2c: use pio mode
[    2.774363] i2c i2c-5: using pinctrl states for GPIO recovery
[    2.780539] i2c i2c-5: LPI2C adapter registered
[    2.786175] imx-lpi2c 3b230000.i2c: use pio mode
[    2.791483] pca953x 6-0020: supply vcc not found, using dummy regulator
[    2.798283] pca953x 6-0020: using no AI
[    2.802474] pca953x 6-0020: failed writing register
[    2.807489] pca953x: probe of 6-0020 failed with error -5
[    2.813334] i2c i2c-6: LPI2C adapter registered
[    2.820764] imx8qm-ldb ldb1-display-controller: Failed to create device link (0x180) with 56241000.ldb_phy
[    2.830868] imx8qm-ldb ldb2-display-controller: Failed to create device link (0x180) with 57241000.ldb_phy
[    2.873201] imx-drm display-subsystem: bound imx-drm-dpu-bliteng.2 (ops dpu_bliteng_ops)
[    2.881774] imx-drm display-subsystem: bound imx-drm-dpu-bliteng.5 (ops dpu_bliteng_ops)
[    2.890452] imx-drm display-subsystem: bound imx-dpu-crtc.0 (ops dpu_crtc_ops)
[    2.898508] imx-drm display-subsystem: bound imx-dpu-crtc.1 (ops dpu_crtc_ops)
[    2.906233] imx-drm display-subsystem: bound imx-dpu-crtc.3 (ops dpu_crtc_ops)
[    2.913956] imx-drm display-subsystem: bound imx-dpu-crtc.4 (ops dpu_crtc_ops)
[    2.921304] [drm:drm_bridge_attach] *ERROR* failed to attach bridge /bus@56220000/dsi_host@56228000 to encoder DSI-147: -517
[    2.935721] of_clk_hw_onecell_get: invalid index 16
[    2.940661] fsl_lpspi: probe of 5a020000.spi failed with error -2
[    2.946801] ------------[ cut here ]------------
[    2.951435] refcount_t: underflow; use-after-free.
[    2.956279] WARNING: CPU: 2 PID: 48 at /lib/refcount.c:28 refcount_warn_saturate+0xf4/0x144
[    2.964645] Modules linked in:
[    2.967708] CPU: 2 PID: 48 Comm: kworker/u13:1 Not tainted 6.6.28-lf-6.6.y-lf-6.6.y-g776652a165f5 #1
[    2.976853] Hardware name: Freescale i.MX8QM MEK (DT)
[    2.981911] Workqueue: events_unbound deferred_probe_work_func
[    2.987757] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    2.994721] pc : refcount_warn_saturate+0xf4/0x144
[    2.999514] lr : refcount_warn_saturate+0xf4/0x144
[    3.004312] sp : ffff800082443af0
[    3.007628] x29: ffff800082443af0 x28: 0000000000000000 x27: 0000000000000000
[    3.014778] x26: ffff000810015428 x25: ffff0008104d4040 x24: 000000000000003b
[    3.021930] x23: 0000000000000008 x22: ffff800082443b58 x21: ffff000810133c10
[    3.029078] x20: ffff000811e8d0c0 x19: ffff000811b09000 x18: 0000000000000006
[    3.036219] x17: ffff0008107e4800 x16: ffff0008107e4600 x15: ffff800082443510
[    3.043369] x14: 0000000000000000 x13: ffff800081f807b8 x12: 0000000000000540
[    3.050518] x11: 00000000000001c0 x10: ffff800081fd87b8 x9 : ffff800081f807b8
[    3.057668] x8 : 00000000ffffefff x7 : ffff800081fd87b8 x6 : 80000000fffff000
[    3.064818] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000
[    3.071968] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000810510000
[    3.079122] Call trace:
[    3.081571]  refcount_warn_saturate+0xf4/0x144
[    3.086018]  kobject_put+0x110/0x120
[    3.089603]  put_device+0x14/0x24
[    3.092931]  devm_spi_release_controller+0x18/0x28
[    3.097735]  devres_release_all+0xa8/0x110
[    3.101835]  device_unbind_cleanup+0x18/0x68
[    3.106110]  really_probe+0x11c/0x2b0
[    3.109778]  __driver_probe_device+0x78/0x12c
[    3.114137]  driver_probe_device+0xd8/0x15c
[    3.118324]  __device_attach_driver+0xb8/0x134
[    3.122772]  bus_for_each_drv+0x88/0xe8
[    3.126612]  __device_attach+0xa0/0x190
[    3.130452]  device_initial_probe+0x14/0x20
[    3.134639]  bus_probe_device+0xac/0xb0
[    3.138479]  deferred_probe_work_func+0x80/0xb8
[    3.143016]  process_one_work+0x138/0x248
[    3.147036]  worker_thread+0x320/0x438
[    3.150790]  kthread+0x110/0x114
[    3.154021]  ret_from_fork+0x10/0x20
[    3.157605] ---[ end trace 0000000000000000 ]---
[    3.164235] fec 5b040000.ethernet: Adding to iommu group 2
[    3.170823] pps pps0: new PPS source ptp0
[    3.177817] mdio_bus 5b040000.ethernet-1:00: Fixed dependency cycle(s) with /bus@5b000000/ethernet@5b040000/mdio/ethernet-phy@0/vddio-regulator
[    3.192037] mdio_bus 5b040000.ethernet-1: MDIO device at address 1 is missing.
[    3.199998] fec 5b040000.ethernet eth0: registered PHC device 0
[    3.207529] cdns-usb3 5b120000.usb: Adding to iommu group 0
[    3.275031] of_clk_hw_onecell_get: invalid index 24
[    3.279967] imx_usb 5b0d0000.usb: Failed to get clks, err=-2,-2
[    3.285947] imx_usb: probe of 5b0d0000.usb failed with error -2
[    3.308795] i2c i2c-4: Added multiplexed i2c bus 7
[    3.314211] i2c i2c-4: Added multiplexed i2c bus 8
[    3.319030] i2c-mux-gpio i2cmux: 2 port mux on 5a800000.i2c adapter
[    3.329473] sdhci-esdhc-imx 5b020000.mmc: Adding to iommu group 1
[    3.336233] of_clk_hw_onecell_get: invalid index 16
[    3.342228] sdhci-esdhc-imx: probe of 5b020000.mmc failed with error -2
[    3.344557] remoteproc remoteproc0: imx-rproc is available
[    3.356525] remoteproc remoteproc1: imx-rproc is available
[    3.396010] cs42xx8 6-0048: failed to get device ID, ret = -5
[    3.402037] cs42xx8: probe of 6-0048 failed with error -5
[    3.408302] imx-lpi2c 56247000.i2c: use pio mode
[    3.413312] imx8qm-ldb ldb1-display-controller: Failed to create device link (0x180) with 9-004c
[    3.422759] it6263 9-004c: Probe failed. Remote port 'lvds-channel@0' disabled
[    3.430012] imx8qm-ldb ldb1-display-controller: Failed to create device link (0x180) with 9-004c
[    3.438855] i2c i2c-9: LPI2C adapter registered
[    3.444105] imx-lpi2c 57247000.i2c: use pio mode
[    3.449009] imx8qm-ldb ldb2-display-controller: Failed to create device link (0x180) with 10-004c
[    3.458433] it6263 10-004c: Probe failed. Remote port 'lvds-channel@0' disabled
[    3.465774] imx8qm-ldb ldb2-display-controller: Failed to create device link (0x180) with 10-004c
[    3.474701] i2c i2c-10: LPI2C adapter registered
[    3.480079] imx-lpi2c 56226000.i2c: use pio mode
[    3.485215] adv7511 11-003d: supply avdd not found, using dummy regulator
[    3.492186] adv7511 11-003d: supply dvdd not found, using dummy regulator
[    3.499047] adv7511 11-003d: supply pvdd not found, using dummy regulator
[    3.505885] adv7511 11-003d: supply a2vdd not found, using dummy regulator
[    3.512808] adv7511 11-003d: supply v3p3 not found, using dummy regulator
[    3.519641] adv7511 11-003d: supply v1p2 not found, using dummy regulator
[    3.526905] adv7511 11-003d: Probe failed. Remote port 'dsi_host@56228000' disabled
[    3.534707] i2c i2c-11: LPI2C adapter registered
[    3.540163] imx-lpi2c 57226000.i2c: use pio mode
[    3.545066] platform 57228000.dsi_host: Fixed dependency cycle(s) with /bus@57220000/i2c@57226000/adv7535@3d
[    3.554986] i2c 12-003d: Fixed dependency cycle(s) with /bus@57220000/dsi_host@57228000
[    3.563260] adv7511 12-003d: supply avdd not found, using dummy regulator
[    3.570543] adv7511 12-003d: supply dvdd not found, using dummy regulator
[    3.577383] adv7511 12-003d: supply pvdd not found, using dummy regulator
[    3.584225] adv7511 12-003d: supply a2vdd not found, using dummy regulator
[    3.591128] adv7511 12-003d: supply v3p3 not found, using dummy regulator
[    3.597958] adv7511 12-003d: supply v1p2 not found, using dummy regulator
[    3.605139] adv7511 12-003d: Probe failed. Remote port 'dsi_host@57228000' disabled
[    3.612942] i2c i2c-12: LPI2C adapter registered
[    3.618176] imx8q-pcie-phy 5f1a0000.pcie-phy: phy impedance ratio is not specified.
[    3.626627] imx8q-pcie-phy 5f180000.pcie-phy: phy impedance ratio is not specified.
[    3.634577] imx8q-pcie-phy 5f190000.pcie-phy: phy impedance ratio is not specified.
[    3.644189] imx6q-pcie 5f010000.pcie: host bridge /bus@5f000000/pcie@5f010000 ranges:
[    3.644325] imx6q-pcie 5f000000.pcie: host bridge /bus@5f000000/pcie@5f000000 ranges:
[    3.644587] imx-drm display-subsystem: bound imx-drm-dpu-bliteng.2 (ops dpu_bliteng_ops)
[    3.644663] imx-drm display-subsystem: bound imx-drm-dpu-bliteng.5 (ops dpu_bliteng_ops)
[    3.644868] imx-drm display-subsystem: bound imx-dpu-crtc.0 (ops dpu_crtc_ops)
[    3.645039] imx-drm display-subsystem: bound imx-dpu-crtc.1 (ops dpu_crtc_ops)
[    3.645210] imx-drm display-subsystem: bound imx-dpu-crtc.3 (ops dpu_crtc_ops)
[    3.645368] imx-drm display-subsystem: bound imx-dpu-crtc.4 (ops dpu_crtc_ops)
[    3.645390] [drm:drm_bridge_attach] *ERROR* failed to attach bridge /bus@56220000/dsi_host@56228000 to encoder DSI-147: -19
[    3.645407] imx-drm display-subsystem: bound 56228000.dsi_host (ops nwl_dsi_component_ops)
[    3.645541] imx-drm display-subsystem: bound ldb1-display-controller (ops imx8qm_ldb_ops)
[    3.645560] [drm:drm_bridge_attach] *ERROR* failed to attach bridge /bus@57220000/dsi_host@57228000 to encoder DSI-147: -19
[    3.645572] imx-drm display-subsystem: bound 57228000.dsi_host (ops nwl_dsi_component_ops)
[    3.645646] imx-drm display-subsystem: bound ldb2-display-controller (ops imx8qm_ldb_ops)
[    3.646007] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 0
[    3.646023] imx-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    3.646593] ahci-imx 5f020000.sata: Adding to iommu group 3
[    3.647040] ahci-imx 5f020000.sata: supply ahci not found, using dummy regulator
[    3.647109] ahci-imx 5f020000.sata: supply phy not found, using dummy regulator
[    3.647143] ahci-imx 5f020000.sata: supply target not found, using dummy regulator
[    3.649944] imx8q-pcie-phy 5f180000.pcie-phy: PHY PLL is locked
[    3.652112] imx6q-pcie 5f010000.pcie:       IO 0x007ff80000..0x007ff8ffff -> 0x0000000000
[    3.652520] imx8q-pcie-phy 5f190000.pcie-phy: PHY PLL is locked
[    3.653198] imx8q-pcie-phy 5f1a0000.pcie-phy: PHY PLL is locked
[    3.653761] imx8q-pcie-phy 5f1a0000.pcie-phy: PHY calibration is done
[    3.655822] ahci-imx 5f020000.sata: no ahb clock.
[    3.655962] ahci-imx 5f020000.sata: AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    3.655974] ahci-imx 5f020000.sata: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sadm sds apst 
[    3.656569] scsi host0: ahci-imx
[    3.656697] ata1: SATA max UDMA/133 mmio [mem 0x5f020000-0x5f02ffff] port 0x100 irq 593
[    3.659976] imx6q-pcie 5f000000.pcie:       IO 0x006ff80000..0x006ff8ffff -> 0x0000000000
[    3.665766] debugfs: Directory 'lvds1' with parent 'pm_genpd' already present!
[    3.665944] debugfs: Directory 'mipi1-i2c1' with parent 'pm_genpd' already present!
[    3.665957] debugfs: Directory 'mipi1-i2c0' with parent 'pm_genpd' already present!
[    3.665967] debugfs: Directory 'mipi1-pwm0' with parent 'pm_genpd' already present!
[    3.665978] debugfs: Directory 'mipi1' with parent 'pm_genpd' already present!
[    3.668131] imx6q-pcie 5f010000.pcie:      MEM 0x0070000000..0x007fefffff -> 0x0070000000
[    3.676132] imx6q-pcie 5f000000.pcie:      MEM 0x0060000000..0x006fefffff -> 0x0060000000
[    3.676959] isi-m2m 58100000.isi:m2m_device: Register m2m success for ISI.0
[    3.677139] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.678891] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.679660] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[    3.679737] clk: Disabling unused clocks
[    3.679846] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.679884] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[    3.687170] ALSA device list:
[    3.690006] imx8q-pcie-phy 5f190000.pcie-phy: PHY PLL is locked
[    3.693742] imx8q-pcie-phy 5f180000.pcie-phy: PHY PLL is locked
[    3.697853]   No soundcards found.
[    3.698678]  mu_a1: failed to power off resource 214 ret -22
[    3.912146] imx6q-pcie 5f010000.pcie: iATU: unroll F, 6 ob, 6 ib, align 4K, limit 4G
[    3.920177] imx6q-pcie 5f000000.pcie: iATU: unroll F, 6 ob, 6 ib, align 4K, limit 4G
[    3.924594] imx6q-pcie 5f010000.pcie: eDMA: unroll F, 1 wr, 1 rd
[    3.932682] imx6q-pcie 5f000000.pcie: eDMA: unroll F, 1 wr, 1 rd
[    3.978402] ata1: SATA link down (SStatus 0 SControl 300)
[    4.936297] imx6q-pcie 5f010000.pcie: Phy link never came up
[    4.942011] imx6q-pcie 5f010000.pcie: Let PCIe_b probe failed when link is down.
[    4.950425] imx6q-pcie: probe of 5f010000.pcie failed with error -110
[    4.980414] imx6q-pcie 5f000000.pcie: Phy link never came up
[    5.986298] imx6q-pcie 5f000000.pcie: Phy link never came up
[    5.992667] imx6q-pcie 5f000000.pcie: PCI host bridge to bus 0000:00
[    5.999104] pci_bus 0000:00: root bus resource [bus 00-ff]
[    6.004623] pci_bus 0000:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x0000-0xffff])
[    6.013627] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fefffff]
[    6.020567] pci 0000:00:00.0: [1957:0000] type 01 class 0x060400
[    6.026624] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00ffffff]
[    6.032920] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x00ffffff pref]
[    6.039684] pci 0000:00:00.0: supports D1 D2
[    6.043966] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot
[    6.055051] pci 0000:00:00.0: BAR 0: assigned [mem 0x60000000-0x60ffffff]
[    6.061877] pci 0000:00:00.0: BAR 6: assigned [mem 0x61000000-0x61ffffff pref]
[    6.069115] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    6.074701] pcieport 0000:00:00.0: PME: Signaling with IRQ 598
[    6.081300] Waiting for root device /dev/mmcblk0p2...
[   13.823150] platform fec2_nvcc: deferred probe pending
[   13.828351] platform regulator-can01-gen: deferred probe pending
[   13.834385] platform regulator-can2-gen: deferred probe pending
[   13.840328] platform regulator-can01-stby: deferred probe pending
[   13.846441] platform regulator-can2-stby: deferred probe pending
[   13.852472] platform 5b050000.ethernet: deferred probe pending
[   13.858327] platform sound-bt-sco: deferred probe pending
[   52.379906] random: crng init done
[   64.760073] cfg80211: failed to load regulatory.db

The lines that seem to be related to the issue are these:

[    3.329473] sdhci-esdhc-imx 5b020000.mmc: Adding to iommu group 1
[    3.336233] of_clk_hw_onecell_get: invalid index 16
[    3.342228] sdhci-esdhc-imx: probe of 5b020000.mmc failed with error -2

It seemed like the mmc clock has an index problem. From further investigation and comparing this repo with linux-imx I found that the clk index's were changed on the usdhc* devices. For example, usdhc1 on the file imx8-ss-conn.dtsi:

linux-imx:

	usdhc1: mmc@5b010000 {
		interrupts = <GIC_SPI 232 IRQ_TYPE_LEVEL_HIGH>;
		reg = <0x5b010000 0x10000>;
		clocks = <&sdhc0_lpcg 1>,
			 <&sdhc0_lpcg 2>,
			 <&sdhc0_lpcg 0>;
		clock-names = "ipg", "ahb", "per";
		assigned-clocks = <&clk IMX_SC_R_SDHC_0 IMX_SC_PM_CLK_PER>;
		assigned-clock-rates = <400000000>;
		power-domains = <&pd IMX_SC_R_SDHC_0>;
		fsl,tuning-start-tap = <20>;
		fsl,tuning-step= <2>;
		status = "disabled";
	};

linux-fslc:

	usdhc1: mmc@5b010000 {
		interrupts = <GIC_SPI 232 IRQ_TYPE_LEVEL_HIGH>;
		reg = <0x5b010000 0x10000>;
		clocks = <&sdhc0_lpcg IMX_LPCG_CLK_4>,
			 <&sdhc0_lpcg IMX_LPCG_CLK_5>,
			 <&sdhc0_lpcg IMX_LPCG_CLK_0>;
		clock-names = "ipg", "ahb", "per";
		assigned-clocks = <&clk IMX_SC_R_SDHC_0 IMX_SC_PM_CLK_PER>;
		assigned-clock-rates = <400000000>;
		power-domains = <&pd IMX_SC_R_SDHC_0>;
		fsl,tuning-start-tap = <20>;
		fsl,tuning-step= <2>;
		status = "disabled";
	};

Both repo's have the IMX_LPCG_CLK* defines in the file include/dt-bindings/clock/imx8-lpcg.h. Changing the index's to match imx's made it so the MMC got correctly probed and the board booted.
Comparing with mainline, I noticed that linux-fslc seems to be missing these index's in the lpcg's. Example:

linux-fslc:

	sdhc0_lpcg: clock-controller@5b200000 {
		compatible = "fsl,imx8qxp-lpcg";
		reg = <0x5b200000 0x10000>;
		#clock-cells = <1>;
		clocks = <&clk IMX_SC_R_SDHC_0 IMX_SC_PM_CLK_PER>,
			 <&conn_ipg_clk>, <&conn_axi_clk>;
		bit-offset = <0 16 20>;
		clock-output-names = "sdhc0_lpcg_per_clk",
				     "sdhc0_lpcg_ipg_clk",
				     "sdhc0_lpcg_ahb_clk";
		power-domains = <&pd IMX_SC_R_SDHC_0>;
	};

linux:

	sdhc0_lpcg: clock-controller@5b200000 {
		compatible = "fsl,imx8qxp-lpcg";
		reg = <0x5b200000 0x10000>;
		#clock-cells = <1>;
		clocks = <&clk IMX_SC_R_SDHC_0 IMX_SC_PM_CLK_PER>,
			 <&conn_ipg_clk>, <&conn_axi_clk>;
		clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>,
				<IMX_LPCG_CLK_5>;
		clock-output-names = "sdhc0_lpcg_per_clk",
				     "sdhc0_lpcg_ipg_clk",
				     "sdhc0_lpcg_ahb_clk";
		power-domains = <&pd IMX_SC_R_SDHC_0>;
	};

From what I can see mainline opt's to use clock-indices and IMX_LPCG_CLK* defines while NXP uses bit-offset's and no IMX_LPCG_CLK* defines. But in this repo a mixture of both is used, thus not working properly.
I am not very familiar with the clock subsystem on Linux and thus, could be misinterpreting the way this is working, but reverting the macros made the board boot again, so something must be wrong.

PS: The issue happens in every device that uses the IMX_LPCG_CLK* macros, although none beside the mmc prevent the board from booting.

kill drm application, system crash

My current test program uses the DRM framework. When I test, I find that when I kill my display program with the kill command, the system will crash

Issue to put kernel branch 4.9-1.0.x-imx in imx7d-pico with linux-fslc with Kernel 6.6

**Hi,

I stay running linux-fslc (Linux imx7d-pico 6.6.0-fslc-fslc-00010-g34836895e19e #1 SMP Mon Oct 30)
and U-Boot 2023.10+fslc+g105a9c8cc0 in my imx7d-pico device by TechNexion.
based in this tutorial: https://imxdev.gitlab.io/ann/The_imx7d-pico_board_is_now_supported_in_FSL_Community_BSP/

My problems start when I try to use rpmsg-lite.

Firstly I tried to insert the settings below in this kernel version and I was unable to do so:

CONFIG_HAVE_IMX_MU=y
CONFIG_HAVE_IMX_RPMSG=y
CONFIG_RPMSG=y
CONFIG_RPMSG_VIRTIO=y
CONFIG_IMX_RPMSG_PINGPONG=m
CONFIG_IMX_RPMSG_TTY=m

Afterwards (I've been trying for 2 weeks) I tried to put/port kernel 4.9-1.0.x-imx (https://github.com/diegosueiro/linux-fslc/tree/4.9-1.0.x-imx)

If the way mentioned above works, I will certainly be successful as the compilation of the zephyr-m4-side bin file is almost ready

Below are the errors I currently get when trying to port the kernel (from 6.6 to 4.9) and a screenshot**

E.g.: I'm putting the 4.9 kernel in a local folder on my computer (with all authorizations and permissions, ssh, git user, etc) and creating a *.bbappend with:

FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

SRC_URI = "git://srv/git/linux.git;branch=scorpion_test2"
KBRANCH =  "scorpion_test2"
#SRCBRANCH =  "scorpion_test2"
##SRCPV  = "scorpion_test"
SRCREV = "${AUTOREV}"

My issue is below:

bitbake core-image-base
Loading cache: 100% |#######################################################################################################################################################################| Time: 0:00:00
Loaded 4377 entries from dependency cache.
WARNING: /home/neuberfran/fsl-community-bsp/sources/meta-freescale/recipes-kernel/linux/linux-fslc_6.6.bb: Exception during build_dependencies for fetcher_hashes_dummyfunc | ETA: --:--:--
WARNING: /home/neuberfran/fsl-community-bsp/sources/meta-freescale/recipes-kernel/linux/linux-fslc_6.6.bb: Error during finalise of /home/neuberfran/fsl-community-bsp/sources/meta-freescale/recipes-kernel/linux/linux-fslc_6.6.bb
ERROR: ExpansionError during parsing /home/neuberfran/fsl-community-bsp/sources/meta-freescale/recipes-kernel/linux/linux-fslc_6.6.bb
Traceback (most recent call last):
File "/home/neuberfran/fsl-community-bsp/sources/poky/bitbake/lib/bb/fetch2/init.py", line 1241, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at 0x7f11763795e0>, d=<bb.data_smart.DataSmart object at 0x7f117640bfd0>, name='default'):
d.setVar("__BBAUTOREV_ACTED_UPON", True)
> srcrev = ud.method.latest_revision(ud, d, name)

File "/home/neuberfran/fsl-community-bsp/sources/poky/bitbake/lib/bb/fetch2/init.py", line 1657, in Git.latest_revision(ud=<bb.fetch2.FetchData object at 0x7f11763795e0>, d=<bb.data_smart.DataSmart object at 0x7f117640bfd0>, name='default'):
except KeyError:
> revs[key] = rev = self._latest_revision(ud, d, name)
return rev
File "/home/neuberfran/fsl-community-bsp/sources/poky/bitbake/lib/bb/fetch2/git.py", line 773, in Git._latest_revision(ud=<bb.fetch2.FetchData object at 0x7f11763795e0>, d=<bb.data_smart.DataSmart object at 0x7f117640bfd0>, name='default'):

>        output = self._lsremote(ud, d, "")
         # Tags of the form ^{} may not work, need to fallback to other form

File "/home/neuberfran/fsl-community-bsp/sources/poky/bitbake/lib/bb/fetch2/git.py", line 756, in Git._lsremote(ud=<bb.fetch2.FetchData object at 0x7f11763795e0>, d=<bb.data_smart.DataSmart object at 0x7f117640bfd0>, search=''):
bb.fetch2.check_network_access(d, cmd, repourl)
> output = runfetchcmd(cmd, d, True)
if not output:
File "/home/neuberfran/fsl-community-bsp/sources/poky/bitbake/lib/bb/fetch2/init.py", line 954, in runfetchcmd(cmd='export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="1595"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/neuberfran/fsl-community-bsp/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/neuberfran/fsl-community-bsp/sources/poky/scripts:/home/neuberfran/fsl-community-bsp/build/tmp/work/imx7d_pico-fslc-linux-gnueabi/linux-fslc/6.6+git/recipe-sysroot-native/usr/bin/arm-fslc-linux-gnueabi:/home/neuberfran/fsl-community-bsp/build/tmp/work/imx7d_pico-fslc-linux-gnueabi/linux-fslc/6.6+git/recipe-sysroot/usr/bin/crossscripts:/home/neuberfran/fsl-community-bsp/build/tmp/work/imx7d_pico-fslc-linux-gnueabi/linux-fslc/6.6+git/recipe-sysroot-native/usr/sbin:/home/neuberfran/fsl-community-bsp/build/tmp/work/imx7d_pico-fslc-linux-gnueabi/linux-fslc/6.6+git/recipe-sysroot-native/usr/bin:/home/neuberfran/fsl-community-bsp/build/tmp/work/imx7d_pico-fslc-linux-gnueabi/linux-fslc/6.6+git/recipe-sysroot-native/sbin:/home/neuberfran/fsl-community-bsp/build/tmp/work/imx7d_pico-fslc-linux-gnueabi/linux-fslc/6.6+git/recipe-sysroot-native/bin:/home/neuberfran/fsl-community-bsp/sources/poky/bitbake/bin:/home/neuberfran/fsl-community-bsp/build/tmp/hosttools"; export HOME="/home/neuberfran"; git -c gc.autoDetach=false -c core.pager=cat ls-remote git://srv/git/linux.git ', d=<bb.data_smart.DataSmart object at 0x7f117640bfd0>, quiet=True, cleanup=[], log=None, workdir=None):

>        raise FetchError(error_message)

bb.data_smart.ExpansionError: Failure expanding variable fetcher_hashes_dummyfunc[vardepvalue], expression was ${@bb.fetch.get_hashvalue(d)} which triggered exception FetchError: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="1595"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/neuberfran/fsl-community-bsp/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/neuberfran/fsl-community-bsp/sources/poky/scripts:/home/neuberfran/fsl-community-bsp/build/tmp/work/imx7d_pico-fslc-linux-gnueabi/linux-fslc/6.6+git/recipe-sysroot-native/usr/bin/arm-fslc-linux-gnueabi:/home/neuberfran/fsl-community-bsp/build/tmp/work/imx7d_pico-fslc-linux-gnueabi/linux-fslc/6.6+git/recipe-sysroot/usr/bin/crossscripts:/home/neuberfran/fsl-community-bsp/build/tmp/work/imx7d_pico-fslc-linux-gnueabi/linux-fslc/6.6+git/recipe-sysroot-native/usr/sbin:/home/neuberfran/fsl-community-bsp/build/tmp/work/imx7d_pico-fslc-linux-gnueabi/linux-fslc/6.6+git/recipe-sysroot-native/usr/bin:/home/neuberfran/fsl-community-bsp/build/tmp/work/imx7d_pico-fslc-linux-gnueabi/linux-fslc/6.6+git/recipe-sysroot-native/sbin:/home/neuberfran/fsl-community-bsp/build/tmp/work/imx7d_pico-fslc-linux-gnueabi/linux-fslc/6.6+git/recipe-sysroot-native/bin:/home/neuberfran/fsl-community-bsp/sources/poky/bitbake/bin:/home/neuberfran/fsl-community-bsp/build/tmp/hosttools"; export HOME="/home/neuberfran"; git -c gc.autoDetach=false -c core.pager=cat ls-remote git://srv/git/linux.git failed with exit code 128, output:
fatal: unable to look up srv (port 9418) (Temporary failure in name resolution)

The variable dependency chain for the failure is: fetcher_hashes_dummyfunc[vardepvalue]

ERROR: Parsing halted due to errors, see error messages above

Summary: There were 2 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.
neuberfran@neuberfran2004:~/fsl-community-bsp/build$ bitbake core-image-base

Captura de tela de 2023-11-15 20-39-34

mipi_dsi missing from imx8mm.dtsi

Is there a reason why the mipi_dsi node is missing from imx8mm.dtsi in linux-fslc while it is present in linux-fslc-imx?
If it's missing for no reason, I will make a PR to resolve this

Build error in drivers/usb/cdns3/gadget.c

I'm facing yocto build error when trying to build "5.4-2.3.x-imx" branch for wandboard machine.

|   AR      drivers/scsi/built-in.a
|   CC      drivers/video/backlight/lcd.o
|   CC      drivers/video/console/dummycon.o
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c: In function 'cdns3_wa2_gadget_giveback':
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:471:3: error: implicit declaration of function 'cdns3_wa2_descmiss_copy_data'; did you mean 'cdns3_descmiss_copy_data'? [-Werror=implicit-function-declaration]
|   471 |   cdns3_wa2_descmiss_copy_data(priv_ep, req);
|       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |   cdns3_descmiss_copy_data
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c: In function 'cdns3_wa2_gadget_ep_queue':
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:507:3: error: implicit declaration of function 'trace_cdns3_wa2'; did you mean 'trace_cdns3_log'? [-Werror=implicit-function-declaration]
|   507 |   trace_cdns3_wa2(priv_ep, "workaround disabled\n");
|       |   ^~~~~~~~~~~~~~~
|       |   trace_cdns3_log
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:513:44: error: 'struct cdns3_endpoint' has no member named 'wa2_descmiss_req_list'; did you mean 'descmiss_req_list'?
|   513 |   u8 descmiss_empty = list_empty(&priv_ep->wa2_descmiss_req_list);
|       |                                            ^~~~~~~~~~~~~~~~~~~~~
|       |                                            descmiss_req_list
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:551:21: error: 'struct cdns3_endpoint' has no member named 'wa2_descmiss_req_list'; did you mean 'descmiss_req_list'?
|   551 |           &priv_ep->wa2_descmiss_req_list);
|       |                     ^~~~~~~~~~~~~~~~~~~~~
|       |                     descmiss_req_list
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c: In function 'cdns3_wa2_remove_old_request':
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:561:31: error: 'struct cdns3_endpoint' has no member named 'wa2_descmiss_req_list'; did you mean 'descmiss_req_list'?
|   561 |  while (!list_empty(&priv_ep->wa2_descmiss_req_list)) {
|       |                               ^~~~~~~~~~~~~~~~~~~~~
|       |                               descmiss_req_list
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:564:48: error: 'struct cdns3_endpoint' has no member named 'wa2_descmiss_req_list'; did you mean 'descmiss_req_list'?
|   564 |   priv_req = cdns3_next_priv_request(&priv_ep->wa2_descmiss_req_list);
|       |                                                ^~~~~~~~~~~~~~~~~~~~~
|       |                                                descmiss_req_list
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:573:12: error: 'struct cdns3_endpoint' has no member named 'wa2_counter'
|   573 |   --priv_ep->wa2_counter;
|       |            ^~
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c: In function 'cdns3_wa2_descmissing_packet':
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:599:13: error: 'struct cdns3_endpoint' has no member named 'wa2_counter'
|   599 |  if (priv_ep->wa2_counter >= CDNS3_WA2_NUM_BUFFERS)
|       |             ^~
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:599:30: error: 'CDNS3_WA2_NUM_BUFFERS' undeclared (first use in this function)
|   599 |  if (priv_ep->wa2_counter >= CDNS3_WA2_NUM_BUFFERS)
|       |                              ^~~~~~~~~~~~~~~~~~~~~
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:599:30: note: each undeclared identifier is reported only once for each function it appears in
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:621:9: error: 'struct cdns3_endpoint' has no member named 'wa2_counter'
|   621 |  priv_ep->wa2_counter++;
|       |         ^~
|   CC      drivers/tty/vt/selection.o
|   CC      drivers/tee/tee_shm.o
|   CC      drivers/thermal/of-thermal.o
|   CC      drivers/usb/cdns3/ep0.o
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c: In function 'cdns3_check_ep_interrupt_proceed':
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:1335:24: error: 'EP_QUIRK_ISO_OUT_EN' undeclared (first use in this function); did you mean 'EP_QUIRK_EXTRA_BUF_EN'?
|  1335 |     priv_ep->flags &= ~EP_QUIRK_ISO_OUT_EN;
|       |                        ^~~~~~~~~~~~~~~~~~~
|       |                        EP_QUIRK_EXTRA_BUF_EN
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:1339:3: error: expected '}' before 'else'
|  1339 |   else
|       |   ^~~~
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c: In function '__cdns3_gadget_ep_set_halt':
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:2204:2: error: implicit declaration of function 'trace_cdns3_halt'; did you mean 'trace_cdns3_ring'? [-Werror=implicit-function-declaration]
|  2204 |  trace_cdns3_halt(priv_ep, 1, 0);
|       |  ^~~~~~~~~~~~~~~~
|       |  trace_cdns3_ring
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:2206:25: error: 'EP_STALLED' undeclared (first use in this function); did you mean 'EP_STALL'?
|  2206 |  if (!(priv_ep->flags & EP_STALLED)) {
|       |                         ^~~~~~~~~~
|       |                         EP_STALL
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:2209:22: error: 'EP_STS_DBUSY' undeclared (first use in this function)
|  2209 |   if (!(ep_sts_reg & EP_STS_DBUSY))
|       |                      ^~~~~~~~~~~~
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:2212:22: error: 'EP_STALL_PENDING' undeclared (first use in this function)
|  2212 |    priv_ep->flags |= EP_STALL_PENDING;
|       |                      ^~~~~~~~~~~~~~~~
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c: In function '__cdns3_gadget_ep_clear_halt':
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:2246:8: error: implicit declaration of function 'readl_poll_timeout_atomic' [-Werror=implicit-function-declaration]
|  2246 |  ret = readl_poll_timeout_atomic(&priv_dev->regs->ep_cmd, val,
|       |        ^~~~~~~~~~~~~~~~~~~~~~~~~
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:2251:22: error: 'EP_STALLED' undeclared (first use in this function); did you mean 'EP_STALL'?
|  2251 |  priv_ep->flags &= ~(EP_STALLED | EP_STALL_PENDING);
|       |                      ^~~~~~~~~~
|       |                      EP_STALL
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:2251:35: error: 'EP_STALL_PENDING' undeclared (first use in this function)
|  2251 |  priv_ep->flags &= ~(EP_STALLED | EP_STALL_PENDING);
|       |                                   ^~~~~~~~~~~~~~~~
| At top level:
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:810:13: warning: 'cdns3_wa1_tray_restore_cycle_bit' defined but not used [-Wunused-function]
|   810 | static void cdns3_wa1_tray_restore_cycle_bit(struct cdns3_device *priv_dev,
|       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:789:12: warning: 'cdns3_wa1_update_guard' defined but not used [-Wunused-function]
|   789 | static int cdns3_wa1_update_guard(struct cdns3_endpoint *priv_ep,
|       |            ^~~~~~~~~~~~~~~~~~~~~~
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:587:13: warning: 'cdns3_wa2_descmissing_packet' defined but not used [-Wunused-function]
|   587 | static void cdns3_wa2_descmissing_packet(struct cdns3_endpoint *priv_ep)
|       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| cc1: some warnings being treated as errors
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/scripts/Makefile.build:262: recipe for target 'drivers/usb/cdns3/gadget.o' failed
| make[4]: *** [drivers/usb/cdns3/gadget.o] Error 1
| make[4]: *** Waiting for unfinished jobs....
|   CC      drivers/tty/tty_io.o
|   CC      drivers/video/backlight/l4f00242t03.o
|   AR      drivers/video/console/built-in.a
|   CC      drivers/tty/serial/earlycon.o
|   CC      drivers/watchdog/watchdog_core.o
|   CC      drivers/tee/tee_shm_pool.o
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/scripts/Makefile.build:497: recipe for target 'drivers/usb/cdns3' failed
| make[3]: *** [drivers/usb/cdns3] Error 2
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/scripts/Makefile.build:497: recipe for target 'drivers/usb' failed
| make[2]: *** [drivers/usb] Error 2
| make[2]: *** Waiting for unfinished jobs....
|   CC      drivers/watchdog/watchdog_dev.o
|   CC      drivers/thermal/step_wise.o

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.