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: Error in PCIe EP Mode, when using PCIE1 instead of default PCIE0

Part Number: TDA4VM

Hi TI,

I got some strange error, when I try to connect two boards via PCIe. For the RC, I tried to use PCIE1 instead of PCIE0. I modified the corresponding device tree file so that pcie1_rc is "okay" and pcie0_rc is "disabled". When trying to boot the board, I get this log:

U-Boot SPL 2020.01 (Oct 06 2020 - 11:15:30 +0200)
SYSFW ABI: 3.0 (firmware rev 0x0014 '20.04.1-v2020.04a (Terrific Lla')
Trying to boot from MMC2
Loading Environment from MMC... *** Warning - No MMC card found, using default environment

Remoteproc 2 started successfully
Starting ATF on ARM64 core...

NOTICE:  BL31: v2.3():07.00.00.005-dirty
NOTICE:  BL31: Built : 14:33:55, Jun 17 2020

U-Boot SPL 2020.01 (Oct 06 2020 - 11:14:28 +0200)
SYSFW ABI: 3.0 (firmware rev 0x0014 '20.04.1-v2020.04a (Terrific Lla')
Detected: J7X-BASE-CPB rev E3
Detected: J7X-VSC8514-ETH rev E2
Trying to boot from MMC2


U-Boot 2020.01 (Oct 06 2020 - 11:14:28 +0200)

