This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: PCIe rescan crash

Genius 13655 points
Part Number: TDA4VM

Hello Champs,

Customer board has two TDA4VM SOC: soc1 is pcie3 rc  , soc2 is pcie3 ep. 

linux SDK is 8.04.

And the Hardware SCH is this

When soc1 and soc2 power on,  soc1 lspci can see 0x104c:b00d soc2 bridge device,   and soc1 echo 1 > /sys/bus/pci/devices/0000:00:00.0/remove , echo 1 > /sys/bus/pci/rescan ok.

But the problem is :  After i create Endpot function in soc2 (ep device) , and then in soc1(rc)  echo 1 > /sys/bus/pci/devices/0000:00:00.0/remove , echo 1 > /sys/bus/pci/rescan, the soc1 system crash immediately.

log is this:

..... My Operating Steps: 

soc2: 

cd /sys/kernel/config/pci_ep
mkdir functions/pci_epf_test/func1
echo 0x104c > functions/pci_epf_test/func1/vendorid
echo 0xb00d > functions/pci_epf_test/func1/deviceid
echo 12 > functions/pci_epf_test/func1/msi_interrupts
echo 12 > functions/pci_epf_test/func1/msix_interrupts
ln -s functions/pci_epf_test/func1 controllers/2930000.pcie-ep
echo 1 > controllers/2930000.pcie-ep/start

soc1:

echo 1 > /sys/bus/pci/devices/0000:00:00.0/remove
echo 1 > /sys/bus/pci/rescan

 

Dts setting:

soc1:

&pcie3_rc {
/*reset-gpios = <&exp2 20 GPIO_ACTIVE_HIGH>;*/
phys = <&serdes3_pcie_link>;
phy-names = "pcie-phy";
num-lanes = <2>;
};

&serdes3 {
assigned-clocks = <&serdes3 CDNS_SIERRA_PLL_CMNLC>;
assigned-clock-parents = <&wiz3_pll1_refclk>;

serdes3_pcie_link: phy@0 {
reg = <0>;
cdns,num-lanes = <2>;
#phy-cells = <0>;
cdns,phy-type = <PHY_TYPE_PCIE>;
resets = <&serdes_wiz3 1>, <&serdes_wiz3 2>;
};
};

soc2:

&pcie3_ep {
/delete-property/ power-domains;
phys = <&serdes3_pcie_link>;
phy-names = "pcie-phy";
num-lanes = <2>;
};

&serdes3 {
assigned-clocks = <&serdes3 CDNS_SIERRA_PLL_CMNLC>;
assigned-clock-parents = <&wiz3_pll1_refclk>;

serdes3_pcie_link: phy@0 {
reg = <0>;
cdns,num-lanes = <2>;
#phy-cells = <0>;
cdns,phy-type = <PHY_TYPE_PCIE>;
resets = <&serdes_wiz3 1>, <&serdes_wiz3 2>;
};
};

...............................

So, what reason can is?   like refclk setting ? etc...

How can I do ......


