Linux-USB Archive on lore.kernel.org
 help / color / Atom feed
* Unhandled fault: imprecise external abort (0x1406) when loading xhci_pci.ko - uPD720202, PEX8605, iMX6Q and linux-4.19.25
       [not found] ` <CAGgoGu4zP_7QpKHiXSkLfkb=zHEezBzstVfjQMQ4CO60+YubCw@mail.gmail.com>
@ 2019-08-01  8:18   ` Fawad Lateef
  2019-08-01 17:17     ` Bjorn Helgaas
  0 siblings, 1 reply; 10+ messages in thread
From: Fawad Lateef @ 2019-08-01  8:18 UTC (permalink / raw)
  To: linux-pci, linux-usb

Hi everyone,

I am trying to get Renesas uPD720202 USB3.0 hub working which is
connected PCIe switch (PEX8605); PEX8605 is connected to i.MX6Q
through its x1 PCIe Gen2 interface. Running Linux-4.19.25 vanilla
kernel with patches from Phytec.de for their Phycore-iMX6Q SOM.

We have 2x PEX8605 ports connected to mPCIe slots and 2x WLAN modules
(QCA9880) working perfectly.

Facing kernel "Unhandled fault: imprecise external abort (0x1406)"
when trying to load xhci_pci.ko module for uPD720202. Receiving this
fault straight-away when driver trying to setup device.

uPD720202 don't have external EEPROM support, so I have to load
firmware in chips memory before loading the driver. Sometimes after
loading the driver, I see the USB3.0 hub but then doing "lsusb -v"
crashes the driver with same above mentioned fault.

Tried to disable DMA from kernel configuration but still same result.
From hardware side verified the RESET pins for PEX8605 and uPD720202
chips but no change.

Also wanted to read PCIe switch registers using I2C interface but have
to figure-out how to do that (saw some patches email from Rajat Jain
from 2014 but seems like can't find the patch attachment anywhere on
Google).

The kernel log is below. Any help or pointers in solving this problem
will be much appreciated.

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.25-bsp-yocto-i.mx6-pd18.1.1
(br-user@flateef-XPS-13-9360) (gcc version 8.2.0 (Buildroot
2018.11.4-gebef590b)) #3 SMP Wed Jul 31 11:13:06 UTC 2019
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing
instruction cache
[    0.000000] OF: fdt: Machine model: PHYTEC phyBOARD-Mira Quad full
featured with eMMC
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 128 MiB at 0x86000000
[    0.000000] On node 0 totalpages: 524288
[    0.000000]   Normal zone: 1536 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:63
[    0.000000]   HighMem zone: 327680 pages, LIFO batch:63
[    0.000000] random: get_random_bytes called from
start_kernel+0x88/0x3f8 with crng_init=0
[    0.000000] percpu: Embedded 16 pages/cpu @(ptrval) s34828 r8192
d22516 u65536
[    0.000000] pcpu-alloc: s34828 r8192 d22516 u65536 alloc=16*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line:  console=ttymxc1,115200n8
root=/dev/mmcblk3p2 rootwait rw
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1934476K/2097152K available (8192K kernel code,
357K rwdata, 2464K rodata, 1024K init, 398K bss, 31604K reserved,
131072K cma-reserved, 1178732K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (9184 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 358 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 399 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C-310 errata 752271 769419 enabled
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 16 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76470001
[    0.000000] Switching to timer-based delay loop, resolution 333ns
[    0.000015] sched_clock: 32 bits at 3000kHz, resolution 333ns,
wraps every 715827882841ns
[    0.000049] clocksource: mxc_timer1: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 637086815595 ns
[    0.002812] Console: colour dummy device 80x30
[    0.002873] Calibrating delay loop (skipped), value calculated
using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[    0.002903] pid_max: default: 32768 minimum: 301
[    0.003188] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003229] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.004259] CPU: Testing write buffer coherency: ok
[    0.004319] CPU0: Spectre v2: using BPIALL workaround
[    0.004991] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.006092] Setting up static identity map for 0x10100000 - 0x10100078
[    0.006363] rcu: Hierarchical SRCU implementation.
[    0.007568] smp: Bringing up secondary CPUs ...
[    0.008817] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.008827] CPU1: Spectre v2: using BPIALL workaround
[    0.010352] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.010364] CPU2: Spectre v2: using BPIALL workaround
[    0.011759] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.011770] CPU3: Spectre v2: using BPIALL workaround
[    0.011973] smp: Brought up 1 node, 4 CPUs
[    0.011997] SMP: Total of 4 processors activated (24.00 BogoMIPS).
[    0.012014] CPU: All CPU(s) started in SVC mode.
[    0.013747] devtmpfs: initialized
[    0.031282] VFP support v0.3: implementor 41 architecture 3 part 30
variant 9 rev 4
[    0.031759] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.031800] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.044378] pinctrl core: initialized pinctrl subsystem
[    0.046052] NET: Registered protocol family 16
[    0.058858] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.059733] audit: initializing netlink subsys (disabled)
[    0.060061] audit: type=2000 audit(0.060:1): state=initialized
audit_enabled=0 res=1
[    0.061065] CPU identified as i.MX6Q, silicon rev 1.5
[    0.071628] vdd1p1: supplied by regulator-dummy
[    0.072504] vdd3p0: supplied by regulator-dummy
[    0.073315] vdd2p5: supplied by regulator-dummy
[    0.093445] No ATAGs?
[    0.093674] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1
watchpoint registers.
[    0.093704] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.096202] imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.134079] mxs-dma 110000.dma-apbh: initialized
[    0.141747] SCSI subsystem initialized
[    0.142183] libata version 3.00 loaded.
[    0.142561] usbcore: registered new interface driver usbfs
[    0.142661] usbcore: registered new interface driver hub
[    0.142816] usbcore: registered new device driver usb
[    0.145330] i2c i2c-0: IMX I2C adapter registered
[    0.145364] i2c i2c-0: can't use DMA, using PIO instead.
[    0.146253] i2c i2c-1: IMX I2C adapter registered
[    0.146285] i2c i2c-1: can't use DMA, using PIO instead.
[    0.147511] i2c i2c-2: IMX I2C adapter registered
[    0.147543] i2c i2c-2: can't use DMA, using PIO instead.
[    0.147877] pps_core: LinuxPPS API ver. 1 registered
[    0.147898] pps_core: Software ver. 5.3.6 - Copyright 2005-2007
Rodolfo Giometti <giometti@linux.it>
[    0.147942] PTP clock support registered
[    0.149207] Bluetooth: Core ver 2.22
[    0.149351] NET: Registered protocol family 31
[    0.149371] Bluetooth: HCI device and connection manager initialized
[    0.149400] Bluetooth: HCI socket layer initialized
[    0.149421] Bluetooth: L2CAP socket layer initialized
[    0.149488] Bluetooth: SCO socket layer initialized
[    0.150351] clocksource: Switched to clocksource mxc_timer1
[    0.150704] VFS: Disk quotas dquot_6.6.0
[    0.150854] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.167130] NET: Registered protocol family 2
[    0.168273] tcp_listen_portaddr_hash hash table entries: 512
(order: 0, 6144 bytes)
[    0.168336] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.168506] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.168780] TCP: Hash tables configured (established 8192 bind 8192)
[    0.169113] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.169195] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.169686] NET: Registered protocol family 1
[    0.170642] RPC: Registered named UNIX socket transport module.
[    0.170663] RPC: Registered udp transport module.
[    0.170677] RPC: Registered tcp transport module.
[    0.170692] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.170715] PCI: CLS 0 bytes, default 64
[    0.171954] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    0.172349] hw perfevents: enabled with armv7_cortex_a9 PMU driver,
7 counters available
[    0.175261] Initialise system trusted keyrings
[    0.175573] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    0.184016] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.185099] NFS: Registering the id_resolver key type
[    0.185145] Key type id_resolver registered
[    0.185163] Key type id_legacy registered
[    0.185238] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
[    0.186012] fuse init (API version 7.27)
[    0.195230] Key type asymmetric registered
[    0.195255] Asymmetric key parser 'x509' registered
[    0.195358] bounce: pool size: 64 pages
[    0.195390] io scheduler noop registered
[    0.195407] io scheduler deadline registered
[    0.195663] io scheduler cfq registered (default)
[    0.195687] io scheduler mq-deadline registered
[    0.195704] io scheduler kyber registered
[    0.199805] imx6q-pcie 1ffc000.pcie: Linked as a consumer to regulator.12
[    0.199899] imx6q-pcie 1ffc000.pcie: host bridge /soc/pcie@1ffc000 ranges:
[    0.199964] imx6q-pcie 1ffc000.pcie:    IO 0x01f80000..0x01f8ffff
-> 0x00000000
[    0.200006] imx6q-pcie 1ffc000.pcie:   MEM 0x01000000..0x01efffff
-> 0x01000000
[    0.420529] imx6q-pcie 1ffc000.pcie: Link up
[    0.420554] imx6q-pcie 1ffc000.pcie: Link: Gen2 disabled
[    0.420575] imx6q-pcie 1ffc000.pcie: Link up, Gen1
[    0.420902] imx6q-pcie 1ffc000.pcie: PCI host bridge to bus 0000:00
[    0.420934] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.420959] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.420982] pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff]
[    0.421051] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400
[    0.421106] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    0.421133] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[    0.421237] pci 0000:00:00.0: supports D1
[    0.421252] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.431113] PCI: bus0: Fast back to back transfers disabled
[    0.431458] pci 0000:01:00.0: [10b5:8605] type 01 class 0x060400
[    0.431685] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff]
[    0.432403] pci 0000:01:00.0: supports D1 D2
[    0.432418] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.432622] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth,
limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s
with 5 GT/s x1 link)
[    0.469726] PCI: bus1: Fast back to back transfers disabled
[    0.469770] pci 0000:01:00.0: bridge configuration invalid ([bus
00-00]), reconfiguring
[    0.470736] pci 0000:02:01.0: [10b5:8605] type 01 class 0x060400
[    0.471649] pci 0000:02:01.0: supports D1 D2
[    0.471663] pci 0000:02:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.472678] pci 0000:02:02.0: [10b5:8605] type 01 class 0x060400
[    0.473584] pci 0000:02:02.0: supports D1 D2
[    0.473598] pci 0000:02:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.474617] pci 0000:02:03.0: [10b5:8605] type 01 class 0x060400
[    0.475520] pci 0000:02:03.0: supports D1 D2
[    0.475534] pci 0000:02:03.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.485021] PCI: bus2: Fast back to back transfers disabled
[    0.485062] pci 0000:02:01.0: bridge configuration invalid ([bus
00-00]), reconfiguring
[    0.485132] pci 0000:02:02.0: bridge configuration invalid ([bus
00-00]), reconfiguring
[    0.485199] pci 0000:02:03.0: bridge configuration invalid ([bus
00-00]), reconfiguring
[    0.485764] pci 0000:03:00.0: [1912:0015] type 00 class 0x0c0330
[    0.485993] pci 0000:03:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
[    0.486752] pci 0000:03:00.0: PME# supported from D0 D3hot
[    0.487022] pci 0000:03:00.0: 2.000 Gb/s available PCIe bandwidth,
limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s
with 5 GT/s x1 link)
[    0.549694] PCI: bus3: Fast back to back transfers disabled
[    0.549732] pci_bus 0000:03: busn_res: [bus 03-ff] end is updated to 03
[    0.550287] pci 0000:04:00.0: [168c:003c] type 00 class 0x028000
[    0.550576] pci 0000:04:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.550832] pci 0000:04:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.551344] pci 0000:04:00.0: supports D1 D2
[    0.551360] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.561547] PCI: bus4: Fast back to back transfers disabled
[    0.561583] pci_bus 0000:04: busn_res: [bus 04-ff] end is updated to 04
[    0.571176] PCI: bus5: Fast back to back transfers enabled
[    0.571210] pci_bus 0000:05: busn_res: [bus 05-ff] end is updated to 05
[    0.571256] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 05
[    0.571586] pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff]
[    0.571620] pci 0000:00:00.0: BAR 8: assigned [mem 0x01100000-0x016fffff]
[    0.571647] pci 0000:00:00.0: BAR 9: assigned [mem
0x01700000-0x018fffff pref]
[    0.571672] pci 0000:00:00.0: BAR 6: assigned [mem
0x01900000-0x0190ffff pref]
[    0.571695] pci 0000:00:00.0: BAR 7: assigned [io  0x1000-0x1fff]
[    0.571727] pci 0000:01:00.0: BAR 8: assigned [mem 0x01100000-0x015fffff]
[    0.571751] pci 0000:01:00.0: BAR 9: assigned [mem
0x01700000-0x018fffff 64bit pref]
[    0.571773] pci 0000:01:00.0: BAR 0: assigned [mem 0x01600000-0x01603fff]
[    0.571816] pci 0000:01:00.0: BAR 7: assigned [io  0x1000-0x1fff]
[    0.571849] pci 0000:02:01.0: BAR 8: assigned [mem 0x01100000-0x012fffff]
[    0.571872] pci 0000:02:01.0: BAR 9: assigned [mem
0x01700000-0x018fffff 64bit pref]
[    0.571896] pci 0000:02:02.0: BAR 8: assigned [mem 0x01300000-0x015fffff]
[    0.571917] pci 0000:02:01.0: BAR 7: assigned [io  0x1000-0x1fff]
[    0.571945] pci 0000:03:00.0: BAR 0: assigned [mem
0x01100000-0x01101fff 64bit]
[    0.572040] pci 0000:02:01.0: PCI bridge to [bus 03]
[    0.572071] pci 0000:02:01.0:   bridge window [io  0x1000-0x1fff]
[    0.572119] pci 0000:02:01.0:   bridge window [mem 0x01100000-0x012fffff]
[    0.572157] pci 0000:02:01.0:   bridge window [mem
0x01700000-0x018fffff 64bit pref]
[    0.572221] pci 0000:04:00.0: BAR 0: assigned [mem
0x01400000-0x015fffff 64bit]
[    0.572313] pci 0000:04:00.0: BAR 6: assigned [mem
0x01300000-0x0130ffff pref]
[    0.572334] pci 0000:02:02.0: PCI bridge to [bus 04]
[    0.572380] pci 0000:02:02.0:   bridge window [mem 0x01300000-0x015fffff]
[    0.572454] pci 0000:02:03.0: PCI bridge to [bus 05]
[    0.572552] pci 0000:01:00.0: PCI bridge to [bus 02-05]
[    0.572580] pci 0000:01:00.0:   bridge window [io  0x1000-0x1fff]
[    0.572626] pci 0000:01:00.0:   bridge window [mem 0x01100000-0x015fffff]
[    0.572663] pci 0000:01:00.0:   bridge window [mem
0x01700000-0x018fffff 64bit pref]
[    0.572716] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.572735] pci 0000:00:00.0:   bridge window [io  0x1000-0x1fff]
[    0.572757] pci 0000:00:00.0:   bridge window [mem 0x01100000-0x016fffff]
[    0.572777] pci 0000:00:00.0:   bridge window [mem
0x01700000-0x018fffff pref]
[    0.573483] pcieport 0000:00:00.0: Signaling PME with IRQ 296
[    0.573835] pcieport 0000:00:00.0: AER enabled with IRQ 296
[    0.574202] pcieport 0000:01:00.0: enabling device (0140 -> 0143)
[    0.576139] pcieport 0000:02:01.0: enabling device (0140 -> 0143)
[    0.578257] pcieport 0000:02:02.0: enabling device (0140 -> 0142)
[    0.581817] pci 0000:03:00.0: enabling device (0140 -> 0142)
[    7.527313] pci 0000:03:00.0: xHCI HW not ready after 5 sec (HC
bug?) status = 0x801
[    7.527485] pci 0000:03:00.0: quirk_usb_early_handoff+0x0/0x80c
took 6782847 usecs
[    7.531041] imx-sdma 20ec000.sdma: loaded firmware 3.3
[    7.536911] imx-pgc-pd imx-pgc-power-domain.0: DMA mask not set
[    7.537029] imx-pgc-pd imx-pgc-power-domain.0: Linked as a consumer
to 20dc000.gpc
[    7.537137] imx-pgc-pd imx-pgc-power-domain.1: DMA mask not set
[    7.539524] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 63,
base_baud = 5000000) is a IMX
[    8.735339] console [ttymxc1] enabled
[    8.740143] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 64,
base_baud = 5000000) is a IMX
[    8.766636] brd: module loaded
[    8.786902] loop: module loaded
[    8.791356] at24 2-0050: 4096 byte 24c32 EEPROM, writable, 1 bytes/write
[    8.801418] da9062 2-0058: Device detected (device-ID: 0x62,
var-ID: 0x22, DA9062)
[    8.836209] vdd_snvs: Bringing 3100000uV into 3000000-3000000uV
[    8.842493] random: fast init done
[    8.849376] vdd_high: Bringing 3100000uV into 3000000-3000000uV
[    8.859173] vdd_eth_io: Bringing 2600000uV into 2500000-2500000uV
[    8.868280] vdd_emmc: Bringing 1900000uV into 1800000-1800000uV
[    8.879983] ahci-imx 2200000.sata: fsl,transmit-level-mV not
specified, using 00000024
[    8.887987] ahci-imx 2200000.sata: fsl,transmit-boost-mdB not
specified, using 00000480
[    8.896071] ahci-imx 2200000.sata: fsl,transmit-atten-16ths not
specified, using 00002000
[    8.904307] ahci-imx 2200000.sata: fsl,receive-eq-mdB not
specified, using 05000000
[    8.915070] ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled
[    8.922155] ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports
3 Gbps 0x1 impl platform mode
[    8.931006] ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo
only pmp pio slum part ccc apst
[    8.942593] scsi host0: ahci-imx
[    8.946389] ata1: SATA max UDMA/133 mmio [mem
0x02200000-0x02203fff] port 0x100 irq 67
[    8.962342] m25p80 spi0.0: n25q128a13 (16384 Kbytes)
[    8.969007] spi_imx 2008000.ecspi: probed
[    8.974411] libphy: Fixed MDIO Bus: probed
[    8.979382] CAN device driver interface
[    8.986038] usbcore: registered new interface driver asix
[    8.991578] usbcore: registered new interface driver ax88179_178a
[    8.997747] usbcore: registered new interface driver cdc_ether
[    9.003697] usbcore: registered new interface driver net1080
[    9.009430] usbcore: registered new interface driver cdc_subset
[    9.015466] usbcore: registered new interface driver zaurus
[    9.021189] usbcore: registered new interface driver cdc_ncm
[    9.026862] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    9.033434] ehci-pci: EHCI PCI platform driver
[    9.038000] ehci-platform: EHCI generic platform driver
[    9.043770] ehci-mxc: Freescale On-Chip EHCI Host driver
[    9.049668] usbcore: registered new interface driver usb-storage
[    9.058946] imx_usb 2184000.usb: Linked as a consumer to regulator.14
[    9.071501] imx_usb 2184200.usb: Linked as a consumer to regulator.13
[    9.081344] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    9.086283] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    9.120413] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    9.127076] hub 1-0:1.0: USB hub found
[    9.130967] hub 1-0:1.0: 1 port detected
[    9.139528] da9063-rtc da9062-rtc: DMA mask not set
[    9.154230] da9063-rtc da9062-rtc: rtc core: registered da9063-rtc as rtc1
[    9.169336] rtc-m41t80 0-0068: registered as rtc0
[    9.176016] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered
20cc000.snvs:snvs-rtc-lp as rtc2
[    9.185537] i2c /dev entries driver
[    9.194316] Bluetooth: HCI UART driver ver 2.3
[    9.198784] Bluetooth: HCI UART protocol H4 registered
[    9.204831] sdhci: Secure Digital Host Controller Interface driver
[    9.211078] sdhci: Copyright(c) Pierre Ossman
[    9.215449] sdhci-pltfm: SDHCI platform and OF driver helper
[    9.222674] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
[    9.261834] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc]
using ADMA
[    9.270559] sdhci-esdhc-imx 219c000.usdhc: Linked as a consumer to
regulator.23
[    9.312317] mmc1: SDHCI controller on 219c000.usdhc [219c000.usdhc]
using ADMA
[    9.321406] leds-pca953x 0-0062: setting platform data
[    9.329555] leds-pca953x 0-0062: gpios 508...511
[    9.342193] caam 2100000.caam: Entropy delay = 3200
[    9.384183] mmc1: new DDR MMC card at address 0001
[    9.391491] mmcblk3: mmc1:0001 Q2J55L 7.09 GiB
[    9.397946] mmcblk3boot0: mmc1:0001 Q2J55L partition 1 16.0 MiB
[    9.405996] mmcblk3boot1: mmc1:0001 Q2J55L partition 2 16.0 MiB
[    9.407887] caam 2100000.caam: Instantiated RNG4 SH0
[    9.412372] mmcblk1rpmb: mmc1:0001 Q2J55L partition 3 4.00 MiB,
chardev (247:0)
[    9.426692]  mmcblk3: p1 p2
[    9.450457] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    9.457449] ata1.00: ATA-10: ADATA SU800NS38, R0427AC, max UDMA/133
[    9.463784] ata1.00: 250069680 sectors, multi 16: LBA48 NCQ (depth 32)
[    9.468646] caam 2100000.caam: Instantiated RNG4 SH1
[    9.470985] ata1.00: configured for UDMA/133
[    9.475356] caam 2100000.caam: device ID = 0x0a16010000000000 (Era 4)
[    9.480309] scsi 0:0:0:0: Direct-Access     ATA      ADATA
SU800NS38  7AC  PQ: 0 ANSI: 5
[    9.486109] caam 2100000.caam: job rings = 2, qi = 0
[    9.500440] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    9.502828] sd 0:0:0:0: [sda] 250069680 512-byte logical blocks:
(128 GB/119 GiB)
[    9.514605] sd 0:0:0:0: [sda] Write Protect is off
[    9.519428] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    9.519615] sd 0:0:0:0: [sda] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[    9.525366] caam algorithms registered in /proc/crypto
[    9.531304]  sda: sda1 sda2
[    9.539319] sd 0:0:0:0: [sda] Attached SCSI disk
[    9.539813] caam_jr 2101000.jr0: registering rng-caam
[    9.549942] hidraw: raw HID events driver (C) Jiri Kosina
[    9.555665] usbcore: registered new interface driver usbhid
[    9.561283] usbhid: USB HID core driver
[    9.568887] NET: Registered protocol family 10
[    9.575051] Segment Routing with IPv6
[    9.578866] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    9.585961] NET: Registered protocol family 17
[    9.590479] can: controller area network core (rev 20170425 abi 9)
[    9.596811] NET: Registered protocol family 29
[    9.601308] can: raw protocol (rev 20170425)
[    9.605592] can: broadcast manager protocol (rev 20170425 t)
[    9.611298] can: netlink gateway (rev 20170425) max_hops=1
[    9.617070] 8021q: 802.1Q VLAN Support v1.8
[    9.621374] Key type dns_resolver registered
[    9.626321] vddarm: supplied by vdd_arm
[    9.631239] cpu cpu0: Linked as a consumer to regulator.4
[    9.636701] vddpu: supplied by vdd_soc
[    9.641499] cpu cpu0: Linked as a consumer to regulator.5
[    9.646962] vddsoc: supplied by vdd_soc
[    9.651884] cpu cpu0: Linked as a consumer to regulator.6
[    9.665622] cpu cpu0: Not using anatop LDO's: enabling LDO bypass
[    9.695470] Registering SWP/SWPB emulation handler
[    9.701162] Loading compiled-in X.509 certificates
[    9.701528] hub 1-1:1.0: USB hub found
[    9.709899] hub 1-1:1.0: 4 ports detected
[    9.724555] imx-pgc-pd imx-pgc-power-domain.1: Linked as a consumer
to regulator.5
[    9.732273] imx-pgc-pd imx-pgc-power-domain.1: Linked as a consumer
to 20dc000.gpc
[    9.740632] imx_thermal tempmon: Automotive CPU temperature grade -
max:125C critical:120C passive:115C
[    9.753112] rtc-m41t80 0-0068: hctosys: unable to read the hardware clock
[    9.760548] VCC_CAM0: disabling
[    9.763698] flexcan1-reg: disabling
[    9.767197] usb_otg_vbus: disabling
[    9.770727] peb-display: disabling
[    9.775283] vdd_eth_io: disabling
[    9.797362] EXT4-fs (mmcblk3p2): mounted filesystem with ordered
data mode. Opts: (null)
[    9.805576] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    9.814229] devtmpfs: mounted
[    9.819797] Freeing unused kernel memory: 1024K
[    9.840589] Run /sbin/init as init process
[    9.953030] EXT4-fs (mmcblk3p2): re-mounted. Opts: (null)
[   10.040419] usb 1-1.4: new high-speed USB device number 3 using ci_hdrc
[   10.191698] hub 1-1.4:1.0: USB hub found
[   10.195822] hub 1-1.4:1.0: 4 ports detected
[   10.520393] usb 1-1.4.1: new full-speed USB device number 4 using ci_hdrc
[   10.715913] cfg80211: Loading compiled-in X.509 certificates for
regulatory database
[   10.717475] usbcore: registered new interface driver usbserial_generic
[   10.730640] usbserial: USB Serial support registered for generic
[   10.748984] usbcore: registered new interface driver ftdi_sio
[   10.754914] usbserial: USB Serial support registered for FTDI USB
Serial Device
[   10.762608] ftdi_sio 1-1.4.1:1.0: FTDI USB Serial Device converter detected
[   10.769803] usb 1-1.4.1: Detected FT232RL
[   10.772021] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   10.774616] usb 1-1.4.1: FTDI USB Serial Device converter now
attached to ttyUSB0
[   10.849210] ath10k_pci 0000:04:00.0: enabling device (0140 -> 0142)
[   10.856167] ath10k_pci 0000:04:00.0: pci irq msi oper_irq_mode 2
irq_mode 0 reset_mode 0
[   10.989785] xhci_hcd 0000:03:00.0: xHCI Host Controller
[   10.995277] xhci_hcd 0000:03:00.0: new USB bus registered, assigned
bus number 2
[   11.148145] ath10k_pci 0000:04:00.0: qca988x hw2.0 target
0x4100016c chip_id 0x043202ff sub 0000:0000
[   11.157413] ath10k_pci 0000:04:00.0: kconfig debug 1 debugfs 1
tracing 0 dfs 1 testmode 1
[   11.167090] ath10k_pci 0000:04:00.0: firmware ver 10.2.4-1.0-00037
api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 a4a52adb
[   11.216682] ath10k_pci 0000:04:00.0: board_file api 1 bmi_id N/A
crc32 bebc7c08

<This below rcu_stall don't happen if I blacklist xhci_pci.ko module
and insmod it after uPD720202 firmware load)

[   32.040328] rcu: INFO: rcu_sched self-detected stall on CPU
[   32.045923] rcu:     2-....: (1998 ticks this GP)
idle=2de/1/0x40000002 softirq=177/177 fqs=897
[   32.054448] rcu:      (t=2100 jiffies g=-887 q=34)
[   32.058988] NMI backtrace for cpu 2
[   32.062486] CPU: 2 PID: 190 Comm: modprobe Not tainted
4.19.25-bsp-yocto-i.mx6-pd18.1.1 #3
[   32.070753] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[   32.077313] [<c0110738>] (unwind_backtrace) from [<c010bbf4>]
(show_stack+0x10/0x14)
[   32.085073] [<c010bbf4>] (show_stack) from [<c0835458>]
(dump_stack+0x8c/0xac)
[   32.092309] [<c0835458>] (dump_stack) from [<c083b8a0>]
(nmi_cpu_backtrace+0x84/0xbc)
[   32.100150] [<c083b8a0>] (nmi_cpu_backtrace) from [<c083b9dc>]
(nmi_trigger_cpumask_backtrace+0x104/0x130)
[   32.109820] [<c083b9dc>] (nmi_trigger_cpumask_backtrace) from
[<c0179ee4>] (rcu_dump_cpu_stacks+0x94/0xc8)
[   32.119490] [<c0179ee4>] (rcu_dump_cpu_stacks) from [<c01792f0>]
(rcu_check_callbacks+0x66c/0x844)
[   32.128463] [<c01792f0>] (rcu_check_callbacks) from [<c017ea08>]
(update_process_times+0x30/0x6c)
[   32.137352] [<c017ea08>] (update_process_times) from [<c01904cc>]
(tick_sched_timer+0x5c/0xc0)
[   32.145976] [<c01904cc>] (tick_sched_timer) from [<c017fd0c>]
(__hrtimer_run_queues+0x148/0x208)
[   32.154772] [<c017fd0c>] (__hrtimer_run_queues) from [<c0180158>]
(hrtimer_interrupt+0x134/0x2cc)
[   32.163655] [<c0180158>] (hrtimer_interrupt) from [<c010f770>]
(twd_handler+0x2c/0x38)
[   32.171588] [<c010f770>] (twd_handler) from [<c016ce38>]
(handle_percpu_devid_irq+0x98/0x14c)
[   32.180123] [<c016ce38>] (handle_percpu_devid_irq) from
[<c0167a24>] (generic_handle_irq+0x20/0x34)
[   32.189182] [<c0167a24>] (generic_handle_irq) from [<c0168020>]
(__handle_domain_irq+0x64/0xe0)
[   32.197890] [<c0168020>] (__handle_domain_irq) from [<c041de38>]
(gic_handle_irq+0x4c/0xa8)
[   32.206252] [<c041de38>] (gic_handle_irq) from [<c0101a2c>]
(__irq_svc+0x6c/0x90)
[   32.213739] Exception stack(0xeca3dbd0 to 0xeca3dc18)
[   32.218798] dbc0:                                     00000002
00000090 7fffd540 00000002
[   32.226982] dbe0: 00446304 ec4b2140 f0d7c020 00000000 000346dc
c0b21818 ec087078 c0d05148
[   32.235164] dc00: 000014e4 eca3dc20 c0832c1c bf1c6c74 20030013 ffffffff
[   32.241850] [<c0101a2c>] (__irq_svc) from [<bf1c6c74>]
(xhci_reset+0x9c/0x1d8 [xhci_hcd])
[   32.250101] [<bf1c6c74>] (xhci_reset [xhci_hcd]) from [<bf1c7568>]
(xhci_gen_setup+0x1e8/0x480 [xhci_hcd])
[   32.259802] [<bf1c7568>] (xhci_gen_setup [xhci_hcd]) from
[<bf1efaa8>] (xhci_pci_setup+0x40/0x8c [xhci_pci])
[   32.269651] [<bf1efaa8>] (xhci_pci_setup [xhci_pci]) from
[<c05b6f68>] (usb_add_hcd+0x258/0x764)
[   32.278454] [<c05b6f68>] (usb_add_hcd) from [<c05c9270>]
(usb_hcd_pci_probe+0x204/0x368)
[   32.286562] [<c05c9270>] (usb_hcd_pci_probe) from [<bf1ef0b0>]
(xhci_pci_probe+0x2c/0x174 [xhci_pci])
[   32.295801] [<bf1ef0b0>] (xhci_pci_probe [xhci_pci]) from
[<c0440a38>] (pci_device_probe+0xa4/0x138)
[   32.304954] [<c0440a38>] (pci_device_probe) from [<c04bf6d8>]
(really_probe+0x1f0/0x2bc)
[   32.313055] [<c04bf6d8>] (really_probe) from [<c04bf904>]
(driver_probe_device+0x5c/0x160)
[   32.321330] [<c04bf904>] (driver_probe_device) from [<c04bfae4>]
(__driver_attach+0xdc/0xe0)
[   32.329776] [<c04bfae4>] (__driver_attach) from [<c04bd9ec>]
(bus_for_each_dev+0x70/0xb4)
[   32.337966] [<c04bd9ec>] (bus_for_each_dev) from [<c04beb58>]
(bus_add_driver+0x194/0x1f8)
[   32.346241] [<c04beb58>] (bus_add_driver) from [<c04c0444>]
(driver_register+0x74/0x108)
[   32.354342] [<c04c0444>] (driver_register) from [<c0102698>]
(do_one_initcall+0x6c/0x1ac)
[   32.362535] [<c0102698>] (do_one_initcall) from [<c0198db0>]
(do_init_module+0x58/0x1f0)
[   32.370636] [<c0198db0>] (do_init_module) from [<c019b0b4>]
(load_module+0x2104/0x230c)
[   32.378647] [<c019b0b4>] (load_module) from [<c019b504>]
(sys_finit_module+0xbc/0xdc)
[   32.386485] [<c019b504>] (sys_finit_module) from [<c01011d4>]
(__sys_trace_return+0x0/0x10)
[   32.394838] Exception stack(0xeca3dfa8 to 0xeca3dff0)
[   32.399897] dfa0:                   00000000 01253268 00000003
000b8342 00000000 012530b8
[   32.408081] dfc0: 00000000 01253268 01252e28 0000017b 000c9cb0
00000001 012530b8 012532a8
[   32.416262] dfe0: befaac38 befaac28 00027a1c b6f1dbf0
[   49.524438] xhci_hcd 0000:03:00.0: can't setup: -110
[   49.529455] xhci_hcd 0000:03:00.0: USB bus 2 deregistered
[   49.534981] xhci_hcd 0000:03:00.0: init 0000:03:00.0 fail, -110
[   49.541005] xhci_hcd: probe of 0000:03:00.0 failed with error -110
[   49.577131] ath10k_pci 0000:04:00.0: htt-ver 2.1 wmi-op 5 htt-op 2
cal otp max-sta 128 raw 0 hwcrypto 1
[   49.674185] random: dd: uninitialized urandom read (512 bytes read)
[   49.708707] ath: EEPROM regdomain: 0x6a
[   49.708716] ath: EEPROM indicates we should expect a direct regpair map
[   49.708728] ath: Country alpha2 being used: 00
[   49.708731] ath: Regpair used: 0x6a
[   49.756484] random: dbus-uuidgen: uninitialized urandom read (12 bytes read)
[   49.763653] random: dbus-uuidgen: uninitialized urandom read (8 bytes read)
[   65.289080] urandom_read: 2 callbacks suppressed
[   65.289088] random: ssh-keygen: uninitialized urandom read (32 bytes read)
[   65.330131] random: sshd: uninitialized urandom read (32 bytes read)
[  360.132197] random: crng init done


< Loading of uPD720202 firmware here>
# cd /upd72020x-load/
# sh ./check-and-init
Doing the upload
bus = 3
dev = 0
fct = 0
fname = ./K2026.mem
got firmware version: 200000
ERROR: ROM doesnt exist
no EEPROM installed
STATUS: enabling firmware upload
STATUS: performing firmware upload
STATUS: finishing firmware upload
STATUS: confirming firmware upload
 ======> PASSED

[  505.546414] pci 0000:03:00.0: 2.000 Gb/s available PCIe bandwidth,
limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s
with 5 GT/s x1 link)
[  505.604961] pci 0000:03:00.0: BAR 0: assigned [mem
0x01100000-0x01101fff 64bit]
[  505.612430] pci 0000:03:00.0: enabling device (0000 -> 0002)
[  505.618456] xhci_hcd 0000:03:00.0: xHCI Host Controller
[  505.623743] xhci_hcd 0000:03:00.0: new USB bus registered, assigned
bus number 2
[  505.638427] xhci_hcd 0000:03:00.0: hcc params 0x014051cf hci
version 0x100 quirks 0x0000000100000090
[  505.650036] hub 2-0:1.0: USB hub found
[  505.654043] hub 2-0:1.0: 2 ports detected
[  505.659855] xhci_hcd 0000:03:00.0: xHCI Host Controller
[  505.665354] xhci_hcd 0000:03:00.0: new USB bus registered, assigned
bus number 3
[  505.672879] xhci_hcd 0000:03:00.0: Host supports USB 3.0  SuperSpeed
[  505.679421] usb usb3: We don't know the algorithms for LPM for this
host, disabling LPM.
[  505.688555] hub 3-0:1.0: USB hub found
[  505.692429] hub 3-0:1.0: 2 ports detected
#

< Doing lsusb -v never returned, had to kill it >
# /root/lsusb -v
# dmesg
[  573.066231] Unhandled fault: imprecise external abort (0x1406) at 0x02012628
[  573.075162] pgd = 2544a558
[  573.080731] [02012628] *pgd=84185831
[  573.087184] Internal error: : 1406 [#1] SMP ARM
[  573.094304] Modules linked in: xhci_pci xhci_hcd ath10k_pci
ath10k_core mac80211 ath ftdi_sio usbserial cfg80211
[  573.107353] CPU: 3 PID: 504 Comm: lsusb Not tainted
4.19.25-bsp-yocto-i.mx6-pd18.1.1 #3
[  573.117951] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[  573.126681] PC is at xhci_bus_resume+0xbc/0x534 [xhci_hcd]
[  573.134973] LR is at xhci_bus_resume+0x9c/0x534 [xhci_hcd]
[  573.143263] pc : [<bf1d7248>]    lr : [<bf1d7228>]    psr: 200f0093
[  573.151610] sp : ec923cc8  ip : 00000000  fp : ffffe000
[  573.158830] r10: 00000002  r9 : ec703800  r8 : 00000004
[  573.166138] r7 : ecad3000  r6 : 00000000  r5 : eca2ff80  r4 : ecad3000
[  573.174659] r3 : 00000000  r2 : 00000000  r1 : 00000018  r0 : 200f0013
[  573.183272] Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM
Segment none
[  573.192835] Control: 10c5387d  Table: 3ca0804a  DAC: 00000051
[  573.200750] Process lsusb (pid: 504, stack limit = 0x8e3ed15c)
[  573.208750] Stack: (0xec923cc8 to 0xec924000)
[  573.215370] 3cc0:                   00000001 00000008 ec736460
00000340 ecad3140 200f0013
[  573.226150] 3ce0: ecad3170 ec135d40 006000c0 ecad3000 ec703800
eca6c878 c05be2e8 00000004
[  573.237089] 3d00: ec703800 c015a638 ffffe000 c05b8c4c ec703800
00000410 eca6c878 c05be2e8
[  573.247255] 3d20: ec2b3f00 c05bd35c ec703878 00000000 eca6c878
c04ca280 00000004 ec703878
[  573.257509] 3d40: c05be2e8 eca6c878 c0d03d00 ec2b3f00 ec703800
c015a638 ffffe000 c04ca334
[  573.267676] 3d60: ec703878 c05be2e8 eca6c878 c04c9e6c ec923dcc
ec703914 00000001 c02273e0
[  573.277844] 3d80: eccb4ac0 ec08d080 ecafdd34 793301cc ec31a358
ec703878 00000004 ec7038f0
[  573.288011] 3da0: 600f0013 ec2b3f00 ec703800 00000000 ec2b3f00
c04ca0a8 ecae2380 ec703878
[  573.298178] 3dc0: ec703878 ec7038ac ec2b3f00 c05bd994 ecae2380
ec9f1550 ec703878 c05c27bc
[  573.308345] 3de0: c0db5dc4 c0964384 00000000 ec9f1550 c0d05148
ec2b3f00 00000000 c02209a4
[  573.318512] 3e00: 00000080 793301cc ec2b3f00 ec9f1550 00020002
00000000 c02208cc ec2b3f08
[  573.328679] 3e20: 00000000 c0218874 ec923ec0 00000000 00020002
00000000 00000006 ea4775d8
[  573.338847] 3e40: 00000000 c022afb4 00000000 c0d05148 00000000
00000002 00000041 ffffe000
[  573.349099] 3e60: 00000000 00000000 00000000 ec923e6c ec923e6c
793301cc 00000002 ec9f1550
[  573.359267] 3e80: ec34e710 ea477660 00000023 0200f603 00000023
793301cc 00000023 00000009
[  573.369520] 3ea0: ec923f70 c0d05148 00000001 fffff000 ec922000
00000142 0000000c c022d148
[  573.379687] 3ec0: ec34e710 ea477660 d1ef8db8 00000003 ec907021
00000000 00000000 ea24f088
[  573.389856] 3ee0: ec9f1550 00000101 00000002 00000040 00000000
00000000 00000000 ec923f00
[  573.400109] 3f00: 600b0013 ea1146e8 00000000 ec02a180 006000c0
c084ad90 006000c0 00000ff0
[  573.410362] 3f20: 0000000c 793301cc 00000009 00000020 ec907000
00000000 00000000 00000002
[  573.420529] 3f40: ffffff9c c023bbdc 000a0002 793301cc ffffff9c
00000009 c0d05148 ffffff9c
[  573.430784] 3f60: ec907000 c0219ef0 00000142 ec923fb0 00020002
00000000 00000006 00000100
[  573.441038] 3f80: 00000001 793301cc be9c8950 00000000 02018390
00000142 c0101204 ec922000
[  573.451292] 3fa0: 00000142 c01011d4 be9c8950 00000000 ffffff9c
be9c8950 000a0002 00000000
[  573.461546] 3fc0: be9c8950 00000000 02018390 00000142 0200f368
00000002 b6f65e6c 0000000c
[  573.471799] 3fe0: 00000000 be9c8918 b6f967a0 b6e96bc8 800f0010
ffffff9c 00000000 00000000
[  573.482096] [<bf1d7248>] (xhci_bus_resume [xhci_hcd]) from
[<c05b8c4c>] (hcd_bus_resume+0x54/0x1a4)
[  573.493967] [<c05b8c4c>] (hcd_bus_resume) from [<c05bd35c>]
(usb_resume_both+0xa0/0x134)
[  573.504653] [<c05bd35c>] (usb_resume_both) from [<c04ca280>]
(__rpm_callback+0x158/0x1ec)
[  573.515335] [<c04ca280>] (__rpm_callback) from [<c04ca334>]
(rpm_callback+0x20/0x80)
[  573.523082] [<c04ca334>] (rpm_callback) from [<c04c9e6c>]
(rpm_resume+0x4d8/0x6b4)
[  573.530656] [<c04c9e6c>] (rpm_resume) from [<c04ca0a8>]
(__pm_runtime_resume+0x60/0x8c)
[  573.538665] [<c04ca0a8>] (__pm_runtime_resume) from [<c05bd994>]
(usb_autoresume_device+0x14/0x3c)
[  573.547634] [<c05bd994>] (usb_autoresume_device) from [<c05c27bc>]
(usbdev_open+0xb0/0x214)
[  573.555993] [<c05c27bc>] (usbdev_open) from [<c02209a4>]
(chrdev_open+0xd8/0x1ac)
[  573.563488] [<c02209a4>] (chrdev_open) from [<c0218874>]
(do_dentry_open+0x114/0x38c)
[  573.571328] [<c0218874>] (do_dentry_open) from [<c022afb4>]
(path_openat+0x2b0/0x1304)
[  573.579251] [<c022afb4>] (path_openat) from [<c022d148>]
(do_filp_open+0x6c/0xd8)
[  573.586741] [<c022d148>] (do_filp_open) from [<c0219ef0>]
(do_sys_open+0x150/0x1f0)
[  573.594405] [<c0219ef0>] (do_sys_open) from [<c01011d4>]
(__sys_trace_return+0x0/0x10)
[  573.602322] Exception stack(0xec923fa8 to 0xec923ff0)
[  573.607378] 3fa0:                   be9c8950 00000000 ffffff9c
be9c8950 000a0002 00000000
[  573.615558] 3fc0: be9c8950 00000000 02018390 00000142 0200f368
00000002 b6f65e6c 0000000c
[  573.623737] 3fe0: 00000000 be9c8918 b6f967a0 b6e96bc8
[  573.628795] Code: e597214c e5926000 e3a02000 ee072f9a (e3c66004)
[  573.634894] ---[ end trace 2247f322516b4181 ]---
#

Thanks in advance,

-- Fawad Lateef

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Unhandled fault: imprecise external abort (0x1406) when loading xhci_pci.ko - uPD720202, PEX8605, iMX6Q and linux-4.19.25
  2019-08-01  8:18   ` Unhandled fault: imprecise external abort (0x1406) when loading xhci_pci.ko - uPD720202, PEX8605, iMX6Q and linux-4.19.25 Fawad Lateef