SoC:   J721E SR1.0
Model: Texas Instruments K3 J721E SoC
Board: J721EX-PM2-SOM rev E7
DRAM:  4 GiB
not found for dev hbmc-mux
Flash: 0 Bytes
MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
Loading Environment from MMC... OK
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Detected: J7X-BASE-CPB rev E3
Detected: J7X-VSC8514-ETH rev E2
Net:   eth0: ethernet@046000000
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
42 bytes read in 2 ms (20.5 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc1 ...
ethernet@046000000 Waiting for PHY auto negotiation to complete... done
link up on port 1, speed 1000, full duplex
BOOTP broadcast 1
DHCP client bound to address 172.16.1.168 (3 ms)
link up on port 1, speed 1000, full duplex
BOOTP broadcast 1
DHCP client bound to address 172.16.1.168 (3 ms)
link up on port 1, speed 1000, full duplex
Using ethernet@046000000 device
TFTP from server 172.16.1.167; our IP address is 172.16.1.168
Filename 'Image-j7-evm.bin'.
Load address: 0x80080000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###
         1.1 MiB/s
done
Bytes transferred = 16654344 (fe2008 hex)
link up on port 1, speed 1000, full duplex
Using ethernet@046000000 device
TFTP from server 172.16.1.167; our IP address is 172.16.1.168
Filename 'k3-j721e-common-proc-board.dtb'.
Load address: 0x82000000
Loading: ##################
         1 MiB/s
done
Bytes transferred = 89897 (15f29 hex)
## Flattened Device Tree blob at 82000000
   Booting using the fdt blob at 0x82000000
   Loading Device Tree to 00000000fdda1000, end 00000000fdeb9fff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
[    0.000000] Linux version 5.4.40-g66cf445b76 (oe-user@oe-host) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 SMP PREEMPT Wed Jun 17 14:28:47 UTC 2020
[    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] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node 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 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 r5f-dma-memory@a1000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 31 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, 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 r5f-dma-memory@a4000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, 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 c66-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 c66-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 c66-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 c66-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 c71-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 c71-memory@a8100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000fb000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@fb000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000fb100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@fb100000, compatible id shared-dma-pool
[    0.000000] cma: Reserved 512 MiB at 0x00000000c0000000
[    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.0
[    0.000000] percpu: Embedded 2 pages/cpu s48408 r8192 d74472 u131072
[    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] Built 1 zonelists, mobility grouping off.  Total pages: 47825
[    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),128k(ospi.env),128k(ospi.env.backup),1m(ospi.sysfw),-@8m(ospi.rootfsp
[    0.000000] Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0xbbff0000-0xbfff0000] (64MB)
[    0.000000] Memory: 3354112K/3063808K available (9534K kernel code, 776K rwdata, 3840K rodata, 1728K init, 695K bss, 18446744073708737024K reserved, 524288K 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 restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
[    0.000000]  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: no VLPI support, no direct LPI support
[    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: allocated 1048576 Devices @8c0800000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000008c00c0000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008c00d0000
[    0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x438 with crng_init=0
[    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.000001] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
[    0.008344] Console: colour dummy device 80x25
[    0.012899] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.023568] pid_max: default: 32768 minimum: 301
[    0.028315] LSM: Security Framework initializing
[    0.033056] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
[    0.040622] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
[    0.072666] ASID allocator initialised with 32768 entries
[    0.086191] rcu: Hierarchical SRCU implementation.
[    0.099131] Platform MSI: gic-its@1820000 domain created
[    0.104652] PCI/MSI: /interconnect@100000/interrupt-controller@1800000/gic-its@1820000 domain created
[    0.122088] smp: Bringing up secondary CPUs ...
[    0.159036] Detected PIPT I-cache on CPU1
[    0.159053] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
[    0.159063] GICv3: CPU1: using allocated LPI pending table @0x00000008c00e0000
[    0.159083] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
[    0.159120] smp: Brought up 1 node, 2 CPUs
[    0.188464] SMP: Total of 2 processors activated.
[    0.193268] CPU features: detected: 32-bit EL0 Support
[    0.198521] CPU features: detected: CRC32 instructions
[    0.209687] CPU: All CPU(s) started at EL2
[    0.213878] alternatives: patching kernel code
[    0.218797] devtmpfs: initialized
[    0.226205] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.236170] futex hash table entries: 512 (order: -1, 32768 bytes, linear)
[    0.243583] pinctrl core: initialized pinctrl subsystem
[    0.249265] NET: Registered protocol family 16
[    0.256155] DMA: preallocated 256 KiB pool for atomic allocations
[    0.262645] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.278234] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
[    0.285085] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
[    0.291845] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.300394] cryptd: max_cpu_qlen set to 1000
[    0.307384] vsys_3v3: supplied by evm_12v0
[    0.311663] vsys_5v0: supplied by evm_12v0
[    0.316258] iommu: Default domain type: Translated 
[    0.321374] SCSI subsystem initialized
[    0.325457] mc: Linux media interface: v0.10
[    0.329845] videodev: Linux video capture interface: v2.00
[    0.335461] pps_core: LinuxPPS API ver. 1 registered
[    0.340531] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.349867] PTP clock support registered
[    0.353877] EDAC MC: Ver: 3.0.0
[    0.357531] FPGA manager framework
[    0.361034] Advanced Linux Sound Architecture Driver Initialized.
[    0.367530] clocksource: Switched to clocksource arch_sys_counter
[    0.373829] VFS: Disk quotas dquot_6.6.0
[    0.377871] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
[    0.387145] thermal_sys: Registered thermal governor 'step_wise'
[    0.387147] thermal_sys: Registered thermal governor 'power_allocator'
[    0.393444] NET: Registered protocol family 2
[    0.404781] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
[    0.413542] TCP established hash table entries: 32768 (order: 2, 262144 bytes, linear)
[    0.421736] TCP bind hash table entries: 32768 (order: 3, 524288 bytes, linear)
[    0.429415] TCP: Hash tables configured (established 32768 bind 32768)
[    0.436139] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
[    0.443027] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
[    0.450405] NET: Registered protocol family 1
[    0.455085] RPC: Registered named UNIX socket transport module.
[    0.461136] RPC: Registered udp transport module.
[    0.465938] RPC: Registered tcp transport module.
[    0.470741] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.477324] PCI: CLS 0 bytes, default 64
[    0.481571] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.492890] Initialise system trusted keyrings
[    0.497488] workingset: timestamp_bits=46 max_order=16 bucket_order=0
[    0.505938] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.512124] NFS: Registering the id_resolver key type
[    0.517325] Key type id_resolver registered
[    0.521597] Key type id_legacy registered
[    0.525693] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.532613] 9p: Installing v9fs 9p2000 file system support
[    0.545382] Key type asymmetric registered
[    0.549579] Asymmetric key parser 'x509' registered
[    0.554585] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    0.562144] io scheduler mq-deadline registered
[    0.566769] io scheduler kyber registered
[    0.571891] pinctrl-single 4301c000.pinmux: 94 pins, size 376
[    0.577960] pinctrl-single 11c000.pinmux: 173 pins, size 692
[    0.584091] pinctrl-single a40000.timesync_router: 512 pins, size 2048
[    0.592918] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
[    0.599175] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
[    0.605500] ti-pat 31010000.pat: Found PAT Rev 1.0 with 16384 pages
[    0.611912] debugfs: Directory '31010000.pat' with parent 'regmap' already present!
[    0.619889] ti-pat 31011000.pat: Found PAT Rev 1.0 with 16384 pages
[    0.626300] debugfs: Directory '31011000.pat' with parent 'regmap' already present!
[    0.634216] ti-pat 31012000.pat: Found PAT Rev 1.0 with 16384 pages
[    0.640628] debugfs: Directory '31012000.pat' with parent 'regmap' already present!
[    0.648547] ti-pat 31013000.pat: Found PAT Rev 1.0 with 2048 pages
[    0.654871] debugfs: Directory '31013000.pat' with parent 'regmap' already present!
[    0.662817] ti-pat 31014000.pat: Found PAT Rev 1.0 with 2048 pages
[    0.669139] debugfs: Directory '31014000.pat' with parent 'regmap' already present!
[    0.678425] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.689911] brd: module loaded
[    0.695702] loop: module loaded
[    0.700258] libphy: Fixed MDIO Bus: probed
[    0.704596] tun: Universal TUN/TAP device driver, 1.6
[    0.709988] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    0.717996] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    0.724064] sky2: driver version 1.30
[    0.728270] VFIO - User Level meta-driver version: 0.3
[    0.733832] i2c /dev entries driver
[    0.737906] sdhci: Secure Digital Host Controller Interface driver
[    0.744221] sdhci: Copyright(c) Pierre Ossman
[    0.748860] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.755094] ledtrig-cpu: registered to indicate activity on CPUs
[    0.761824] optee: probing for conduit method from DT.
[    0.767090] optee: revision 3.8 (199fca17)
[    0.767362] optee: initialized driver
[    0.775947] NET: Registered protocol family 17
[    0.780546] 9pnet: Installing 9P2000 support
[    0.784926] Key type dns_resolver registered
[    0.789441] registered taskstats version 1
[    0.793628] Loading compiled-in X.509 certificates
[    0.802274] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
[    0.808603] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
[    0.816251] ti-sci 44083000.dmsc: ABI: 3.0 (firmware rev 0x0014 '20.04.1-v2020.04a (Terrific Lla')
[    0.840944] random: fast init done
[    0.871880] davinci-mcasp 2ba0000.mcasp: IRQ common not found
[    0.879119] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
[    0.885100] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
[    0.891064] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
[    0.897108] pca953x 3-0020: 3-0020 supply vcc not found, using dummy regulator
[    0.928044] pca953x 3-0022: 3-0022 supply vcc not found, using dummy regulator
[    0.936068] GPIO line 481 (MCASP/TRACE_MUX_S0) hogged as output/low
[    0.942663] GPIO line 482 (MCASP/TRACE_MUX_S1) hogged as output/high
[    0.949491] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
[    0.955482] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
[    0.961357] omap_i2c 2020000.i2c: bus 5 rev0.12 at 100 kHz
[    0.967277] pca953x 6-0020: 6-0020 supply vcc not found, using dummy regulator
[    0.995914] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
[    1.001785] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz
[    1.007652] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz
[    1.013570] pca953x 9-0020: 9-0020 supply vcc not found, using dummy regulator
[    1.043832] omap_i2c 2060000.i2c: bus 9 rev0.12 at 400 kHz
[    1.050035] ti-sci-intr interconnect@100000:interconnect@28380000:interrupt-controller2: Interrupt Router 137 domain created
[    1.061601] ti-sci-intr interconnect@100000:interrupt-controller0: Interrupt Router 131 domain created
[    1.071206] ti-sci-intr interconnect@100000:navss@30000000:interrupt-controller1: Interrupt Router 213 domain created
[    1.082208] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
[    1.098808] cdns-torrent-phy 5050000.serdes: 4 lanes, max bit rate 5.400 Gbps
[    2.107302] j721e-pcie 2900000.pcie: host bridge /interconnect@100000/pcie@2900000 ranges:
[    2.115772] j721e-pcie 2900000.pcie:    IO 0x10001000..0x10010fff -> 0x10001000
[    2.123249] j721e-pcie 2900000.pcie:   MEM 0x10011000..0x17ffffff -> 0x10011000
[    2.130783] j721e-pcie 2900000.pcie: PCI host bridge to bus 0000:00
[    2.137188] pci_bus 0000:00: root bus resource [bus 00-0f]
[    2.142793] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x10001000-0x10010fff])
[    2.152483] pci_bus 0000:00: root bus resource [mem 0x10011000-0x17ffffff]
[    2.159521] pci 0000:00:00.0: [104c:b00d] type 01 class 0x060400
[    2.165673] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
[    2.175542] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
[    2.185428] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0xe8 may corrupt adjacent RW1C bits
[    2.195386] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
[    2.205351] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x92 may corrupt adjacent RW1C bits
[    2.215310] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0xb2 may corrupt adjacent RW1C bits
[    2.225311] pci 0000:00:00.0: supports D1
[    2.229404] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    2.235276] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x84 may corrupt adjacent RW1C bits
[    2.245240] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x208 may corrupt adjacent RW1C bits
[    2.255292] pci 0000:00:00.0: reg 0x224: [mem 0x00000000-0x003fffff 64bit]
[    2.262317] pci 0000:00:00.0: VF(n) BAR0 space: [mem 0x00000000-0x00ffffff 64bit] (contains BAR0 for 4 VFs)
[    2.272284] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x210 may corrupt adjacent RW1C bits
[    2.282330] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x210 may corrupt adjacent RW1C bits
[    2.293942] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.303539] pci_bus 0000:01: busn_res: [bus 01-0f] end is updated to 01
[    2.310307] pci 0000:00:00.0: BAR 7: assigned [mem 0x10400000-0x113fffff 64bit]
[    2.317779] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.323006] pcieport 0000:00:00.0: PME: Signaling with IRQ 40
[    2.329027] pcieport 0000:00:00.0: AER: enabled with IRQ 40
[    2.436746] j721e-pcie 2910000.pcie: Link up
[    2.441112] j721e-pcie 2910000.pcie: host bridge /interconnect@100000/pcie@2910000 ranges:
[    2.449571] j721e-pcie 2910000.pcie:    IO 0x18001000..0x18010fff -> 0x18001000
[    2.457045] j721e-pcie 2910000.pcie:   MEM 0x18011000..0x1fffffff -> 0x18011000
[    2.464574] j721e-pcie 2910000.pcie: PCI host bridge to bus 0001:00
[    2.470979] pci_bus 0001:00: root bus resource [bus 00-0f]
[    2.476583] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x18001000-0x18010fff])
[    2.486451] pci_bus 0001:00: root bus resource [mem 0x18011000-0x1fffffff]
[    2.493486] pci 0001:00:00.0: [104c:b00d] type 01 class 0x060400
[    2.499684] pci 0001:00:00.0: supports D1
[    2.503778] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[    2.511147] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.519393] pci 0001:01:00.0: [104c:b00d] type 00 class 0xff0000
[    2.525598] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x000000ff]
[    2.532012] pci 0001:01:00.0: reg 0x14: [mem 0x00000000-0x000001ff]
[    2.538426] pci 0001:01:00.0: reg 0x18: [mem 0x00000000-0x000003ff]
[    2.544842] pci 0001:01:00.0: reg 0x1c: [mem 0x00000000-0x00003fff]
[    2.551255] pci 0001:01:00.0: reg 0x20: [mem 0x00000000-0x0001ffff]
[    2.557668] pci 0001:01:00.0: reg 0x24: [mem 0x00000000-0x000fffff]
[    2.564312] pci 0001:01:00.0: supports D1
[    2.568405] pci 0001:01:00.0: PME# supported from D0 D1 D3hot
[    2.574346] pci 0001:01:00.0: reg 0x224: [mem 0x00000000-0x003fffff 64bit]
[    2.581371] pci 0001:01:00.0: VF(n) BAR0 space: [mem 0x00000000-0x00ffffff 64bit] (contains BAR0 for 4 VFs)
[    2.591455] pci 0001:01:00.0: 7.876 Gb/s available PCIe bandwidth, limited by 8 GT/s x1 link at 0001:00:00.0 (capable of 15.752 Gb/s with 8 GT/s x2 link)
ERROR:   Unhandled External Abort received on 0x80000000 from S-EL1
ERROR:   exception reason=0 syndrome=0xbf000000
Unhandled Exception from EL1
x0             = 0xffff800014b40000
x1             = 0x0000000000000000
x2             = 0x000000000080000a
x3             = 0x0000000000000003
x4             = 0xffff800016100000
x5             = 0xffff800010504d00
x6             = 0xffff80001176f904
x7             = 0x000000000000ea60
x8             = 0x0000000080b5111d
x9             = 0x00000000b00d104c
x10            = 0x7f7f7f7f7f7f7f7f
x11            = 0x0101010101010101
x12            = 0xffff0008400fd230
x13            = 0xffff0008400fd91c
x14            = 0xffffffffffffffff
x15            = 0xffff000840372128
x16            = 0xffff800014510000
x17            = 0x0000000000000001
x18            = 0x0000000000000000
x19            = 0xffff80001176f844
x20            = 0x0000000000000004
x21            = 0x0000000000000000
x22            = 0x0000000000000004
x23            = 0xffff80001176f844
x24            = 0x0000000000000001
x25            = 0xffff8000110ee1f0
x26            = 0x0000000000000001
x27            = 0x0000000000000000
x28            = 0xffff000841e2a800
x29            = 0xffff80001176f790
x30            = 0xffff8000104d4210
scr_el3        = 0x000000000000073d
sctlr_el3      = 0x0000000030cd183f
cptr_el3       = 0x0000000000000000
tcr_el3        = 0x0000000080803520
daif           = 0x00000000000002c0
mair_el3       = 0x00000000004404ff
spsr_el3       = 0x0000000020000085
elr_el3        = 0xffff8000104d4228
ttbr0_el3      = 0x0000000070010b00
esr_el3        = 0x00000000bf000000
far_el3        = 0x0000000000000000
spsr_el1       = 0x0000000060000005
elr_el1        = 0xffff800010113b04
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         = 0xffff80001176f790
esr_el1        = 0x0000000096000005
ttbr0_el1      = 0x0000000081090000
ttbr1_el1      = 0x0000000080de0000
mair_el1       = 0x0000bbff440c0400
amair_el1      = 0x0000000000000000
tcr_el1        = 0x00000034f5507510
tpidr_el1      = 0xffff80086ebf0000
tpidr_el0      = 0x0000000000000000
tpidrro_el0    = 0x0000000000000000
par_el1        = 0x0000000000000000
mpidr_el1      = 0x0000000080000000
afsr0_el1      = 0x0000000000000000
afsr1_el1      = 0x0000000000000000
contextidr_el1 = 0x0000000000000000
vbar_el1       = 0xffff800010081800
cntp_ctl_el0   = 0x0000000000000005
cntp_cval_el0  = 0x000000010b26374c
cntv_ctl_el0   = 0x0000000000000000
cntv_cval_el0  = 0x0000000000000000
cntkctl_el1    = 0x00000000000000e6
sp_el0         = 0x000000007000a3d0
isr_el1        = 0x0000000000000040
dacr32_el2     = 0x0000000000000000
ifsr32_el2     = 0x0000000000000000
cpuectlr_el1   = 0x0000001b00000040
cpumerrsr_el1  = 0x0000000000000000
l2merrsr_el1   = 0x0000000000000000

Is this an expected behaviour or what could be wrong in my setup?

Thank you.

  • Felix, 

    Not sure if you made additional progress on this issue. You boot log shows link training is successful:

    [    2.436746] j721e-pcie 2910000.pcie: Link up

    But BAR0 configuration caused kernel crash. Note that BAR0 shall be reserved for controller config space. 

    regards

    jian