Thanks
Regards
Shine

  • Hi Shine,

    Is this from the same customer as: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1209929/dra829v-pcie-rescan-fails. Or is this a new customer issue?

    Mainly want to differentiate if this is the same exact customer issue but updated to a newer SDK version, or if it is a different customer that has a similar issue.

    Regards,

    Takuma

  • Hi Fujiwara,

         It is new project for my company, and I First time asking this question. This is a different customer,  The issue is described above.

         the PCIe cannot communicate now...

  • Hi Wang,

    Thanks for the clarification - I will treat this as a similar but possibly different root cause than the other open customer issue.

    After i create Endpot function in soc2 (ep device) ,

    Regarding this quote about creating endpoint function, but I see in the logs that there is only 1 function (function 0), but is my understanding correct that:

    • When the board boots up, the EP is configured to have only 1 function - if you have boot logs, then please share to confirm this understanding
    • After booting up, the EP is reconfigured to have 2 functions using Linux commandline tools
    • Doing a remove and rescan with the EP that is reconfigured to have 2 or more functions result in kernel crash

    Is my understanding correct? My suspicion is that this issue is related to silicon errata i2086, similar to another open customer issue: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1215795/processor-sdk-j721e-pcie-bridge-linux-kernel-panic

    Regards,

    Takuma

  • Hi Fujiwara:

        yes , you are right. When the board boots up,  the ep is only bridge device.   and i manually created Endpot function in ep, rescan in rc, and rc crash.

    • Doing a remove and rescan with the EP that is reconfigured to have 2 or more functions result in kernel crash  ---- right , can,t 2 or more functions.

         I show the logs.  Please help me confirm

    1. bootlog:

    soc1:

    root@soc1:/# dmesg
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.10.120 (yangle@xzs) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #2 SMP PREEMPT Mon Jun 5 21:54:03 PDT 2023
    [    0.000000] Machine model: Texas Instruments K3 J721E SoC
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c66-dma-memory@a8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c66-memory@a8100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a9000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c66-dma-memory@a9000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a9100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c66-memory@a9100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000aa000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71-dma-memory@aa000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000aa100000, size 79 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71-memory@aa100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b2000000, size 96 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-dma-memory@b2000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: initialized node vision_apps_shared-memories, compatible id dma-heap-carveout
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000d8000000, size 192 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-lo@d8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000e4000000, size 8 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-virtual-eth-queues@e4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000e4800000, size 24 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-virtual-eth-buffers@e4800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000880000000, size 624 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-hi@880000000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000aeffffff]
    [    0.000000]   node   0: [mem 0x00000000af000000-0x00000000afffffff]
    [    0.000000]   node   0: [mem 0x00000000b0000000-0x00000000b7ffffff]
    [    0.000000]   node   0: [mem 0x00000000b8000000-0x00000000d7ffffff]
    [    0.000000]   node   0: [mem 0x00000000d8000000-0x00000000e5ffffff]
    [    0.000000]   node   0: [mem 0x00000000e6000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008a6ffffff]
    [    0.000000]   node   0: [mem 0x00000008a7000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] On node 0 totalpages: 1048576
    [    0.000000]   DMA zone: 8192 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 524288 pages, LIFO batch:63
    [    0.000000]   Normal zone: 8192 pages used for memmap
    [    0.000000]   Normal zone: 524288 pages, LIFO batch:63
    [    0.000000] cma: Reserved 400 MiB at 0x00000000e7000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.2
    [    0.000000] percpu: Embedded 22 pages/cpu s50008 r8192 d31912 u90112
    [    0.000000] pcpu-alloc: s50008 r8192 d31912 u90112 alloc=22*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: EL2 vector hardening
    [    0.000000] CPU features: kernel page table isolation forced ON by KASLR
    [    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0x000000009a800000-0x000000009e800000] (64MB)
    [    0.000000] Memory: 1828056K/4194304K available (10880K kernel code, 1126K rwdata, 4188K rodata, 1792K init, 431K bss, 1956648K reserved, 409600K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @8a7800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008a7030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008a7040000
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000003] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.010480] Console: colour dummy device 80x25
    [    0.016185] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.029523] pid_max: default: 32768 minimum: 301
    [    0.035470] LSM: Security Framework initializing
    [    0.041416] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.050888] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.061873] rcu: Hierarchical SRCU implementation.
    [    0.068193] Platform MSI: msi-controller@1820000 domain created
    [    0.075969] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.087589] EFI services will not be available.
    [    0.093498] smp: Bringing up secondary CPUs ...
    [    0.109984] Detected PIPT I-cache on CPU1
    [    0.110014] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.110027] GICv3: CPU1: using allocated LPI pending table @0x00000008a7050000
    [    0.110069] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.110133] smp: Brought up 1 node, 2 CPUs
    [    0.146813] SMP: Total of 2 processors activated.
    [    0.152818] CPU features: detected: 32-bit EL0 Support
    [    0.159387] CPU features: detected: CRC32 instructions
    [    0.176723] CPU: All CPU(s) started at EL2
    [    0.181973] alternatives: patching kernel code
    [    0.188316] devtmpfs: initialized
    [    0.198943] KASLR disabled due to lack of seed
    [    0.204757] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.217211] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.232341] pinctrl core: initialized pinctrl subsystem
    [    0.239412] DMI not present or invalid.
    [    0.244715] NET: Registered protocol family 16
    [    0.251238] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.260384] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.270457] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.280830] thermal_sys: Registered thermal governor 'step_wise'
    [    0.280833] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.289033] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.306076] ASID allocator initialised with 32768 entries
    [    0.329203] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.337774] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.346338] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.354920] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.364289] cryptd: max_cpu_qlen set to 1000
    [    0.371720] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x1bb6402f] Detected
    [    0.382697] vsys_3v3: supplied by evm_12v0
    [    0.388198] vsys_5v0: supplied by evm_12v0
    [    0.393893] iommu: Default domain type: Translated
    [    0.400297] SCSI subsystem initialized
    [    0.405385] mc: Linux media interface: v0.10
    [    0.410847] videodev: Linux video capture interface: v2.00
    [    0.417886] pps_core: LinuxPPS API ver. 1 registered
    [    0.424224] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.435900] PTP clock support registered
    [    0.440924] EDAC MC: Ver: 3.0.0
    [    0.445598] FPGA manager framework
    [    0.449988] Advanced Linux Sound Architecture Driver Initialized.
    [    0.458247] clocksource: Switched to clocksource arch_sys_counter
    [    0.466176] VFS: Disk quotas dquot_6.6.0
    [    0.471217] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.483229] Carveout Heap: Exported 512 MiB at 0x00000000b8000000
    [    0.491093] NET: Registered protocol family 2
    [    0.497020] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.507762] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.518703] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.528952] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
    [    0.538713] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.547212] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.555828] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.565080] NET: Registered protocol family 1
    [    0.570981] RPC: Registered named UNIX socket transport module.
    [    0.578559] RPC: Registered udp transport module.
    [    0.584564] RPC: Registered tcp transport module.
    [    0.590568] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.598799] PCI: CLS 0 bytes, default 64
    [    0.604237] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.617111] Initialise system trusted keyrings
    [    0.622898] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.633132] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.640892] NFS: Registering the id_resolver key type
    [    0.647420] Key type id_resolver registered
    [    0.652760] Key type id_legacy registered
    [    0.657913] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.666474] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.676025] 9p: Installing v9fs 9p2000 file system support
    [    0.707536] Key type asymmetric registered
    [    0.712769] Asymmetric key parser 'x509' registered
    [    0.719016] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.728465] io scheduler mq-deadline registered
    [    0.734247] io scheduler kyber registered
    [    0.740991] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
    [    0.748717] pinctrl-single 11c000.pinctrl: 173 pins, size 692
    [    0.758976] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.766800] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.776542] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.786540] arm-smmu-v3 36600000.iommu: ias 48-bit, oas 48-bit (features 0x00001faf)
    [    0.796854] arm-smmu-v3 36600000.iommu: allocated 65536 entries for cmdq
    [    0.805705] arm-smmu-v3 36600000.iommu: allocated 32768 entries for evtq
    [    0.816402] arm-smmu-v3 36600000.iommu: msi_domain absent - falling back to wired irqs
    [    0.832145] brd: module loaded
    [    0.840221] loop: module loaded
    [    0.844958] megasas: 07.714.04.00-rc1
    [    0.851658] tun: Universal TUN/TAP device driver, 1.6
    [    0.858431] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.866436] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.874023] sky2: driver version 1.30
    [    0.879330] VFIO - User Level meta-driver version: 0.3
    [    0.886489] i2c /dev entries driver
    [    0.891709] sdhci: Secure Digital Host Controller Interface driver
    [    0.899606] sdhci: Copyright(c) Pierre Ossman
    [    0.905456] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.913260] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.921135] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.930107] optee: probing for conduit method.
    [    0.935806] optee: revision 3.17 (15a746d2)
    [    0.935985] optee: dynamic shared memory is enabled
    [    0.954495] optee: initialized driver
    [    0.960580] NET: Registered protocol family 17
    [    0.966354] 9pnet: Installing 9P2000 support
    [    0.971846] Key type dns_resolver registered
    [    0.977412] Loading compiled-in X.509 certificates
    [    0.989220] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.997144] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    1.006878] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0008 '8.4.1--v08.04.01 (Jolly Jellyfi')
    [    1.052119] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    1.059738] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.067277] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    1.074845] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    1.082348] omap_i2c 2020000.i2c: bus 4 rev0.12 at 400 kHz
    [    1.089816] omap_i2c 2030000.i2c: bus 5 rev0.12 at 400 kHz
    [    1.097269] omap_i2c 2040000.i2c: bus 6 rev0.12 at 100 kHz
    [    1.104684] omap_i2c 2050000.i2c: bus 7 rev0.12 at 100 kHz
    [    1.112642] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created
    [    1.125091] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created
    [    1.136080] ti-sci-intr bus@100000:main-navss:interrupt-controller1: Interrupt Router 213 domain created
    [    1.148367] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
    [    1.174431] j721e-pcie 2930000.pcie: host bridge /bus@100000/pcie@2930000 ranges:
    [    1.184019] j721e-pcie 2930000.pcie:       IO 0x4410001000..0x4410010fff -> 0x0000001000
    [    1.194370] j721e-pcie 2930000.pcie:      MEM 0x4410011000..0x4417ffffff -> 0x0000011000
    [    1.204716] j721e-pcie 2930000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    2.217733] j721e-pcie 2930000.pcie: PCI host bridge to bus 0000:00
    [    2.225752] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    2.232758] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x1000-0x10fff])
    [    2.244095] pci_bus 0000:00: root bus resource [mem 0x4410011000-0x4417ffffff] (bus address [0x00011000-0x07ffffff])
    [    2.257569] pci 0000:00:00.0: [104c:b00d] type 01 class 0x060400
    [    2.265244] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    2.277661] pci 0000:00:00.0: supports D1
    [    2.282782] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    2.292338] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    2.304512] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
    [    2.312974] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    2.319579] pcieport 0000:00:00.0: PME: Signaling with IRQ 40
    [    2.328081] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    [    2.340434] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    2.348892] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    2.360167] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    [    2.372863] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    2.381312] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    2.391214] printk: console [ttyS2] disabled
    [    2.396708] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 25, base_baud = 3000000) is a 8250
    [    2.407647] printk: console [ttyS2] enabled
    [    2.418191] printk: bootconsole [ns16550a0] disabled
    [    2.431299] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 26, base_baud = 3000000) is a 8250
    [    2.442471] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 27, base_baud = 3000000) is a 8250
    [    2.454603] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    2.502257] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    2.512230] mdio_bus 46000f00.mdio: MDIO device at address 0 is missing.
    [    2.520637] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
    [    2.537716] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:250000000, add_val:3 pps:0
    [    2.649658] mmc0: CQHCI version 5.10
    [    2.654875] mmc1: CQHCI version 5.10
    [    2.664977] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [    2.673503] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [    2.681996] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
    [    2.690508] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
    [    2.695175] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    2.708017] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
    [    2.716921] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    2.730111] ti-udma 31150000.dma-controller: Channels: 122 (tchan: 61, rchan: 61, gp-rflow: 16)
    [    2.746717] spi-nor spi0.0: mt35xu512aba (65536 Kbytes)
    [    2.753269] 8 fixed-partitions partitions found on MTD device 47040000.spi.0
    [    2.762058] Creating 8 MTD partitions on "47040000.spi.0":
    [    2.768899] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    2.776405] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    2.783558] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    2.790799] 0x000000680000-0x0000006a0000 : "ospi.env"
    [    2.797765] 0x0000006a0000-0x0000006c0000 : "ospi.env.backup"
    [    2.797921] mmc0: Command Queue Engine enabled
    [    2.805459] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
    [    2.810507] mmc0: new HS200 MMC card at address 0001
    [    2.817629] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    2.823676] mmcblk0: mmc0:0001 8GUF4R 7.28 GiB
    [    2.830604] 0x000003fe0000-0x000004000000 : "ospi.phypattern"
    [    2.835836] mmcblk0boot0: mmc0:0001 8GUF4R partition 1 31.9 MiB
    [    2.850440] mmcblk0boot1: mmc0:0001 8GUF4R partition 2 31.9 MiB
    [    2.857919] mmcblk0rpmb: mmc0:0001 8GUF4R partition 3 4.00 MiB, chardev (237:0)
    [    2.867832]  mmcblk0: p1 p2
    [    2.874121] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    2.922252] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    2.932222] mdio_bus 46000f00.mdio: MDIO device at address 0 is missing.
    [    2.940625] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
    [    2.957435] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    2.966034] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    2.975043] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    2.982914] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0
    [    3.004302] ALSA device list:
    [    3.008014]   No soundcards found.
    [    4.178319] sdhci-am654 4fb0000.mmc: Power on failed
    [    4.215151] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    4.447668] EXT4-fs (mmcblk0p2): recovery complete
    [    4.454083] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    4.464224] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    4.472048] devtmpfs: mounted
    [    4.476861] Freeing unused kernel memory: 1792K
    [    4.482648] Run /sbin/init as init process
    [    4.487756]   with arguments:
    [    4.487759]     /sbin/init
    [    4.487761]   with environment:
    [    4.487764]     HOME=/
    [    4.487766]     TERM=linux
    [    4.547864] systemd[1]: System time before build time, advancing clock.
    [    4.577388] NET: Registered protocol family 10
    [    4.583585] Segment Routing with IPv6
    [    4.596345] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [    4.623544] systemd[1]: Detected architecture arm64.
    [    4.658523] systemd[1]: Set hostname to <c801soc1>.
    [    4.804705] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock \xe2\x86\x92 /run/docker.sock; please update the unit file accordingly.
    [    4.870148] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.878577] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [    4.894060] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [    4.906559] systemd[1]: Created slice system-getty.slice.
    [    4.930352] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.939506] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [    4.966334] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.975354] systemd[1]: Created slice User and Session Slice.
    [    4.998511] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    5.026420] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    5.054400] systemd[1]: Reached target Paths.
    [    5.070328] systemd[1]: Reached target Remote File Systems.
    [    5.094317] systemd[1]: Reached target Slices.
    [    5.110322] systemd[1]: Reached target Swap.
    [    5.127249] systemd[1]: Listening on RPCbind Server Activation Socket.
    [    5.154401] systemd[1]: Reached target RPC Port Mapper.
    [    5.180579] systemd[1]: Listening on Process Core Dump Socket.
    [    5.206510] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    5.234705] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    [    5.245139] systemd[1]: Listening on Journal Socket (/dev/log).
    [    5.270627] systemd[1]: Listening on Journal Socket.
    [    5.294698] systemd[1]: Listening on Network Service Netlink Socket.
    [    5.318585] systemd[1]: Listening on udev Control Socket.
    [    5.342489] systemd[1]: Listening on udev Kernel Socket.
    [    5.369279] systemd[1]: Mounting Huge Pages File System...
    [    5.397133] systemd[1]: Mounting POSIX Message Queue File System...
    [    5.425105] systemd[1]: Mounting Kernel Debug File System...
    [    5.449214] systemd[1]: Mounting Temporary Directory (/tmp)...
    [    5.473363] systemd[1]: Starting Create list of static device nodes for the current kernel...
    [    5.505046] systemd[1]: Starting Start psplash boot splash screen...
    [    5.533850] systemd[1]: Starting RPC Bind...
    [    5.554541] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
    [    5.569249] systemd[1]: Starting Journal Service...
    [    5.594147] systemd[1]: Starting Load Kernel Modules...
    [    5.610784] cryptodev: loading out-of-tree module taints kernel.
    [    5.623482] cryptodev: driver 1.10 loaded.
    [    5.637081] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    5.654996] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [    5.665263] systemd[1]: Starting udev Coldplug all Devices...
    [    5.698162] systemd[1]: Started RPC Bind.
    [    5.722887] systemd[1]: Started Journal Service.
    [    5.929674] urandom_read_iter: 38 callbacks suppressed
    [    5.929680] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.938528] random: systemd-journal: uninitialized urandom read (16 bytes read)
    [    5.954507] random: systemd-journal: uninitialized urandom read (16 bytes read)
    [    5.996023] systemd-journald[156]: Received client request to flush runtime journal.
    [    6.858743] k3-dsp-rproc 4d80800000.dsp: assigned reserved memory node vision-apps-c66-dma-memory@a9000000
    [    6.902349] img_enc 4200000.video-encoder: vxe_enc_probe: using heap 1 for internal alloc
    [    6.934526] urandom_read_iter: 28 callbacks suppressed
    [    6.934530] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.954491] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.997497] k3-dsp-rproc 4d80800000.dsp: configured DSP for IPC-only mode
    [    7.026493] random: systemd: uninitialized urandom read (16 bytes read)
    [    7.096767] img_enc 4200000.video-encoder: encoder registered as /dev/video0
    [    7.107401] remoteproc remoteproc0: 4d80800000.dsp is available
    [    7.125229] img_dec 4300000.video-decoder: decoder registered as /dev/video1
    [    7.166560] pvrsrvkm 4e20000000.gpu: More than one power domain for this GPU, gpu driver manages power domains
    [    7.176036] remoteproc remoteproc0: attaching to 4d80800000.dsp
    [    7.186695] k3-dsp-rproc 4d80800000.dsp: DSP initialized in IPC-only mode
    [    7.195199]  remoteproc0#vdev0buffer: assigned reserved memory node vision-apps-c66-dma-memory@a9000000
    [    7.207356] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    7.214279] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xd
    [    7.223268]  remoteproc0#vdev0buffer: registered virtio0 (type 7)
    [    7.230904] remoteproc remoteproc0: remote processor 4d80800000.dsp is now attached
    [    7.241964] k3-dsp-rproc 4d81800000.dsp: assigned reserved memory node vision-apps-c66-dma-memory@a8000000
    [    7.255180] k3-dsp-rproc 4d81800000.dsp: configured DSP for IPC-only mode
    [    7.264141] remoteproc remoteproc1: 4d81800000.dsp is available
    [    7.271815] remoteproc remoteproc1: attaching to 4d81800000.dsp
    [    7.281018] k3-dsp-rproc 4d81800000.dsp: DSP initialized in IPC-only mode
    [    7.290174]  remoteproc1#vdev0buffer: assigned reserved memory node vision-apps-c66-dma-memory@a8000000
    [    7.314178] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    7.321123] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xd
    [    7.409750] PVR_K:  182: Read BVNC 22.104.208.318 from HW device registers
    [    7.420177] PVR_K:  182: RGX Device registered with BVNC 22.104.208.318
    [    7.433117] [drm] Initialized pvr 1.15.6133109 20170530 for 4e20000000.gpu on minor 0
    [    7.505321]  remoteproc1#vdev0buffer: registered virtio1 (type 7)
    [    7.570242] k3_r5_rproc bus@100000:bus@28380000:r5fss@41000000: MCU cluster requires both R5F cores to be enabled, num_cores = 0
    [    7.670154] remoteproc remoteproc1: remote processor 4d81800000.dsp is now attached
    [    7.827500] platform 5c00000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    7.875098] k3-dsp-rproc 64800000.dsp: assigned reserved memory node vision-apps-c71-dma-memory@aa000000
    [    8.033061] platform 5c00000.r5f: configured R5F for IPC-only mode
    [    8.070227] k3-dsp-rproc 64800000.dsp: configured DSP for IPC-only mode
    [    8.150519] platform 5c00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a2000000
    [    8.178305] random: crng init done
    [    8.182571] random: 9 urandom warning(s) missed due to ratelimiting
    [    8.195101] remoteproc remoteproc3: 64800000.dsp is available
    [    8.212375] remoteproc remoteproc3: attaching to 64800000.dsp
    [    8.263043] remoteproc remoteproc3: unsupported resource 65538
    [    8.281616] remoteproc remoteproc2: 5c00000.r5f is available
    [    8.282678] k3-dsp-rproc 64800000.dsp: DSP initialized in IPC-only mode
    [    8.312639]  remoteproc3#vdev0buffer: assigned reserved memory node vision-apps-c71-dma-memory@aa000000
    [    8.334534] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    8.341471] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xd
    [    8.357402]  remoteproc3#vdev0buffer: registered virtio2 (type 7)
    [    8.366146] remoteproc remoteproc3: remote processor 64800000.dsp is now attached
    [    8.367536] remoteproc remoteproc2: attaching to 5c00000.r5f
    [    8.412942] platform 5c00000.r5f: R5F core initialized in IPC-only mode
    [    8.429644]  remoteproc2#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a2000000
    [    8.464704] virtio_rpmsg_bus virtio3: rpmsg host is online
    [    8.474377]  remoteproc2#vdev0buffer: registered virtio3 (type 7)
    [    8.483167] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0xd
    [    8.498932] remoteproc remoteproc2: remote processor 5c00000.r5f is now attached
    [    8.512134] platform 5d00000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    8.538683] platform 5d00000.r5f: configured R5F for IPC-only mode
    [    8.556522] platform 5d00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a4000000
    [    8.608942] remoteproc remoteproc4: 5d00000.r5f is available
    [    8.620797] remoteproc remoteproc4: attaching to 5d00000.r5f
    [    8.628094] platform 5d00000.r5f: R5F core initialized in IPC-only mode
    [    8.636546]  remoteproc4#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a4000000
    [    8.664784] virtio_rpmsg_bus virtio4: rpmsg host is online
    [    8.683142] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0xd
    [    8.694393] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0x15
    [    8.703463] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0x15
    [    8.714400] virtio_rpmsg_bus virtio2: creating channel ti.ipc4.ping-pong addr 0xe
    [    8.726419] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0x15
    [    8.738411] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xe
    [    8.750452] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x15
    [    8.759626] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xe
    [    8.769575]  remoteproc4#vdev0buffer: registered virtio4 (type 7)
    [    8.777450] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0x15
    [    8.786570] virtio_rpmsg_bus virtio4: creating channel ti.ipc4.ping-pong addr 0xe
    [    8.796222] remoteproc remoteproc4: remote processor 5d00000.r5f is now attached
    [    8.808687] k3_r5_rproc bus@100000:r5fss@5e00000: MCU cluster requires both R5F cores to be enabled, num_cores = 0
    [    9.516470] remoteproc remoteproc5: b034000.pru is available
    [    9.541516] remoteproc remoteproc6: b004000.rtu is available
    [    9.601956] remoteproc remoteproc7: b00a000.txpru is available
    [    9.648181] remoteproc remoteproc8: b038000.pru is available
    [    9.652574] omap_rng 4e10000.rng: Random Number Generator ver. 241b34c
    [    9.662880] remoteproc remoteproc9: b006000.rtu is available
    [    9.718029] remoteproc remoteproc10: b00c000.txpru is available
    [    9.736983] remoteproc remoteproc11: b134000.pru is available
    [    9.745374] remoteproc remoteproc12: b104000.rtu is available
    [    9.755152] remoteproc remoteproc13: b10a000.txpru is available
    [    9.766682] remoteproc remoteproc14: b138000.pru is available
    [    9.775096] remoteproc remoteproc15: b106000.rtu is available
    [    9.783378] remoteproc remoteproc16: b10c000.txpru is available
    [   10.613818] Bluetooth: Core ver 2.22
    [   10.626430] NET: Registered protocol family 31
    [   10.633708] Bluetooth: HCI device and connection manager initialized
    [   10.653154] Bluetooth: HCI socket layer initialized
    [   10.659282] Bluetooth: L2CAP socket layer initialized
    [   10.678366] Bluetooth: SCO socket layer initialized
    [   14.765275] PVR_K:  1001: RGX Firmware image 'rgx.fw.22.104.208.318' loaded
    [   14.801414] PVR_K:  1001: Shader binary image 'rgx.sh.22.104.208.318' loaded
    [  131.441947] Initializing XFRM netlink socket
    [  132.046044] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
    [  132.064379] Bridge firewalling registered
    [  132.569103] process 'docker/tmp/qemu-check200873263/check' started with executable stack
    root@soc1:/#
    

    soc2:

    root@soc2:/# dmesg
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.10.120 (db2@TDA4) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Tue Jun 6 13:15:12 CST 2023
    [    0.000000] Machine model: Texas Instruments K3 J721E SoC
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c66-dma-memory@a8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c66-memory@a8100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a9000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c66-dma-memory@a9000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a9100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c66-memory@a9100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000aa000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71-dma-memory@aa000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000aa100000, size 79 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71-memory@aa100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b2000000, size 96 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-dma-memory@b2000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: initialized node vision_apps_shared-memories, compatible id dma-heap-carveout
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000d8000000, size 192 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-lo@d8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000e4000000, size 8 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-virtual-eth-queues@e4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000e4800000, size 24 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-virtual-eth-buffers@e4800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000880000000, size 624 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-hi@880000000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000aeffffff]
    [    0.000000]   node   0: [mem 0x00000000af000000-0x00000000afffffff]
    [    0.000000]   node   0: [mem 0x00000000b0000000-0x00000000b7ffffff]
    [    0.000000]   node   0: [mem 0x00000000b8000000-0x00000000d7ffffff]
    [    0.000000]   node   0: [mem 0x00000000d8000000-0x00000000e5ffffff]
    [    0.000000]   node   0: [mem 0x00000000e6000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008a6ffffff]
    [    0.000000]   node   0: [mem 0x00000008a7000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] On node 0 totalpages: 1048576
    [    0.000000]   DMA zone: 8192 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 524288 pages, LIFO batch:63
    [    0.000000]   Normal zone: 8192 pages used for memmap
    [    0.000000]   Normal zone: 524288 pages, LIFO batch:63
    [    0.000000] cma: Reserved 400 MiB at 0x00000000e7000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.2
    [    0.000000] percpu: Embedded 22 pages/cpu s50008 r8192 d31912 u90112
    [    0.000000] pcpu-alloc: s50008 r8192 d31912 u90112 alloc=22*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: EL2 vector hardening
    [    0.000000] CPU features: kernel page table isolation forced ON by KASLR
    [    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0x000000009a800000-0x000000009e800000] (64MB)
    [    0.000000] Memory: 1828056K/4194304K available (10880K kernel code, 1126K rwdata, 4188K rodata, 1792K init, 431K bss, 1956648K reserved, 409600K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @8a7800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008a7030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008a7040000
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000002] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.010480] Console: colour dummy device 80x25
    [    0.016185] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.029523] pid_max: default: 32768 minimum: 301
    [    0.035469] LSM: Security Framework initializing
    [    0.041417] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.050892] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.061887] rcu: Hierarchical SRCU implementation.
    [    0.068202] Platform MSI: msi-controller@1820000 domain created
    [    0.075977] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.087595] EFI services will not be available.
    [    0.093511] smp: Bringing up secondary CPUs ...
    [    0.110001] Detected PIPT I-cache on CPU1
    [    0.110028] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.110042] GICv3: CPU1: using allocated LPI pending table @0x00000008a7050000
    [    0.110086] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.110149] smp: Brought up 1 node, 2 CPUs
    [    0.146830] SMP: Total of 2 processors activated.
    [    0.152836] CPU features: detected: 32-bit EL0 Support
    [    0.159404] CPU features: detected: CRC32 instructions
    [    0.176822] CPU: All CPU(s) started at EL2
    [    0.182069] alternatives: patching kernel code
    [    0.188416] devtmpfs: initialized
    [    0.199000] KASLR disabled due to lack of seed
    [    0.204811] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.217264] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.232392] pinctrl core: initialized pinctrl subsystem
    [    0.239460] DMI not present or invalid.
    [    0.244764] NET: Registered protocol family 16
    [    0.251294] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.260442] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.270515] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.280888] thermal_sys: Registered thermal governor 'step_wise'
    [    0.280891] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.289089] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.306133] ASID allocator initialised with 32768 entries
    [    0.328584] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.337154] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.345712] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.354272] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.363603] cryptd: max_cpu_qlen set to 1000
    [    0.371119] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x1bb6402f] Detected
    [    0.382084] vsys_3v3: supplied by evm_12v0
    [    0.387530] vsys_5v0: supplied by evm_12v0
    [    0.393221] iommu: Default domain type: Translated
    [    0.399682] SCSI subsystem initialized
    [    0.404796] mc: Linux media interface: v0.10
    [    0.410275] videodev: Linux video capture interface: v2.00
    [    0.417323] pps_core: LinuxPPS API ver. 1 registered
    [    0.423661] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.435333] PTP clock support registered
    [    0.440355] EDAC MC: Ver: 3.0.0
    [    0.445063] FPGA manager framework
    [    0.449453] Advanced Linux Sound Architecture Driver Initialized.
    [    0.457704] clocksource: Switched to clocksource arch_sys_counter
    [    0.465608] VFS: Disk quotas dquot_6.6.0
    [    0.470647] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.482676] Carveout Heap: Exported 512 MiB at 0x00000000b8000000
    [    0.490537] NET: Registered protocol family 2
    [    0.496463] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.507196] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.518143] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.528391] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
    [    0.538163] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.546654] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.555268] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.564520] NET: Registered protocol family 1
    [    0.570424] RPC: Registered named UNIX socket transport module.
    [    0.578007] RPC: Registered udp transport module.
    [    0.584013] RPC: Registered tcp transport module.
    [    0.590016] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.598246] PCI: CLS 0 bytes, default 64
    [    0.603670] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.616521] Initialise system trusted keyrings
    [    0.622327] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.632503] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.640281] NFS: Registering the id_resolver key type
    [    0.646770] Key type id_resolver registered
    [    0.652110] Key type id_legacy registered
    [    0.657256] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.665816] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.675370] 9p: Installing v9fs 9p2000 file system support
    [    0.707373] Key type asymmetric registered
    [    0.712606] Asymmetric key parser 'x509' registered
    [    0.718859] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.728308] io scheduler mq-deadline registered
    [    0.734089] io scheduler kyber registered
    [    0.740863] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
    [    0.748580] pinctrl-single 11c000.pinctrl: 173 pins, size 692
    [    0.756911] j721e-pcie 2930000.pcie-ep: Failed to init phy
    [    0.766049] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.773869] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.783561] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.793607] arm-smmu-v3 36600000.iommu: ias 48-bit, oas 48-bit (features 0x00001faf)
    [    0.803940] arm-smmu-v3 36600000.iommu: allocated 65536 entries for cmdq
    [    0.812802] arm-smmu-v3 36600000.iommu: allocated 32768 entries for evtq
    [    0.823553] arm-smmu-v3 36600000.iommu: msi_domain absent - falling back to wired irqs
    [    0.839141] brd: module loaded
    [    0.847320] loop: module loaded
    [    0.852068] megasas: 07.714.04.00-rc1
    [    0.858778] tun: Universal TUN/TAP device driver, 1.6
    [    0.865523] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.873531] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.881117] sky2: driver version 1.30
    [    0.886405] VFIO - User Level meta-driver version: 0.3
    [    0.893556] i2c /dev entries driver
    [    0.898805] sdhci: Secure Digital Host Controller Interface driver
    [    0.906701] sdhci: Copyright(c) Pierre Ossman
    [    0.912455] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.920260] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.928140] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.937085] optee: probing for conduit method.
    [    0.942782] optee: revision 3.17 (15a746d2)
    [    0.942944] optee: dynamic shared memory is enabled
    [    0.961450] optee: initialized driver
    [    0.967525] NET: Registered protocol family 17
    [    0.973297] 9pnet: Installing 9P2000 support
    [    0.978817] Key type dns_resolver registered
    [    0.984381] Loading compiled-in X.509 certificates
    [    0.995936] j721e-pcie 2930000.pcie-ep: Failed to init phy
    [    1.003484] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    1.011396] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    1.021171] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0008 '8.4.1--v08.04.01 (Jolly Jellyfi')
    [    1.066431] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    1.074052] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.081606] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    1.089168] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    1.096651] omap_i2c 2020000.i2c: bus 4 rev0.12 at 400 kHz
    [    1.104119] omap_i2c 2030000.i2c: bus 5 rev0.12 at 400 kHz
    [    1.111555] omap_i2c 2040000.i2c: bus 6 rev0.12 at 100 kHz
    [    1.118981] omap_i2c 2050000.i2c: bus 7 rev0.12 at 100 kHz
    [    1.126980] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created
    [    1.139423] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created
    [    1.150414] ti-sci-intr bus@100000:main-navss:interrupt-controller1: Interrupt Router 213 domain created
    [    1.162710] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
    [    1.191670] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    [    1.204035] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.212484] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    1.223753] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    [    1.236443] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.244900] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    1.254781] printk: console [ttyS2] disabled
    [    1.260272] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 25, base_baud = 3000000) is a 8250
    [    1.271201] printk: console [ttyS2] enabled
    [    1.281749] printk: bootconsole [ns16550a0] disabled
    [    1.294852] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 26, base_baud = 3000000) is a 8250
    [    1.306011] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 27, base_baud = 3000000) is a 8250
    [    1.318163] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.365708] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.375678] mdio_bus 46000f00.mdio: MDIO device at address 0 is missing.
    [    1.384084] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
    [    1.401197] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:250000000, add_val:3 pps:0
    [    1.513084] mmc0: CQHCI version 5.10
    [    1.517817] mmc1: CQHCI version 5.10
    [    1.528567] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [    1.537083] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [    1.545569] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
    [    1.554054] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
    [    1.562516] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
    [    1.563122] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    1.571476] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    1.580028] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    1.593315] ti-udma 31150000.dma-controller: Channels: 122 (tchan: 61, rchan: 61, gp-rflow: 16)
    [    1.617011] spi-nor spi0.0: mt35xu512aba (65536 Kbytes)
    [    1.623629] 8 fixed-partitions partitions found on MTD device 47040000.spi.0
    [    1.632430] Creating 8 MTD partitions on "47040000.spi.0":
    [    1.639278] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    1.646812] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    1.653980] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    1.661239] 0x000000680000-0x0000006a0000 : "ospi.env"
    [    1.668181] 0x0000006a0000-0x0000006c0000 : "ospi.env.backup"
    [    1.675876] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
    [    1.683040] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    1.690285] 0x000003fe0000-0x000004000000 : "ospi.phypattern"
    [    1.701584] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.714630] mmc1: Problem switching card into high-speed mode!
    [    1.722055] mmc1: new SDHC card at address 0001
    [    1.728229] mmcblk1: mmc1:0001 SD16G 14.6 GiB
    [    1.736131]  mmcblk1: p1 p2
    [    1.745446] mmc0: Command Queue Engine enabled
    [    1.749725] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.750997] mmc0: new HS200 MMC card at address 0001
    [    1.761002] mdio_bus 46000f00.mdio: MDIO device at address 0 is missing.
    [    1.773920] mmcblk0: mmc0:0001 8GUF4R 7.28 GiB
    [    1.775167] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
    [    1.780837] mmcblk0boot0: mmc0:0001 8GUF4R partition 1 31.9 MiB
    [    1.797541] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    1.804153] mmcblk0boot1: mmc0:0001 8GUF4R partition 2 31.9 MiB
    [    1.812676] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.819572] mmcblk0rpmb: mmc0:0001 8GUF4R partition 3 4.00 MiB, chardev (237:0)
    [    1.828462] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.837788] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0
    [    1.856187]  mmcblk0: p1 p2
    [    1.866805] ALSA device list:
    [    1.870527]   No soundcards found.
    [    2.037866] EXT4-fs (mmcblk0p2): recovery complete
    [    2.044408] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.054546] VFS: Mounted root (ext4 filesystem) on device 179:34.
    [    2.062477] devtmpfs: mounted
    [    2.067283] Freeing unused kernel memory: 1792K
    [    2.073068] Run /sbin/init as init process
    [    2.078176]   with arguments:
    [    2.078179]     /sbin/init
    [    2.078181]   with environment:
    [    2.078184]     HOME=/
    [    2.078186]     TERM=linux
    [    2.138532] systemd[1]: System time before build time, advancing clock.
    [    2.169833] NET: Registered protocol family 10
    [    2.175981] Segment Routing with IPv6
    [    2.187737] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [    2.214911] systemd[1]: Detected architecture arm64.
    [    2.249987] systemd[1]: Set hostname to <c801soc2>.
    [    2.396965] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock \xe2\x86\x92 /run/docker.sock; please update the unit file accordingly.
    [    2.462968] random: systemd: uninitialized urandom read (16 bytes read)
    [    2.471418] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [    2.486850] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [    2.499348] systemd[1]: Created slice system-getty.slice.
    [    2.521869] random: systemd: uninitialized urandom read (16 bytes read)
    [    2.531052] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [    2.557797] random: systemd: uninitialized urandom read (16 bytes read)
    [    2.566837] systemd[1]: Created slice User and Session Slice.
    [    2.589973] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    2.617877] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    2.645861] systemd[1]: Reached target Paths.
    [    2.661790] systemd[1]: Reached target Remote File Systems.
    [    2.685772] systemd[1]: Reached target Slices.
    [    2.701783] systemd[1]: Reached target Swap.
    [    2.718694] systemd[1]: Listening on RPCbind Server Activation Socket.
    [    2.745823] systemd[1]: Reached target RPC Port Mapper.
    [    2.772124] systemd[1]: Listening on Process Core Dump Socket.
    [    2.797968] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    2.826200] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    [    2.836657] systemd[1]: Listening on Journal Socket (/dev/log).
    [    2.862110] systemd[1]: Listening on Journal Socket.
    [    2.878183] systemd[1]: Listening on Network Service Netlink Socket.
    [    2.902062] systemd[1]: Listening on udev Control Socket.
    [    2.925954] systemd[1]: Listening on udev Kernel Socket.
    [    2.952685] systemd[1]: Mounting Huge Pages File System...
    [    2.972526] systemd[1]: Mounting POSIX Message Queue File System...
    [    3.000583] systemd[1]: Mounting Kernel Debug File System...
    [    3.028703] systemd[1]: Mounting Temporary Directory (/tmp)...
    [    3.048670] systemd[1]: Starting Create list of static device nodes for the current kernel...
    [    3.080484] systemd[1]: Starting Start psplash boot splash screen...
    [    3.109198] systemd[1]: Starting RPC Bind...
    [    3.129949] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
    [    3.144763] systemd[1]: Starting Journal Service...
    [    3.169887] systemd[1]: Starting Load Kernel Modules...
    [    3.186971] cryptodev: loading out-of-tree module taints kernel.
    [    3.197574] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    3.199260] cryptodev: driver 1.10 loaded.
    [    3.221499] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [    3.232892] systemd[1]: Starting udev Coldplug all Devices...
    [    3.257586] systemd[1]: Started RPC Bind.
    [    3.278351] systemd[1]: Started Journal Service.
    [    3.472426] urandom_read_iter: 38 callbacks suppressed
    [    3.472432] random: systemd-journal: uninitialized urandom read (16 bytes read)
    [    3.473150] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.501068] random: systemd-journal: uninitialized urandom read (16 bytes read)
    [    3.538489] systemd-journald[159]: Received client request to flush runtime journal.
    [    4.262378] k3-dsp-rproc 4d80800000.dsp: assigned reserved memory node vision-apps-c66-dma-memory@a9000000
    [    4.327724] img_enc 4200000.video-encoder: vxe_enc_probe: using heap 1 for internal alloc
    [    4.446362] img_enc 4200000.video-encoder: encoder registered as /dev/video0
    [    4.466956] k3-dsp-rproc 4d80800000.dsp: configured DSP for IPC-only mode
    [    4.489851] remoteproc remoteproc0: 4d80800000.dsp is available
    [    4.500336] remoteproc remoteproc0: attaching to 4d80800000.dsp
    [    4.509670] img_dec 4300000.video-decoder: decoder registered as /dev/video1
    [    4.518728] k3-dsp-rproc 4d80800000.dsp: DSP initialized in IPC-only mode
    [    4.530380]  remoteproc0#vdev0buffer: assigned reserved memory node vision-apps-c66-dma-memory@a9000000
    [    4.557415] urandom_read_iter: 28 callbacks suppressed
    [    4.557420] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.580123] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.591791] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    4.595942] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xd
    [    4.609913] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.741871]  remoteproc0#vdev0buffer: registered virtio0 (type 7)
    [    4.790648] pvrsrvkm 4e20000000.gpu: More than one power domain for this GPU, gpu driver manages power domains
    [    5.042697] remoteproc remoteproc0: remote processor 4d80800000.dsp is now attached
    [    5.057760] k3_r5_rproc bus@100000:bus@28380000:r5fss@41000000: MCU cluster requires both R5F cores to be enabled, num_cores = 0
    [    5.117793] PVR_K:  186: Read BVNC 22.104.208.318 from HW device registers
    [    5.170047] PVR_K:  186: RGX Device registered with BVNC 22.104.208.318
    [    5.179358] k3-dsp-rproc 4d81800000.dsp: assigned reserved memory node vision-apps-c66-dma-memory@a8000000
    [    5.194910] platform 5c00000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    5.264905] [drm] Initialized pvr 1.15.6133109 20170530 for 4e20000000.gpu on minor 0
    [    5.280212] k3-dsp-rproc 4d81800000.dsp: configured DSP for IPC-only mode
    [    5.306873] platform 5c00000.r5f: configured R5F for IPC-only mode
    [    5.383566] platform 5c00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a2000000
    [    5.390923] remoteproc remoteproc1: 4d81800000.dsp is available
    [    5.497822] remoteproc remoteproc1: attaching to 4d81800000.dsp
    [    5.510160] k3-dsp-rproc 4d81800000.dsp: DSP initialized in IPC-only mode
    [    5.538003]  remoteproc1#vdev0buffer: assigned reserved memory node vision-apps-c66-dma-memory@a8000000
    [    5.552781] remoteproc remoteproc2: 5c00000.r5f is available
    [    5.573573] urandom_read_iter: 3 callbacks suppressed
    [    5.573579] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.591750] remoteproc remoteproc2: attaching to 5c00000.r5f
    [    5.618365] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    5.625344] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xd
    [    5.654770] platform 5c00000.r5f: R5F core initialized in IPC-only mode
    [    5.693892]  remoteproc1#vdev0buffer: registered virtio1 (type 7)
    [    5.753960]  remoteproc2#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a2000000
    [    5.765959] remoteproc remoteproc1: remote processor 4d81800000.dsp is now attached
    [    5.840491] k3-dsp-rproc 64800000.dsp: assigned reserved memory node vision-apps-c71-dma-memory@aa000000
    [    5.867660] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    5.885999] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xd
    [    5.953947]  remoteproc2#vdev0buffer: registered virtio2 (type 7)
    [    5.981746] random: crng init done
    [    5.986007] random: 9 urandom warning(s) missed due to ratelimiting
    [    6.023666] k3-dsp-rproc 64800000.dsp: configured DSP for IPC-only mode
    [    6.058934] remoteproc remoteproc2: remote processor 5c00000.r5f is now attached
    [    6.113978] remoteproc remoteproc3: 64800000.dsp is available
    [    6.149965] platform 5d00000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    6.192204] remoteproc remoteproc3: attaching to 64800000.dsp
    [    6.239233] remoteproc remoteproc3: unsupported resource 65538
    [    6.264716] platform 5d00000.r5f: configured R5F for IPC-only mode
    [    6.286704] k3-dsp-rproc 64800000.dsp: DSP initialized in IPC-only mode
    [    6.307286] platform 5d00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a4000000
    [    6.331011]  remoteproc3#vdev0buffer: assigned reserved memory node vision-apps-c71-dma-memory@aa000000
    [    6.358724] remoteproc remoteproc4: 5d00000.r5f is available
    [    6.375102] virtio_rpmsg_bus virtio3: rpmsg host is online
    [    6.382077] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0xd
    [    6.395799] remoteproc remoteproc4: attaching to 5d00000.r5f
    [    6.404968]  remoteproc3#vdev0buffer: registered virtio3 (type 7)
    [    6.413270] platform 5d00000.r5f: R5F core initialized in IPC-only mode
    [    6.422567] remoteproc remoteproc3: remote processor 64800000.dsp is now attached
    [    6.433370]  remoteproc4#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a4000000
    [    6.460467] virtio_rpmsg_bus virtio4: rpmsg host is online
    [    6.471942]  remoteproc4#vdev0buffer: registered virtio4 (type 7)
    [    6.479793] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0x15
    [    6.489911] remoteproc remoteproc4: remote processor 5d00000.r5f is now attached
    [    6.490036] virtio_rpmsg_bus virtio3: creating channel ti.ipc4.ping-pong addr 0xe
    [    6.510899] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0xd
    [    6.522616] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0x15
    [    6.534687] k3_r5_rproc bus@100000:r5fss@5e00000: MCU cluster requires both R5F cores to be enabled, num_cores = 0
    [    6.535449] virtio_rpmsg_bus virtio4: creating channel ti.ipc4.ping-pong addr 0xe
    [    6.558261] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0x15
    [    6.569631] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xe
    [    6.583671] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x15
    [    6.592732] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xe
    [    6.604966] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0x15
    [    7.778066] remoteproc remoteproc5: b034000.pru is available
    [    7.810735] remoteproc remoteproc6: b004000.rtu is available
    [    7.880347] remoteproc remoteproc7: b00a000.txpru is available
    [    7.945205] omap_rng 4e10000.rng: Random Number Generator ver. 241b34c
    [    7.957192] remoteproc remoteproc8: b038000.pru is available
    [    8.005096] remoteproc remoteproc9: b006000.rtu is available
    [    8.041620] remoteproc remoteproc10: b00c000.txpru is available
    [    8.088605] remoteproc remoteproc11: b134000.pru is available
    [    8.101931] remoteproc remoteproc12: b104000.rtu is available
    [    8.113212] remoteproc remoteproc13: b10a000.txpru is available
    [    8.141566] remoteproc remoteproc14: b138000.pru is available
    [    8.155309] remoteproc remoteproc15: b106000.rtu is available
    [    8.177339] remoteproc remoteproc16: b10c000.txpru is available
    [    8.477280] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    9.023132] Bluetooth: Core ver 2.22
    [    9.037903] NET: Registered protocol family 31
    [    9.043533] Bluetooth: HCI device and connection manager initialized
    [    9.053734] Bluetooth: HCI socket layer initialized
    [    9.059837] Bluetooth: L2CAP socket layer initialized
    [    9.070325] Bluetooth: SCO socket layer initialized
    [   13.079731] PVR_K:  1114: RGX Firmware image 'rgx.fw.22.104.208.318' loaded
    [   13.104740] PVR_K:  1114: Shader binary image 'rgx.sh.22.104.208.318' loaded
    [  129.807809] Initializing XFRM netlink socket
    [  130.404938] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
    [  130.424113] Bridge firewalling registered
    [  130.921937] process 'docker/tmp/qemu-check471858598/check' started with executable stack
    root@soc2:/#
    root@soc2:/#
    root@soc2:/#
    

    2. power on, and before create Endpot function:

    soc1:

    root@soc1:/# lspci
    00:00.0 Class 0604: 104c:b00d
    root@soc1:/# dmesg | grep pci
    [    1.173882] j721e-pcie 2930000.pcie: host bridge /bus@100000/pcie@2930000 ranges:
    [    1.183494] j721e-pcie 2930000.pcie:       IO 0x4410001000..0x4410010fff -> 0x0000001000
    [    1.193841] j721e-pcie 2930000.pcie:      MEM 0x4410011000..0x4417ffffff -> 0x0000011000
    [    1.204200] j721e-pcie 2930000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    2.217239] j721e-pcie 2930000.pcie: PCI host bridge to bus 0000:00
    [    2.225259] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    2.232265] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x1000-0x10fff])
    [    2.243602] pci_bus 0000:00: root bus resource [mem 0x4410011000-0x4417ffffff] (bus address [0x00011000-0x07ffffff])
    [    2.257076] pci 0000:00:00.0: [104c:b00d] type 01 class 0x060400
    [    2.264749] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    2.277161] pci 0000:00:00.0: supports D1
    [    2.282281] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    2.291975] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    2.304374] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
    [    2.312834] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    2.319443] pcieport 0000:00:00.0: PME: Signaling with IRQ 40
    root@c801soc1:/# [  131.300205] Initializing XFRM netlink socket
    [  131.968815] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
    [  131.987280] Bridge firewalling registered
    [  132.437184] process 'docker/tmp/qemu-check504746740/check' started with executable stack
    
    
    
    root@soc1:/#
    root@soc1:/# echo 1 > /sys/bus/pci/devices/0000:00:00.0/remove
    [ 1271.954587] pci_bus 0000:01: busn_res: [bus 01] is released
    root@c801soc1:/# echo 1 > /sys/bus/pci/rescan
    [ 1285.646276] pci 0000:00:00.0: [104c:b00d] type 01 class 0x060400
    [ 1285.653869] pci 0000:00:00.0: supports D1
    [ 1285.658882] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [ 1285.671247] pci 0000:00:00.0: PCI bridge to [bus 01]
    [ 1285.677902] pcieport 0000:00:00.0: PME: Signaling with IRQ 40
    root@soc1:/#
    
    
    

    soc2:

    root@soc2:/# dmesg | grep pci
    [    0.756911] j721e-pcie 2930000.pcie-ep: Failed to init phy
    [    0.995936] j721e-pcie 2930000.pcie-ep: Failed to init phy
    
    

    3. After create Endpot function:

    soc1:

    root@soc1:/# echo 1 > /sys/bus/pci/devices/0000:00:00.0/remove
    [ 1413.214821] pci_bus 0000:01: busn_res: [bus 01] is released
    root@soc1:/# echo 1 > /sys/bus/pci/rescan
    [ 1422.726519] pci 0000:00:00.0: [104c:b00d] type 01 class 0x060400
    [ 1422.734107] pci 0000:00:00.0: supports D1
    [ 1422.739118] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [ 1422.748883] pci 0000:01:00.0: [104c:b00d] type 00 class 0xff0000
    [ 1422.756921] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000001ff]
    [ 1422.764872] pci 0000:01:00.0: reg 0x14: [mem 0x00000000-0x000001ff]
    [ 1422.772801] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x000003ff]
    [ 1422.780686] pci 0000:01:00.0: reg 0x1c: [mem 0x00000000-0x00003fff]
    [ 1422.788551] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x0001ffff]
    [ 1422.796390] pci 0000:01:00.0: reg 0x24: [mem 0x00000000-0x000fffff]
    [ 1422.804558] pci 0000:01:00.0: supports D1
    [ 1422.809562] pci 0000:01:00.0: PME# supported from D0 D1 D3hot
    [ 1422.816819] pci 0000:01:00.0: reg 0x224: [mem 0x00000000-0x003fffff 64bit]
    [ 1422.825400] pci 0000:01:00.0: VF(n) BAR0 space: [mem 0x00000000-0x00ffffff 64bit] (contains BAR0 for 4 VFs)
    
    ERROR:   Unhandled External Abort received on 0x80000000 from S-EL1
    ERROR:   exception reason=0 syndrome=0xbf000000
    Unhandled Exception from EL1
    x0             = 0xffff80001171d000
    x1             = 0x0000000000000000
    x2             = 0xffff800013c00008
    x3             = 0x0000000000000001
    x4             = 0x000000000000000b
    x5             = 0xffff00082878f800
    x6             = 0xffff80001315baa4
    x7             = 0x000000000000ea60
    x8             = 0x0000000080b5111d
    x9             = 0x00000000b00d104c
    x10            = 0x0000000000000000
    x11            = 0x0000000000000001
    x12            = 0x0000000000000000
    x13            = 0x000000000000005b
    x14            = 0x0000000000000312
    x15            = 0x00002aabccc7e7fe
    x16            = 0x0000000000000000
    x17            = 0x0000000000000000
    x18            = 0x0000000000000000
    x19            = 0xffff80001315b9e4
    x20            = 0x0000000000000004
    x21            = 0xffff00082dc85000
    x22            = 0x0000000000000087
    x23            = 0xffff80001315baa4
    x24            = 0x0000000000000001
    x25            = 0xffff800011272a98
    x26            = 0x0000000000000001
    x27            = 0x0000000000000001
    x28            = 0xffff00082878f800
    x29            = 0xffff80001315b960
    x30            = 0xffff80001057655c
    scr_el3        = 0x000000000000073d
    sctlr_el3      = 0x0000000030cd183f
    cptr_el3       = 0x0000000000000000
    tcr_el3        = 0x0000000080803520
    daif           = 0x00000000000002c0
    mair_el3       = 0x00000000004404ff
    spsr_el3       = 0x0000000020000085
    elr_el3        = 0xffff800010576574
    ttbr0_el3      = 0x0000000070011cc0
    esr_el3        = 0x00000000bf000000
    far_el3        = 0x0000000000000000
    spsr_el1       = 0x0000000040000005
    elr_el1        = 0xffff8000101357b8
    spsr_abt       = 0x0000000000000000
    spsr_und       = 0x0000000000000000
    spsr_irq       = 0x0000000000000000
    spsr_fiq       = 0x0000000000000000
    sctlr_el1      = 0x0000000034d4d91d
    actlr_el1      = 0x0000000000000000
    cpacr_el1      = 0x0000000000300000
    csselr_el1     = 0x0000000000000000
    sp_el1         = 0xffff80001315b960
    esr_el1        = 0x0000000056000000
    ttbr0_el1      = 0x00000008af4c9000
    ttbr1_el1      = 0x0c5c000080f4c000
    mair_el1       = 0x000c0400bb44ffff
    amair_el1      = 0x0000000000000000
    tcr_el1        = 0x00000034b5d03590
    tpidr_el1      = 0xffff80086e9f6000
    tpidr_el0      = 0x0000ffffbdcc2710
    tpidrro_el0    = 0x0000000000000000
    par_el1        = 0x0000000000000000
    mpidr_el1      = 0x0000000080000000
    afsr0_el1      = 0x0000000000000000
    afsr1_el1      = 0x0000000000000000
    contextidr_el1 = 0x0000000000000000
    vbar_el1       = 0xffff800010090800
    cntp_ctl_el0   = 0x0000000000000005
    cntp_cval_el0  = 0x00000042841a8b3f
    cntv_ctl_el0   = 0x0000000000000000
    cntv_cval_el0  = 0x0000000000000000
    cntkctl_el1    = 0x00000000000000d6
    sp_el0         = 0x000000007000b380
    isr_el1        = 0x0000000000000040
    dacr32_el2     = 0x0000000000000000
    ifsr32_el2     = 0x0000000000000000
    cpuectlr_el1   = 0x0000001b00000040
    cpumerrsr_el1  = 0x0000000000000000
    l2merrsr_el1   = 0x0000000000000000
    

    soc2:

    root@soc2:/# cd /sys/kernel/config/pci_ep
    root@soc2:/sys/kernel/config/pci_ep# mkdir functions/pci_epf_test/func1
    root@soc2:/sys/kernel/config/pci_ep# echo 0x104c > functions/pci_epf_test/func1/vendorid
    root@soc2:/sys/kernel/config/pci_ep# echo 0xb00d > functions/pci_epf_test/func1/deviceid
    root@soc2:/sys/kernel/config/pci_ep# echo 12 > functions/pci_epf_test/func1/msi_interrupts
    root@soc2:/sys/kernel/config/pci_ep# echo 12 > functions/pci_epf_test/func1/msix_interrupts
    root@soc2:/sys/kernel/config/pci_ep# ln -s  functions/pci_epf_test/func1  controllers/2930000.pcie-ep
    root@soc2:/sys/kernel/config/pci_ep# echo 1 > controllers/2930000.pcie-ep/start
    root@soc2:/sys/kernel/config/pci_ep#
    

  • Hi Wang,

    Two things I would like for you to experiment. Could you:

    1. Could you try to configure EP with 6 functions before trying the rescan? Errata i2086 applies to the case when there are more than 1, but less than 6 functions on the EP.
    2. On the EP-side, could you try applying the patch here: https://patchwork.kernel.org/project/linux-pci/patch/20230316071156.200888-1-a-verma1@ti.com/

    Regards,

    Takuma

  • Hi Fujiwara:

     Thank you for your way, I will try and provide feedback.

     I have tried multiple functions before, and when rescan, they all have the same problem and crash log..

    ..............................Method 1....................................................
    EP侧:
    cd /sys/kernel/config/pci_ep
    mkdir functions/pci_epf_test/func1
    echo 0x104c > functions/pci_epf_test/func1/vendorid
    echo 0xb00d > functions/pci_epf_test/func1/deviceid
    echo 12 > functions/pci_epf_test/func1/msi_interrupts
    echo 12 > functions/pci_epf_test/func1/msix_interrupts
    ln -s functions/pci_epf_test/func1 controllers/2930000.pcie-ep
    echo 1 > controllers/2930000.pcie-ep/start
    
    RC侧:
    echo 1 > /sys/bus/pci/devices/0000:00:00.0/remove
    echo 1 > /sys/bus/pci/rescan
    
    rmmod pci_endpoint_test
    insmod /lib/modules/5.10.120/kernel/drivers/misc/pci_endpoint_test.ko no_msi=1
    
    
    ..............................Method 2....................................................
    mkdir functions/pci_epf_test/vf1
    echo 0x104c > functions/pci_epf_test/vf1/vendorid
    echo 0xb00d > functions/pci_epf_test/vf1/deviceid
    echo 4 > functions/pci_epf_test/vf1/msi_interrupts
    echo 8 > functions/pci_epf_test/vf1/msix_interrupts
    
    mkdir functions/pci_epf_test/vf2
    echo 0x104c > functions/pci_epf_test/vf2/vendorid
    echo 0xb00d > functions/pci_epf_test/vf2/deviceid
    echo 4 > functions/pci_epf_test/vf2/msi_interrupts
    echo 8 > functions/pci_epf_test/vf2/msix_interrupts
    
    mkdir functions/pci_epf_test/pf1
    echo 0x104c > functions/pci_epf_test/pf1/vendorid
    echo 0xb00d > functions/pci_epf_test/pf1/deviceid
    echo 16 > functions/pci_epf_test/pf1/msi_interrupts
    echo 16 > functions/pci_epf_test/pf1/msix_interrupts
    
    ln -s functions/pci_epf_test/vf1 functions/pci_epf_test/pf1
    ln -s functions/pci_epf_test/vf2 functions/pci_epf_test/pf1
    ln -s functions/pci_epf_test/pf1 controllers/2930000.pcie-ep
    
    echo 1 > controllers/2930000.pcie-ep/start
    
    ........................................................Method 3
    mkdir functions/pci_epf_test/func1
    echo 0x104c > functions/pci_epf_test/func1/vendorid
    echo 0xb00d > functions/pci_epf_test/func1/deviceid
    echo 2 > functions/pci_epf_test/func1/msi_interrupts
    echo 2 > functions/pci_epf_test/func1/msix_interrupts
    ln -s functions/pci_epf_test/func1 controllers/2930000.pcie-ep/
    
    mkdir functions/pci_epf_test/func2
    echo 0x104c > functions/pci_epf_test/func2/vendorid
    echo 0xb00d > functions/pci_epf_test/func2/deviceid
    echo 2 > functions/pci_epf_test/func2/msi_interrupts
    echo 2 > functions/pci_epf_test/func2/msix_interrupts
    ln -s functions/pci_epf_test/func2 controllers/2930000.pcie-ep/
    
    mkdir functions/pci_epf_test/func3
    echo 0x104c > functions/pci_epf_test/func3/vendorid
    echo 0xb00d > functions/pci_epf_test/func3/deviceid
    echo 2 > functions/pci_epf_test/func3/msi_interrupts
    echo 2 > functions/pci_epf_test/func3/msix_interrupts
    ln -s functions/pci_epf_test/func3 controllers/2930000.pcie-ep/
    
    mkdir functions/pci_epf_test/func4
    echo 0x104c > functions/pci_epf_test/func4/vendorid
    echo 0xb00d > functions/pci_epf_test/func4/deviceid
    echo 2 > functions/pci_epf_test/func4/msi_interrupts
    echo 2 > functions/pci_epf_test/func4/msix_interrupts
    ln -s functions/pci_epf_test/func4 controllers/2930000.pcie-ep/
    
    mkdir functions/pci_epf_test/func5
    echo 0x104c > functions/pci_epf_test/func5/vendorid
    echo 0xb00d > functions/pci_epf_test/func5/deviceid
    echo 2 > functions/pci_epf_test/func5/msi_interrupts
    echo 2 > functions/pci_epf_test/func5/msix_interrupts
    ln -s functions/pci_epf_test/func5 controllers/2930000.pcie-ep/
    
    mkdir functions/pci_epf_test/func6
    echo 0x104c > functions/pci_epf_test/func6/vendorid
    echo 0xb00d > functions/pci_epf_test/func6/deviceid
    echo 2 > functions/pci_epf_test/func6/msi_interrupts
    echo 2 > functions/pci_epf_test/func6/msix_interrupts
    ln -s functions/pci_epf_test/func6 controllers/2930000.pcie-ep/
    echo 1 > controllers/2930000.pcie-ep/start

  • Hi Fujiwara:

          I applied this patch and it looks okay.

          thanks a lot..

    root@soc1:/#
    root@soc1:/# echo 1 > /sys/bus/pci/devices/0000:00:00.0/remove
    [  157.650912] pci_bus 0000:01: busn_res: [bus 01] is released
    root@soc1:/# echo 1 > /sys/bus/pci/rescan
    [  167.246667] pci 0000:00:00.0: [104c:b00d] type 01 class 0x060400
    [  167.254280] pci 0000:00:00.0: supports D1
    [  167.259318] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [  167.269029] pci 0000:01:00.0: [104c:b00d] type 00 class 0xff0000
    [  167.277045] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000001ff]
    [  167.284991] pci 0000:01:00.0: reg 0x14: [mem 0x00000000-0x000001ff]
    [  167.292920] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x000003ff]
    [  167.300808] pci 0000:01:00.0: reg 0x1c: [mem 0x00000000-0x00003fff]
    [  167.308661] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x0001ffff]
    [  167.316497] pci 0000:01:00.0: reg 0x24: [mem 0x00000000-0x000fffff]
    [  167.324676] pci 0000:01:00.0: supports D1
    [  167.329680] pci 0000:01:00.0: PME# supported from D0 D1 D3hot
    [  167.336938] pci 0000:01:00.0: reg 0x224: [mem 0x00000000-0x003fffff 64bit]
    [  167.345518] pci 0000:01:00.0: VF(n) BAR0 space: [mem 0x00000000-0x00ffffff 64bit] (contains BAR0 for 4 VFs)
    [  167.368425] pci 0000:00:00.0: bridge window [mem 0x00100000-0x002fffff] to [bus 01] add_size 1200000 add_align 400000
    [  167.381691] pci 0000:00:00.0: BAR 14: assigned [mem 0x4410400000-0x44117fffff]
    [  167.390732] pci 0000:01:00.0: BAR 7: assigned [mem 0x4410400000-0x44113fffff 64bit]
    [  167.400311] pci 0000:01:00.0: BAR 5: assigned [mem 0x4411400000-0x44114fffff]
    [  167.409317] pci 0000:01:00.0: BAR 4: assigned [mem 0x4411500000-0x441151ffff]
    [  167.418232] pci 0000:01:00.0: BAR 3: assigned [mem 0x4411520000-0x4411523fff]
    [  167.427145] pci 0000:01:00.0: BAR 2: assigned [mem 0x4411524000-0x44115243ff]
    [  167.436055] pci 0000:01:00.0: BAR 0: assigned [mem 0x4411524400-0x44115245ff]
    [  167.444966] pci 0000:01:00.0: BAR 1: assigned [mem 0x4411524600-0x44115247ff]
    [  167.453881] pci 0000:00:00.0: PCI bridge to [bus 01]
    [  167.460082] pci 0000:00:00.0:   bridge window [mem 0x4410400000-0x44117fffff]
    [  167.469114] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
    [  167.476957] pcieport 0000:00:00.0: PME: Signaling with IRQ 483
    [  167.485146] pci-endpoint-test 0000:01:00.0: enabling device (0000 -> 0002)
    root@soc1:/#
    root@soc1:/#