@ 2019-08-01 17:17     ` Bjorn Helgaas
  2019-08-02  8:22       ` AW: " Schmid, Carsten
  2019-08-02 10:55       ` Fawad Lateef
  0 siblings, 2 replies; 10+ messages in thread
From: Bjorn Helgaas @ 2019-08-01 17:17 UTC (permalink / raw)
  To: Fawad Lateef
  Cc: linux-pci, linux-usb, Richard Zhu, Lucas Stach, Shawn Guo, Sascha Hauer

[+cc i.MX6 folks]

On Thu, Aug 01, 2019 at 10:18:22AM +0200, Fawad Lateef wrote:
> Hi everyone,
> 
> I am trying to get Renesas uPD720202 USB3.0 hub working which is
> connected PCIe switch (PEX8605); PEX8605 is connected to i.MX6Q
> through its x1 PCIe Gen2 interface. Running Linux-4.19.25 vanilla
> kernel with patches from Phytec.de for their Phycore-iMX6Q SOM.
> 
> We have 2x PEX8605 ports connected to mPCIe slots and 2x WLAN modules
> (QCA9880) working perfectly.
> 
> Facing kernel "Unhandled fault: imprecise external abort (0x1406)"
> when trying to load xhci_pci.ko module for uPD720202. Receiving this
> fault straight-away when driver trying to setup device.
> 
> uPD720202 don't have external EEPROM support, so I have to load
> firmware in chips memory before loading the driver. Sometimes after
> loading the driver, I see the USB3.0 hub but then doing "lsusb -v"
> crashes the driver with same above mentioned fault.

I'm guessing this is an MMIO read to the xHCI that failed.  When an
MIMO read fails, most systems just return 0xffffffff data without
causing an exception.

Can you tell if the external abort is related to a CPU memory access?
If so, can you find the address?  If it's an MMIO access to the xHCI,
it should be in the [mem 0x01100000-0x01101fff 64bit] range assigned
to its BAR 0, but I didn't see any likely looking addresses in the
dump.

> Tried to disable DMA from kernel configuration but still same result.
> From hardware side verified the RESET pins for PEX8605 and uPD720202
> chips but no change.
> 
> Also wanted to read PCIe switch registers using I2C interface but have
> to figure-out how to do that (saw some patches email from Rajat Jain
> from 2014 but seems like can't find the patch attachment anywhere on
> Google).
> 
> The kernel log is below. Any help or pointers in solving this problem
> will be much appreciated.
> 
> [    0.000000] Booting Linux on physical CPU 0x0
> [    0.000000] Linux version 4.19.25-bsp-yocto-i.mx6-pd18.1.1
> (br-user@flateef-XPS-13-9360) (gcc version 8.2.0 (Buildroot
> 2018.11.4-gebef590b)) #3 SMP Wed Jul 31 11:13:06 UTC 2019
> [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
> [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing
> instruction cache
> [    0.000000] OF: fdt: Machine model: PHYTEC phyBOARD-Mira Quad full
> featured with eMMC
> [    0.000000] Memory policy: Data cache writealloc
> [    0.000000] cma: Reserved 128 MiB at 0x86000000
> [    0.000000] On node 0 totalpages: 524288
> [    0.000000]   Normal zone: 1536 pages used for memmap
> [    0.000000]   Normal zone: 0 pages reserved
> [    0.000000]   Normal zone: 196608 pages, LIFO batch:63
> [    0.000000]   HighMem zone: 327680 pages, LIFO batch:63
> [    0.000000] random: get_random_bytes called from
> start_kernel+0x88/0x3f8 with crng_init=0
> [    0.000000] percpu: Embedded 16 pages/cpu @(ptrval) s34828 r8192
> d22516 u65536
> [    0.000000] pcpu-alloc: s34828 r8192 d22516 u65536 alloc=16*4096
> [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
> [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 522752
> [    0.000000] Kernel command line:  console=ttymxc1,115200n8
> root=/dev/mmcblk3p2 rootwait rw
> [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
> [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
> [    0.000000] Memory: 1934476K/2097152K available (8192K kernel code,
> 357K rwdata, 2464K rodata, 1024K init, 398K bss, 31604K reserved,
> 131072K cma-reserved, 1178732K highmem)
> [    0.000000] Virtual kernel memory layout:
> [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
> [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
> [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
> [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
> [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
> [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
> [    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (9184 kB)
> [    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
> [    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 358 kB)
> [    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 399 kB)
> [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
> [    0.000000] rcu: Hierarchical RCU implementation.
> [    0.000000] rcu:     RCU event tracing is enabled.
> [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
> [    0.000000] L2C-310 errata 752271 769419 enabled
> [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
> [    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
> [    0.000000] L2C-310 ID prefetch enabled, offset 16 lines
> [    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
> [    0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB
> [    0.000000] L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76470001
> [    0.000000] Switching to timer-based delay loop, resolution 333ns
> [    0.000015] sched_clock: 32 bits at 3000kHz, resolution 333ns,
> wraps every 715827882841ns
> [    0.000049] clocksource: mxc_timer1: mask: 0xffffffff max_cycles:
> 0xffffffff, max_idle_ns: 637086815595 ns
> [    0.002812] Console: colour dummy device 80x30
> [    0.002873] Calibrating delay loop (skipped), value calculated
> using timer frequency.. 6.00 BogoMIPS (lpj=30000)
> [    0.002903] pid_max: default: 32768 minimum: 301
> [    0.003188] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
> [    0.003229] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
> [    0.004259] CPU: Testing write buffer coherency: ok
> [    0.004319] CPU0: Spectre v2: using BPIALL workaround
> [    0.004991] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
> [    0.006092] Setting up static identity map for 0x10100000 - 0x10100078
> [    0.006363] rcu: Hierarchical SRCU implementation.
> [    0.007568] smp: Bringing up secondary CPUs ...
> [    0.008817] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
> [    0.008827] CPU1: Spectre v2: using BPIALL workaround
> [    0.010352] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
> [    0.010364] CPU2: Spectre v2: using BPIALL workaround
> [    0.011759] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
> [    0.011770] CPU3: Spectre v2: using BPIALL workaround
> [    0.011973] smp: Brought up 1 node, 4 CPUs
> [    0.011997] SMP: Total of 4 processors activated (24.00 BogoMIPS).
> [    0.012014] CPU: All CPU(s) started in SVC mode.
> [    0.013747] devtmpfs: initialized
> [    0.031282] VFP support v0.3: implementor 41 architecture 3 part 30
> variant 9 rev 4
> [    0.031759] clocksource: jiffies: mask: 0xffffffff max_cycles:
> 0xffffffff, max_idle_ns: 19112604462750000 ns
> [    0.031800] futex hash table entries: 1024 (order: 4, 65536 bytes)
> [    0.044378] pinctrl core: initialized pinctrl subsystem
> [    0.046052] NET: Registered protocol family 16
> [    0.058858] DMA: preallocated 256 KiB pool for atomic coherent allocations
> [    0.059733] audit: initializing netlink subsys (disabled)
> [    0.060061] audit: type=2000 audit(0.060:1): state=initialized
> audit_enabled=0 res=1
> [    0.061065] CPU identified as i.MX6Q, silicon rev 1.5
> [    0.071628] vdd1p1: supplied by regulator-dummy
> [    0.072504] vdd3p0: supplied by regulator-dummy
> [    0.073315] vdd2p5: supplied by regulator-dummy
> [    0.093445] No ATAGs?
> [    0.093674] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1
> watchpoint registers.
> [    0.093704] hw-breakpoint: maximum watchpoint size is 4 bytes.
> [    0.096202] imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
> [    0.134079] mxs-dma 110000.dma-apbh: initialized
> [    0.141747] SCSI subsystem initialized
> [    0.142183] libata version 3.00 loaded.
> [    0.142561] usbcore: registered new interface driver usbfs
> [    0.142661] usbcore: registered new interface driver hub
> [    0.142816] usbcore: registered new device driver usb
> [    0.145330] i2c i2c-0: IMX I2C adapter registered
> [    0.145364] i2c i2c-0: can't use DMA, using PIO instead.
> [    0.146253] i2c i2c-1: IMX I2C adapter registered
> [    0.146285] i2c i2c-1: can't use DMA, using PIO instead.
> [    0.147511] i2c i2c-2: IMX I2C adapter registered
> [    0.147543] i2c i2c-2: can't use DMA, using PIO instead.
> [    0.147877] pps_core: LinuxPPS API ver. 1 registered
> [    0.147898] pps_core: Software ver. 5.3.6 - Copyright 2005-2007
> Rodolfo Giometti <giometti@linux.it>
> [    0.147942] PTP clock support registered
> [    0.149207] Bluetooth: Core ver 2.22
> [    0.149351] NET: Registered protocol family 31
> [    0.149371] Bluetooth: HCI device and connection manager initialized
> [    0.149400] Bluetooth: HCI socket layer initialized
> [    0.149421] Bluetooth: L2CAP socket layer initialized
> [    0.149488] Bluetooth: SCO socket layer initialized
> [    0.150351] clocksource: Switched to clocksource mxc_timer1
> [    0.150704] VFS: Disk quotas dquot_6.6.0
> [    0.150854] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> [    0.167130] NET: Registered protocol family 2
> [    0.168273] tcp_listen_portaddr_hash hash table entries: 512
> (order: 0, 6144 bytes)
> [    0.168336] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
> [    0.168506] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
> [    0.168780] TCP: Hash tables configured (established 8192 bind 8192)
> [    0.169113] UDP hash table entries: 512 (order: 2, 16384 bytes)
> [    0.169195] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
> [    0.169686] NET: Registered protocol family 1
> [    0.170642] RPC: Registered named UNIX socket transport module.
> [    0.170663] RPC: Registered udp transport module.
> [    0.170677] RPC: Registered tcp transport module.
> [    0.170692] RPC: Registered tcp NFSv4.1 backchannel transport module.
> [    0.170715] PCI: CLS 0 bytes, default 64
> [    0.171954] hw perfevents: no interrupt-affinity property for /pmu, guessing.
> [    0.172349] hw perfevents: enabled with armv7_cortex_a9 PMU driver,
> 7 counters available
> [    0.175261] Initialise system trusted keyrings
> [    0.175573] workingset: timestamp_bits=30 max_order=19 bucket_order=0
> [    0.184016] squashfs: version 4.0 (2009/01/31) Phillip Lougher
> [    0.185099] NFS: Registering the id_resolver key type
> [    0.185145] Key type id_resolver registered
> [    0.185163] Key type id_legacy registered
> [    0.185238] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
> [    0.186012] fuse init (API version 7.27)
> [    0.195230] Key type asymmetric registered
> [    0.195255] Asymmetric key parser 'x509' registered
> [    0.195358] bounce: pool size: 64 pages
> [    0.195390] io scheduler noop registered
> [    0.195407] io scheduler deadline registered
> [    0.195663] io scheduler cfq registered (default)
> [    0.195687] io scheduler mq-deadline registered
> [    0.195704] io scheduler kyber registered

> [    0.199805] imx6q-pcie 1ffc000.pcie: Linked as a consumer to regulator.12
> [    0.199899] imx6q-pcie 1ffc000.pcie: host bridge /soc/pcie@1ffc000 ranges:
> [    0.199964] imx6q-pcie 1ffc000.pcie:    IO 0x01f80000..0x01f8ffff
> -> 0x00000000
> [    0.200006] imx6q-pcie 1ffc000.pcie:   MEM 0x01000000..0x01efffff
> -> 0x01000000
> [    0.420529] imx6q-pcie 1ffc000.pcie: Link up
> [    0.420554] imx6q-pcie 1ffc000.pcie: Link: Gen2 disabled
> [    0.420575] imx6q-pcie 1ffc000.pcie: Link up, Gen1
> [    0.420902] imx6q-pcie 1ffc000.pcie: PCI host bridge to bus 0000:00
> [    0.420934] pci_bus 0000:00: root bus resource [bus 00-ff]
> [    0.420959] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
> [    0.420982] pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff]
> [    0.421051] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400
> [    0.421106] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
> [    0.421133] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
> [    0.421237] pci 0000:00:00.0: supports D1
> [    0.421252] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold
> [    0.431113] PCI: bus0: Fast back to back transfers disabled
> [    0.431458] pci 0000:01:00.0: [10b5:8605] type 01 class 0x060400
> [    0.431685] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff]
> [    0.432403] pci 0000:01:00.0: supports D1 D2
> [    0.432418] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
> [    0.432622] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth,
> limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s
> with 5 GT/s x1 link)
> [    0.469726] PCI: bus1: Fast back to back transfers disabled
> [    0.469770] pci 0000:01:00.0: bridge configuration invalid ([bus
> 00-00]), reconfiguring
> [    0.470736] pci 0000:02:01.0: [10b5:8605] type 01 class 0x060400
> [    0.471649] pci 0000:02:01.0: supports D1 D2
> [    0.471663] pci 0000:02:01.0: PME# supported from D0 D1 D2 D3hot D3cold
> [    0.472678] pci 0000:02:02.0: [10b5:8605] type 01 class 0x060400
> [    0.473584] pci 0000:02:02.0: supports D1 D2
> [    0.473598] pci 0000:02:02.0: PME# supported from D0 D1 D2 D3hot D3cold
> [    0.474617] pci 0000:02:03.0: [10b5:8605] type 01 class 0x060400
> [    0.475520] pci 0000:02:03.0: supports D1 D2
> [    0.475534] pci 0000:02:03.0: PME# supported from D0 D1 D2 D3hot D3cold
> [    0.485021] PCI: bus2: Fast back to back transfers disabled
> [    0.485062] pci 0000:02:01.0: bridge configuration invalid ([bus
> 00-00]), reconfiguring
> [    0.485132] pci 0000:02:02.0: bridge configuration invalid ([bus
> 00-00]), reconfiguring
> [    0.485199] pci 0000:02:03.0: bridge configuration invalid ([bus
> 00-00]), reconfiguring
> [    0.485764] pci 0000:03:00.0: [1912:0015] type 00 class 0x0c0330
> [    0.485993] pci 0000:03:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
> [    0.486752] pci 0000:03:00.0: PME# supported from D0 D3hot
> [    0.487022] pci 0000:03:00.0: 2.000 Gb/s available PCIe bandwidth,
> limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s
> with 5 GT/s x1 link)
> [    0.549694] PCI: bus3: Fast back to back transfers disabled
> [    0.549732] pci_bus 0000:03: busn_res: [bus 03-ff] end is updated to 03
> [    0.550287] pci 0000:04:00.0: [168c:003c] type 00 class 0x028000
> [    0.550576] pci 0000:04:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
> [    0.550832] pci 0000:04:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
> [    0.551344] pci 0000:04:00.0: supports D1 D2
> [    0.551360] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
> [    0.561547] PCI: bus4: Fast back to back transfers disabled
> [    0.561583] pci_bus 0000:04: busn_res: [bus 04-ff] end is updated to 04
> [    0.571176] PCI: bus5: Fast back to back transfers enabled
> [    0.571210] pci_bus 0000:05: busn_res: [bus 05-ff] end is updated to 05
> [    0.571256] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 05
> [    0.571586] pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff]
> [    0.571620] pci 0000:00:00.0: BAR 8: assigned [mem 0x01100000-0x016fffff]
> [    0.571647] pci 0000:00:00.0: BAR 9: assigned [mem
> 0x01700000-0x018fffff pref]
> [    0.571672] pci 0000:00:00.0: BAR 6: assigned [mem
> 0x01900000-0x0190ffff pref]
> [    0.571695] pci 0000:00:00.0: BAR 7: assigned [io  0x1000-0x1fff]
> [    0.571727] pci 0000:01:00.0: BAR 8: assigned [mem 0x01100000-0x015fffff]
> [    0.571751] pci 0000:01:00.0: BAR 9: assigned [mem
> 0x01700000-0x018fffff 64bit pref]
> [    0.571773] pci 0000:01:00.0: BAR 0: assigned [mem 0x01600000-0x01603fff]
> [    0.571816] pci 0000:01:00.0: BAR 7: assigned [io  0x1000-0x1fff]
> [    0.571849] pci 0000:02:01.0: BAR 8: assigned [mem 0x01100000-0x012fffff]
> [    0.571872] pci 0000:02:01.0: BAR 9: assigned [mem
> 0x01700000-0x018fffff 64bit pref]
> [    0.571896] pci 0000:02:02.0: BAR 8: assigned [mem 0x01300000-0x015fffff]
> [    0.571917] pci 0000:02:01.0: BAR 7: assigned [io  0x1000-0x1fff]
> [    0.571945] pci 0000:03:00.0: BAR 0: assigned [mem
> 0x01100000-0x01101fff 64bit]
> [    0.572040] pci 0000:02:01.0: PCI bridge to [bus 03]
> [    0.572071] pci 0000:02:01.0:   bridge window [io  0x1000-0x1fff]
> [    0.572119] pci 0000:02:01.0:   bridge window [mem 0x01100000-0x012fffff]
> [    0.572157] pci 0000:02:01.0:   bridge window [mem
> 0x01700000-0x018fffff 64bit pref]
> [    0.572221] pci 0000:04:00.0: BAR 0: assigned [mem
> 0x01400000-0x015fffff 64bit]
> [    0.572313] pci 0000:04:00.0: BAR 6: assigned [mem
> 0x01300000-0x0130ffff pref]
> [    0.572334] pci 0000:02:02.0: PCI bridge to [bus 04]
> [    0.572380] pci 0000:02:02.0:   bridge window [mem 0x01300000-0x015fffff]
> [    0.572454] pci 0000:02:03.0: PCI bridge to [bus 05]
> [    0.572552] pci 0000:01:00.0: PCI bridge to [bus 02-05]
> [    0.572580] pci 0000:01:00.0:   bridge window [io  0x1000-0x1fff]
> [    0.572626] pci 0000:01:00.0:   bridge window [mem 0x01100000-0x015fffff]
> [    0.572663] pci 0000:01:00.0:   bridge window [mem
> 0x01700000-0x018fffff 64bit pref]
> [    0.572716] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
> [    0.572735] pci 0000:00:00.0:   bridge window [io  0x1000-0x1fff]
> [    0.572757] pci 0000:00:00.0:   bridge window [mem 0x01100000-0x016fffff]
> [    0.572777] pci 0000:00:00.0:   bridge window [mem
> 0x01700000-0x018fffff pref]
> [    0.573483] pcieport 0000:00:00.0: Signaling PME with IRQ 296
> [    0.573835] pcieport 0000:00:00.0: AER enabled with IRQ 296
> [    0.574202] pcieport 0000:01:00.0: enabling device (0140 -> 0143)
> [    0.576139] pcieport 0000:02:01.0: enabling device (0140 -> 0143)
> [    0.578257] pcieport 0000:02:02.0: enabling device (0140 -> 0142)
> [    0.581817] pci 0000:03:00.0: enabling device (0140 -> 0142)
> [    7.527313] pci 0000:03:00.0: xHCI HW not ready after 5 sec (HC
> bug?) status = 0x801
> [    7.527485] pci 0000:03:00.0: quirk_usb_early_handoff+0x0/0x80c
> took 6782847 usecs
> [    7.531041] imx-sdma 20ec000.sdma: loaded firmware 3.3
> [    7.536911] imx-pgc-pd imx-pgc-power-domain.0: DMA mask not set
> [    7.537029] imx-pgc-pd imx-pgc-power-domain.0: Linked as a consumer
> to 20dc000.gpc
> [    7.537137] imx-pgc-pd imx-pgc-power-domain.1: DMA mask not set
> [    7.539524] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 63,
> base_baud = 5000000) is a IMX
> [    8.735339] console [ttymxc1] enabled
> [    8.740143] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 64,
> base_baud = 5000000) is a IMX
> [    8.766636] brd: module loaded
> [    8.786902] loop: module loaded
> [    8.791356] at24 2-0050: 4096 byte 24c32 EEPROM, writable, 1 bytes/write
> [    8.801418] da9062 2-0058: Device detected (device-ID: 0x62,
> var-ID: 0x22, DA9062)
> [    8.836209] vdd_snvs: Bringing 3100000uV into 3000000-3000000uV
> [    8.842493] random: fast init done
> [    8.849376] vdd_high: Bringing 3100000uV into 3000000-3000000uV
> [    8.859173] vdd_eth_io: Bringing 2600000uV into 2500000-2500000uV
> [    8.868280] vdd_emmc: Bringing 1900000uV into 1800000-1800000uV
> [    8.879983] ahci-imx 2200000.sata: fsl,transmit-level-mV not
> specified, using 00000024
> [    8.887987] ahci-imx 2200000.sata: fsl,transmit-boost-mdB not
> specified, using 00000480
> [    8.896071] ahci-imx 2200000.sata: fsl,transmit-atten-16ths not
> specified, using 00002000
> [    8.904307] ahci-imx 2200000.sata: fsl,receive-eq-mdB not
> specified, using 05000000
> [    8.915070] ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled
> [    8.922155] ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports
> 3 Gbps 0x1 impl platform mode
> [    8.931006] ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo
> only pmp pio slum part ccc apst
> [    8.942593] scsi host0: ahci-imx
> [    8.946389] ata1: SATA max UDMA/133 mmio [mem
> 0x02200000-0x02203fff] port 0x100 irq 67
> [    8.962342] m25p80 spi0.0: n25q128a13 (16384 Kbytes)
> [    8.969007] spi_imx 2008000.ecspi: probed
> [    8.974411] libphy: Fixed MDIO Bus: probed
> [    8.979382] CAN device driver interface
> [    8.986038] usbcore: registered new interface driver asix
> [    8.991578] usbcore: registered new interface driver ax88179_178a
> [    8.997747] usbcore: registered new interface driver cdc_ether
> [    9.003697] usbcore: registered new interface driver net1080
> [    9.009430] usbcore: registered new interface driver cdc_subset
> [    9.015466] usbcore: registered new interface driver zaurus
> [    9.021189] usbcore: registered new interface driver cdc_ncm
> [    9.026862] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> [    9.033434] ehci-pci: EHCI PCI platform driver
> [    9.038000] ehci-platform: EHCI generic platform driver
> [    9.043770] ehci-mxc: Freescale On-Chip EHCI Host driver
> [    9.049668] usbcore: registered new interface driver usb-storage
> [    9.058946] imx_usb 2184000.usb: Linked as a consumer to regulator.14
> [    9.071501] imx_usb 2184200.usb: Linked as a consumer to regulator.13
> [    9.081344] ci_hdrc ci_hdrc.1: EHCI Host Controller
> [    9.086283] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
> [    9.120413] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
> [    9.127076] hub 1-0:1.0: USB hub found
> [    9.130967] hub 1-0:1.0: 1 port detected
> [    9.139528] da9063-rtc da9062-rtc: DMA mask not set
> [    9.154230] da9063-rtc da9062-rtc: rtc core: registered da9063-rtc as rtc1
> [    9.169336] rtc-m41t80 0-0068: registered as rtc0
> [    9.176016] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered
> 20cc000.snvs:snvs-rtc-lp as rtc2
> [    9.185537] i2c /dev entries driver
> [    9.194316] Bluetooth: HCI UART driver ver 2.3
> [    9.198784] Bluetooth: HCI UART protocol H4 registered
> [    9.204831] sdhci: Secure Digital Host Controller Interface driver
> [    9.211078] sdhci: Copyright(c) Pierre Ossman
> [    9.215449] sdhci-pltfm: SDHCI platform and OF driver helper
> [    9.222674] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
> [    9.261834] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc]
> using ADMA
> [    9.270559] sdhci-esdhc-imx 219c000.usdhc: Linked as a consumer to
> regulator.23
> [    9.312317] mmc1: SDHCI controller on 219c000.usdhc [219c000.usdhc]
> using ADMA
> [    9.321406] leds-pca953x 0-0062: setting platform data
> [    9.329555] leds-pca953x 0-0062: gpios 508...511
> [    9.342193] caam 2100000.caam: Entropy delay = 3200
> [    9.384183] mmc1: new DDR MMC card at address 0001
> [    9.391491] mmcblk3: mmc1:0001 Q2J55L 7.09 GiB
> [    9.397946] mmcblk3boot0: mmc1:0001 Q2J55L partition 1 16.0 MiB
> [    9.405996] mmcblk3boot1: mmc1:0001 Q2J55L partition 2 16.0 MiB
> [    9.407887] caam 2100000.caam: Instantiated RNG4 SH0
> [    9.412372] mmcblk1rpmb: mmc1:0001 Q2J55L partition 3 4.00 MiB,
> chardev (247:0)
> [    9.426692]  mmcblk3: p1 p2
> [    9.450457] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> [    9.457449] ata1.00: ATA-10: ADATA SU800NS38, R0427AC, max UDMA/133
> [    9.463784] ata1.00: 250069680 sectors, multi 16: LBA48 NCQ (depth 32)
> [    9.468646] caam 2100000.caam: Instantiated RNG4 SH1
> [    9.470985] ata1.00: configured for UDMA/133
> [    9.475356] caam 2100000.caam: device ID = 0x0a16010000000000 (Era 4)
> [    9.480309] scsi 0:0:0:0: Direct-Access     ATA      ADATA
> SU800NS38  7AC  PQ: 0 ANSI: 5
> [    9.486109] caam 2100000.caam: job rings = 2, qi = 0
> [    9.500440] usb 1-1: new high-speed USB device number 2 using ci_hdrc
> [    9.502828] sd 0:0:0:0: [sda] 250069680 512-byte logical blocks:
> (128 GB/119 GiB)
> [    9.514605] sd 0:0:0:0: [sda] Write Protect is off
> [    9.519428] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
> [    9.519615] sd 0:0:0:0: [sda] Write cache: enabled, read cache:
> enabled, doesn't support DPO or FUA
> [    9.525366] caam algorithms registered in /proc/crypto
> [    9.531304]  sda: sda1 sda2
> [    9.539319] sd 0:0:0:0: [sda] Attached SCSI disk
> [    9.539813] caam_jr 2101000.jr0: registering rng-caam
> [    9.549942] hidraw: raw HID events driver (C) Jiri Kosina
> [    9.555665] usbcore: registered new interface driver usbhid
> [    9.561283] usbhid: USB HID core driver
> [    9.568887] NET: Registered protocol family 10
> [    9.575051] Segment Routing with IPv6
> [    9.578866] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
> [    9.585961] NET: Registered protocol family 17
> [    9.590479] can: controller area network core (rev 20170425 abi 9)
> [    9.596811] NET: Registered protocol family 29
> [    9.601308] can: raw protocol (rev 20170425)
> [    9.605592] can: broadcast manager protocol (rev 20170425 t)
> [    9.611298] can: netlink gateway (rev 20170425) max_hops=1
> [    9.617070] 8021q: 802.1Q VLAN Support v1.8
> [    9.621374] Key type dns_resolver registered
> [    9.626321] vddarm: supplied by vdd_arm
> [    9.631239] cpu cpu0: Linked as a consumer to regulator.4
> [    9.636701] vddpu: supplied by vdd_soc
> [    9.641499] cpu cpu0: Linked as a consumer to regulator.5
> [    9.646962] vddsoc: supplied by vdd_soc
> [    9.651884] cpu cpu0: Linked as a consumer to regulator.6
> [    9.665622] cpu cpu0: Not using anatop LDO's: enabling LDO bypass
> [    9.695470] Registering SWP/SWPB emulation handler
> [    9.701162] Loading compiled-in X.509 certificates
> [    9.701528] hub 1-1:1.0: USB hub found
> [    9.709899] hub 1-1:1.0: 4 ports detected
> [    9.724555] imx-pgc-pd imx-pgc-power-domain.1: Linked as a consumer
> to regulator.5
> [    9.732273] imx-pgc-pd imx-pgc-power-domain.1: Linked as a consumer
> to 20dc000.gpc
> [    9.740632] imx_thermal tempmon: Automotive CPU temperature grade -
> max:125C critical:120C passive:115C
> [    9.753112] rtc-m41t80 0-0068: hctosys: unable to read the hardware clock
> [    9.760548] VCC_CAM0: disabling
> [    9.763698] flexcan1-reg: disabling
> [    9.767197] usb_otg_vbus: disabling
> [    9.770727] peb-display: disabling
> [    9.775283] vdd_eth_io: disabling
> [    9.797362] EXT4-fs (mmcblk3p2): mounted filesystem with ordered
> data mode. Opts: (null)
> [    9.805576] VFS: Mounted root (ext4 filesystem) on device 179:2.
> [    9.814229] devtmpfs: mounted
> [    9.819797] Freeing unused kernel memory: 1024K
> [    9.840589] Run /sbin/init as init process
> [    9.953030] EXT4-fs (mmcblk3p2): re-mounted. Opts: (null)
> [   10.040419] usb 1-1.4: new high-speed USB device number 3 using ci_hdrc
> [   10.191698] hub 1-1.4:1.0: USB hub found
> [   10.195822] hub 1-1.4:1.0: 4 ports detected
> [   10.520393] usb 1-1.4.1: new full-speed USB device number 4 using ci_hdrc
> [   10.715913] cfg80211: Loading compiled-in X.509 certificates for
> regulatory database
> [   10.717475] usbcore: registered new interface driver usbserial_generic
> [   10.730640] usbserial: USB Serial support registered for generic
> [   10.748984] usbcore: registered new interface driver ftdi_sio
> [   10.754914] usbserial: USB Serial support registered for FTDI USB
> Serial Device
> [   10.762608] ftdi_sio 1-1.4.1:1.0: FTDI USB Serial Device converter detected
> [   10.769803] usb 1-1.4.1: Detected FT232RL
> [   10.772021] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
> [   10.774616] usb 1-1.4.1: FTDI USB Serial Device converter now
> attached to ttyUSB0
> [   10.849210] ath10k_pci 0000:04:00.0: enabling device (0140 -> 0142)
> [   10.856167] ath10k_pci 0000:04:00.0: pci irq msi oper_irq_mode 2
> irq_mode 0 reset_mode 0
> [   10.989785] xhci_hcd 0000:03:00.0: xHCI Host Controller
> [   10.995277] xhci_hcd 0000:03:00.0: new USB bus registered, assigned
> bus number 2
> [   11.148145] ath10k_pci 0000:04:00.0: qca988x hw2.0 target
> 0x4100016c chip_id 0x043202ff sub 0000:0000
> [   11.157413] ath10k_pci 0000:04:00.0: kconfig debug 1 debugfs 1
> tracing 0 dfs 1 testmode 1
> [   11.167090] ath10k_pci 0000:04:00.0: firmware ver 10.2.4-1.0-00037
> api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 a4a52adb
> [   11.216682] ath10k_pci 0000:04:00.0: board_file api 1 bmi_id N/A
> crc32 bebc7c08
> 
> <This below rcu_stall don't happen if I blacklist xhci_pci.ko module
> and insmod it after uPD720202 firmware load)
> 
> [   32.040328] rcu: INFO: rcu_sched self-detected stall on CPU
> [   32.045923] rcu:     2-....: (1998 ticks this GP)
> idle=2de/1/0x40000002 softirq=177/177 fqs=897
> [   32.054448] rcu:      (t=2100 jiffies g=-887 q=34)
> [   32.058988] NMI backtrace for cpu 2
> [   32.062486] CPU: 2 PID: 190 Comm: modprobe Not tainted
> 4.19.25-bsp-yocto-i.mx6-pd18.1.1 #3
> [   32.070753] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
> [   32.077313] [<c0110738>] (unwind_backtrace) from [<c010bbf4>]
> (show_stack+0x10/0x14)
> [   32.085073] [<c010bbf4>] (show_stack) from [<c0835458>]
> (dump_stack+0x8c/0xac)
> [   32.092309] [<c0835458>] (dump_stack) from [<c083b8a0>]
> (nmi_cpu_backtrace+0x84/0xbc)
> [   32.100150] [<c083b8a0>] (nmi_cpu_backtrace) from [<c083b9dc>]
> (nmi_trigger_cpumask_backtrace+0x104/0x130)
> [   32.109820] [<c083b9dc>] (nmi_trigger_cpumask_backtrace) from
> [<c0179ee4>] (rcu_dump_cpu_stacks+0x94/0xc8)
> [   32.119490] [<c0179ee4>] (rcu_dump_cpu_stacks) from [<c01792f0>]
> (rcu_check_callbacks+0x66c/0x844)
> [   32.128463] [<c01792f0>] (rcu_check_callbacks) from [<c017ea08>]
> (update_process_times+0x30/0x6c)
> [   32.137352] [<c017ea08>] (update_process_times) from [<c01904cc>]
> (tick_sched_timer+0x5c/0xc0)
> [   32.145976] [<c01904cc>] (tick_sched_timer) from [<c017fd0c>]
> (__hrtimer_run_queues+0x148/0x208)
> [   32.154772] [<c017fd0c>] (__hrtimer_run_queues) from [<c0180158>]
> (hrtimer_interrupt+0x134/0x2cc)
> [   32.163655] [<c0180158>] (hrtimer_interrupt) from [<c010f770>]
> (twd_handler+0x2c/0x38)
> [   32.171588] [<c010f770>] (twd_handler) from [<c016ce38>]
> (handle_percpu_devid_irq+0x98/0x14c)
> [   32.180123] [<c016ce38>] (handle_percpu_devid_irq) from
> [<c0167a24>] (generic_handle_irq+0x20/0x34)
> [   32.189182] [<c0167a24>] (generic_handle_irq) from [<c0168020>]
> (__handle_domain_irq+0x64/0xe0)
> [   32.197890] [<c0168020>] (__handle_domain_irq) from [<c041de38>]
> (gic_handle_irq+0x4c/0xa8)
> [   32.206252] [<c041de38>] (gic_handle_irq) from [<c0101a2c>]
> (__irq_svc+0x6c/0x90)
> [   32.213739] Exception stack(0xeca3dbd0 to 0xeca3dc18)
> [   32.218798] dbc0:                                     00000002
> 00000090 7fffd540 00000002
> [   32.226982] dbe0: 00446304 ec4b2140 f0d7c020 00000000 000346dc
> c0b21818 ec087078 c0d05148
> [   32.235164] dc00: 000014e4 eca3dc20 c0832c1c bf1c6c74 20030013 ffffffff
> [   32.241850] [<c0101a2c>] (__irq_svc) from [<bf1c6c74>]
> (xhci_reset+0x9c/0x1d8 [xhci_hcd])
> [   32.250101] [<bf1c6c74>] (xhci_reset [xhci_hcd]) from [<bf1c7568>]
> (xhci_gen_setup+0x1e8/0x480 [xhci_hcd])
> [   32.259802] [<bf1c7568>] (xhci_gen_setup [xhci_hcd]) from
> [<bf1efaa8>] (xhci_pci_setup+0x40/0x8c [xhci_pci])
> [   32.269651] [<bf1efaa8>] (xhci_pci_setup [xhci_pci]) from
> [<c05b6f68>] (usb_add_hcd+0x258/0x764)
> [   32.278454] [<c05b6f68>] (usb_add_hcd) from [<c05c9270>]
> (usb_hcd_pci_probe+0x204/0x368)
> [   32.286562] [<c05c9270>] (usb_hcd_pci_probe) from [<bf1ef0b0>]
> (xhci_pci_probe+0x2c/0x174 [xhci_pci])
> [   32.295801] [<bf1ef0b0>] (xhci_pci_probe [xhci_pci]) from
> [<c0440a38>] (pci_device_probe+0xa4/0x138)
> [   32.304954] [<c0440a38>] (pci_device_probe) from [<c04bf6d8>]
> (really_probe+0x1f0/0x2bc)
> [   32.313055] [<c04bf6d8>] (really_probe) from [<c04bf904>]
> (driver_probe_device+0x5c/0x160)
> [   32.321330] [<c04bf904>] (driver_probe_device) from [<c04bfae4>]
> (__driver_attach+0xdc/0xe0)
> [   32.329776] [<c04bfae4>] (__driver_attach) from [<c04bd9ec>]
> (bus_for_each_dev+0x70/0xb4)
> [   32.337966] [<c04bd9ec>] (bus_for_each_dev) from [<c04beb58>]
> (bus_add_driver+0x194/0x1f8)
> [   32.346241] [<c04beb58>] (bus_add_driver) from [<c04c0444>]
> (driver_register+0x74/0x108)
> [   32.354342] [<c04c0444>] (driver_register) from [<c0102698>]
> (do_one_initcall+0x6c/0x1ac)
> [   32.362535] [<c0102698>] (do_one_initcall) from [<c0198db0>]
> (do_init_module+0x58/0x1f0)
> [   32.370636] [<c0198db0>] (do_init_module) from [<c019b0b4>]
> (load_module+0x2104/0x230c)
> [   32.378647] [<c019b0b4>] (load_module) from [<c019b504>]
> (sys_finit_module+0xbc/0xdc)
> [   32.386485] [<c019b504>] (sys_finit_module) from [<c01011d4>]
> (__sys_trace_return+0x0/0x10)
> [   32.394838] Exception stack(0xeca3dfa8 to 0xeca3dff0)
> [   32.399897] dfa0:                   00000000 01253268 00000003
> 000b8342 00000000 012530b8
> [   32.408081] dfc0: 00000000 01253268 01252e28 0000017b 000c9cb0
> 00000001 012530b8 012532a8
> [   32.416262] dfe0: befaac38 befaac28 00027a1c b6f1dbf0
> [   49.524438] xhci_hcd 0000:03:00.0: can't setup: -110
> [   49.529455] xhci_hcd 0000:03:00.0: USB bus 2 deregistered
> [   49.534981] xhci_hcd 0000:03:00.0: init 0000:03:00.0 fail, -110
> [   49.541005] xhci_hcd: probe of 0000:03:00.0 failed with error -110
> [   49.577131] ath10k_pci 0000:04:00.0: htt-ver 2.1 wmi-op 5 htt-op 2
> cal otp max-sta 128 raw 0 hwcrypto 1
> [   49.674185] random: dd: uninitialized urandom read (512 bytes read)
> [   49.708707] ath: EEPROM regdomain: 0x6a
> [   49.708716] ath: EEPROM indicates we should expect a direct regpair map
> [   49.708728] ath: Country alpha2 being used: 00
> [   49.708731] ath: Regpair used: 0x6a
> [   49.756484] random: dbus-uuidgen: uninitialized urandom read (12 bytes read)
> [   49.763653] random: dbus-uuidgen: uninitialized urandom read (8 bytes read)
> [   65.289080] urandom_read: 2 callbacks suppressed
> [   65.289088] random: ssh-keygen: uninitialized urandom read (32 bytes read)
> [   65.330131] random: sshd: uninitialized urandom read (32 bytes read)
> [  360.132197] random: crng init done
> 
> 
> < Loading of uPD720202 firmware here>
> # cd /upd72020x-load/
> # sh ./check-and-init
> Doing the upload
> bus = 3
> dev = 0
> fct = 0
> fname = ./K2026.mem
> got firmware version: 200000
> ERROR: ROM doesnt exist
> no EEPROM installed
> STATUS: enabling firmware upload
> STATUS: performing firmware upload
> STATUS: finishing firmware upload
> STATUS: confirming firmware upload
>  ======> PASSED
> 
> [  505.546414] pci 0000:03:00.0: 2.000 Gb/s available PCIe bandwidth,
> limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s
> with 5 GT/s x1 link)
> [  505.604961] pci 0000:03:00.0: BAR 0: assigned [mem
> 0x01100000-0x01101fff 64bit]
> [  505.612430] pci 0000:03:00.0: enabling device (0000 -> 0002)
> [  505.618456] xhci_hcd 0000:03:00.0: xHCI Host Controller
> [  505.623743] xhci_hcd 0000:03:00.0: new USB bus registered, assigned
> bus number 2
> [  505.638427] xhci_hcd 0000:03:00.0: hcc params 0x014051cf hci
> version 0x100 quirks 0x0000000100000090
> [  505.650036] hub 2-0:1.0: USB hub found
> [  505.654043] hub 2-0:1.0: 2 ports detected
> [  505.659855] xhci_hcd 0000:03:00.0: xHCI Host Controller
> [  505.665354] xhci_hcd 0000:03:00.0: new USB bus registered, assigned
> bus number 3
> [  505.672879] xhci_hcd 0000:03:00.0: Host supports USB 3.0  SuperSpeed
> [  505.679421] usb usb3: We don't know the algorithms for LPM for this
> host, disabling LPM.
> [  505.688555] hub 3-0:1.0: USB hub found
> [  505.692429] hub 3-0:1.0: 2 ports detected
> #
> 
> < Doing lsusb -v never returned, had to kill it >
> # /root/lsusb -v
> # dmesg
> [  573.066231] Unhandled fault: imprecise external abort (0x1406) at 0x02012628
> [  573.075162] pgd = 2544a558
> [  573.080731] [02012628] *pgd=84185831
> [  573.087184] Internal error: : 1406 [#1] SMP ARM
> [  573.094304] Modules linked in: xhci_pci xhci_hcd ath10k_pci
> ath10k_core mac80211 ath ftdi_sio usbserial cfg80211
> [  573.107353] CPU: 3 PID: 504 Comm: lsusb Not tainted
> 4.19.25-bsp-yocto-i.mx6-pd18.1.1 #3
> [  573.117951] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
> [  573.126681] PC is at xhci_bus_resume+0xbc/0x534 [xhci_hcd]
> [  573.134973] LR is at xhci_bus_resume+0x9c/0x534 [xhci_hcd]
> [  573.143263] pc : [<bf1d7248>]    lr : [<bf1d7228>]    psr: 200f0093
> [  573.151610] sp : ec923cc8  ip : 00000000  fp : ffffe000
> [  573.158830] r10: 00000002  r9 : ec703800  r8 : 00000004
> [  573.166138] r7 : ecad3000  r6 : 00000000  r5 : eca2ff80  r4 : ecad3000
> [  573.174659] r3 : 00000000  r2 : 00000000  r1 : 00000018  r0 : 200f0013
> [  573.183272] Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM
> Segment none
> [  573.192835] Control: 10c5387d  Table: 3ca0804a  DAC: 00000051
> [  573.200750] Process lsusb (pid: 504, stack limit = 0x8e3ed15c)
> [  573.208750] Stack: (0xec923cc8 to 0xec924000)
> [  573.215370] 3cc0:                   00000001 00000008 ec736460
> 00000340 ecad3140 200f0013
> [  573.226150] 3ce0: ecad3170 ec135d40 006000c0 ecad3000 ec703800
> eca6c878 c05be2e8 00000004
> [  573.237089] 3d00: ec703800 c015a638 ffffe000 c05b8c4c ec703800
> 00000410 eca6c878 c05be2e8
> [  573.247255] 3d20: ec2b3f00 c05bd35c ec703878 00000000 eca6c878
> c04ca280 00000004 ec703878
> [  573.257509] 3d40: c05be2e8 eca6c878 c0d03d00 ec2b3f00 ec703800
> c015a638 ffffe000 c04ca334
> [  573.267676] 3d60: ec703878 c05be2e8 eca6c878 c04c9e6c ec923dcc
> ec703914 00000001 c02273e0
> [  573.277844] 3d80: eccb4ac0 ec08d080 ecafdd34 793301cc ec31a358
> ec703878 00000004 ec7038f0
> [  573.288011] 3da0: 600f0013 ec2b3f00 ec703800 00000000 ec2b3f00
> c04ca0a8 ecae2380 ec703878
> [  573.298178] 3dc0: ec703878 ec7038ac ec2b3f00 c05bd994 ecae2380
> ec9f1550 ec703878 c05c27bc
> [  573.308345] 3de0: c0db5dc4 c0964384 00000000 ec9f1550 c0d05148
> ec2b3f00 00000000 c02209a4
> [  573.318512] 3e00: 00000080 793301cc ec2b3f00 ec9f1550 00020002
> 00000000 c02208cc ec2b3f08
> [  573.328679] 3e20: 00000000 c0218874 ec923ec0 00000000 00020002
> 00000000 00000006 ea4775d8
> [  573.338847] 3e40: 00000000 c022afb4 00000000 c0d05148 00000000
> 00000002 00000041 ffffe000
> [  573.349099] 3e60: 00000000 00000000 00000000 ec923e6c ec923e6c
> 793301cc 00000002 ec9f1550
> [  573.359267] 3e80: ec34e710 ea477660 00000023 0200f603 00000023
> 793301cc 00000023 00000009
> [  573.369520] 3ea0: ec923f70 c0d05148 00000001 fffff000 ec922000
> 00000142 0000000c c022d148
> [  573.379687] 3ec0: ec34e710 ea477660 d1ef8db8 00000003 ec907021
> 00000000 00000000 ea24f088
> [  573.389856] 3ee0: ec9f1550 00000101 00000002 00000040 00000000
> 00000000 00000000 ec923f00
> [  573.400109] 3f00: 600b0013 ea1146e8 00000000 ec02a180 006000c0
> c084ad90 006000c0 00000ff0
> [  573.410362] 3f20: 0000000c 793301cc 00000009 00000020 ec907000
> 00000000 00000000 00000002
> [  573.420529] 3f40: ffffff9c c023bbdc 000a0002 793301cc ffffff9c
> 00000009 c0d05148 ffffff9c
> [  573.430784] 3f60: ec907000 c0219ef0 00000142 ec923fb0 00020002
> 00000000 00000006 00000100
> [  573.441038] 3f80: 00000001 793301cc be9c8950 00000000 02018390
> 00000142 c0101204 ec922000
> [  573.451292] 3fa0: 00000142 c01011d4 be9c8950 00000000 ffffff9c
> be9c8950 000a0002 00000000
> [  573.461546] 3fc0: be9c8950 00000000 02018390 00000142 0200f368
> 00000002 b6f65e6c 0000000c
> [  573.471799] 3fe0: 00000000 be9c8918 b6f967a0 b6e96bc8 800f0010
> ffffff9c 00000000 00000000
> [  573.482096] [<bf1d7248>] (xhci_bus_resume [xhci_hcd]) from
> [<c05b8c4c>] (hcd_bus_resume+0x54/0x1a4)
> [  573.493967] [<c05b8c4c>] (hcd_bus_resume) from [<c05bd35c>]
> (usb_resume_both+0xa0/0x134)
> [  573.504653] [<c05bd35c>] (usb_resume_both) from [<c04ca280>]
> (__rpm_callback+0x158/0x1ec)
> [  573.515335] [<c04ca280>] (__rpm_callback) from [<c04ca334>]
> (rpm_callback+0x20/0x80)
> [  573.523082] [<c04ca334>] (rpm_callback) from [<c04c9e6c>]
> (rpm_resume+0x4d8/0x6b4)
> [  573.530656] [<c04c9e6c>] (rpm_resume) from [<c04ca0a8>]
> (__pm_runtime_resume+0x60/0x8c)
> [  573.538665] [<c04ca0a8>] (__pm_runtime_resume) from [<c05bd994>]
> (usb_autoresume_device+0x14/0x3c)
> [  573.547634] [<c05bd994>] (usb_autoresume_device) from [<c05c27bc>]
> (usbdev_open+0xb0/0x214)
> [  573.555993] [<c05c27bc>] (usbdev_open) from [<c02209a4>]
> (chrdev_open+0xd8/0x1ac)
> [  573.563488] [<c02209a4>] (chrdev_open) from [<c0218874>]
> (do_dentry_open+0x114/0x38c)
> [  573.571328] [<c0218874>] (do_dentry_open) from [<c022afb4>]
> (path_openat+0x2b0/0x1304)
> [  573.579251] [<c022afb4>] (path_openat) from [<c022d148>]
> (do_filp_open+0x6c/0xd8)
> [  573.586741] [<c022d148>] (do_filp_open) from [<c0219ef0>]
> (do_sys_open+0x150/0x1f0)
> [  573.594405] [<c0219ef0>] (do_sys_open) from [<c01011d4>]
> (__sys_trace_return+0x0/0x10)
> [  573.602322] Exception stack(0xec923fa8 to 0xec923ff0)
> [  573.607378] 3fa0:                   be9c8950 00000000 ffffff9c
> be9c8950 000a0002 00000000
> [  573.615558] 3fc0: be9c8950 00000000 02018390 00000142 0200f368
> 00000002 b6f65e6c 0000000c
> [  573.623737] 3fe0: 00000000 be9c8918 b6f967a0 b6e96bc8
> [  573.628795] Code: e597214c e5926000 e3a02000 ee072f9a (e3c66004)
> [  573.634894] ---[ end trace 2247f322516b4181 ]---
> #
> 
> Thanks in advance,
> 
> -- Fawad Lateef

^ permalink raw reply	[flat|nested] 10+ messages in thread

* AW: Unhandled fault: imprecise external abort (0x1406) when loading xhci_pci.ko - uPD720202, PEX8605, iMX6Q and linux-4.19.25
  2019-08-01 17:17     ` Bjorn Helgaas
@ 2019-08-02  8:22       ` " Schmid, Carsten
  2019-08-02 10:56         ` Fawad Lateef
  2019-08-02 10:55       ` Fawad Lateef
  1 sibling, 1 reply; 10+ messages in thread
From: Schmid, Carsten @ 2019-08-02  8:22 UTC (permalink / raw)
  To: Bjorn Helgaas, Fawad Lateef
  Cc: linux-pci, linux-usb, Richard Zhu, Lucas Stach, Shawn Guo, Sascha Hauer

> >
> > Facing kernel "Unhandled fault: imprecise external abort (0x1406)"
> > when trying to load xhci_pci.ko module for uPD720202. Receiving this
> > fault straight-away when driver trying to setup device.
> >
I had "imprecise external abort" on ARM systems in the following cases:
- Subsystem that was accessed was not powered
- Clock of accessed subsystem was turned off
Maybe this enables you to find the true reason.

Can you try to disable runtime power management to check if it works?

Best regards
Carsten

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Unhandled fault: imprecise external abort (0x1406) when loading xhci_pci.ko - uPD720202, PEX8605, iMX6Q and linux-4.19.25
  2019-08-01 17:17     ` Bjorn Helgaas
  2019-08-02  8:22       ` AW: " Schmid, Carsten
@ 2019-08-02 10:55       ` Fawad Lateef
  1 sibling, 0 replies; 10+ messages in thread
From: Fawad Lateef @ 2019-08-02 10:55 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: linux-pci, linux-usb, Richard Zhu, Lucas Stach, Shawn Guo, Sascha Hauer

Hi Bjorn,

On Thu, 1 Aug 2019 at 19:17, Bjorn Helgaas <helgaas@kernel.org> wrote:
>
> [+cc i.MX6 folks]
>
> On Thu, Aug 01, 2019 at 10:18:22AM +0200, Fawad Lateef wrote:
> > Hi everyone,
> >
> > I am trying to get Renesas uPD720202 USB3.0 hub working which is
> > connected PCIe switch (PEX8605); PEX8605 is connected to i.MX6Q
> > through its x1 PCIe Gen2 interface. Running Linux-4.19.25 vanilla
> > kernel with patches from Phytec.de for their Phycore-iMX6Q SOM.
> >
> > We have 2x PEX8605 ports connected to mPCIe slots and 2x WLAN modules
> > (QCA9880) working perfectly.
> >
> > Facing kernel "Unhandled fault: imprecise external abort (0x1406)"
> > when trying to load xhci_pci.ko module for uPD720202. Receiving this
> > fault straight-away when driver trying to setup device.
> >
> > uPD720202 don't have external EEPROM support, so I have to load
> > firmware in chips memory before loading the driver. Sometimes after
> > loading the driver, I see the USB3.0 hub but then doing "lsusb -v"
> > crashes the driver with same above mentioned fault.
>
> I'm guessing this is an MMIO read to the xHCI that failed.  When an
> MIMO read fails, most systems just return 0xffffffff data without
> causing an exception.
>
> Can you tell if the external abort is related to a CPU memory access?
> If so, can you find the address?  If it's an MMIO access to the xHCI,
> it should be in the [mem 0x01100000-0x01101fff 64bit] range assigned
> to its BAR 0, but I didn't see any likely looking addresses in the
> dump.
>

The current update is:

When uPD720202 is attached to PEX8605, after getting chips out of
RESET state; in few minutes PCIe switch (PEX8605) asserts FATAL_ERR
pin. If uPD is not attached then FATAL_ERR don't happen.

After FATAL_ERR; the Error register FB8h (of PEX8065) for bus
"2:01:00" (connected to uPD) reports "00 00 00 20h" .... set bit for
Surprise Down Error. Though we can still continue to upload firmware
to the chip.

When loading xhci_pci.ko driver, I am consistently seeing "Unhandled
fault: imprecise external abort (0x1406) at xxxxxxxxx" while in
xhci_gen_setup(); adding debug messages somehow shows that the
xhci->cap_regs == NULL thus the assignment "xhci->cap_regs =
hcd->regs;" fails. Though once I saw it moved forward till "
xhci_zero_64b_regs(xhci);"  and died.

Not sure if the above is because of some kernel bug or hardware issue.
Didn't debugged it yet from the calling function as this is weird that
xhci->cap_regs is NULL (can it be null if there is some hardware
communication error before xhci_gen_setup call?

I will also look at the addresses closer as you mentioned to see if
its CPU memory access or MMIO. At this moment I don't have access to
hardware; left it with the hardware designer to verify/debug some
hardware clocks.

> > Tried to disable DMA from kernel configuration but still same result.
> > From hardware side verified the RESET pins for PEX8605 and uPD720202
> > chips but no change.
> >
> > Also wanted to read PCIe switch registers using I2C interface but have
> > to figure-out how to do that (saw some patches email from Rajat Jain
> > from 2014 but seems like can't find the patch attachment anywhere on
> > Google).
> >
> > The kernel log is below. Any help or pointers in solving this problem
> > will be much appreciated.
> >
> > [    0.000000] Booting Linux on physical CPU 0x0
> > [    0.000000] Linux version 4.19.25-bsp-yocto-i.mx6-pd18.1.1
> > (br-user@flateef-XPS-13-9360) (gcc version 8.2.0 (Buildroot
> > 2018.11.4-gebef590b)) #3 SMP Wed Jul 31 11:13:06 UTC 2019
> > [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
> > [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing
> > instruction cache
> > [    0.000000] OF: fdt: Machine model: PHYTEC phyBOARD-Mira Quad full
> > featured with eMMC
> > [    0.000000] Memory policy: Data cache writealloc
> > [    0.000000] cma: Reserved 128 MiB at 0x86000000
> > [    0.000000] On node 0 totalpages: 524288
> > [    0.000000]   Normal zone: 1536 pages used for memmap
> > [    0.000000]   Normal zone: 0 pages reserved
> > [    0.000000]   Normal zone: 196608 pages, LIFO batch:63
> > [    0.000000]   HighMem zone: 327680 pages, LIFO batch:63
> > [    0.000000] random: get_random_bytes called from
> > start_kernel+0x88/0x3f8 with crng_init=0
> > [    0.000000] percpu: Embedded 16 pages/cpu @(ptrval) s34828 r8192
> > d22516 u65536
> > [    0.000000] pcpu-alloc: s34828 r8192 d22516 u65536 alloc=16*4096
> > [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
> > [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 522752
> > [    0.000000] Kernel command line:  console=ttymxc1,115200n8
> > root=/dev/mmcblk3p2 rootwait rw
> > [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
> > [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
> > [    0.000000] Memory: 1934476K/2097152K available (8192K kernel code,
> > 357K rwdata, 2464K rodata, 1024K init, 398K bss, 31604K reserved,
> > 131072K cma-reserved, 1178732K highmem)
> > [    0.000000] Virtual kernel memory layout:
> > [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
> > [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
> > [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
> > [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
> > [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
> > [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
> > [    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (9184 kB)
> > [    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
> > [    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 358 kB)
> > [    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 399 kB)
> > [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
> > [    0.000000] rcu: Hierarchical RCU implementation.
> > [    0.000000] rcu:     RCU event tracing is enabled.
> > [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
> > [    0.000000] L2C-310 errata 752271 769419 enabled
> > [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
> > [    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
> > [    0.000000] L2C-310 ID prefetch enabled, offset 16 lines
> > [    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
> > [    0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB
> > [    0.000000] L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76470001
> > [    0.000000] Switching to timer-based delay loop, resolution 333ns
> > [    0.000015] sched_clock: 32 bits at 3000kHz, resolution 333ns,
> > wraps every 715827882841ns
> > [    0.000049] clocksource: mxc_timer1: mask: 0xffffffff max_cycles:
> > 0xffffffff, max_idle_ns: 637086815595 ns
> > [    0.002812] Console: colour dummy device 80x30
> > [    0.002873] Calibrating delay loop (skipped), value calculated
> > using timer frequency.. 6.00 BogoMIPS (lpj=30000)
> > [    0.002903] pid_max: default: 32768 minimum: 301
> > [    0.003188] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
> > [    0.003229] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
> > [    0.004259] CPU: Testing write buffer coherency: ok
> > [    0.004319] CPU0: Spectre v2: using BPIALL workaround
> > [    0.004991] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
> > [    0.006092] Setting up static identity map for 0x10100000 - 0x10100078
> > [    0.006363] rcu: Hierarchical SRCU implementation.
> > [    0.007568] smp: Bringing up secondary CPUs ...
> > [    0.008817] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
> > [    0.008827] CPU1: Spectre v2: using BPIALL workaround
> > [    0.010352] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
> > [    0.010364] CPU2: Spectre v2: using BPIALL workaround
> > [    0.011759] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
> > [    0.011770] CPU3: Spectre v2: using BPIALL workaround
> > [    0.011973] smp: Brought up 1 node, 4 CPUs
> > [    0.011997] SMP: Total of 4 processors activated (24.00 BogoMIPS).
> > [    0.012014] CPU: All CPU(s) started in SVC mode.
> > [    0.013747] devtmpfs: initialized
> > [    0.031282] VFP support v0.3: implementor 41 architecture 3 part 30
> > variant 9 rev 4
> > [    0.031759] clocksource: jiffies: mask: 0xffffffff max_cycles:
> > 0xffffffff, max_idle_ns: 19112604462750000 ns
> > [    0.031800] futex hash table entries: 1024 (order: 4, 65536 bytes)
> > [    0.044378] pinctrl core: initialized pinctrl subsystem
> > [    0.046052] NET: Registered protocol family 16
> > [    0.058858] DMA: preallocated 256 KiB pool for atomic coherent allocations
> > [    0.059733] audit: initializing netlink subsys (disabled)
> > [    0.060061] audit: type=2000 audit(0.060:1): state=initialized
> > audit_enabled=0 res=1
> > [    0.061065] CPU identified as i.MX6Q, silicon rev 1.5
> > [    0.071628] vdd1p1: supplied by regulator-dummy
> > [    0.072504] vdd3p0: supplied by regulator-dummy
> > [    0.073315] vdd2p5: supplied by regulator-dummy
> > [    0.093445] No ATAGs?
> > [    0.093674] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1
> > watchpoint registers.
> > [    0.093704] hw-breakpoint: maximum watchpoint size is 4 bytes.
> > [    0.096202] imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
> > [    0.134079] mxs-dma 110000.dma-apbh: initialized
> > [    0.141747] SCSI subsystem initialized
> > [    0.142183] libata version 3.00 loaded.
> > [    0.142561] usbcore: registered new interface driver usbfs
> > [    0.142661] usbcore: registered new interface driver hub
> > [    0.142816] usbcore: registered new device driver usb
> > [    0.145330] i2c i2c-0: IMX I2C adapter registered
> > [    0.145364] i2c i2c-0: can't use DMA, using PIO instead.
> > [    0.146253] i2c i2c-1: IMX I2C adapter registered
> > [    0.146285] i2c i2c-1: can't use DMA, using PIO instead.
> > [    0.147511] i2c i2c-2: IMX I2C adapter registered
> > [    0.147543] i2c i2c-2: can't use DMA, using PIO instead.
> > [    0.147877] pps_core: LinuxPPS API ver. 1 registered
> > [    0.147898] pps_core: Software ver. 5.3.6 - Copyright 2005-2007
> > Rodolfo Giometti <giometti@linux.it>
> > [    0.147942] PTP clock support registered
> > [    0.149207] Bluetooth: Core ver 2.22
> > [    0.149351] NET: Registered protocol family 31
> > [    0.149371] Bluetooth: HCI device and connection manager initialized
> > [    0.149400] Bluetooth: HCI socket layer initialized
> > [    0.149421] Bluetooth: L2CAP socket layer initialized
> > [    0.149488] Bluetooth: SCO socket layer initialized
> > [    0.150351] clocksource: Switched to clocksource mxc_timer1
> > [    0.150704] VFS: Disk quotas dquot_6.6.0
> > [    0.150854] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> > [    0.167130] NET: Registered protocol family 2
> > [    0.168273] tcp_listen_portaddr_hash hash table entries: 512
> > (order: 0, 6144 bytes)
> > [    0.168336] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
> > [    0.168506] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
> > [    0.168780] TCP: Hash tables configured (established 8192 bind 8192)
> > [    0.169113] UDP hash table entries: 512 (order: 2, 16384 bytes)
> > [    0.169195] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
> > [    0.169686] NET: Registered protocol family 1
> > [    0.170642] RPC: Registered named UNIX socket transport module.
> > [    0.170663] RPC: Registered udp transport module.
> > [    0.170677] RPC: Registered tcp transport module.
> > [    0.170692] RPC: Registered tcp NFSv4.1 backchannel transport module.
> > [    0.170715] PCI: CLS 0 bytes, default 64
> > [    0.171954] hw perfevents: no interrupt-affinity property for /pmu, guessing.
> > [    0.172349] hw perfevents: enabled with armv7_cortex_a9 PMU driver,
> > 7 counters available
> > [    0.175261] Initialise system trusted keyrings
> > [    0.175573] workingset: timestamp_bits=30 max_order=19 bucket_order=0
> > [    0.184016] squashfs: version 4.0 (2009/01/31) Phillip Lougher
> > [    0.185099] NFS: Registering the id_resolver key type
> > [    0.185145] Key type id_resolver registered
> > [    0.185163] Key type id_legacy registered
> > [    0.185238] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
> > [    0.186012] fuse init (API version 7.27)
> > [    0.195230] Key type asymmetric registered
> > [    0.195255] Asymmetric key parser 'x509' registered
> > [    0.195358] bounce: pool size: 64 pages
> > [    0.195390] io scheduler noop registered
> > [    0.195407] io scheduler deadline registered
> > [    0.195663] io scheduler cfq registered (default)
> > [    0.195687] io scheduler mq-deadline registered
> > [    0.195704] io scheduler kyber registered
>
> > [    0.199805] imx6q-pcie 1ffc000.pcie: Linked as a consumer to regulator.12
> > [    0.199899] imx6q-pcie 1ffc000.pcie: host bridge /soc/pcie@1ffc000 ranges:
> > [    0.199964] imx6q-pcie 1ffc000.pcie:    IO 0x01f80000..0x01f8ffff
> > -> 0x00000000
> > [    0.200006] imx6q-pcie 1ffc000.pcie:   MEM 0x01000000..0x01efffff
> > -> 0x01000000
> > [    0.420529] imx6q-pcie 1ffc000.pcie: Link up
> > [    0.420554] imx6q-pcie 1ffc000.pcie: Link: Gen2 disabled
> > [    0.420575] imx6q-pcie 1ffc000.pcie: Link up, Gen1
> > [    0.420902] imx6q-pcie 1ffc000.pcie: PCI host bridge to bus 0000:00
> > [    0.420934] pci_bus 0000:00: root bus resource [bus 00-ff]
> > [    0.420959] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
> > [    0.420982] pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff]
> > [    0.421051] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400
> > [    0.421106] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
> > [    0.421133] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
> > [    0.421237] pci 0000:00:00.0: supports D1
> > [    0.421252] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold
> > [    0.431113] PCI: bus0: Fast back to back transfers disabled
> > [    0.431458] pci 0000:01:00.0: [10b5:8605] type 01 class 0x060400
> > [    0.431685] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff]
> > [    0.432403] pci 0000:01:00.0: supports D1 D2
> > [    0.432418] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
> > [    0.432622] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth,
> > limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s
> > with 5 GT/s x1 link)
> > [    0.469726] PCI: bus1: Fast back to back transfers disabled
> > [    0.469770] pci 0000:01:00.0: bridge configuration invalid ([bus
> > 00-00]), reconfiguring
> > [    0.470736] pci 0000:02:01.0: [10b5:8605] type 01 class 0x060400
> > [    0.471649] pci 0000:02:01.0: supports D1 D2
> > [    0.471663] pci 0000:02:01.0: PME# supported from D0 D1 D2 D3hot D3cold
> > [    0.472678] pci 0000:02:02.0: [10b5:8605] type 01 class 0x060400
> > [    0.473584] pci 0000:02:02.0: supports D1 D2
> > [    0.473598] pci 0000:02:02.0: PME# supported from D0 D1 D2 D3hot D3cold
> > [    0.474617] pci 0000:02:03.0: [10b5:8605] type 01 class 0x060400
> > [    0.475520] pci 0000:02:03.0: supports D1 D2
> > [    0.475534] pci 0000:02:03.0: PME# supported from D0 D1 D2 D3hot D3cold
> > [    0.485021] PCI: bus2: Fast back to back transfers disabled
> > [    0.485062] pci 0000:02:01.0: bridge configuration invalid ([bus
> > 00-00]), reconfiguring
> > [    0.485132] pci 0000:02:02.0: bridge configuration invalid ([bus
> > 00-00]), reconfiguring
> > [    0.485199] pci 0000:02:03.0: bridge configuration invalid ([bus
> > 00-00]), reconfiguring
> > [    0.485764] pci 0000:03:00.0: [1912:0015] type 00 class 0x0c0330
> > [    0.485993] pci 0000:03:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
> > [    0.486752] pci 0000:03:00.0: PME# supported from D0 D3hot
> > [    0.487022] pci 0000:03:00.0: 2.000 Gb/s available PCIe bandwidth,
> > limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s
> > with 5 GT/s x1 link)
> > [    0.549694] PCI: bus3: Fast back to back transfers disabled
> > [    0.549732] pci_bus 0000:03: busn_res: [bus 03-ff] end is updated to 03
> > [    0.550287] pci 0000:04:00.0: [168c:003c] type 00 class 0x028000
> > [    0.550576] pci 0000:04:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
> > [    0.550832] pci 0000:04:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
> > [    0.551344] pci 0000:04:00.0: supports D1 D2
> > [    0.551360] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
> > [    0.561547] PCI: bus4: Fast back to back transfers disabled
> > [    0.561583] pci_bus 0000:04: busn_res: [bus 04-ff] end is updated to 04
> > [    0.571176] PCI: bus5: Fast back to back transfers enabled
> > [    0.571210] pci_bus 0000:05: busn_res: [bus 05-ff] end is updated to 05
> > [    0.571256] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 05
> > [    0.571586] pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff]
> > [    0.571620] pci 0000:00:00.0: BAR 8: assigned [mem 0x01100000-0x016fffff]
> > [    0.571647] pci 0000:00:00.0: BAR 9: assigned [mem
> > 0x01700000-0x018fffff pref]
> > [    0.571672] pci 0000:00:00.0: BAR 6: assigned [mem
> > 0x01900000-0x0190ffff pref]
> > [    0.571695] pci 0000:00:00.0: BAR 7: assigned [io  0x1000-0x1fff]
> > [    0.571727] pci 0000:01:00.0: BAR 8: assigned [mem 0x01100000-0x015fffff]
> > [    0.571751] pci 0000:01:00.0: BAR 9: assigned [mem
> > 0x01700000-0x018fffff 64bit pref]
> > [    0.571773] pci 0000:01:00.0: BAR 0: assigned [mem 0x01600000-0x01603fff]
> > [    0.571816] pci 0000:01:00.0: BAR 7: assigned [io  0x1000-0x1fff]
> > [    0.571849] pci 0000:02:01.0: BAR 8: assigned [mem 0x01100000-0x012fffff]
> > [    0.571872] pci 0000:02:01.0: BAR 9: assigned [mem
> > 0x01700000-0x018fffff 64bit pref]
> > [    0.571896] pci 0000:02:02.0: BAR 8: assigned [mem 0x01300000-0x015fffff]
> > [    0.571917] pci 0000:02:01.0: BAR 7: assigned [io  0x1000-0x1fff]
> > [    0.571945] pci 0000:03:00.0: BAR 0: assigned [mem
> > 0x01100000-0x01101fff 64bit]
> > [    0.572040] pci 0000:02:01.0: PCI bridge to [bus 03]
> > [    0.572071] pci 0000:02:01.0:   bridge window [io  0x1000-0x1fff]
> > [    0.572119] pci 0000:02:01.0:   bridge window [mem 0x01100000-0x012fffff]
> > [    0.572157] pci 0000:02:01.0:   bridge window [mem
> > 0x01700000-0x018fffff 64bit pref]
> > [    0.572221] pci 0000:04:00.0: BAR 0: assigned [mem
> > 0x01400000-0x015fffff 64bit]
> > [    0.572313] pci 0000:04:00.0: BAR 6: assigned [mem
> > 0x01300000-0x0130ffff pref]
> > [    0.572334] pci 0000:02:02.0: PCI bridge to [bus 04]
> > [    0.572380] pci 0000:02:02.0:   bridge window [mem 0x01300000-0x015fffff]
> > [    0.572454] pci 0000:02:03.0: PCI bridge to [bus 05]
> > [    0.572552] pci 0000:01:00.0: PCI bridge to [bus 02-05]
> > [    0.572580] pci 0000:01:00.0:   bridge window [io  0x1000-0x1fff]
> > [    0.572626] pci 0000:01:00.0:   bridge window [mem 0x01100000-0x015fffff]
> > [    0.572663] pci 0000:01:00.0:   bridge window [mem
> > 0x01700000-0x018fffff 64bit pref]
> > [    0.572716] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
> > [    0.572735] pci 0000:00:00.0:   bridge window [io  0x1000-0x1fff]
> > [    0.572757] pci 0000:00:00.0:   bridge window [mem 0x01100000-0x016fffff]
> > [    0.572777] pci 0000:00:00.0:   bridge window [mem
> > 0x01700000-0x018fffff pref]
> > [    0.573483] pcieport 0000:00:00.0: Signaling PME with IRQ 296
> > [    0.573835] pcieport 0000:00:00.0: AER enabled with IRQ 296
> > [    0.574202] pcieport 0000:01:00.0: enabling device (0140 -> 0143)
> > [    0.576139] pcieport 0000:02:01.0: enabling device (0140 -> 0143)
> > [    0.578257] pcieport 0000:02:02.0: enabling device (0140 -> 0142)
> > [    0.581817] pci 0000:03:00.0: enabling device (0140 -> 0142)
> > [    7.527313] pci 0000:03:00.0: xHCI HW not ready after 5 sec (HC
> > bug?) status = 0x801
> > [    7.527485] pci 0000:03:00.0: quirk_usb_early_handoff+0x0/0x80c
> > took 6782847 usecs
> > [    7.531041] imx-sdma 20ec000.sdma: loaded firmware 3.3
> > [    7.536911] imx-pgc-pd imx-pgc-power-domain.0: DMA mask not set
> > [    7.537029] imx-pgc-pd imx-pgc-power-domain.0: Linked as a consumer
> > to 20dc000.gpc
> > [    7.537137] imx-pgc-pd imx-pgc-power-domain.1: DMA mask not set
> > [    7.539524] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 63,
> > base_baud = 5000000) is a IMX
> > [    8.735339] console [ttymxc1] enabled
> > [    8.740143] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 64,
> > base_baud = 5000000) is a IMX
> > [    8.766636] brd: module loaded
> > [    8.786902] loop: module loaded
> > [    8.791356] at24 2-0050: 4096 byte 24c32 EEPROM, writable, 1 bytes/write
> > [    8.801418] da9062 2-0058: Device detected (device-ID: 0x62,
> > var-ID: 0x22, DA9062)
> > [    8.836209] vdd_snvs: Bringing 3100000uV into 3000000-3000000uV
> > [    8.842493] random: fast init done
> > [    8.849376] vdd_high: Bringing 3100000uV into 3000000-3000000uV
> > [    8.859173] vdd_eth_io: Bringing 2600000uV into 2500000-2500000uV
> > [    8.868280] vdd_emmc: Bringing 1900000uV into 1800000-1800000uV
> > [    8.879983] ahci-imx 2200000.sata: fsl,transmit-level-mV not
> > specified, using 00000024
> > [    8.887987] ahci-imx 2200000.sata: fsl,transmit-boost-mdB not
> > specified, using 00000480
> > [    8.896071] ahci-imx 2200000.sata: fsl,transmit-atten-16ths not
> > specified, using 00002000
> > [    8.904307] ahci-imx 2200000.sata: fsl,receive-eq-mdB not
> > specified, using 05000000
> > [    8.915070] ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled
> > [    8.922155] ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports
> > 3 Gbps 0x1 impl platform mode
> > [    8.931006] ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo
> > only pmp pio slum part ccc apst
> > [    8.942593] scsi host0: ahci-imx
> > [    8.946389] ata1: SATA max UDMA/133 mmio [mem
> > 0x02200000-0x02203fff] port 0x100 irq 67
> > [    8.962342] m25p80 spi0.0: n25q128a13 (16384 Kbytes)
> > [    8.969007] spi_imx 2008000.ecspi: probed
> > [    8.974411] libphy: Fixed MDIO Bus: probed
> > [    8.979382] CAN device driver interface
> > [    8.986038] usbcore: registered new interface driver asix
> > [    8.991578] usbcore: registered new interface driver ax88179_178a
> > [    8.997747] usbcore: registered new interface driver cdc_ether
> > [    9.003697] usbcore: registered new interface driver net1080
> > [    9.009430] usbcore: registered new interface driver cdc_subset
> > [    9.015466] usbcore: registered new interface driver zaurus
> > [    9.021189] usbcore: registered new interface driver cdc_ncm
> > [    9.026862] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> > [    9.033434] ehci-pci: EHCI PCI platform driver
> > [    9.038000] ehci-platform: EHCI generic platform driver
> > [    9.043770] ehci-mxc: Freescale On-Chip EHCI Host driver
> > [    9.049668] usbcore: registered new interface driver usb-storage
> > [    9.058946] imx_usb 2184000.usb: Linked as a consumer to regulator.14
> > [    9.071501] imx_usb 2184200.usb: Linked as a consumer to regulator.13
> > [    9.081344] ci_hdrc ci_hdrc.1: EHCI Host Controller
> > [    9.086283] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
> > [    9.120413] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
> > [    9.127076] hub 1-0:1.0: USB hub found
> > [    9.130967] hub 1-0:1.0: 1 port detected
> > [    9.139528] da9063-rtc da9062-rtc: DMA mask not set
> > [    9.154230] da9063-rtc da9062-rtc: rtc core: registered da9063-rtc as rtc1
> > [    9.169336] rtc-m41t80 0-0068: registered as rtc0
> > [    9.176016] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered
> > 20cc000.snvs:snvs-rtc-lp as rtc2
> > [    9.185537] i2c /dev entries driver
> > [    9.194316] Bluetooth: HCI UART driver ver 2.3
> > [    9.198784] Bluetooth: HCI UART protocol H4 registered
> > [    9.204831] sdhci: Secure Digital Host Controller Interface driver
> > [    9.211078] sdhci: Copyright(c) Pierre Ossman
> > [    9.215449] sdhci-pltfm: SDHCI platform and OF driver helper
> > [    9.222674] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
> > [    9.261834] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc]
> > using ADMA
> > [    9.270559] sdhci-esdhc-imx 219c000.usdhc: Linked as a consumer to
> > regulator.23
> > [    9.312317] mmc1: SDHCI controller on 219c000.usdhc [219c000.usdhc]
> > using ADMA
> > [    9.321406] leds-pca953x 0-0062: setting platform data
> > [    9.329555] leds-pca953x 0-0062: gpios 508...511
> > [    9.342193] caam 2100000.caam: Entropy delay = 3200
> > [    9.384183] mmc1: new DDR MMC card at address 0001
> > [    9.391491] mmcblk3: mmc1:0001 Q2J55L 7.09 GiB
> > [    9.397946] mmcblk3boot0: mmc1:0001 Q2J55L partition 1 16.0 MiB
> > [    9.405996] mmcblk3boot1: mmc1:0001 Q2J55L partition 2 16.0 MiB
> > [    9.407887] caam 2100000.caam: Instantiated RNG4 SH0
> > [    9.412372] mmcblk1rpmb: mmc1:0001 Q2J55L partition 3 4.00 MiB,
> > chardev (247:0)
> > [    9.426692]  mmcblk3: p1 p2
> > [    9.450457] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> > [    9.457449] ata1.00: ATA-10: ADATA SU800NS38, R0427AC, max UDMA/133
> > [    9.463784] ata1.00: 250069680 sectors, multi 16: LBA48 NCQ (depth 32)
> > [    9.468646] caam 2100000.caam: Instantiated RNG4 SH1
> > [    9.470985] ata1.00: configured for UDMA/133
> > [    9.475356] caam 2100000.caam: device ID = 0x0a16010000000000 (Era 4)
> > [    9.480309] scsi 0:0:0:0: Direct-Access     ATA      ADATA
> > SU800NS38  7AC  PQ: 0 ANSI: 5
> > [    9.486109] caam 2100000.caam: job rings = 2, qi = 0
> > [    9.500440] usb 1-1: new high-speed USB device number 2 using ci_hdrc
> > [    9.502828] sd 0:0:0:0: [sda] 250069680 512-byte logical blocks:
> > (128 GB/119 GiB)
> > [    9.514605] sd 0:0:0:0: [sda] Write Protect is off
> > [    9.519428] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
> > [    9.519615] sd 0:0:0:0: [sda] Write cache: enabled, read cache:
> > enabled, doesn't support DPO or FUA
> > [    9.525366] caam algorithms registered in /proc/crypto
> > [    9.531304]  sda: sda1 sda2
> > [    9.539319] sd 0:0:0:0: [sda] Attached SCSI disk
> > [    9.539813] caam_jr 2101000.jr0: registering rng-caam
> > [    9.549942] hidraw: raw HID events driver (C) Jiri Kosina
> > [    9.555665] usbcore: registered new interface driver usbhid
> > [    9.561283] usbhid: USB HID core driver
> > [    9.568887] NET: Registered protocol family 10
> > [    9.575051] Segment Routing with IPv6
> > [    9.578866] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
> > [    9.585961] NET: Registered protocol family 17
> > [    9.590479] can: controller area network core (rev 20170425 abi 9)
> > [    9.596811] NET: Registered protocol family 29
> > [    9.601308] can: raw protocol (rev 20170425)
> > [    9.605592] can: broadcast manager protocol (rev 20170425 t)
> > [    9.611298] can: netlink gateway (rev 20170425) max_hops=1
> > [    9.617070] 8021q: 802.1Q VLAN Support v1.8
> > [    9.621374] Key type dns_resolver registered
> > [    9.626321] vddarm: supplied by vdd_arm
> > [    9.631239] cpu cpu0: Linked as a consumer to regulator.4
> > [    9.636701] vddpu: supplied by vdd_soc
> > [    9.641499] cpu cpu0: Linked as a consumer to regulator.5
> > [    9.646962] vddsoc: supplied by vdd_soc
> > [    9.651884] cpu cpu0: Linked as a consumer to regulator.6
> > [    9.665622] cpu cpu0: Not using anatop LDO's: enabling LDO bypass
> > [    9.695470] Registering SWP/SWPB emulation handler
> > [    9.701162] Loading compiled-in X.509 certificates
> > [    9.701528] hub 1-1:1.0: USB hub found
> > [    9.709899] hub 1-1:1.0: 4 ports detected
> > [    9.724555] imx-pgc-pd imx-pgc-power-domain.1: Linked as a consumer
> > to regulator.5
> > [    9.732273] imx-pgc-pd imx-pgc-power-domain.1: Linked as a consumer
> > to 20dc000.gpc
> > [    9.740632] imx_thermal tempmon: Automotive CPU temperature grade -
> > max:125C critical:120C passive:115C
> > [    9.753112] rtc-m41t80 0-0068: hctosys: unable to read the hardware clock
> > [    9.760548] VCC_CAM0: disabling
> > [    9.763698] flexcan1-reg: disabling
> > [    9.767197] usb_otg_vbus: disabling
> > [    9.770727] peb-display: disabling
> > [    9.775283] vdd_eth_io: disabling
> > [    9.797362] EXT4-fs (mmcblk3p2): mounted filesystem with ordered
> > data mode. Opts: (null)
> > [    9.805576] VFS: Mounted root (ext4 filesystem) on device 179:2.
> > [    9.814229] devtmpfs: mounted
> > [    9.819797] Freeing unused kernel memory: 1024K
> > [    9.840589] Run /sbin/init as init process
> > [    9.953030] EXT4-fs (mmcblk3p2): re-mounted. Opts: (null)
> > [   10.040419] usb 1-1.4: new high-speed USB device number 3 using ci_hdrc
> > [   10.191698] hub 1-1.4:1.0: USB hub found
> > [   10.195822] hub 1-1.4:1.0: 4 ports detected
> > [   10.520393] usb 1-1.4.1: new full-speed USB device number 4 using ci_hdrc
> > [   10.715913] cfg80211: Loading compiled-in X.509 certificates for
> > regulatory database
> > [   10.717475] usbcore: registered new interface driver usbserial_generic
> > [   10.730640] usbserial: USB Serial support registered for generic
> > [   10.748984] usbcore: registered new interface driver ftdi_sio
> > [   10.754914] usbserial: USB Serial support registered for FTDI USB
> > Serial Device
> > [   10.762608] ftdi_sio 1-1.4.1:1.0: FTDI USB Serial Device converter detected
> > [   10.769803] usb 1-1.4.1: Detected FT232RL
> > [   10.772021] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
> > [   10.774616] usb 1-1.4.1: FTDI USB Serial Device converter now
> > attached to ttyUSB0
> > [   10.849210] ath10k_pci 0000:04:00.0: enabling device (0140 -> 0142)
> > [   10.856167] ath10k_pci 0000:04:00.0: pci irq msi oper_irq_mode 2
> > irq_mode 0 reset_mode 0
> > [   10.989785] xhci_hcd 0000:03:00.0: xHCI Host Controller
> > [   10.995277] xhci_hcd 0000:03:00.0: new USB bus registered, assigned
> > bus number 2
> > [   11.148145] ath10k_pci 0000:04:00.0: qca988x hw2.0 target
> > 0x4100016c chip_id 0x043202ff sub 0000:0000
> > [   11.157413] ath10k_pci 0000:04:00.0: kconfig debug 1 debugfs 1
> > tracing 0 dfs 1 testmode 1
> > [   11.167090] ath10k_pci 0000:04:00.0: firmware ver 10.2.4-1.0-00037
> > api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 a4a52adb
> > [   11.216682] ath10k_pci 0000:04:00.0: board_file api 1 bmi_id N/A
> > crc32 bebc7c08
> >
> > <This below rcu_stall don't happen if I blacklist xhci_pci.ko module
> > and insmod it after uPD720202 firmware load)
> >
> > [   32.040328] rcu: INFO: rcu_sched self-detected stall on CPU
> > [   32.045923] rcu:     2-....: (1998 ticks this GP)
> > idle=2de/1/0x40000002 softirq=177/177 fqs=897
> > [   32.054448] rcu:      (t=2100 jiffies g=-887 q=34)
> > [   32.058988] NMI backtrace for cpu 2
> > [   32.062486] CPU: 2 PID: 190 Comm: modprobe Not tainted
> > 4.19.25-bsp-yocto-i.mx6-pd18.1.1 #3
> > [   32.070753] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
> > [   32.077313] [<c0110738>] (unwind_backtrace) from [<c010bbf4>]
> > (show_stack+0x10/0x14)
> > [   32.085073] [<c010bbf4>] (show_stack) from [<c0835458>]
> > (dump_stack+0x8c/0xac)
> > [   32.092309] [<c0835458>] (dump_stack) from [<c083b8a0>]
> > (nmi_cpu_backtrace+0x84/0xbc)
> > [   32.100150] [<c083b8a0>] (nmi_cpu_backtrace) from [<c083b9dc>]
> > (nmi_trigger_cpumask_backtrace+0x104/0x130)
> > [   32.109820] [<c083b9dc>] (nmi_trigger_cpumask_backtrace) from
> > [<c0179ee4>] (rcu_dump_cpu_stacks+0x94/0xc8)
> > [   32.119490] [<c0179ee4>] (rcu_dump_cpu_stacks) from [<c01792f0>]
> > (rcu_check_callbacks+0x66c/0x844)
> > [   32.128463] [<c01792f0>] (rcu_check_callbacks) from [<c017ea08>]
> > (update_process_times+0x30/0x6c)
> > [   32.137352] [<c017ea08>] (update_process_times) from [<c01904cc>]
> > (tick_sched_timer+0x5c/0xc0)
> > [   32.145976] [<c01904cc>] (tick_sched_timer) from [<c017fd0c>]
> > (__hrtimer_run_queues+0x148/0x208)
> > [   32.154772] [<c017fd0c>] (__hrtimer_run_queues) from [<c0180158>]
> > (hrtimer_interrupt+0x134/0x2cc)
> > [   32.163655] [<c0180158>] (hrtimer_interrupt) from [<c010f770>]
> > (twd_handler+0x2c/0x38)
> > [   32.171588] [<c010f770>] (twd_handler) from [<c016ce38>]
> > (handle_percpu_devid_irq+0x98/0x14c)
> > [   32.180123] [<c016ce38>] (handle_percpu_devid_irq) from
> > [<c0167a24>] (generic_handle_irq+0x20/0x34)
> > [   32.189182] [<c0167a24>] (generic_handle_irq) from [<c0168020>]
> > (__handle_domain_irq+0x64/0xe0)
> > [   32.197890] [<c0168020>] (__handle_domain_irq) from [<c041de38>]
> > (gic_handle_irq+0x4c/0xa8)
> > [   32.206252] [<c041de38>] (gic_handle_irq) from [<c0101a2c>]
> > (__irq_svc+0x6c/0x90)
> > [   32.213739] Exception stack(0xeca3dbd0 to 0xeca3dc18)
> > [   32.218798] dbc0:                                     00000002
> > 00000090 7fffd540 00000002
> > [   32.226982] dbe0: 00446304 ec4b2140 f0d7c020 00000000 000346dc
> > c0b21818 ec087078 c0d05148
> > [   32.235164] dc00: 000014e4 eca3dc20 c0832c1c bf1c6c74 20030013 ffffffff
> > [   32.241850] [<c0101a2c>] (__irq_svc) from [<bf1c6c74>]
> > (xhci_reset+0x9c/0x1d8 [xhci_hcd])
> > [   32.250101] [<bf1c6c74>] (xhci_reset [xhci_hcd]) from [<bf1c7568>]
> > (xhci_gen_setup+0x1e8/0x480 [xhci_hcd])
> > [   32.259802] [<bf1c7568>] (xhci_gen_setup [xhci_hcd]) from
> > [<bf1efaa8>] (xhci_pci_setup+0x40/0x8c [xhci_pci])
> > [   32.269651] [<bf1efaa8>] (xhci_pci_setup [xhci_pci]) from
> > [<c05b6f68>] (usb_add_hcd+0x258/0x764)
> > [   32.278454] [<c05b6f68>] (usb_add_hcd) from [<c05c9270>]
> > (usb_hcd_pci_probe+0x204/0x368)
> > [   32.286562] [<c05c9270>] (usb_hcd_pci_probe) from [<bf1ef0b0>]
> > (xhci_pci_probe+0x2c/0x174 [xhci_pci])
> > [   32.295801] [<bf1ef0b0>] (xhci_pci_probe [xhci_pci]) from
> > [<c0440a38>] (pci_device_probe+0xa4/0x138)
> > [   32.304954] [<c0440a38>] (pci_device_probe) from [<c04bf6d8>]
> > (really_probe+0x1f0/0x2bc)
> > [   32.313055] [<c04bf6d8>] (really_probe) from [<c04bf904>]
> > (driver_probe_device+0x5c/0x160)
> > [   32.321330] [<c04bf904>] (driver_probe_device) from [<c04bfae4>]
> > (__driver_attach+0xdc/0xe0)
> > [   32.329776] [<c04bfae4>] (__driver_attach) from [<c04bd9ec>]
> > (bus_for_each_dev+0x70/0xb4)
> > [   32.337966] [<c04bd9ec>] (bus_for_each_dev) from [<c04beb58>]
> > (bus_add_driver+0x194/0x1f8)
> > [   32.346241] [<c04beb58>] (bus_add_driver) from [<c04c0444>]
> > (driver_register+0x74/0x108)
> > [   32.354342] [<c04c0444>] (driver_register) from [<c0102698>]
> > (do_one_initcall+0x6c/0x1ac)
> > [   32.362535] [<c0102698>] (do_one_initcall) from [<c0198db0>]
> > (do_init_module+0x58/0x1f0)
> > [   32.370636] [<c0198db0>] (do_init_module) from [<c019b0b4>]
> > (load_module+0x2104/0x230c)
> > [   32.378647] [<c019b0b4>] (load_module) from [<c019b504>]
> > (sys_finit_module+0xbc/0xdc)
> > [   32.386485] [<c019b504>] (sys_finit_module) from [<c01011d4>]
> > (__sys_trace_return+0x0/0x10)
> > [   32.394838] Exception stack(0xeca3dfa8 to 0xeca3dff0)
> > [   32.399897] dfa0:                   00000000 01253268 00000003
> > 000b8342 00000000 012530b8
> > [   32.408081] dfc0: 00000000 01253268 01252e28 0000017b 000c9cb0
> > 00000001 012530b8 012532a8
> > [   32.416262] dfe0: befaac38 befaac28 00027a1c b6f1dbf0
> > [   49.524438] xhci_hcd 0000:03:00.0: can't setup: -110
> > [   49.529455] xhci_hcd 0000:03:00.0: USB bus 2 deregistered
> > [   49.534981] xhci_hcd 0000:03:00.0: init 0000:03:00.0 fail, -110
> > [   49.541005] xhci_hcd: probe of 0000:03:00.0 failed with error -110
> > [   49.577131] ath10k_pci 0000:04:00.0: htt-ver 2.1 wmi-op 5 htt-op 2
> > cal otp max-sta 128 raw 0 hwcrypto 1
> > [   49.674185] random: dd: uninitialized urandom read (512 bytes read)
> > [   49.708707] ath: EEPROM regdomain: 0x6a
> > [   49.708716] ath: EEPROM indicates we should expect a direct regpair map
> > [   49.708728] ath: Country alpha2 being used: 00
> > [   49.708731] ath: Regpair used: 0x6a
> > [   49.756484] random: dbus-uuidgen: uninitialized urandom read (12 bytes read)
> > [   49.763653] random: dbus-uuidgen: uninitialized urandom read (8 bytes read)
> > [   65.289080] urandom_read: 2 callbacks suppressed
> > [   65.289088] random: ssh-keygen: uninitialized urandom read (32 bytes read)
> > [   65.330131] random: sshd: uninitialized urandom read (32 bytes read)
> > [  360.132197] random: crng init done
> >
> >
> > < Loading of uPD720202 firmware here>
> > # cd /upd72020x-load/
> > # sh ./check-and-init
> > Doing the upload
> > bus = 3
> > dev = 0
> > fct = 0
> > fname = ./K2026.mem
> > got firmware version: 200000
> > ERROR: ROM doesnt exist
> > no EEPROM installed
> > STATUS: enabling firmware upload
> > STATUS: performing firmware upload
> > STATUS: finishing firmware upload
> > STATUS: confirming firmware upload
> >  ======> PASSED
> >
> > [  505.546414] pci 0000:03:00.0: 2.000 Gb/s available PCIe bandwidth,
> > limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s
> > with 5 GT/s x1 link)
> > [  505.604961] pci 0000:03:00.0: BAR 0: assigned [mem
> > 0x01100000-0x01101fff 64bit]
> > [  505.612430] pci 0000:03:00.0: enabling device (0000 -> 0002)
> > [  505.618456] xhci_hcd 0000:03:00.0: xHCI Host Controller
> > [  505.623743] xhci_hcd 0000:03:00.0: new USB bus registered, assigned
> > bus number 2
> > [  505.638427] xhci_hcd 0000:03:00.0: hcc params 0x014051cf hci
> > version 0x100 quirks 0x0000000100000090
> > [  505.650036] hub 2-0:1.0: USB hub found
> > [  505.654043] hub 2-0:1.0: 2 ports detected
> > [  505.659855] xhci_hcd 0000:03:00.0: xHCI Host Controller
> > [  505.665354] xhci_hcd 0000:03:00.0: new USB bus registered, assigned
> > bus number 3
> > [  505.672879] xhci_hcd 0000:03:00.0: Host supports USB 3.0  SuperSpeed
> > [  505.679421] usb usb3: We don't know the algorithms for LPM for this
> > host, disabling LPM.
> > [  505.688555] hub 3-0:1.0: USB hub found
> > [  505.692429] hub 3-0:1.0: 2 ports detected
> > #
> >
> > < Doing lsusb -v never returned, had to kill it >
> > # /root/lsusb -v
> > # dmesg
> > [  573.066231] Unhandled fault: imprecise external abort (0x1406) at 0x02012628
> > [  573.075162] pgd = 2544a558
> > [  573.080731] [02012628] *pgd=84185831
> > [  573.087184] Internal error: : 1406 [#1] SMP ARM
> > [  573.094304] Modules linked in: xhci_pci xhci_hcd ath10k_pci
> > ath10k_core mac80211 ath ftdi_sio usbserial cfg80211
> > [  573.107353] CPU: 3 PID: 504 Comm: lsusb Not tainted
> > 4.19.25-bsp-yocto-i.mx6-pd18.1.1 #3
> > [  573.117951] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
> > [  573.126681] PC is at xhci_bus_resume+0xbc/0x534 [xhci_hcd]
> > [  573.134973] LR is at xhci_bus_resume+0x9c/0x534 [xhci_hcd]
> > [  573.143263] pc : [<bf1d7248>]    lr : [<bf1d7228>]    psr: 200f0093
> > [  573.151610] sp : ec923cc8  ip : 00000000  fp : ffffe000
> > [  573.158830] r10: 00000002  r9 : ec703800  r8 : 00000004
> > [  573.166138] r7 : ecad3000  r6 : 00000000  r5 : eca2ff80  r4 : ecad3000
> > [  573.174659] r3 : 00000000  r2 : 00000000  r1 : 00000018  r0 : 200f0013
> > [  573.183272] Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM
> > Segment none
> > [  573.192835] Control: 10c5387d  Table: 3ca0804a  DAC: 00000051
> > [  573.200750] Process lsusb (pid: 504, stack limit = 0x8e3ed15c)
> > [  573.208750] Stack: (0xec923cc8 to 0xec924000)
> > [  573.215370] 3cc0:                   00000001 00000008 ec736460
> > 00000340 ecad3140 200f0013
> > [  573.226150] 3ce0: ecad3170 ec135d40 006000c0 ecad3000 ec703800
> > eca6c878 c05be2e8 00000004
> > [  573.237089] 3d00: ec703800 c015a638 ffffe000 c05b8c4c ec703800
> > 00000410 eca6c878 c05be2e8
> > [  573.247255] 3d20: ec2b3f00 c05bd35c ec703878 00000000 eca6c878
> > c04ca280 00000004 ec703878
> > [  573.257509] 3d40: c05be2e8 eca6c878 c0d03d00 ec2b3f00 ec703800
> > c015a638 ffffe000 c04ca334
> > [  573.267676] 3d60: ec703878 c05be2e8 eca6c878 c04c9e6c ec923dcc
> > ec703914 00000001 c02273e0
> > [  573.277844] 3d80: eccb4ac0 ec08d080 ecafdd34 793301cc ec31a358
> > ec703878 00000004 ec7038f0
> > [  573.288011] 3da0: 600f0013 ec2b3f00 ec703800 00000000 ec2b3f00
> > c04ca0a8 ecae2380 ec703878
> > [  573.298178] 3dc0: ec703878 ec7038ac ec2b3f00 c05bd994 ecae2380
> > ec9f1550 ec703878 c05c27bc
> > [  573.308345] 3de0: c0db5dc4 c0964384 00000000 ec9f1550 c0d05148
> > ec2b3f00 00000000 c02209a4
> > [  573.318512] 3e00: 00000080 793301cc ec2b3f00 ec9f1550 00020002
> > 00000000 c02208cc ec2b3f08
> > [  573.328679] 3e20: 00000000 c0218874 ec923ec0 00000000 00020002
> > 00000000 00000006 ea4775d8
> > [  573.338847] 3e40: 00000000 c022afb4 00000000 c0d05148 00000000
> > 00000002 00000041 ffffe000
> > [  573.349099] 3e60: 00000000 00000000 00000000 ec923e6c ec923e6c
> > 793301cc 00000002 ec9f1550
> > [  573.359267] 3e80: ec34e710 ea477660 00000023 0200f603 00000023
> > 793301cc 00000023 00000009
> > [  573.369520] 3ea0: ec923f70 c0d05148 00000001 fffff000 ec922000
> > 00000142 0000000c c022d148
> > [  573.379687] 3ec0: ec34e710 ea477660 d1ef8db8 00000003 ec907021
> > 00000000 00000000 ea24f088
> > [  573.389856] 3ee0: ec9f1550 00000101 00000002 00000040 00000000
> > 00000000 00000000 ec923f00
> > [  573.400109] 3f00: 600b0013 ea1146e8 00000000 ec02a180 006000c0
> > c084ad90 006000c0 00000ff0
> > [  573.410362] 3f20: 0000000c 793301cc 00000009 00000020 ec907000
> > 00000000 00000000 00000002
> > [  573.420529] 3f40: ffffff9c c023bbdc 000a0002 793301cc ffffff9c
> > 00000009 c0d05148 ffffff9c
> > [  573.430784] 3f60: ec907000 c0219ef0 00000142 ec923fb0 00020002
> > 00000000 00000006 00000100
> > [  573.441038] 3f80: 00000001 793301cc be9c8950 00000000 02018390
> > 00000142 c0101204 ec922000
> > [  573.451292] 3fa0: 00000142 c01011d4 be9c8950 00000000 ffffff9c
> > be9c8950 000a0002 00000000
> > [  573.461546] 3fc0: be9c8950 00000000 02018390 00000142 0200f368
> > 00000002 b6f65e6c 0000000c
> > [  573.471799] 3fe0: 00000000 be9c8918 b6f967a0 b6e96bc8 800f0010
> > ffffff9c 00000000 00000000
> > [  573.482096] [<bf1d7248>] (xhci_bus_resume [xhci_hcd]) from
> > [<c05b8c4c>] (hcd_bus_resume+0x54/0x1a4)
> > [  573.493967] [<c05b8c4c>] (hcd_bus_resume) from [<c05bd35c>]
> > (usb_resume_both+0xa0/0x134)
> > [  573.504653] [<c05bd35c>] (usb_resume_both) from [<c04ca280>]
> > (__rpm_callback+0x158/0x1ec)
> > [  573.515335] [<c04ca280>] (__rpm_callback) from [<c04ca334>]
> > (rpm_callback+0x20/0x80)
> > [  573.523082] [<c04ca334>] (rpm_callback) from [<c04c9e6c>]
> > (rpm_resume+0x4d8/0x6b4)
> > [  573.530656] [<c04c9e6c>] (rpm_resume) from [<c04ca0a8>]
> > (__pm_runtime_resume+0x60/0x8c)
> > [  573.538665] [<c04ca0a8>] (__pm_runtime_resume) from [<c05bd994>]
> > (usb_autoresume_device+0x14/0x3c)
> > [  573.547634] [<c05bd994>] (usb_autoresume_device) from [<c05c27bc>]
> > (usbdev_open+0xb0/0x214)
> > [  573.555993] [<c05c27bc>] (usbdev_open) from [<c02209a4>]
> > (chrdev_open+0xd8/0x1ac)
> > [  573.563488] [<c02209a4>] (chrdev_open) from [<c0218874>]
> > (do_dentry_open+0x114/0x38c)
> > [  573.571328] [<c0218874>] (do_dentry_open) from [<c022afb4>]
> > (path_openat+0x2b0/0x1304)
> > [  573.579251] [<c022afb4>] (path_openat) from [<c022d148>]
> > (do_filp_open+0x6c/0xd8)
> > [  573.586741] [<c022d148>] (do_filp_open) from [<c0219ef0>]
> > (do_sys_open+0x150/0x1f0)
> > [  573.594405] [<c0219ef0>] (do_sys_open) from [<c01011d4>]
> > (__sys_trace_return+0x0/0x10)
> > [  573.602322] Exception stack(0xec923fa8 to 0xec923ff0)
> > [  573.607378] 3fa0:                   be9c8950 00000000 ffffff9c
> > be9c8950 000a0002 00000000
> > [  573.615558] 3fc0: be9c8950 00000000 02018390 00000142 0200f368
> > 00000002 b6f65e6c 0000000c
> > [  573.623737] 3fe0: 00000000 be9c8918 b6f967a0 b6e96bc8
> > [  573.628795] Code: e597214c e5926000 e3a02000 ee072f9a (e3c66004)
> > [  573.634894] ---[ end trace 2247f322516b4181 ]---
> > #
> >
> > Thanks in advance,
> >
> > -- Fawad Lateef

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Unhandled fault: imprecise external abort (0x1406) when loading xhci_pci.ko - uPD720202, PEX8605, iMX6Q and linux-4.19.25
  2019-08-02  8:22       ` AW: " Schmid, Carsten
@ 2019-08-02 10:56         ` Fawad Lateef
  2019-08-22  9:18           ` Fawad Lateef
  0 siblings, 1 reply; 10+ messages in thread
From: Fawad Lateef @ 2019-08-02 10:56 UTC (permalink / raw)
  To: Schmid, Carsten
  Cc: Bjorn Helgaas, linux-pci, linux-usb, Richard Zhu, Lucas Stach,
	Shawn Guo, Sascha Hauer

Hi Schmid,

On Fri, 2 Aug 2019 at 10:24, Schmid, Carsten <Carsten_Schmid@mentor.com> wrote:
>
> > >
> > > Facing kernel "Unhandled fault: imprecise external abort (0x1406)"
> > > when trying to load xhci_pci.ko module for uPD720202. Receiving this
> > > fault straight-away when driver trying to setup device.
> > >
> I had "imprecise external abort" on ARM systems in the following cases:
> - Subsystem that was accessed was not powered
> - Clock of accessed subsystem was turned off
> Maybe this enables you to find the true reason.
>

Thanks for suggestion. Going to verify these points.

> Can you try to disable runtime power management to check if it works?
>

I will try soon as currently don't have access to prototype board.

> Best regards
> Carsten

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Unhandled fault: imprecise external abort (0x1406) when loading xhci_pci.ko - uPD720202, PEX8605, iMX6Q and linux-4.19.25
  2019-08-02 10:56         ` Fawad Lateef
@ 2019-08-22  9:18           ` Fawad Lateef
  2019-08-22  9:34             ` AW: " Schmid, Carsten
  2019-08-22 19:21             ` Bjorn Helgaas
  0 siblings, 2 replies; 10+ messages in thread
From: Fawad Lateef @ 2019-08-22  9:18 UTC (permalink / raw)
  To: Schmid, Carsten
  Cc: Bjorn Helgaas, linux-pci, linux-usb, Richard Zhu, Lucas Stach,
	Shawn Guo, Sascha Hauer

Hi all,

I started back with the issue and now trying with latest kernel 5.2.7
and still seeing same error "Unhandled fault: imprecise external abort
(0x1406) at xxxxxxx"; though this time it happens in different
conditions as mentioned below (with logs):

If I load the xhci-pci.ko driver, which then wait till timeout and
then gives error  -110 (as expected); then after loading the uPD720202
firmware (from user-space utility) I was able to see the USB 3.0 and
USB2.0 devices available through uPD chip (I couldn't connect any
external USB device to it yet as hardware prototype don't have power
support for external devices yet).

Then I did query usb-devices in a loop for 10 mins and it was good.
When tried to reboot Linux then during driver unloading stage saw the
crash from xhci-pci.ko driver (same error as above). So this means it
was working somehow then when doing pci bus shutdown it crashed.
(Didn't have log for it).

Though after reboot tried to load the driver again _without_ firmware
loaded into uPD and got crash number 1 and next power-cycle loaded the
firmware of uPD first then loaded the driver and got crash number 2
(crashes logs are below).

In all crash cases (when loading/unloading the driver); system stays
response, so I can look into any possible device status using PCIe
registers of PEX8605 switch or iMX6 PCIe root hub. Please suggest if
something I can check to better understand the issue.

Have a question that: Can I disable PCIe power management completely
using some kernel CONFIG option OR boot parameter? If yes then how?

Thanks


=============== Crash log number 1 =============================

barebox 2017.12.0-bsp-yocto-i.mx6-pd18.1.1 #1 Thu Jul 25 13:13:48 UTC 2019


Board: Phytec phyCORE-i.MX6 Quad with eMMC
detected i.MX6 Quad revision 1.5
i.MX6 unique ID: ee7f9502211821d4
mdio_bus: miibus0: probed
eth0: got preset MAC address: 50:2d:f4:15:a9:fe
m25p80 flash@00: n25q128a13 (16384 Kbytes)
imx-usb 2184200.usb: USB EHCI 1.00
imx-esdhc 2190000.usdhc: registered as 2190000.usdhc
imx-esdhc 219c000.usdhc: registered as 219c000.usdhc
da9063 da90620: da9062 with id 62.22.ff.1a detected
state: New state registered 'state'
state: Using bucket 0@0x00000000
netconsole: registered as netconsole-1
phySOM-i.MX6: Using environment in MMC
malloc space: 0x4fefb480 -> 0x8fdf68ff (size 1023 MiB)
mmc3: detected MMC card version 5.0
mmc3: registered mmc3.boot0
mmc3: registered mmc3.boot1
mmc3: registered mmc3
running /env/bin/init...

Hit m for menu or any other key to stop autoboot:    1
bootchooser: Target list $global.bootchooser.targets is empty
Nothing bootable found on 'bootchooser'
booting 'emmc'

Loading ARM Linux zImage '/mnt/emmc/zImage'
Loading devicetree from '/mnt/emmc/oftree'
m25p0: Cannot find nodepath
/soc/aips-bus@02000000/spba-bus@02000000/ecspi@02008000/flash@0,
cannot fixup
Failed to fixup node in of_partition_fixup+0x1/0x1f4: Invalid argument
at24 24c320: Cannot find nodepath
/soc/aips-bus@02100000/i2c@021a8000/eeprom@50, cannot fixup
Failed to fixup node in of_partition_fixup+0x1/0x1f4: Invalid argument
Failed to fixup node in of_state_fixup+0x1/0x1f8: No such device
mmc3: Cannot find nodepath /soc/aips-bus@02100000/usdhc@0219c000, cannot fixup
Failed to fixup node in of_partition_fixup+0x1/0x1f4: Invalid argument
commandline:  console=ttymxc1,115200n8  root=/dev/mmcblk1p2 rootwait rw
Starting kernel in secure mode
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.2.7-bsp-yocto-i.mx6-pd18.1.1
(flateef@flateef-XPS-13-9360) (gcc version 8.2.0 (Buildroot
2018.11.4-gebef590b)) #1 SMP Fri Aug 9 01:40:51 CEST 2019
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing
instruction cache
[    0.000000] OF: fdt: Machine model: PHYTEC phyBOARD-Mira Quad full
featured with eMMC
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 128 MiB at 0x38000000
[    0.000000] percpu: Embedded 16 pages/cpu s34764 r8192 d22580 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line:  console=ttymxc1,115200n8
root=/dev/mmcblk1p2 rootwait rw
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1934212K/2097152K available (8192K kernel code,
365K rwdata, 2628K rodata, 1024K init, 400K bss, 31868K reserved,
131072K cma-reserved, 1309804K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay
is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C-310 errata 752271 769419 enabled
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 16 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76470001
[    0.000000] random: get_random_bytes called from
start_kernel+0x250/0x424 with crng_init=0
[    0.000000] Switching to timer-based delay loop, resolution 333ns
[    0.000013] sched_clock: 32 bits at 3000kHz, resolution 333ns,
wraps every 715827882841ns
[    0.000045] clocksource: mxc_timer1: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 637086815595 ns
[    0.002968] Console: colour dummy device 80x30
[    0.003030] Calibrating delay loop (skipped), value calculated
using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[    0.003059] pid_max: default: 32768 minimum: 301
[    0.003348] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003389] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.004509] CPU: Testing write buffer coherency: ok
[    0.004568] CPU0: Spectre v2: using BPIALL workaround
[    0.005031] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.006145] Setting up static identity map for 0x10100000 - 0x10100078
[    0.006425] rcu: Hierarchical SRCU implementation.
[    0.007172] smp: Bringing up secondary CPUs ...
[    0.008418] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.008434] CPU1: Spectre v2: using BPIALL workaround
[    0.010016] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.010028] CPU2: Spectre v2: using BPIALL workaround
[    0.011464] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.011475] CPU3: Spectre v2: using BPIALL workaround
[    0.011703] smp: Brought up 1 node, 4 CPUs
[    0.011727] SMP: Total of 4 processors activated (24.00 BogoMIPS).
[    0.011740] CPU: All CPU(s) started in SVC mode.
[    0.013492] devtmpfs: initialized
[    0.031394] VFP support v0.3: implementor 41 architecture 3 part 30
variant 9 rev 4
[    0.031858] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.031897] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.044667] pinctrl core: initialized pinctrl subsystem
[    0.046434] NET: Registered protocol family 16
[    0.060586] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.061407] audit: initializing netlink subsys (disabled)
[    0.061690] audit: type=2000 audit(0.060:1): state=initialized
audit_enabled=0 res=1
[    0.062705] CPU identified as i.MX6Q, silicon rev 1.5
[    0.074210] vdd1p1: supplied by regulator-dummy
[    0.075120] vdd3p0: supplied by regulator-dummy
[    0.075959] vdd2p5: supplied by regulator-dummy
[    0.097934] No ATAGs?
[    0.098173] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1
watchpoint registers.
[    0.098198] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.100756] imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.154851] mxs-dma 110000.dma-apbh: initialized
[    0.163251] SCSI subsystem initialized
[    0.164034] usbcore: registered new interface driver usbfs
[    0.164136] usbcore: registered new interface driver hub
[    0.164296] usbcore: registered new device driver usb
[    0.166910] i2c i2c-0: IMX I2C adapter registered
[    0.167826] i2c i2c-1: IMX I2C adapter registered
[    0.169127] i2c i2c-2: IMX I2C adapter registered
[    0.169535] pps_core: LinuxPPS API ver. 1 registered
[    0.169553] pps_core: Software ver. 5.3.6 - Copyright 2005-2007
Rodolfo Giometti <giometti@linux.it>
[    0.169597] PTP clock support registered
[    0.170884] Bluetooth: Core ver 2.22
[    0.170962] NET: Registered protocol family 31
[    0.170978] Bluetooth: HCI device and connection manager initialized
[    0.171005] Bluetooth: HCI socket layer initialized
[    0.171027] Bluetooth: L2CAP socket layer initialized
[    0.171073] Bluetooth: SCO socket layer initialized
[    0.171920] clocksource: Switched to clocksource mxc_timer1
[    0.172177] VFS: Disk quotas dquot_6.6.0
[    0.172313] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.188838] NET: Registered protocol family 2
[    0.190035] tcp_listen_portaddr_hash hash table entries: 512
(order: 0, 6144 bytes)
[    0.190094] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.190261] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.190532] TCP: Hash tables configured (established 8192 bind 8192)
[    0.190852] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.190930] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.191441] NET: Registered protocol family 1
[    0.192495] RPC: Registered named UNIX socket transport module.
[    0.192514] RPC: Registered udp transport module.
[    0.192529] RPC: Registered tcp transport module.
[    0.192544] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.192568] PCI: CLS 0 bytes, default 64
[    0.193834] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    0.194231] hw perfevents: enabled with armv7_cortex_a9 PMU driver,
7 counters available
[    0.197197] Initialise system trusted keyrings
[    0.197495] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    0.207211] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.208285] NFS: Registering the id_resolver key type
[    0.208336] Key type id_resolver registered
[    0.208351] Key type id_legacy registered
[    0.208432] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.209258] fuse: init (API version 7.31)
[    0.213555] Key type asymmetric registered
[    0.213574] Asymmetric key parser 'x509' registered
[    0.213690] bounce: pool size: 64 pages
[    0.213717] io scheduler mq-deadline registered
[    0.213734] io scheduler kyber registered
[    0.218253] imx6q-pcie 1ffc000.pcie: host bridge /soc/pcie@1ffc000 ranges:
[    0.218332] imx6q-pcie 1ffc000.pcie:    IO 0x01f80000..0x01f8ffff
-> 0x00000000
[    0.218376] imx6q-pcie 1ffc000.pcie:   MEM 0x01000000..0x01efffff
-> 0x01000000
[    0.221980] imx-pgc-pd imx-pgc-power-domain.0: DMA mask not set
[    0.222196] imx-pgc-pd imx-pgc-power-domain.1: DMA mask not set
[    0.224609] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 63,
base_baud = 5000000) is a IMX
[    0.432333] imx6q-pcie 1ffc000.pcie: Link up
[    0.432347] imx6q-pcie 1ffc000.pcie: Link: Gen2 disabled
[    0.432363] imx6q-pcie 1ffc000.pcie: Link up, Gen1
[    0.432674] imx6q-pcie 1ffc000.pcie: PCI host bridge to bus 0000:00
[    0.432697] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.432716] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.432731] pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff]
[    0.432792] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400
[    0.432847] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    0.432878] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[    0.432992] pci 0000:00:00.0: supports D1
[    0.433008] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.443007] PCI: bus0: Fast back to back transfers disabled
[    0.452193] printk: console [ttymxc1] enabled
[    0.457166] pci 0000:01:00.0: [10b5:8605] type 01 class 0x060400
[    0.464536] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 64,
base_baud = 5000000) is a IMX
[    0.470814] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff]
[    1.043539] pci 0000:01:00.0: supports D1 D2
[    1.047835] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.054752] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth,
limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s
with 5 GT/s x1 link)
[    1.059340] brd: module loaded
[    1.089066] loop: module loaded
[    1.101829] PCI: bus1: Fast back to back transfers disabled
[    1.102644] at24 2-0050: 4096 byte 24c32 EEPROM, writable, 1 bytes/write
[    1.107513] pci 0000:01:00.0: bridge configuration invalid ([bus
00-00]), reconfiguring
[    1.117615] da9062 2-0058: Device detected (device-ID: 0x62,
var-ID: 0x22, DA9062)
[    1.123400] pci 0000:02:01.0: [10b5:8605] type 01 class 0x060400
[    1.136415] buck1: mapping for mode 2 not defined
[    1.137173] pci 0000:02:01.0: supports D1 D2
[    1.144346] buck2: mapping for mode 2 not defined
[    1.145452] pci 0000:02:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.152359] buck3: mapping for mode 2 not defined
[    1.158019] pci 0000:02:02.0: [10b5:8605] type 01 class 0x060400
[    1.164551] buck4: mapping for mode 2 not defined
[    1.168967] pci 0000:02:02.0: supports D1 D2
[    1.176186] vdd_snvs: Bringing 3100000uV into 3000000-3000000uV
[    1.176486] pci 0000:02:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.186298] vdd_high: Bringing 3100000uV into 3000000-3000000uV
[    1.190263] pci 0000:02:03.0: [10b5:8605] type 01 class 0x060400
[    1.198810] vdd_eth_io: Bringing 2600000uV into 2500000-2500000uV
[    1.202512] pci 0000:02:03.0: supports D1 D2
[    1.209634] random: fast init done
[    1.211406] pci 0000:02:03.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.215289] vdd_emmc: Bringing 1900000uV into 1800000-1800000uV
[    1.231272] PCI: bus2: Fast back to back transfers disabled
[    1.234287] ahci-imx 2200000.sata: fsl,transmit-level-mV not
specified, using 00000024
[    1.236932] pci 0000:02:01.0: bridge configuration invalid ([bus
00-00]), reconfiguring
[    1.244858] ahci-imx 2200000.sata: fsl,transmit-boost-mdB not
specified, using 00000480
[    1.252928] pci 0000:02:02.0: bridge configuration invalid ([bus
00-00]), reconfiguring
[    1.260883] ahci-imx 2200000.sata: fsl,transmit-atten-16ths not
specified, using 00002000
[    1.268986] pci 0000:02:03.0: bridge configuration invalid ([bus
00-00]), reconfiguring
[    1.277120] ahci-imx 2200000.sata: fsl,receive-eq-mdB not
specified, using 05000000
[    1.285968] pci 0000:03:00.0: [1912:0015] type 00 class 0x0c0330
[    1.295948] ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled
[    1.299167] pci 0000:03:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
[    1.305937] ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports
3 Gbps 0x1 impl platform mode
[    1.313805] pci 0000:03:00.0: PME# supported from D0 D3hot
[    1.321495] ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo
only pmp pio slum part ccc apst
[    1.327382] pci 0000:03:00.0: 2.000 Gb/s available PCIe bandwidth,
limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s
with 5 GT/s x1 link)
[    1.352674] scsi host0: ahci-imx
[    1.356786] ata1: SATA max UDMA/133 mmio [mem
0x02200000-0x02203fff] port 0x100 irq 67
[    1.369348] libphy: Fixed MDIO Bus: probed
[    1.374400] CAN device driver interface
[    1.381135] usbcore: registered new interface driver asix
[    1.386670] usbcore: registered new interface driver ax88179_178a
[    1.392885] usbcore: registered new interface driver cdc_ether
[    1.398790] usbcore: registered new interface driver net1080
[    1.404561] usbcore: registered new interface driver cdc_subset
[    1.410570] usbcore: registered new interface driver zaurus
[    1.411450] PCI: bus3: Fast back to back transfers disabled
[    1.416301] usbcore: registered new interface driver cdc_ncm
[    1.421808] pci_bus 0000:03: busn_res: [bus 03-ff] end is updated to 03
[    1.427487] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.440654] ehci-pci: EHCI PCI platform driver
[    1.443946] PCI: bus4: Fast back to back transfers enabled
[    1.445215] ehci-platform: EHCI generic platform driver
[    1.450613] pci_bus 0000:04: busn_res: [bus 04-ff] end is updated to 04
[    1.456352] ehci-mxc: Freescale On-Chip EHCI Host driver
[    1.472297] PCI: bus5: Fast back to back transfers enabled
[    1.472675] usbcore: registered new interface driver usb-storage
[    1.477814] pci_bus 0000:05: busn_res: [bus 05-ff] end is updated to 05
[    1.490502] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 05
[    1.497351] pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff]
[    1.503369] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    1.504225] pci 0000:00:00.0: BAR 8: assigned [mem 0x01100000-0x013fffff]
[    1.509092] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    1.515872] pci 0000:00:00.0: BAR 9: assigned [mem
0x01400000-0x015fffff pref]
[    1.515892] pci 0000:00:00.0: BAR 6: assigned [mem
0x01600000-0x0160ffff pref]
[    1.537451] pci 0000:00:00.0: BAR 7: assigned [io  0x1000-0x1fff]
[    1.543615] pci 0000:01:00.0: BAR 8: assigned [mem 0x01100000-0x012fffff]
[    1.550429] pci 0000:01:00.0: BAR 9: assigned [mem
0x01400000-0x015fffff 64bit pref]
[    1.551979] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    1.558220] pci 0000:01:00.0: BAR 0: assigned [mem 0x01300000-0x01303fff]
[    1.564882] hub 1-0:1.0: USB hub found
[    1.570448] pci 0000:01:00.0: BAR 7: assigned [io  0x1000-0x1fff]
[    1.574325] hub 1-0:1.0: 1 port detected
[    1.580326] pci 0000:02:01.0: BAR 8: assigned [mem 0x01100000-0x012fffff]
[    1.589036] da9063-rtc da9062-rtc: DMA mask not set
[    1.591060] pci 0000:02:01.0: BAR 9: assigned [mem
0x01400000-0x015fffff 64bit pref]
[    1.603738] pci 0000:02:01.0: BAR 7: assigned [io  0x1000-0x1fff]
[    1.606664] da9063-rtc da9062-rtc: registered as rtc1
[    1.609865] pci 0000:03:00.0: BAR 0: assigned [mem
0x01100000-0x01101fff 64bit]
[    1.609986] pci 0000:02:01.0: PCI bridge to [bus 03]
[    1.616452] rtc-m41t80 0-0068: Can't clear HT bit
[    1.622326] pci 0000:02:01.0:   bridge window [io  0x1000-0x1fff]
[    1.622386] pci 0000:02:01.0:   bridge window [mem 0x01100000-0x012fffff]
[    1.629545] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc2
[    1.632084] pci 0000:02:01.0:   bridge window [mem
0x01400000-0x015fffff 64bit pref]
[    1.638453] i2c /dev entries driver
[    1.645047] pci 0000:02:02.0: PCI bridge to [bus 04]
[    1.657127] Bluetooth: HCI UART driver ver 2.3
[    1.659016] pci 0000:02:03.0: PCI bridge to [bus 05]
[    1.662398] Bluetooth: HCI UART protocol H4 registered
[    1.667487] pci 0000:01:00.0: PCI bridge to [bus 02-05]
[    1.672724] sdhci: Secure Digital Host Controller Interface driver
[    1.676837] pci 0000:01:00.0:   bridge window [io  0x1000-0x1fff]
[    1.681953] sdhci: Copyright(c) Pierre Ossman
[    1.687223] pci 0000:01:00.0:   bridge window [mem 0x01100000-0x012fffff]
[    1.693399] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.699522] pci 0000:01:00.0:   bridge window [mem
0x01400000-0x015fffff 64bit pref]
[    1.705765] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
[    1.710726] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.734550] pci 0000:00:00.0:   bridge window [io  0x1000-0x1fff]
[    1.740665] pci 0000:00:00.0:   bridge window [mem 0x01100000-0x013fffff]
[    1.747496] pci 0000:00:00.0:   bridge window [mem
0x01400000-0x015fffff pref]
[    1.750623] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc]
using ADMA
[    1.755501] pcieport 0000:00:00.0: PME: Signaling with IRQ 310
[    1.768591] pcieport 0000:00:00.0: AER: enabled with IRQ 310
[    1.774932] pcieport 0000:01:00.0: enabling device (0140 -> 0143)
[    1.783212] pcieport 0000:02:01.0: enabling device (0140 -> 0143)
[    1.796922] pci 0000:03:00.0: enabling device (0140 -> 0142)
[    1.801987] mmc1: SDHCI controller on 219c000.usdhc [219c000.usdhc]
using ADMA
[    1.833410] leds-pca953x 0-0062: setting platform data
[    1.840035] gpio gpiochip7: GPIO integer space overlap, cannot add chip
[    1.846735] gpiochip_add_data_with_key: GPIOs 0..3 (gpio-pca9532)
failed to register, -16
[    1.854969] leds-pca953x 0-0062: could not add gpiochip
[    1.861998] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.867613] caam 2100000.caam: Entropy delay = 3200
[    1.869042] ata1.00: ATA-10: ADATA SU800NS38, R0427AC, max UDMA/133
[    1.879422] ata1.00: 250069680 sectors, multi 16: LBA48 NCQ (depth 32)
[    1.886669] ata1.00: configured for UDMA/133
[    1.933950] caam 2100000.caam: Instantiated RNG4 SH0
[    1.994710] caam 2100000.caam: Instantiated RNG4 SH1
[    1.999700] caam 2100000.caam: device ID = 0x0a16010000000000 (Era 4)
[    2.006182] caam 2100000.caam: job rings = 2, qi = 0
[    2.072565] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    2.079296] mmc1: new DDR MMC card at address 0001
[    2.086681] mmcblk1: mmc1:0001 Q2J55L 7.09 GiB
[    2.093250] mmcblk1boot0: mmc1:0001 Q2J55L partition 1 16.0 MiB
[    2.123862] mmcblk1boot1: mmc1:0001 Q2J55L partition 2 16.0 MiB
[    2.130194] mmcblk1rpmb: mmc1:0001 Q2J55L partition 3 4.00 MiB,
chardev (247:0)
[    2.143013]  mmcblk1: p1 p2
[    2.283623] hub 1-1:1.0: USB hub found
[    2.287611] hub 1-1:1.0: 4 ports detected
[    2.621963] usb 1-1.4: new high-speed USB device number 3 using ci_hdrc
[    2.773484] hub 1-1.4:1.0: USB hub found
[    2.777610] hub 1-1.4:1.0: 4 ports detected
[    3.101966] usb 1-1.4.1: new full-speed USB device number 4 using ci_hdrc
[    8.747630] pci 0000:03:00.0: xHCI HW not ready after 5 sec (HC
bug?) status = 0x801
[    8.755547] pci 0000:03:00.0: quirk_usb_early_handoff+0x0/0x7e0
took 6795527 usecs
[    8.764593] scsi 0:0:0:0: Direct-Access     ATA      ADATA
SU800NS38  7AC  PQ: 0 ANSI: 5
[    8.774511] sd 0:0:0:0: [sda] 250069680 512-byte logical blocks:
(128 GB/119 GiB)
[    8.782235] sd 0:0:0:0: [sda] Write Protect is off
[    8.787290] sd 0:0:0:0: [sda] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[    8.796955] caam algorithms registered in /proc/crypto
[    8.799650]  sda: sda1 sda2
[    8.808296] sd 0:0:0:0: [sda] Attached SCSI disk
[    8.814588] caam_jr 2101000.jr0: registering rng-caam
[    8.820571] hidraw: raw HID events driver (C) Jiri Kosina
[    8.826405] usbcore: registered new interface driver usbhid
[    8.832029] usbhid: USB HID core driver
[    8.840054] NET: Registered protocol family 10
[    8.846091] Segment Routing with IPv6
[    8.849909] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    8.857015] NET: Registered protocol family 17
[    8.861494] can: controller area network core (rev 20170425 abi 9)
[    8.867914] NET: Registered protocol family 29
[    8.872416] can: raw protocol (rev 20170425)
[    8.876702] can: broadcast manager protocol (rev 20170425 t)
[    8.882454] can: netlink gateway (rev 20170425) max_hops=1
[    8.888236] 8021q: 802.1Q VLAN Support v1.8
[    8.892543] Key type dns_resolver registered
[    8.897466] vddarm: supplied by vdd_arm
[    8.902567] vddpu: supplied by vdd_soc
[    8.907413] vddsoc: supplied by vdd_soc
[    8.913956] Registering SWP/SWPB emulation handler
[    8.919910] Loading compiled-in X.509 certificates
[    8.941504] imx_thermal tempmon: Automotive CPU temperature grade -
max:125C critical:120C passive:115C
[    8.952742] hctosys: unable to open rtc device (rtc0)
[    8.958420] VCC_CAM0: disabling
[    8.961574] flexcan1-reg: disabling
[    8.965102] usb_otg_vbus: disabling
[    8.968600] peb-display: disabling
[    8.972735] vdd_eth_io: disabling
[    9.234016] EXT4-fs (mmcblk1p2): recovery complete
[    9.239575] EXT4-fs (mmcblk1p2): mounted filesystem with ordered
data mode. Opts: (null)
[    9.247752] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    9.256504] devtmpfs: mounted
[    9.262033] Freeing unused kernel memory: 1024K
[    9.266858] Run /sbin/init as init process
[    9.364136] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
Starting rsyslog daemon: OK
Starting auditd: OK
Starting mdev...
modprobe: can't load module xhci_pci (kernel/drivers/usb/host/xhc[
10.117274] usbcore: registered new interface driver usbserial_generic
i-pci.ko): No such file or direct[   10.125906] usbserial: USB Serial
support registered for generic
ory
[   10.142323] usbcore: registered new interface driver ftdi_sio
[   10.148277] usbserial: USB Serial support registered for FTDI USB
Serial Device
[   10.164601] ftdi_sio 1-1.4.1:1.0: FTDI USB Serial Device converter detected
[   10.171848] usb 1-1.4.1: Detected FT232RL
[   10.177424] usb 1-1.4.1: FTDI USB Serial Device converter now
attached to ttyUSB0
Starting irqbalance: OK
Initializing random number generator... [   10.298126] random: dd:
uninitialized urandom read (512 bytes read)
done.
Starting system message bus: [   10.347151] random: dbus-uuidgen:
uninitialized urandom read (12 bytes read)
[   10.354381] random: dbus-uuidgen: uninitialized urandom read (8 bytes read)
done
Starting network: Waiting for interface wlan0 to appear....

........... timeout!
run-parts: /etc/network/if-pre-up.d/wait_iface: exit status 1
FAIL
Starting ntpd: OK
Starting nginx...
[   25.883748] urandom_read: 2 callbacks suppressed
[   25.883756] random: ssh-keygen: uninitialized urandom read (32 bytes read)
Starting sshd: [   25.920082] random: sshd: uninitialized urandom read
(32 bytes read)
OK

Welcome to iMX6
buildroot-imx6 login: root
Password:
#
#  insmod  /lib/modules/5.2.7-bsp-yocto-i.mx6-pd18.1.1/kernel/drivers/usb/host/x
hci-pci1.ko
[   50.709359] xhci_hcd 0000:03:00.0: xHCI Host Controller
[   50.715056] xhci_hcd 0000:03:00.0: new USB bus registered, assigned
bus number 2

[   56.943873] Unhandled fault: imprecise external abort (0x1406) at 0x01d87004
[   56.950944] pgd = (ptrval)
[   56.953663] [01d87004] *pgd=8c181831
[   56.957262] Internal error: : 1406 [#1] SMP ARM
[   56.961804] Modules linked in: xhci_pci(+) ftdi_sio usbserial xhci_hcd
[   56.968375] CPU: 3 PID: 365 Comm: insmod Not tainted
5.2.7-bsp-yocto-i.mx6-pd18.1.1 #1
[   56.976302] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[   56.982970] PC is at xhci_handshake+0x78/0xfc [xhci_hcd]
[   56.988315] LR is at __timer_delay+0x3c/0x88
[   56.992597] pc : [<bf001d80>]    lr : [<c085992c>]    psr: 600d0013
[   56.998874] sp : e4b0dbd8  ip : 43617a80  fp : c0b388d4
[   57.004111] r10: 000346dc  r9 : 00000000  r8 : 00989680
[   57.009348] r7 : f096a020  r6 : 00000000  r5 : 00000002  r4 : 00000000
[   57.015886] r3 : 00000000  r2 : 7fffd540  r1 : 00000000  r0 : 00000002
[   57.022430] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[   57.029577] Control: 10c5387d  Table: 3493804a  DAC: 00000051
[   57.035336] Process insmod (pid: 365, stack limit = 0x(ptrval))
[   57.041267] Stack: (0xe4b0dbd8 to 0xe4b0e000)
[   57.045641] dbc0:
    233ec4e3 0000000e
[   57.053838] dbe0: d026d750 e4442158 00000000 00000002 bf024494
00000000 e45b9878 00000006
[   57.062035] dc00: c0d05148 bf002c24 bf024494 00000000 e4442000
e4442000 e4442158 bf003430
[   57.070232] dc20: 00000030 5a6c0a29 e4b0dc3c e4442000 e45b9800
e4442000 00000000 00000080
[   57.078428] dc40: e44420c0 bf024b88 e4442000 00000000 c0d05148
c05c85b0 00000cc0 e45b9800
[   57.086623] dc60: e4a51000 5a6c0a29 00000001 e45b9800 bf025094
e4442000 bf026088 00000001
[   57.094819] dc80: 00000000 00000006 c0d05148 c05d9f74 00000000
00000000 0000003c e45b9878
[   57.103016] dca0: c0d05148 e45b9800 e45b996c bf026000 00000000
bf026088 bf025094 00000006
[   57.111213] dcc0: c0d05148 bf0240d0 e45b9878 e45b9800 bf026000
00000000 bf026038 bf025094
[   57.119410] dce0: 00000006 c045d18c e45b9878 c0db5b34 c0db5b38
00000000 00000000 bf026038
[   57.127608] dd00: 00000006 c04e17c4 e45b9878 bf026038 bf026038
c0d05148 ffffe000 00000028
[   57.135804] dd20: bf026140 c04e1afc 00000cc0 00000000 00000000
e45b9878 00000000 bf026038
[   57.144000] dd40: c0d05148 ffffe000 00000028 c04e1da8 00000000
bf026038 e45b9878 c04e1e08
[   57.152197] dd60: e45f43b4 bf026038 c04e1db0 c04dfca8 00000028
e416bb58 e45f43b4 5a6c0a29
[   57.160393] dd80: c0d1f6fc bf026038 e49e6e80 c0d1f6fc 00000000
c04e0ce4 bf0250cc 00000000
[   57.168589] dda0: bf026038 bf026038 c0d05148 bf029000 00000000
c04e2658 c0d5b800 c0d05148
[   57.176785] ddc0: bf029000 c0102738 8040003f e4912c80 00000000
5a6c0a29 e4b0ddd4 e744a240
[   57.184980] dde0: e744a240 ffffe000 8040003e 00000002 e4a49940
5a6c0a29 00000000 c0874e7c
[   57.193176] de00: 00000cc0 e4001e40 c0d05148 c021ecd0 bf026140
5a6c0a29 bf026140 e4a49a00
[   57.201371] de20: e4a49900 00000002 e4a49940 c019d004 00000002
e4a49900 e4b0df30 00000002
[   57.209567] de40: e4a49900 c019f320 bf02614c 00007fff bf026140
c019c134 00000041 bf026188
[   57.217763] de60: 01d87150 bf026254 bf02bb38 bf026140 bf026300
c0903efc 00000000 c0ab0e20
[   57.225957] de80: 00000001 00000000 c0b5e5ec c0b4f1ec 00000000
00000000 00000000 00000000
[   57.234152] dea0: 00000000 00000000 6e72656b 00006c65 00000000
00000000 00000000 00000000
[   57.242346] dec0: 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000
[   57.250543] dee0: 00000000 5a6c0a29 7fffffff c0d05148 00000000
00000003 01d87150 7fffffff
[   57.258737] df00: 00000000 0000017b 00000000 c019f764 7fffffff
00000000 00000003 e48f8008
[   57.266933] df20: 00000001 f0800000 00002ea8 00000000 f0800de7
f0801780 f0800000 00002ea8
[   57.275129] df40: f08028e0 f080275c f08020c8 00003000 00003260
00002aec 000033c1 00000000
[   57.283324] df60: 00000000 00000000 00002adc 00000022 00000023
0000001c 00000018 00000016
[   57.291520] df80: 00000000 5a6c0a29 beb20f08 01d87150 ffffffff
beb20f08 0000017b c0101204
[   57.299715] dfa0: e4b0c000 c01011e0 01d87150 ffffffff 00000003
01d87150 00000000 beb20f08
[   57.307911] dfc0: 01d87150 ffffffff beb20f08 0000017b 00000000
00000000 b6fa1000 00000000
[   57.316106] dfe0: beb20c68 beb20c58 00027a1c b6ed7bf0 600d0010
00000003 00000000 00000000
[   57.324472] [<bf001d80>] (xhci_handshake [xhci_hcd]) from
[<bf002c24>] (xhci_reset+0x7c/0x168 [xhci_hcd])
[   57.334189] [<bf002c24>] (xhci_reset [xhci_hcd]) from [<bf003430>]
(xhci_gen_setup+0x1a4/0x308 [xhci_hcd])
[   57.343943] [<bf003430>] (xhci_gen_setup [xhci_hcd]) from
[<bf024b88>] (xhci_pci_setup+0x40/0x8c [xhci_pci])
[   57.353821] [<bf024b88>] (xhci_pci_setup [xhci_pci]) from
[<c05c85b0>] (usb_add_hcd+0x278/0x76c)
[   57.362646] [<c05c85b0>] (usb_add_hcd) from [<c05d9f74>]
(usb_hcd_pci_probe+0x200/0x36c)
[   57.370773] [<c05d9f74>] (usb_hcd_pci_probe) from [<bf0240d0>]
(xhci_pci_probe+0x2c/0x194 [xhci_pci])
[   57.380037] [<bf0240d0>] (xhci_pci_probe [xhci_pci]) from
[<c045d18c>] (pci_device_probe+0xa4/0x138)
[   57.389203] [<c045d18c>] (pci_device_probe) from [<c04e17c4>]
(really_probe+0xec/0x2c8)
[   57.397234] [<c04e17c4>] (really_probe) from [<c04e1afc>]
(driver_probe_device+0x5c/0x160)
[   57.405523] [<c04e1afc>] (driver_probe_device) from [<c04e1da8>]
(device_driver_attach+0x58/0x60)
[   57.414416] [<c04e1da8>] (device_driver_attach) from [<c04e1e08>]
(__driver_attach+0x58/0xcc)
[   57.422963] [<c04e1e08>] (__driver_attach) from [<c04dfca8>]
(bus_for_each_dev+0x70/0xb4)
[   57.431162] [<c04dfca8>] (bus_for_each_dev) from [<c04e0ce4>]
(bus_add_driver+0x194/0x1cc)
[   57.439449] [<c04e0ce4>] (bus_add_driver) from [<c04e2658>]
(driver_register+0x74/0x108)
[   57.447566] [<c04e2658>] (driver_register) from [<c0102738>]
(do_one_initcall+0x6c/0x1c8)
[   57.455780] [<c0102738>] (do_one_initcall) from [<c019d004>]
(do_init_module+0x58/0x230)
[   57.463899] [<c019d004>] (do_init_module) from [<c019f320>]
(load_module+0x20dc/0x22dc)
[   57.471929] [<c019f320>] (load_module) from [<c019f764>]
(sys_finit_module+0xbc/0xdc)
[   57.479780] [<c019f764>] (sys_finit_module) from [<c01011e0>]
(__sys_trace_return+0x0/0x20)
[   57.488141] Exception stack(0xe4b0dfa8 to 0xe4b0dff0)
[   57.493212] dfa0:                   01d87150 ffffffff 00000003
01d87150 00000000 beb20f08
[   57.501409] dfc0: 01d87150 ffffffff beb20f08 0000017b 00000000
00000000 b6fa1000 00000000
[   57.509599] dfe0: beb20c68 beb20c58 00027a1c b6ed7bf0
[   57.514671] Code: e12fff33 e5973000 e1a01003 ee074f9a (e0052003)
[   57.520782] ---[ end trace dada3d605486cdd8 ]---
Segmentation fault
#


=============================== Crash log number 2 ============================

barebox 2017.12.0-bsp-yocto-i.mx6-pd18.1.1 #1 Thu Jul 25 13:13:48 UTC 2019


Board: Phytec phyCORE-i.MX6 Quad with eMMC
detected i.MX6 Quad revision 1.5
i.MX6 unique ID: ee7f9502211821d4
mdio_bus: miibus0: probed
eth0: got preset MAC address: 50:2d:f4:15:a9:fe
m25p80 flash@00: n25q128a13 (16384 Kbytes)
imx-usb 2184200.usb: USB EHCI 1.00
imx-esdhc 2190000.usdhc: registered as 2190000.usdhc
imx-esdhc 219c000.usdhc: registered as 219c000.usdhc
da9063 da90620: da9062 with id 62.22.ff.1a detected
state: New state registered 'state'
state: Using bucket 0@0x00000000
netconsole: registered as netconsole-1
phySOM-i.MX6: Using environment in MMC
malloc space: 0x4fefb480 -> 0x8fdf68ff (size 1023 MiB)
mmc3: detected MMC card version 5.0
mmc3: registered mmc3.boot0
mmc3: registered mmc3.boot1
mmc3: registered mmc3
running /env/bin/init...

Hit m for menu or any other key to stop autoboot:    0
bootchooser: Target list $global.bootchooser.targets is empty
Nothing bootable found on 'bootchooser'
booting 'emmc'

Loading ARM Linux zImage '/mnt/emmc/zImage'
Loading devicetree from '/mnt/emmc/oftree'
m25p0: Cannot find nodepath
/soc/aips-bus@02000000/spba-bus@02000000/ecspi@02008000/flash@0,
cannot fixup
Failed to fixup node in of_partition_fixup+0x1/0x1f4: Invalid argument
at24 24c320: Cannot find nodepath
/soc/aips-bus@02100000/i2c@021a8000/eeprom@50, cannot fixup
Failed to fixup node in of_partition_fixup+0x1/0x1f4: Invalid argument
Failed to fixup node in of_state_fixup+0x1/0x1f8: No such device
mmc3: Cannot find nodepath /soc/aips-bus@02100000/usdhc@0219c000, cannot fixup
Failed to fixup node in of_partition_fixup+0x1/0x1f4: Invalid argument
commandline:  console=ttymxc1,115200n8  root=/dev/mmcblk1p2 rootwait rw
Starting kernel in secure mode
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.2.7-bsp-yocto-i.mx6-pd18.1.1
(flateef@flateef-XPS-13-9360) (gcc version 8.2.0 (Buildroot
2018.11.4-gebef590b)) #1 SMP Fri Aug 9 01:40:51 CEST 2019
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing
instruction cache
[    0.000000] OF: fdt: Machine model: PHYTEC phyBOARD-Mira Quad full
featured with eMMC
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 128 MiB at 0x38000000
[    0.000000] percpu: Embedded 16 pages/cpu s34764 r8192 d22580 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line:  console=ttymxc1,115200n8
root=/dev/mmcblk1p2 rootwait rw
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1934212K/2097152K available (8192K kernel code,
365K rwdata, 2628K rodata, 1024K init, 400K bss, 31868K reserved,
131072K cma-reserved, 1309804K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay
is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C-310 errata 752271 769419 enabled
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 16 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76470001
[    0.000000] random: get_random_bytes called from
start_kernel+0x250/0x424 with crng_init=0
[    0.000000] Switching to timer-based delay loop, resolution 333ns
[    0.000015] sched_clock: 32 bits at 3000kHz, resolution 333ns,
wraps every 715827882841ns
[    0.000048] clocksource: mxc_timer1: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 637086815595 ns
[    0.002967] Console: colour dummy device 80x30
[    0.003027] Calibrating delay loop (skipped), value calculated
using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[    0.003055] pid_max: default: 32768 minimum: 301
[    0.003347] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003390] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.004513] CPU: Testing write buffer coherency: ok
[    0.004573] CPU0: Spectre v2: using BPIALL workaround
[    0.005037] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.006162] Setting up static identity map for 0x10100000 - 0x10100078
[    0.006439] rcu: Hierarchical SRCU implementation.
[    0.007181] smp: Bringing up secondary CPUs ...
[    0.008430] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.008441] CPU1: Spectre v2: using BPIALL workaround
[    0.010029] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.010041] CPU2: Spectre v2: using BPIALL workaround
[    0.011478] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.011490] CPU3: Spectre v2: using BPIALL workaround
[    0.011712] smp: Brought up 1 node, 4 CPUs
[    0.011734] SMP: Total of 4 processors activated (24.00 BogoMIPS).
[    0.011748] CPU: All CPU(s) started in SVC mode.
[    0.013487] devtmpfs: initialized
[    0.031377] VFP support v0.3: implementor 41 architecture 3 part 30
variant 9 rev 4
[    0.031850] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.031887] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.044638] pinctrl core: initialized pinctrl subsystem
[    0.046412] NET: Registered protocol family 16
[    0.060569] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.061389] audit: initializing netlink subsys (disabled)
[    0.061721] audit: type=2000 audit(0.060:1): state=initialized
audit_enabled=0 res=1
[    0.062738] CPU identified as i.MX6Q, silicon rev 1.5
[    0.074208] vdd1p1: supplied by regulator-dummy
[    0.075101] vdd3p0: supplied by regulator-dummy
[    0.075947] vdd2p5: supplied by regulator-dummy
[    0.097942] No ATAGs?
[    0.098179] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1
watchpoint registers.
[    0.098204] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.100772] imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.155225] mxs-dma 110000.dma-apbh: initialized
[    0.163618] SCSI subsystem initialized
[    0.164408] usbcore: registered new interface driver usbfs
[    0.164509] usbcore: registered new interface driver hub
[    0.164666] usbcore: registered new device driver usb
[    0.167291] i2c i2c-0: IMX I2C adapter registered
[    0.168222] i2c i2c-1: IMX I2C adapter registered
[    0.169594] i2c i2c-2: IMX I2C adapter registered
[    0.169934] pps_core: LinuxPPS API ver. 1 registered
[    0.169952] pps_core: Software ver. 5.3.6 - Copyright 2005-2007
Rodolfo Giometti <giometti@linux.it>
[    0.169995] PTP clock support registered
[    0.171262] Bluetooth: Core ver 2.22
[    0.171340] NET: Registered protocol family 31
[    0.171357] Bluetooth: HCI device and connection manager initialized
[    0.171383] Bluetooth: HCI socket layer initialized
[    0.171405] Bluetooth: L2CAP socket layer initialized
[    0.171445] Bluetooth: SCO socket layer initialized
[    0.172417] clocksource: Switched to clocksource mxc_timer1
[    0.172673] VFS: Disk quotas dquot_6.6.0
[    0.172809] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.189479] NET: Registered protocol family 2
[    0.190668] tcp_listen_portaddr_hash hash table entries: 512
(order: 0, 6144 bytes)
[    0.190725] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.190885] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.191155] TCP: Hash tables configured (established 8192 bind 8192)
[    0.191489] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.191571] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.192084] NET: Registered protocol family 1
[    0.193064] RPC: Registered named UNIX socket transport module.
[    0.193084] RPC: Registered udp transport module.
[    0.193099] RPC: Registered tcp transport module.
[    0.193113] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.193138] PCI: CLS 0 bytes, default 64
[    0.194396] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    0.194829] hw perfevents: enabled with armv7_cortex_a9 PMU driver,
7 counters available
[    0.197803] Initialise system trusted keyrings
[    0.198115] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    0.207805] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.208883] NFS: Registering the id_resolver key type
[    0.208923] Key type id_resolver registered
[    0.208938] Key type id_legacy registered
[    0.209020] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.209845] fuse: init (API version 7.31)
[    0.214178] Key type asymmetric registered
[    0.214198] Asymmetric key parser 'x509' registered
[    0.214313] bounce: pool size: 64 pages
[    0.214342] io scheduler mq-deadline registered
[    0.214359] io scheduler kyber registered
[    0.218863] imx6q-pcie 1ffc000.pcie: host bridge /soc/pcie@1ffc000 ranges:
[    0.218943] imx6q-pcie 1ffc000.pcie:    IO 0x01f80000..0x01f8ffff
-> 0x00000000
[    0.218989] imx6q-pcie 1ffc000.pcie:   MEM 0x01000000..0x01efffff
-> 0x01000000
[    0.222593] imx-pgc-pd imx-pgc-power-domain.0: DMA mask not set
[    0.222809] imx-pgc-pd imx-pgc-power-domain.1: DMA mask not set
[    0.225241] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 63,
base_baud = 5000000) is a IMX
[    0.433045] imx6q-pcie 1ffc000.pcie: Link up
[    0.433059] imx6q-pcie 1ffc000.pcie: Link: Gen2 disabled
[    0.433075] imx6q-pcie 1ffc000.pcie: Link up, Gen1
[    0.433389] imx6q-pcie 1ffc000.pcie: PCI host bridge to bus 0000:00
[    0.433411] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.433428] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.433444] pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff]
[    0.433504] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400
[    0.433556] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    0.433586] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[    0.433702] pci 0000:00:00.0: supports D1
[    0.433718] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.443769] PCI: bus0: Fast back to back transfers disabled
[    0.452698] printk: console [ttymxc1] enabled
[    0.457679] pci 0000:01:00.0: [10b5:8605] type 01 class 0x060400
[    0.465044] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 64,
base_baud = 5000000) is a IMX
[    0.471328] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff]
[    1.044171] pci 0000:01:00.0: supports D1 D2
[    1.048470] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.055394] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth,
limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s
with 5 GT/s x1 link)
[    1.060051] brd: module loaded
[    1.089765] loop: module loaded
[    1.102366] PCI: bus1: Fast back to back transfers disabled
[    1.103161] at24 2-0050: 4096 byte 24c32 EEPROM, writable, 1 bytes/write
[    1.108062] pci 0000:01:00.0: bridge configuration invalid ([bus
00-00]), reconfiguring
[    1.118163] da9062 2-0058: Device detected (device-ID: 0x62,
var-ID: 0x22, DA9062)
[    1.123945] pci 0000:02:01.0: [10b5:8605] type 01 class 0x060400
[    1.137453] buck1: mapping for mode 2 not defined
[    1.137621] pci 0000:02:01.0: supports D1 D2
[    1.145334] buck2: mapping for mode 2 not defined
[    1.146500] pci 0000:02:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.153377] buck3: mapping for mode 2 not defined
[    1.159045] pci 0000:02:02.0: [10b5:8605] type 01 class 0x060400
[    1.165633] buck4: mapping for mode 2 not defined
[    1.170011] pci 0000:02:02.0: supports D1 D2
[    1.177250] vdd_snvs: Bringing 3100000uV into 3000000-3000000uV
[    1.177582] pci 0000:02:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.187366] vdd_high: Bringing 3100000uV into 3000000-3000000uV
[    1.191343] pci 0000:02:03.0: [10b5:8605] type 01 class 0x060400
[    1.199961] vdd_eth_io: Bringing 2600000uV into 2500000-2500000uV
[    1.203615] pci 0000:02:03.0: supports D1 D2
[    1.210740] random: fast init done
[    1.212544] pci 0000:02:03.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.216392] vdd_emmc: Bringing 1900000uV into 1800000-1800000uV
[    1.232342] PCI: bus2: Fast back to back transfers disabled
[    1.235292] ahci-imx 2200000.sata: fsl,transmit-level-mV not
specified, using 00000024
[    1.238007] pci 0000:02:01.0: bridge configuration invalid ([bus
00-00]), reconfiguring
[    1.245931] ahci-imx 2200000.sata: fsl,transmit-boost-mdB not
specified, using 00000480
[    1.254000] pci 0000:02:02.0: bridge configuration invalid ([bus
00-00]), reconfiguring
[    1.261949] ahci-imx 2200000.sata: fsl,transmit-atten-16ths not
specified, using 00002000
[    1.270053] pci 0000:02:03.0: bridge configuration invalid ([bus
00-00]), reconfiguring
[    1.278188] ahci-imx 2200000.sata: fsl,receive-eq-mdB not
specified, using 05000000
[    1.287030] pci 0000:03:00.0: [1912:0015] type 00 class 0x0c0330
[    1.297021] ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled
[    1.300229] pci 0000:03:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
[    1.306986] ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports
3 Gbps 0x1 impl platform mode
[    1.314843] pci 0000:03:00.0: PME# supported from D0 D3hot
[    1.322564] ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo
only pmp pio slum part ccc apst
[    1.337541] pci 0000:03:00.0: 2.000 Gb/s available PCIe bandwidth,
limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s
with 5 GT/s x1 link)
[    1.340272] scsi host0: ahci-imx
[    1.355545] ata1: SATA max UDMA/133 mmio [mem
0x02200000-0x02203fff] port 0x100 irq 67
[    1.368058] libphy: Fixed MDIO Bus: probed
[    1.373143] CAN device driver interface
[    1.379878] usbcore: registered new interface driver asix
[    1.385420] usbcore: registered new interface driver ax88179_178a
[    1.391588] usbcore: registered new interface driver cdc_ether
[    1.397536] usbcore: registered new interface driver net1080
[    1.403304] usbcore: registered new interface driver cdc_subset
[    1.409317] usbcore: registered new interface driver zaurus
[    1.411982] PCI: bus3: Fast back to back transfers disabled
[    1.415047] usbcore: registered new interface driver cdc_ncm
[    1.420550] pci_bus 0000:03: busn_res: [bus 03-ff] end is updated to 03
[    1.426243] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.439399] ehci-pci: EHCI PCI platform driver
[    1.442684] PCI: bus4: Fast back to back transfers enabled
[    1.443963] ehci-platform: EHCI generic platform driver
[    1.449361] pci_bus 0000:04: busn_res: [bus 04-ff] end is updated to 04
[    1.455080] ehci-mxc: Freescale On-Chip EHCI Host driver
[    1.471030] PCI: bus5: Fast back to back transfers enabled
[    1.471390] usbcore: registered new interface driver usb-storage
[    1.476585] pci_bus 0000:05: busn_res: [bus 05-ff] end is updated to 05
[    1.489270] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 05
[    1.496114] pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff]
[    1.502148] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    1.502975] pci 0000:00:00.0: BAR 8: assigned [mem 0x01100000-0x013fffff]
[    1.507893] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    1.514683] pci 0000:00:00.0: BAR 9: assigned [mem
0x01400000-0x015fffff pref]
[    1.528985] pci 0000:00:00.0: BAR 6: assigned [mem
0x01600000-0x0160ffff pref]
[    1.536259] pci 0000:00:00.0: BAR 7: assigned [io  0x1000-0x1fff]
[    1.542386] pci 0000:01:00.0: BAR 8: assigned [mem 0x01100000-0x012fffff]
[    1.542482] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    1.549225] pci 0000:01:00.0: BAR 9: assigned [mem
0x01400000-0x015fffff 64bit pref]
[    1.555925] hub 1-0:1.0: USB hub found
[    1.562436] pci 0000:01:00.0: BAR 0: assigned [mem 0x01300000-0x01303fff]
[    1.562483] pci 0000:01:00.0: BAR 7: assigned [io  0x1000-0x1fff]
[    1.566313] hub 1-0:1.0: 1 port detected
[    1.573052] pci 0000:02:01.0: BAR 8: assigned [mem 0x01100000-0x012fffff]
[    1.584002] da9063-rtc da9062-rtc: DMA mask not set
[    1.589905] pci 0000:02:01.0: BAR 9: assigned [mem
0x01400000-0x015fffff 64bit pref]
[    1.602592] pci 0000:02:01.0: BAR 7: assigned [io  0x1000-0x1fff]
[    1.605485] da9063-rtc da9062-rtc: registered as rtc1
[    1.608782] pci 0000:03:00.0: BAR 0: assigned [mem
0x01100000-0x01101fff 64bit]
[    1.615323] rtc-m41t80 0-0068: Can't clear HT bit
[    1.621252] pci 0000:02:01.0: PCI bridge to [bus 03]
[    1.628137] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc2
[    1.630919] pci 0000:02:01.0:   bridge window [io  0x1000-0x1fff]
[    1.637312] i2c /dev entries driver
[    1.643195] pci 0000:02:01.0:   bridge window [mem 0x01100000-0x012fffff]
[    1.652765] Bluetooth: HCI UART driver ver 2.3
[    1.653499] pci 0000:02:01.0:   bridge window [mem
0x01400000-0x015fffff 64bit pref]
[    1.657894] Bluetooth: HCI UART protocol H4 registered
[    1.665716] pci 0000:02:02.0: PCI bridge to [bus 04]
[    1.671718] sdhci: Secure Digital Host Controller Interface driver
[    1.675969] pci 0000:02:03.0: PCI bridge to [bus 05]
[    1.682066] sdhci: Copyright(c) Pierre Ossman
[    1.687172] pci 0000:01:00.0: PCI bridge to [bus 02-05]
[    1.691440] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.696715] pci 0000:01:00.0:   bridge window [io  0x1000-0x1fff]
[    1.704200] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
[    1.708532] pci 0000:01:00.0:   bridge window [mem 0x01100000-0x012fffff]
[    1.720448] pci 0000:01:00.0:   bridge window [mem
0x01400000-0x015fffff 64bit pref]
[    1.728277] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.733552] pci 0000:00:00.0:   bridge window [io  0x1000-0x1fff]
[    1.739667] pci 0000:00:00.0:   bridge window [mem 0x01100000-0x013fffff]
[    1.746502] pci 0000:00:00.0:   bridge window [mem
0x01400000-0x015fffff pref]
[    1.747461] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc]
using ADMA
[    1.754500] pcieport 0000:00:00.0: PME: Signaling with IRQ 310
[    1.767684] pcieport 0000:00:00.0: AER: enabled with IRQ 310
[    1.774025] pcieport 0000:01:00.0: enabling device (0140 -> 0143)
[    1.782211] pcieport 0000:02:01.0: enabling device (0140 -> 0143)
[    1.796086] pci 0000:03:00.0: enabling device (0140 -> 0142)
[    1.801677] mmc1: SDHCI controller on 219c000.usdhc [219c000.usdhc]
using ADMA
[    1.833377] leds-pca953x 0-0062: setting platform data
[    1.841082] gpio gpiochip7: GPIO integer space overlap, cannot add chip
[    1.847787] gpiochip_add_data_with_key: GPIOs 0..3 (gpio-pca9532)
failed to register, -16
[    1.856016] leds-pca953x 0-0062: could not add gpiochip
[    1.862488] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.869508] ata1.00: ATA-10: ADATA SU800NS38, R0427AC, max UDMA/133
[    1.875885] ata1.00: 250069680 sectors, multi 16: LBA48 NCQ (depth 32)
[    1.877447] caam 2100000.caam: Entropy delay = 3200
[    1.883147] ata1.00: configured for UDMA/133
[    1.948151] caam 2100000.caam: Instantiated RNG4 SH0
[    1.951672] mmc1: new DDR MMC card at address 0001
[    1.952468] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    1.966948] mmcblk1: mmc1:0001 Q2J55L 7.09 GiB
[    1.973562] mmcblk1boot0: mmc1:0001 Q2J55L partition 1 16.0 MiB
[    1.981566] mmcblk1boot1: mmc1:0001 Q2J55L partition 2 16.0 MiB
[    1.988087] mmcblk1rpmb: mmc1:0001 Q2J55L partition 3 4.00 MiB,
chardev (247:0)
[    1.997611]  mmcblk1: p1 p2
[    2.008919] caam 2100000.caam: Instantiated RNG4 SH1
[    2.013949] caam 2100000.caam: device ID = 0x0a16010000000000 (Era 4)
[    2.020411] caam 2100000.caam: job rings = 2, qi = 0
[    2.174122] hub 1-1:1.0: USB hub found
[    2.178117] hub 1-1:1.0: 4 ports detected
[    2.512501] usb 1-1.4: new high-speed USB device number 3 using ci_hdrc
[    2.664115] hub 1-1.4:1.0: USB hub found
[    2.668239] hub 1-1.4:1.0: 4 ports detected
[    2.997078] usb 1-1.4.1: new full-speed USB device number 4 using ci_hdrc
[    8.742783] pci 0000:03:00.0: xHCI HW not ready after 5 sec (HC
bug?) status = 0x801
[    8.750671] pci 0000:03:00.0: quirk_usb_early_handoff+0x0/0x7e0
took 6791593 usecs
[    8.759810] scsi 0:0:0:0: Direct-Access     ATA      ADATA
SU800NS38  7AC  PQ: 0 ANSI: 5
[    8.769965] sd 0:0:0:0: [sda] 250069680 512-byte logical blocks:
(128 GB/119 GiB)
[    8.777727] sd 0:0:0:0: [sda] Write Protect is off
[    8.782828] sd 0:0:0:0: [sda] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[    8.791790] caam algorithms registered in /proc/crypto
[    8.798431]  sda: sda1 sda2
[    8.805299] sd 0:0:0:0: [sda] Attached SCSI disk
[    8.813743] caam_jr 2101000.jr0: registering rng-caam
[    8.819715] hidraw: raw HID events driver (C) Jiri Kosina
[    8.825459] usbcore: registered new interface driver usbhid
[    8.831044] usbhid: USB HID core driver
[    8.839081] NET: Registered protocol family 10
[    8.845457] Segment Routing with IPv6
[    8.849272] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    8.856397] NET: Registered protocol family 17
[    8.860876] can: controller area network core (rev 20170425 abi 9)
[    8.867258] NET: Registered protocol family 29
[    8.871726] can: raw protocol (rev 20170425)
[    8.876145] can: broadcast manager protocol (rev 20170425 t)
[    8.881837] can: netlink gateway (rev 20170425) max_hops=1
[    8.887669] 8021q: 802.1Q VLAN Support v1.8
[    8.891951] Key type dns_resolver registered
[    8.896920] vddarm: supplied by vdd_arm
[    8.901892] vddpu: supplied by vdd_soc
[    8.906812] vddsoc: supplied by vdd_soc
[    8.913320] Registering SWP/SWPB emulation handler
[    8.919225] Loading compiled-in X.509 certificates
[    8.940828] imx_thermal tempmon: Automotive CPU temperature grade -
max:125C critical:120C passive:115C
[    8.952035] hctosys: unable to open rtc device (rtc0)
[    8.957774] VCC_CAM0: disabling
[    8.960925] flexcan1-reg: disabling
[    8.964440] usb_otg_vbus: disabling
[    8.967935] peb-display: disabling
[    8.972029] vdd_eth_io: disabling
[    9.146170] EXT4-fs (mmcblk1p2): recovery complete
[    9.151596] EXT4-fs (mmcblk1p2): mounted filesystem with ordered
data mode. Opts: (null)
[    9.159954] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    9.169613] devtmpfs: mounted
[    9.175135] Freeing unused kernel memory: 1024K
[    9.179988] Run /sbin/init as init process
[    9.277437] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
Starting rsyslog daemon: OK
Starting auditd: OK
Starting mdev...
modprobe: can't load module xhci_pci (kernel/drivers/usb/host/xhc[
10.029319] usbcore: registered new interface driver usbserial_generic
i-pci.ko): No such file or direct[   10.037550] usbserial: USB Serial
support registered for generic
ory
[   10.054682] usbcore: registered new interface driver ftdi_sio
[   10.060817] usbserial: USB Serial support registered for FTDI USB
Serial Device
[   10.068752] ftdi_sio 1-1.4.1:1.0: FTDI USB Serial Device converter detected
[   10.084547] usb 1-1.4.1: Detected FT232RL
[   10.089885] usb 1-1.4.1: FTDI USB Serial Device converter now
attached to ttyUSB0
Starting irqbalance: OK
Initializing random number generator... [   10.213230] random: dd:
uninitialized urandom read (512 bytes read)
done.
Starting system message bus: [   10.262147] random: dbus-uuidgen:
uninitialized urandom read (12 bytes read)
[   10.269384] random: dbus-uuidgen: uninitialized urandom read (8 bytes read)
done
Starting network: Waiting for interface wlan0 to appear............... timeout!
run-parts: /etc/network/if-pre-up.d/wait_iface: exit status 1
FAIL
Starting ntpd: OK
Starting nginx...
[   25.792613] urandom_read: 2 callbacks suppressed
[   25.792621] random: ssh-keygen: uninitialized urandom read (32 bytes read)
Starting sshd: [   25.829864] random: sshd: uninitialized urandom read
(32 bytes read)
OK

Welcome to iMX6
buildroot-imx6 login: root
Password:
# cd /upd72020x-load/
# ./upd72020x-load1 -u -b 0x3 -d 0 -f 0 -i ./K2026.mem
Doing the upload
bus = 3
dev = 0
fct = 0
fname = ./K2026.mem
got firmware version: 200000
ERROR: ROM doesnt exist
no EEPROM installed
STATUS: enabling firmware upload
STATUS: performing firmware upload
STATUS: finishing firmware upload
STATUS: confirming firmware upload
 ======> PASSED
# [  113.345141] pci 0000:03:00.0: 2.000 Gb/s available PCIe
bandwidth, limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of
4.000 Gb/s with 5 GT/s x1 link)

#  insmod  /lib/modules/5.2.7-bsp-yocto-i.mx6-pd18.1.1/kernel/drivers/usb/host/x
hci-pci1.ko
[  195.608734] xhci_hcd 0000:03:00.0: enabling device (0000 -> 0002)
[  195.615156] xhci_hcd 0000:03:00.0: xHCI Host Controller
[  195.620455] xhci_hcd 0000:03:00.0: new USB bus registered, assigned
bus number 2
[  195.627933] Unhandled fault: imprecise external abort (0x1406) at 0x01981004
[  195.634988] pgd = (ptrval)
[  195.637697] [01981004] *pgd=8c165831
[  195.641283] Internal error: : 1406 [#1] SMP ARM
[  195.645815] Modules linked in: xhci_pci(+) ftdi_sio usbserial xhci_hcd
[  195.652370] CPU: 2 PID: 369 Comm: insmod Not tainted
5.2.7-bsp-yocto-i.mx6-pd18.1.1 #1
[  195.660296] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[  195.666964] PC is at xhci_gen_setup+0x9c/0x308 [xhci_hcd]
[  195.672453] LR is at xhci_gen_setup+0x88/0x308 [xhci_hcd]
[  195.677867] pc : [<bf003328>]    lr : [<bf003314>]    psr: 200d0013
[  195.684145] sp : e4989c20  ip : 5a6c0a29  fp : c0d05148
[  195.689381] r10: 00000006  r9 : e4611878  r8 : 00000001
[  195.694617] r7 : bf024494  r6 : e4469158  r5 : e4469000  r4 : e4469000
[  195.701156] r3 : 00000000  r2 : 00000000  r1 : f096a000  r0 : e4469228
[  195.707700] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[  195.714848] Control: 10c5387d  Table: 34b0404a  DAC: 00000051
[  195.720605] Process insmod (pid: 369, stack limit = 0x(ptrval))
[  195.726536] Stack: (0xe4989c20 to 0xe498a000)
[  195.730918] 9c20: 00000030 5a6c0a29 e4469000 e4469000 e4611800
e4469000 00000000 00000080
[  195.739115] 9c40: e44690c0 bf024b88 e4469000 00000000 c0d05148
c05c85b0 00000cc0 e4611800
[  195.747313] 9c60: e461b800 5a6c0a29 00000001 e4611800 bf025094
e4469000 bf026088 00000001
[  195.755509] 9c80: 00000000 00000006 c0d05148 c05d9f74 00000000
00000000 0000003c e4611878
[  195.763707] 9ca0: c0d05148 e4611800 e461196c bf026000 00000000
bf026088 bf025094 00000006
[  195.771905] 9cc0: c0d05148 bf0240d0 e4611878 e4611800 bf026000
00000000 bf026038 bf025094
[  195.780103] 9ce0: 00000006 c045d18c e4611878 c0db5b34 c0db5b38
00000000 00000000 bf026038
[  195.788301] 9d00: 00000006 c04e17c4 e4611878 bf026038 bf026038
c0d05148 ffffe000 00000028
[  195.796498] 9d20: bf026140 c04e1afc 00000cc0 00000000 00000000
e4611878 00000000 bf026038
[  195.804695] 9d40: c0d05148 ffffe000 00000028 c04e1da8 00000000
bf026038 e4611878 c04e1e08
[  195.812891] 9d60: e421c434 bf026038 c04e1db0 c04dfca8 00000028
e416bb58 e421c434 5a6c0a29
[  195.821087] 9d80: c0d1f6fc bf026038 e461cd00 c0d1f6fc 00000000
c04e0ce4 bf0250cc 00000000
[  195.829283] 9da0: bf026038 bf026038 c0d05148 bf029000 00000000
c04e2658 c0d5b800 c0d05148
[  195.837479] 9dc0: bf029000 c0102738 8040003f e4699c80 00000000
5a6c0a29 e4989dd4 e7445320
[  195.845675] 9de0: e7445320 ffffe000 8040003e 00000002 e4a86600
5a6c0a29 00000000 c0874e7c
[  195.853870] 9e00: 00000cc0 e4001e40 c0d05148 c021ecd0 bf026140
5a6c0a29 bf026140 e4a866c0
[  195.862066] 9e20: e4a865c0 00000002 e4a86600 c019d004 00000002
e4a865c0 e4989f30 00000002
[  195.870262] 9e40: e4a865c0 c019f320 bf02614c 00007fff bf026140
c019c134 00000041 bf026188
[  195.878458] 9e60: 01981150 bf026254 bf02bb38 bf026140 bf026300
c0903efc 00000000 c0ab0e20
[  195.886654] 9e80: 00000001 00000000 c0b5e5ec c0b4f1ec 00000000
00000000 00000000 00000000
[  195.894849] 9ea0: 00000000 00000000 6e72656b 00006c65 00000000
00000000 00000000 00000000
[  195.903045] 9ec0: 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000
[  195.911241] 9ee0: 00000000 5a6c0a29 7fffffff c0d05148 00000000
00000003 01981150 7fffffff
[  195.919436] 9f00: 00000000 0000017b 00000000 c019f764 7fffffff
00000000 00000003 e48da488
[  195.927632] 9f20: 00000001 f0800000 00002ea8 00000000 f0800de7
f0801780 f0800000 00002ea8
[  195.935830] 9f40: f08028e0 f080275c f08020c8 00003000 00003260
00002aec 000033c1 00000000
[  195.944026] 9f60: 00000000 00000000 00002adc 00000022 00000023
0000001c 00000018 00000016
[  195.952222] 9f80: 00000000 5a6c0a29 bea64ef1 01981150 ffffffff
bea64ef1 0000017b c0101204
[  195.960417] 9fa0: e4988000 c01011e0 01981150 ffffffff 00000003
01981150 00000000 bea64ef1
[  195.968613] 9fc0: 01981150 ffffffff bea64ef1 0000017b 00000000
00000000 b6f8d000 00000000
[  195.976809] 9fe0: bea64c58 bea64c48 00027a1c b6ec3bf0 600d0010
00000003 00000000 00000000
[  195.985119] [<bf003328>] (xhci_gen_setup [xhci_hcd]) from
[<bf024b88>] (xhci_pci_setup+0x40/0x8c [xhci_pci])
[  195.995006] [<bf024b88>] (xhci_pci_setup [xhci_pci]) from
[<c05c85b0>] (usb_add_hcd+0x278/0x76c)
[  196.003830] [<c05c85b0>] (usb_add_hcd) from [<c05d9f74>]
(usb_hcd_pci_probe+0x200/0x36c)
[  196.011956] [<c05d9f74>] (usb_hcd_pci_probe) from [<bf0240d0>]
(xhci_pci_probe+0x2c/0x194 [xhci_pci])
[  196.021220] [<bf0240d0>] (xhci_pci_probe [xhci_pci]) from
[<c045d18c>] (pci_device_probe+0xa4/0x138)
[  196.030387] [<c045d18c>] (pci_device_probe) from [<c04e17c4>]
(really_probe+0xec/0x2c8)
[  196.038422] [<c04e17c4>] (really_probe) from [<c04e1afc>]
(driver_probe_device+0x5c/0x160)
[  196.046709] [<c04e1afc>] (driver_probe_device) from [<c04e1da8>]
(device_driver_attach+0x58/0x60)
[  196.055602] [<c04e1da8>] (device_driver_attach) from [<c04e1e08>]
(__driver_attach+0x58/0xcc)
[  196.064149] [<c04e1e08>] (__driver_attach) from [<c04dfca8>]
(bus_for_each_dev+0x70/0xb4)
[  196.072348] [<c04dfca8>] (bus_for_each_dev) from [<c04e0ce4>]
(bus_add_driver+0x194/0x1cc)
[  196.080635] [<c04e0ce4>] (bus_add_driver) from [<c04e2658>]
(driver_register+0x74/0x108)
[  196.088752] [<c04e2658>] (driver_register) from [<c0102738>]
(do_one_initcall+0x6c/0x1c8)
[  196.096965] [<c0102738>] (do_one_initcall) from [<c019d004>]
(do_init_module+0x58/0x230)
[  196.105082] [<c019d004>] (do_init_module) from [<c019f320>]
(load_module+0x20dc/0x22dc)
[  196.113108] [<c019f320>] (load_module) from [<c019f764>]
(sys_finit_module+0xbc/0xdc)
[  196.120957] [<c019f764>] (sys_finit_module) from [<c01011e0>]
(__sys_trace_return+0x0/0x20)
[  196.129320] Exception stack(0xe4989fa8 to 0xe4989ff0)
[  196.134391] 9fa0:                   01981150 ffffffff 00000003
01981150 00000000 bea64ef1
[  196.142589] 9fc0: 01981150 ffffffff bea64ef1 0000017b 00000000
00000000 b6f8d000 00000000
[  196.150781] 9fe0: bea64c58 bea64c48 00027a1c b6ec3bf0
[  196.155853] Code: e5841160 e5912000 e3a03000 ee073f9a (e6e12072)
[  196.161964] ---[ end trace 9ae639a4b44e462a ]---
Segmentation fault




-- Fawad Lateef

On Fri, 2 Aug 2019 at 12:56, Fawad Lateef <fawadlateef@gmail.com> wrote:
>
> Hi Schmid,
>
> On Fri, 2 Aug 2019 at 10:24, Schmid, Carsten <Carsten_Schmid@mentor.com> wrote:
> >
> > > >
> > > > Facing kernel "Unhandled fault: imprecise external abort (0x1406)"
> > > > when trying to load xhci_pci.ko module for uPD720202. Receiving this
> > > > fault straight-away when driver trying to setup device.
> > > >
> > I had "imprecise external abort" on ARM systems in the following cases:
> > - Subsystem that was accessed was not powered
> > - Clock of accessed subsystem was turned off
> > Maybe this enables you to find the true reason.
> >
>
> Thanks for suggestion. Going to verify these points.
>
> > Can you try to disable runtime power management to check if it works?
> >
>
> I will try soon as currently don't have access to prototype board.
>
> > Best regards
> > Carsten

^ permalink raw reply	[flat|nested] 10+ messages in thread

* AW: Unhandled fault: imprecise external abort (0x1406) when loading xhci_pci.ko - uPD720202, PEX8605, iMX6Q and linux-4.19.25
  2019-08-22  9:18           ` Fawad Lateef
@ 2019-08-22  9:34             ` " Schmid, Carsten
  2019-08-22 10:44               ` Fawad Lateef
  2019-08-22 19:21             ` Bjorn Helgaas
  1 sibling, 1 reply; 10+ messages in thread
From: Schmid, Carsten @ 2019-08-22  9:34 UTC (permalink / raw)
  To: Fawad Lateef
  Cc: Bjorn Helgaas, linux-pci, linux-usb, Richard Zhu, Lucas Stach,
	Shawn Guo, Sascha Hauer

> 
> Have a question that: Can I disable PCIe power management completely
> using some kernel CONFIG option OR boot parameter? If yes then how?
> 
> Thanks
> 
See CONFIG_PM and what it depends on.

BR
Carsten

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Unhandled fault: imprecise external abort (0x1406) when loading xhci_pci.ko - uPD720202, PEX8605, iMX6Q and linux-4.19.25
  2019-08-22  9:34             ` AW: " Schmid, Carsten
@ 2019-08-22 10:44               ` Fawad Lateef
  2019-08-22 11:01                 ` AW: " Schmid, Carsten
  0 siblings, 1 reply; 10+ messages in thread
From: Fawad Lateef @ 2019-08-22 10:44 UTC (permalink / raw)
  To: Schmid, Carsten
  Cc: Bjorn Helgaas, linux-pci, linux-usb, Richard Zhu, Lucas Stach,
	Shawn Guo, Sascha Hauer

Hi Carsten,

Thanks for your reply. I though CONFIG_PM covers CPU only (but now I
am compiling kernel with PM completely).

Occasionally we see crash at boot too without even reaching stage of
loading xhci-pci.ko driver.

Log is below. Is this can be because of again uPD connected on PCIe
bus (through PCIe switch)?

barebox 2017.12.0-bsp-yocto-i.mx6-pd18.1.1 #1 Thu Jul 25 13:13:48 UTC 2019


Board: Phytec phyCORE-i.MX6 Quad with eMMC
detected i.MX6 Quad revision 1.5
i.MX6 unique ID: ee7f9502211821d4
mdio_bus: miibus0: probed
eth0: got preset MAC address: 50:2d:f4:15:a9:fe
m25p80 flash@00: n25q128a13 (16384 Kbytes)
imx-usb 2184200.usb: USB EHCI 1.00
imx-esdhc 2190000.usdhc: registered as 2190000.usdhc
imx-esdhc 219c000.usdhc: registered as 219c000.usdhc
da9063 da90620: da9062 with id 62.22.ff.1a detected
state: New state registered 'state'
state: Using bucket 0@0x00000000
netconsole: registered as netconsole-1
phySOM-i.MX6: Using environment in MMC
malloc space: 0x4fefb480 -> 0x8fdf68ff (size 1023 MiB)
mmc3: detected MMC card version 5.0
mmc3: registered mmc3.boot0
mmc3: registered mmc3.boot1
mmc3: registered mmc3
running /env/bin/init...

Hit m for menu or any other key to stop autoboot:    1
bootchooser: Target list $global.bootchooser.targets is empty
Nothing bootable found on 'bootchooser'
booting 'emmc'

Loading ARM Linux zImage '/mnt/emmc/zImage'
Loading devicetree from '/mnt/emmc/oftree'
m25p0: Cannot find nodepath
/soc/aips-bus@02000000/spba-bus@02000000/ecspi@02008000/flash@0,
cannot fixup
Failed to fixup node in of_partition_fixup+0x1/0x1f4: Invalid argument
at24 24c320: Cannot find nodepath
/soc/aips-bus@02100000/i2c@021a8000/eeprom@50, cannot fixup
Failed to fixup node in of_partition_fixup+0x1/0x1f4: Invalid argument
Failed to fixup node in of_state_fixup+0x1/0x1f8: No such device
mmc3: Cannot find nodepath /soc/aips-bus@02100000/usdhc@0219c000, cannot fixup
Failed to fixup node in of_partition_fixup+0x1/0x1f4: Invalid argument
commandline:  console=ttymxc1,115200n8  root=/dev/mmcblk1p2 rootwait rw
Starting kernel in secure mode
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.2.7-bsp-yocto-i.mx6-pd18.1.1
(flateef@flateef-XPS-13-9360) (gcc version 8.2.0 (Buildroot
2018.11.4-gebef590b)) #1 SMP Fri Aug 9 01:40:51 CEST 2019
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing
instruction cache
[    0.000000] OF: fdt: Machine model: PHYTEC phyBOARD-Mira Quad full
featured with eMMC
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 128 MiB at 0x38000000
[    0.000000] percpu: Embedded 16 pages/cpu s34764 r8192 d22580 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line:  console=ttymxc1,115200n8
root=/dev/mmcblk1p2 rootwait rw
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1934212K/2097152K available (8192K kernel code,
365K rwdata, 2628K rodata, 1024K init, 400K bss, 31868K reserved,
131072K cma-reserved, 1309804K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay
is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C-310 errata 752271 769419 enabled
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 16 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76470001
[    0.000000] random: get_random_bytes called from
start_kernel+0x250/0x424 with crng_init=0
[    0.000000] Switching to timer-based delay loop, resolution 333ns
[    0.000014] sched_clock: 32 bits at 3000kHz, resolution 333ns,
wraps every 715827882841ns
[    0.000045] clocksource: mxc_timer1: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 637086815595 ns
[    0.002929] Console: colour dummy device 80x30
[    0.002992] Calibrating delay loop (skipped), value calculated
using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[    0.003020] pid_max: default: 32768 minimum: 301
[    0.003305] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003346] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.004458] CPU: Testing write buffer coherency: ok
[    0.004517] CPU0: Spectre v2: using BPIALL workaround
[    0.004985] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.006111] Setting up static identity map for 0x10100000 - 0x10100078
[    0.006389] rcu: Hierarchical SRCU implementation.
[    0.007121] smp: Bringing up secondary CPUs ...
[    0.008372] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.008384] CPU1: Spectre v2: using BPIALL workaround
[    0.009974] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.009986] CPU2: Spectre v2: using BPIALL workaround
[    0.011430] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.011442] CPU3: Spectre v2: using BPIALL workaround
[    0.011668] smp: Brought up 1 node, 4 CPUs
[    0.011692] SMP: Total of 4 processors activated (24.00 BogoMIPS).
[    0.011706] CPU: All CPU(s) started in SVC mode.
[    0.013443] devtmpfs: initialized
[    0.031486] VFP support v0.3: implementor 41 architecture 3 part 30
variant 9 rev 4
[    0.031960] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.031999] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.044743] pinctrl core: initialized pinctrl subsystem
[    0.046494] NET: Registered protocol family 16
[    0.060588] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.061412] audit: initializing netlink subsys (disabled)
[    0.061745] audit: type=2000 audit(0.060:1): state=initialized
audit_enabled=0 res=1
[    0.062760] CPU identified as i.MX6Q, silicon rev 1.5
[    0.074287] vdd1p1: supplied by regulator-dummy
[    0.075185] vdd3p0: supplied by regulator-dummy
[    0.076039] vdd2p5: supplied by regulator-dummy
[    0.098019] No ATAGs?
[    0.098256] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1
watchpoint registers.
[    0.098280] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.100851] imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.155153] mxs-dma 110000.dma-apbh: initialized
[    0.163489] SCSI subsystem initialized
[    0.164302] usbcore: registered new interface driver usbfs
[    0.164405] usbcore: registered new interface driver hub
[    0.164564] usbcore: registered new device driver usb
[    0.167207] i2c i2c-0: IMX I2C adapter registered
[    0.168137] i2c i2c-1: IMX I2C adapter registered
[    0.169506] i2c i2c-2: IMX I2C adapter registered
[    0.169852] pps_core: LinuxPPS API ver. 1 registered
[    0.169870] pps_core: Software ver. 5.3.6 - Copyright 2005-2007
Rodolfo Giometti <giometti@linux.it>
[    0.169912] PTP clock support registered
[    0.171200] Bluetooth: Core ver 2.22
[    0.171280] NET: Registered protocol family 31
[    0.171297] Bluetooth: HCI device and connection manager initialized
[    0.171323] Bluetooth: HCI socket layer initialized
[    0.171346] Bluetooth: L2CAP socket layer initialized
[    0.171386] Bluetooth: SCO socket layer initialized
[    0.172256] clocksource: Switched to clocksource mxc_timer1
[    0.172507] VFS: Disk quotas dquot_6.6.0
[    0.172647] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.189291] NET: Registered protocol family 2
[    0.190486] tcp_listen_portaddr_hash hash table entries: 512
(order: 0, 6144 bytes)
[    0.190545] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.190711] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.190978] TCP: Hash tables configured (established 8192 bind 8192)
[    0.191318] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.191399] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.191909] NET: Registered protocol family 1
[    0.192938] RPC: Registered named UNIX socket transport module.
[    0.192958] RPC: Registered udp transport module.
[    0.192973] RPC: Registered tcp transport module.
[    0.192988] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.193014] PCI: CLS 0 bytes, default 64
[    0.194260] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    0.194654] hw perfevents: enabled with armv7_cortex_a9 PMU driver,
7 counters available
[    0.197613] Initialise system trusted keyrings
[    0.197913] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    0.207642] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.208713] NFS: Registering the id_resolver key type
[    0.208767] Key type id_resolver registered
[    0.208782] Key type id_legacy registered
[    0.208862] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.209675] fuse: init (API version 7.31)
[    0.213974] Key type asymmetric registered
[    0.213995] Asymmetric key parser 'x509' registered
[    0.214112] bounce: pool size: 64 pages
[    0.214139] io scheduler mq-deadline registered
[    0.214155] io scheduler kyber registered
[    0.218668] imx6q-pcie 1ffc000.pcie: host bridge /soc/pcie@1ffc000 ranges:
[    0.218744] imx6q-pcie 1ffc000.pcie:    IO 0x01f80000..0x01f8ffff
-> 0x00000000
[    0.218792] imx6q-pcie 1ffc000.pcie:   MEM 0x01000000..0x01efffff
-> 0x01000000
[    0.222382] imx-pgc-pd imx-pgc-power-domain.0: DMA mask not set
[    0.222592] imx-pgc-pd imx-pgc-power-domain.1: DMA mask not set
[    0.225009] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 63,
base_baud = 5000000) is a IMX
[    0.432757] imx6q-pcie 1ffc000.pcie: Link up
[    0.432772] imx6q-pcie 1ffc000.pcie: Link: Gen2 disabled
[    0.432788] imx6q-pcie 1ffc000.pcie: Link up, Gen1
[    0.433089] imx6q-pcie 1ffc000.pcie: PCI host bridge to bus 0000:00
[    0.433113] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.433132] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.433147] pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff]
[    0.433208] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400
[    0.433263] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    0.433295] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[    0.433415] pci 0000:00:00.0: supports D1
[    0.433432] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.443431] PCI: bus0: Fast back to back transfers disabled
[    0.452524] printk: console [ttymxc1] enabled
[    0.457506] pci 0000:01:00.0: [10b5:8605] type 01 class 0x060400
[    0.464859] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 64,
base_baud = 5000000) is a IMX
[    0.471144] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff]
[    1.045420] pci 0000:01:00.0: supports D1 D2
[    1.049720] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.056633] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth,
limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s
with 5 GT/s x1 link)
[    1.059816] brd: module loaded
[    1.090896] loop: module loaded
[    1.095347] at24 2-0050: 4096 byte 24c32 EEPROM, writable, 1 bytes/write
[    1.111966] PCI: bus1: Fast back to back transfers disabled
[    1.115041] da9062 2-0058: Device detected (device-ID: 0x62,
var-ID: 0x22, DA9062)
[    1.117640] pci 0000:01:00.0: bridge configuration invalid ([bus
00-00]), reconfiguring
[    1.132102] buck1: mapping for mode 2 not defined
[    1.134384] pci 0000:02:01.0: [10b5:8605] type 01 class 0x060400
[    1.141080] buck2: mapping for mode 2 not defined
[    1.145459] pci 0000:02:01.0: supports D1 D2
[    1.150935] buck3: mapping for mode 2 not defined
[    1.153030] pci 0000:02:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.160781] buck4: mapping for mode 2 not defined
[    1.165605] pci 0000:02:02.0: [10b5:8605] type 01 class 0x060400
[    1.173134] vdd_snvs: Bringing 3100000uV into 3000000-3000000uV
[    1.176628] pci 0000:02:02.0: supports D1 D2
[    1.184894] vdd_high: Bringing 3100000uV into 3000000-3000000uV
[    1.185364] pci 0000:02:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.195081] vdd_eth_io: Bringing 2600000uV into 2500000-2500000uV
[    1.199096] pci 0000:02:03.0: [10b5:8605] type 01 class 0x060400
[    1.206486] random: fast init done
[    1.211471] pci 0000:02:03.0: supports D1 D2
[    1.213913] vdd_emmc: Bringing 1900000uV into 1800000-1800000uV
[    1.217737] pci 0000:02:03.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.229382] ahci-imx 2200000.sata: fsl,transmit-level-mV not
specified, using 00000024
[    1.238426] ahci-imx 2200000.sata: fsl,transmit-boost-mdB not
specified, using 00000480
[    1.239840] PCI: bus2: Fast back to back transfers disabled
[    1.246487] ahci-imx 2200000.sata: fsl,transmit-atten-16ths not
specified, using 00002000
[    1.252084] pci 0000:02:01.0: bridge configuration invalid ([bus
00-00]), reconfiguring
[    1.260275] ahci-imx 2200000.sata: fsl,receive-eq-mdB not
specified, using 05000000
[    1.268376] pci 0000:02:02.0: bridge configuration invalid ([bus
00-00]), reconfiguring
[    1.279100] ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled
[    1.284078] pci 0000:02:03.0: bridge configuration invalid ([bus
00-00]), reconfiguring
[    1.291063] ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports
3 Gbps 0x1 impl platform mode
[    1.299888] pci 0000:03:00.0: [1912:0015] type 00 class 0x0c0330
[    1.307868] ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo
only pmp pio slum part ccc apst
[    1.323238] pci 0000:03:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
[    1.330943] pci 0000:03:00.0: PME# supported from D0 D3hot
[    1.333765] scsi host0: ahci-imx
[    1.336899] pci 0000:03:00.0: 2.000 Gb/s available PCIe bandwidth,
limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s
with 5 GT/s x1 link)
[    1.340548] ata1: SATA max UDMA/133 mmio [mem
0x02200000-0x02203fff] port 0x100 irq 67
[    1.366074] libphy: Fixed MDIO Bus: probed
[    1.371078] CAN device driver interface
[    1.377871] usbcore: registered new interface driver asix
[    1.383406] usbcore: registered new interface driver ax88179_178a
[    1.389575] usbcore: registered new interface driver cdc_ether
[    1.391766] PCI: bus3: Fast back to back transfers disabled
[    1.395530] usbcore: registered new interface driver net1080
[    1.401066] pci_bus 0000:03: busn_res: [bus 03-ff] end is updated to 03
[    1.406829] usbcore: registered new interface driver cdc_subset
[    1.419402] usbcore: registered new interface driver zaurus
[    1.423154] PCI: bus4: Fast back to back transfers enabled
[    1.425124] usbcore: registered new interface driver cdc_ncm
[    1.430495] pci_bus 0000:04: busn_res: [bus 04-ff] end is updated to 04
[    1.436182] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.449351] ehci-pci: EHCI PCI platform driver
[    1.452591] PCI: bus5: Fast back to back transfers enabled
[    1.453918] ehci-platform: EHCI generic platform driver
[    1.459313] pci_bus 0000:05: busn_res: [bus 05-ff] end is updated to 05
[    1.465055] ehci-mxc: Freescale On-Chip EHCI Host driver
[    1.471218] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 05
[    1.477127] usbcore: registered new interface driver usb-storage
[    1.483263] pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff]
[    1.496056] pci 0000:00:00.0: BAR 8: assigned [mem 0x01100000-0x013fffff]
[    1.502900] pci 0000:00:00.0: BAR 9: assigned [mem
0x01400000-0x015fffff pref]
[    1.510148] pci 0000:00:00.0: BAR 6: assigned [mem
0x01600000-0x0160ffff pref]
[    1.517427] pci 0000:00:00.0: BAR 7: assigned [io  0x1000-0x1fff]
[    1.523652] pci 0000:01:00.0: BAR 8: assigned [mem 0x01100000-0x012fffff]
[    1.530486] pci 0000:01:00.0: BAR 9: assigned [mem
0x01400000-0x015fffff 64bit pref]
[    1.538305] pci 0000:01:00.0: BAR 0: assigned [mem 0x01300000-0x01303fff]
[    1.544420] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    1.545184] pci 0000:01:00.0: BAR 7: assigned [io  0x1000-0x1fff]
[    1.550038] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    1.556158] pci 0000:02:01.0: BAR 8: assigned [mem 0x01100000-0x012fffff]
[    1.570027] pci 0000:02:01.0: BAR 9: assigned [mem
0x01400000-0x015fffff 64bit pref]
[    1.577822] pci 0000:02:01.0: BAR 7: assigned [io  0x1000-0x1fff]
[    1.584022] pci 0000:03:00.0: BAR 0: assigned [mem
0x01100000-0x01101fff 64bit]
[    1.591434] pci 0000:02:01.0: PCI bridge to [bus 03]
[    1.592307] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    1.596461] pci 0000:02:01.0:   bridge window [io  0x1000-0x1fff]
[    1.603118] hub 1-0:1.0: USB hub found
[    1.607982] pci 0000:02:01.0:   bridge window [mem 0x01100000-0x012fffff]
[    1.611734] hub 1-0:1.0: 1 port detected
[    1.618511] pci 0000:02:01.0:   bridge window [mem
0x01400000-0x015fffff 64bit pref]
[    1.618577] pci 0000:02:02.0: PCI bridge to [bus 04]
[    1.627207] da9063-rtc da9062-rtc: DMA mask not set
[    1.630359] pci 0000:02:03.0: PCI bridge to [bus 05]
[    1.645199] pci 0000:01:00.0: PCI bridge to [bus 02-05]
[    1.645950] da9063-rtc da9062-rtc: registered as rtc1
[    1.650454] pci 0000:01:00.0:   bridge window [io  0x1000-0x1fff]
[    1.650505] pci 0000:01:00.0:   bridge window [mem 0x01100000-0x012fffff]
[    1.657054] rtc-m41t80 0-0068: Can't clear HT bit
[    1.661696] pci 0000:01:00.0:   bridge window [mem
0x01400000-0x015fffff 64bit pref]
[    1.670643] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc2
[    1.673281] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.681326] i2c /dev entries driver
[    1.687148] pci 0000:00:00.0:   bridge window [io  0x1000-0x1fff]
[    1.698425] Bluetooth: HCI UART driver ver 2.3
[    1.702000] pci 0000:00:00.0:   bridge window [mem 0x01100000-0x013fffff]
[    1.706483] Bluetooth: HCI UART protocol H4 registered
[    1.713291] pci 0000:00:00.0:   bridge window [mem
0x01400000-0x015fffff pref]
[    1.714014] pcieport 0000:00:00.0: PME: Signaling with IRQ 310
[    1.719379] sdhci: Secure Digital Host Controller Interface driver
[    1.726380] pcieport 0000:00:00.0: AER: enabled with IRQ 310
[    1.731570] sdhci: Copyright(c) Pierre Ossman
[    1.738430] pcieport 0000:01:00.0: enabling device (0140 -> 0143)
[    1.743497] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.745401] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
[    1.750361] pcieport 0000:02:01.0: enabling device (0140 -> 0143)
[    1.778719] pci 0000:03:00.0: enabling device (0140 -> 0142)
[    1.805368] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc]
using ADMA
[    1.862340] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.869326] ata1.00: ATA-10: ADATA SU800NS38, R0427AC, max UDMA/133
[    1.875661] ata1.00: 250069680 sectors, multi 16: LBA48 NCQ (depth 32)
[    1.882860] ata1.00: configured for UDMA/133
[    2.002303] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    2.203882] hub 1-1:1.0: USB hub found
[    2.207885] hub 1-1:1.0: 4 ports detected
[    2.532298] usb 1-1.4: new high-speed USB device number 3 using ci_hdrc
[    2.706870] hub 1-1.4:1.0: USB hub found
[    2.711007] hub 1-1.4:1.0: 4 ports detected
[    8.263117] Unhandled fault: imprecise external abort (0x1406) at 0xfaf06a5b
[    8.270180] pgd = (ptrval)
[    8.272898] [faf06a5b] *pgd=00000000
[    8.276495] Internal error: : 1406 [#1] SMP ARM
[    8.281035] Modules linked in:
[    8.284116] CPU: 2 PID: 7 Comm: kworker/u8:0 Not tainted
5.2.7-bsp-yocto-i.mx6-pd18.1.1 #1
[    8.292390] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[    8.298954] Workqueue: events_unbound async_run_entry_fn
[    8.304297] PC is at quirk_usb_early_handoff+0x400/0x7e0
[    8.309634] LR is at __timer_delay+0x3c/0x88
[    8.313916] pc : [<c05dd808>]    lr : [<c085992c>]    psr: 20000013
[    8.320194] sp : e4085d60  ip : 00000000  fp : 0020c498
[    8.325430] r10: c0b388d4  r9 : 00000000  r8 : f097c024
[    8.330666] r7 : 000091d1  r6 : f097c000  r5 : c0d05148  r4 : e444a000
[    8.337205] r3 : 00000000  r2 : fffe5480  r1 : 00000730  r0 : 0000001d
[    8.343747] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[    8.350894] Control: 10c5387d  Table: 1000404a  DAC: 00000051
[    8.356652] Process kworker/u8:0 (pid: 7, stack limit = 0x(ptrval))
[    8.362932] Stack: (0xe4085d60 to 0xe4086000)
[    8.367313] 5d60: f097c020 00000504 e42323b8 c041d570 3b9aca00
5a6c0a29 e4085d9c c0b4a25c
[    8.375510] 5d80: e444a000 c0b4a26c 0000ffff c0d5b820 c05dd408
00000000 69e28c0a c0466a5c
[    8.383706] 5da0: 00000000 c04ec3c4 e4449878 e4084000 c0d05148
e444a000 e4479814 e4479800
[    8.391901] 5dc0: e423d618 e40e5210 e423d618 e423d440 e6f9e968
c0450b9c e444a000 e4479814
[    8.400097] 5de0: e4479800 c0450c44 e4448800 e4478814 e4478800
c0450c78 e4065000 e423f414
[    8.408294] 5e00: e423f400 c0450c78 e4064800 e423ec14 e423ec00
c0450c78 e43cc858 e423ec0c
[    8.416490] 5e20: 00000000 c0475254 00000000 00000000 00000000
e43cc840 e40e5210 e6f9e968
[    8.424685] 5e40: e40e5200 e43cc840 c0d05148 00000000 00000000
c0476bd4 00000000 00000001
[    8.432880] 5e60: 00000000 c02a57b0 00000000 00000000 00000000
00000000 00000000 00000000
[    8.441074] 5e80: 00000000 5a6c0a29 00000000 e40e5210 00000000
c0d2022c 00000000 00000000
[    8.449269] 5ea0: c0d2022c 00000000 ffffe000 c04e3538 e40e5210
c0db5b34 c0db5b38 00000000
[    8.457464] 5ec0: 00000000 c04e17c4 e40e5210 c0d2022c e42b0c80
e4008000 00000000 00000000
[    8.465659] 5ee0: e42b0c94 c04e1afc 00000000 c0d179f8 00000000
e40e5210 c0d5b820 e42b0c80
[    8.473855] 5f00: e4008000 00000000 00000000 c04e1c50 e42b0c90
c0144ca0 e42b0c90 e401b580
[    8.482051] 5f20: e4006200 e4008000 00000000 c013bae4 00000088
e4006218 e401b580 e401b594
[    8.490246] 5f40: e4006200 00000088 e4006218 c0d03d00 e4006200
c013c8ec e406a280 00000000
[    8.498441] 5f60: ffffe000 00000000 e4030b80 e4030a40 e4084000
e401b580 c013c8c0 e4055ea4
[    8.506636] 5f80: e4030b9c c0141b18 e4072480 e4030a40 c01419e8
00000000 00000000 00000000
[    8.514830] 5fa0: 00000000 00000000 00000000 c01010e8 00000000
00000000 00000000 00000000
[    8.523023] 5fc0: 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000
[    8.531216] 5fe0: 00000000 00000000 00000000 00000000 00000013
00000000 00000000 00000000
[    8.539442] [<c05dd808>] (quirk_usb_early_handoff) from
[<c0466a5c>] (pci_do_fixups+0xd8/0x144)
[    8.548179] [<c0466a5c>] (pci_do_fixups) from [<c0450b9c>]
(pci_bus_add_device+0x18/0x94)
[    8.556383] [<c0450b9c>] (pci_bus_add_device) from [<c0450c44>]
(pci_bus_add_devices+0x2c/0x70)
[    8.565103] [<c0450c44>] (pci_bus_add_devices) from [<c0450c78>]
(pci_bus_add_devices+0x60/0x70)
[    8.573908] Code: e2577001 0a0000b5 e5983000 ee079f9a (e3130b02)
[    8.580028] ---[ end trace d9b763ceb334a93b ]---
[    8.616873] mmc1: SDHCI controller on 219c000.usdhc [219c000.usdhc]
using ADMA
[    8.625016] leds-pca953x 0-0062: setting platform data
[    8.632724] gpio gpiochip7: GPIO integer space overlap, cannot add chip
[    8.639385] gpiochip_add_data_with_key: GPIOs 0..3 (gpio-pca9532)
failed to register, -16
[    8.647652] leds-pca953x 0-0062: could not add gpiochip
[    8.661886] caam 2100000.caam: Entropy delay = 3200
[    8.727627] caam 2100000.caam: Instantiated RNG4 SH0
[    8.788388] caam 2100000.caam: Instantiated RNG4 SH1
[    8.793408] caam 2100000.caam: device ID = 0x0a16010000000000 (Era 4)
[    8.799880] caam 2100000.caam: job rings = 2, qi = 0
[    8.832613] caam algorithms registered in /proc/crypto
[    8.847675] caam_jr 2101000.jr0: registering rng-caam
[    8.850017] mmc1: new DDR MMC card at address 0001
[    8.853722] hidraw: raw HID events driver (C) Jiri Kosina
[    8.860165] mmcblk1: mmc1:0001 Q2J55L 7.09 GiB
[    8.863418] usbcore: registered new interface driver usbhid
[    8.869589] mmcblk1boot0: mmc1:0001 Q2J55L partition 1 16.0 MiB
[    8.873257] usbhid: USB HID core driver
[    8.881187] mmcblk1boot1: mmc1:0001 Q2J55L partition 2 16.0 MiB
[    8.887424] NET: Registered protocol family 10
[    8.889380] mmcblk1rpmb: mmc1:0001 Q2J55L partition 3 4.00 MiB,
chardev (247:0)
[    8.895030] Segment Routing with IPv6
[    8.903032]  mmcblk1: p1 p2
[    8.904682] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    8.914409] NET: Registered protocol family 17
[    8.918894] can: controller area network core (rev 20170425 abi 9)
[    8.925265] NET: Registered protocol family 29
[    8.929747] can: raw protocol (rev 20170425)
[    8.934076] can: broadcast manager protocol (rev 20170425 t)
[    8.939777] can: netlink gateway (rev 20170425) max_hops=1
[    8.945587] 8021q: 802.1Q VLAN Support v1.8
[    8.949853] Key type dns_resolver registered
[    8.954839] vddarm: supplied by vdd_arm
[    8.959844] vddpu: supplied by vdd_soc
[    8.964669] vddsoc: supplied by vdd_soc
[    8.971151] Registering SWP/SWPB emulation handler
[    8.976724] Loading compiled-in X.509 certificates
[    8.997905] imx_thermal tempmon: Automotive CPU temperature grade -
max:125C critical:120C passive:115C
[    9.002301] usb 1-1.4.1: new full-speed USB device number 4 using ci_hdrc
[    9.016846] hctosys: unable to open rtc device (rtc0)
[    9.022666] VCC_CAM0: disabling
[    9.025820] flexcan1-reg: disabling
[    9.029318] usb_otg_vbus: disabling
[    9.032867] peb-display: disabling
[    9.036999] vdd_eth_io: disabling







-- Fawad Lateef

On Thu, 22 Aug 2019 at 11:34, Schmid, Carsten <Carsten_Schmid@mentor.com> wrote:
>
> >
> > Have a question that: Can I disable PCIe power management completely
> > using some kernel CONFIG option OR boot parameter? If yes then how?
> >
> > Thanks
> >
> See CONFIG_PM and what it depends on.
>
> BR
> Carsten

^ permalink raw reply	[flat|nested] 10+ messages in thread

* AW: Unhandled fault: imprecise external abort (0x1406) when loading xhci_pci.ko - uPD720202, PEX8605, iMX6Q and linux-4.19.25
  2019-08-22 10:44               ` Fawad Lateef
@ 2019-08-22 11:01                 ` " Schmid, Carsten
  0 siblings, 0 replies; 10+ messages in thread
From: Schmid, Carsten @ 2019-08-22 11:01 UTC (permalink / raw)
  To: Fawad Lateef
  Cc: Bjorn Helgaas, linux-pci, linux-usb, Richard Zhu, Lucas Stach,
	Shawn Guo, Sascha Hauer

> 
> Occasionally we see crash at boot too without even reaching stage of
> loading xhci-pci.ko driver.
> 
> Log is below. Is this can be because of again uPD connected on PCIe
> bus (through PCIe switch)?
> 
> [    8.263117] Unhandled fault: imprecise external abort (0x1406) at 0xfaf06a5b

Looks like a hardware issue on your board, like PCIe accesses sometimes fail.
Out of my scope, sorry.

Anyway, try with PM disabled.

Best regards
Carsten

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Unhandled fault: imprecise external abort (0x1406) when loading xhci_pci.ko - uPD720202, PEX8605, iMX6Q and linux-4.19.25
  2019-08-22  9:18           ` Fawad Lateef
  2019-08-22  9:34             ` AW: " Schmid, Carsten
@ 2019-08-22 19:21             ` Bjorn Helgaas
  1 sibling, 0 replies; 10+ messages in thread
From: Bjorn Helgaas @ 2019-08-22 19:21 UTC (permalink / raw)
  To: Fawad Lateef
  Cc: Schmid, Carsten, linux-pci, linux-usb, Richard Zhu, Lucas Stach,
	Shawn Guo, Sascha Hauer

On Thu, Aug 22, 2019 at 11:18:44AM +0200, Fawad Lateef wrote:

> In all crash cases (when loading/unloading the driver); system stays
> response, so I can look into any possible device status using PCIe
> registers of PEX8605 switch or iMX6 PCIe root hub. Please suggest if
> something I can check to better understand the issue.

You could collect the output of "sudo lspci -vvxxx" and see if the
switch or root port logged any errors.  Collect it before and after
the crash and compare the two.

Bjorn

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, back to index

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAGgoGu5FfLFzCf0QiAd8UcMrZ7gtLyapgT3TZ-Hx0dknWy4LMQ@mail.gmail.com>
     [not found] ` <CAGgoGu4zP_7QpKHiXSkLfkb=zHEezBzstVfjQMQ4CO60+YubCw@mail.gmail.com>
2019-08-01  8:18   ` Unhandled fault: imprecise external abort (0x1406) when loading xhci_pci.ko - uPD720202, PEX8605, iMX6Q and linux-4.19.25 Fawad Lateef
2019-08-01 17:17     ` Bjorn Helgaas
2019-08-02  8:22       ` AW: " Schmid, Carsten
2019-08-02 10:56         ` Fawad Lateef
2019-08-22  9:18           ` Fawad Lateef
2019-08-22  9:34             ` AW: " Schmid, Carsten
2019-08-22 10:44               ` Fawad Lateef
2019-08-22 11:01                 ` AW: " Schmid, Carsten
2019-08-22 19:21             ` Bjorn Helgaas
2019-08-02 10:55       ` Fawad Lateef

Linux-USB Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-usb/0 linux-usb/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-usb linux-usb/ https://lore.kernel.org/linux-usb \
		linux-usb@vger.kernel.org linux-usb@archiver.kernel.org
	public-inbox-index linux-usb


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-usb


AGPL code for this site: git clone https://public-inbox.org/ public-inbox