All of lore.kernel.org
 help / color / mirror / Atom feed
* Marvell: hw perfevents: unable to count PMU IRQs
@ 2021-03-25 21:39 ` Paul Menzel
  0 siblings, 0 replies; 6+ messages in thread
From: Paul Menzel @ 2021-03-25 21:39 UTC (permalink / raw)
  To: Will Deacon, Mark Rutland
  Cc: linux-arm-kernel, LKML, Vadym Kochan, Oleksandr Mazur, Robert Marko

[-- Attachment #1: Type: text/plain, Size: 1326 bytes --]

Dear Linux folks,


On the Marvell Prestera switch, Linux 5.10.4 prints the error (with an 
additional info level message) below.

     [    0.000000] Linux version 5.10.4 (robimarko@onlbuilder9) 
(aarch64-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516, GNU ld (GNU 
Binutils for Debian) 2.28) #1 SMP PREEMPT Thu Mar 11 10:22:09 UTC 2021
     […]
     [    1.996658] hw perfevents: unable to count PMU IRQs
     [    2.001825] hw perfevents: /ap806/config-space@f0000000/pmu: 
failed to register PMU devices!

```
# lscpu
Architecture:          aarch64
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Model:                 1
BogoMIPS:              50.00
L1d cache:             32K
L1i cache:             48K
L2 cache:              512K
NUMA node0 CPU(s):     0-3
Flags:                 fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
# cat /proc/cpuinfo
processor       : 0
BogoMIPS        : 50.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 1
[…]
```

Please find the output of `dmesg` attached.

How can the IRQs be counted?


Kind regards,

Paul

[-- Attachment #2: linux_5.10.4–messages.txt --]
[-- Type: text/plain, Size: 55013 bytes --]

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd081]
[    0.000000] Linux version 5.10.4 (robimarko@onlbuilder9) (aarch64-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516, GNU ld (GNU Binutils for Debian) 2.28) #1 SMP PREEMPT Thu Mar 11 10:22:09 UTC 2021
[    0.000000] Machine model: delta,tn48m
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000f0512000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
[    0.000000] cma: Reserved 32 MiB at 0x00000000be000000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000023fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x23efdb100-0x23efdcfff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000]   DMA32    [mem 0x0000000040000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000023fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000]   node   0: [mem 0x0000000004200000-0x00000000bfffffff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x000000023fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000023fffffff]
[    0.000000] On node 0 totalpages: 2096640
[    0.000000]   DMA zone: 4096 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 261632 pages, LIFO batch:63
[    0.000000]   DMA32 zone: 8192 pages used for memmap
[    0.000000]   DMA32 zone: 524288 pages, LIFO batch:63
[    0.000000]   Normal zone: 20480 pages used for memmap
[    0.000000]   Normal zone: 1310720 pages, LIFO batch:63
[    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 resident on physical CPU 0x0
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 32 pages/cpu s94104 r8192 d28776 u131072
[    0.000000] pcpu-alloc: s94104 r8192 d28776 u131072 alloc=32*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected PIPT I-cache on CPU0
[    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: Spectre-v2
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 2063872
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: console=ttyS0,115200 earlycon=uart8250,mmio32,0xf0512000 onl_platform=arm64-delta-tn48m-poe-r0
[    0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x000000003bfff000-0x000000003ffff000] (64MB)
[    0.000000] Memory: 8071364K/8386560K available (18112K kernel code, 4006K rwdata, 9464K rodata, 9536K init, 539K bss, 282428K reserved, 32768K cma-reserved)
[    0.000000] ftrace: allocating 60579 entries in 237 pages
[    0.000000] ftrace: allocated 237 pages with 6 groups
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Adjusting CPU interface base to 0x00000000f022f000
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:160, num:32)
[    0.000000] GICv2m: range[mem 0xf0280000-0xf0280fff], SPI[160:191]
[    0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:192, num:32)
[    0.000000] GICv2m: range[mem 0xf0290000-0xf0290fff], SPI[192:223]
[    0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:224, num:32)
[    0.000000] GICv2m: range[mem 0xf02a0000-0xf02a0fff], SPI[224:255]
[    0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:256, num:32)
[    0.000000] GICv2m: range[mem 0xf02b0000-0xf02b0fff], SPI[256:287]
[    0.000000] random: get_random_bytes called from start_kernel+0x39c/0x528 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
[    0.000003] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
[    0.009007] Console: colour dummy device 80x25
[    0.013713] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100000)
[    0.024654] pid_max: default: 32768 minimum: 301
[    0.029638] LSM: Security Framework initializing
[    0.034638] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.042690] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.052194] rcu: Hierarchical SRCU implementation.
[    0.058926] EFI services will not be available.
[    0.063883] smp: Bringing up secondary CPUs ...
[    0.069210] Detected PIPT I-cache on CPU1
[    0.069264] CPU1: Booted secondary processor 0x0000000001 [0x410fd081]
[    0.069815] Detected PIPT I-cache on CPU2
[    0.069849] CPU2: Booted secondary processor 0x0000000100 [0x410fd081]
[    0.070377] Detected PIPT I-cache on CPU3
[    0.070402] CPU3: Booted secondary processor 0x0000000101 [0x410fd081]
[    0.070463] smp: Brought up 1 node, 4 CPUs
[    0.108075] SMP: Total of 4 processors activated.
[    0.113075] CPU features: detected: 32-bit EL0 Support
[    0.118519] CPU features: detected: CRC32 instructions
[    0.123945] CPU features: detected: 32-bit EL1 Support
[    0.142744] CPU: All CPU(s) started at EL2
[    0.147058] alternatives: patching kernel code
[    0.153668] devtmpfs: initialized
[    0.159780] KASLR disabled due to lack of seed
[    0.164776] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.175027] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.182979] pinctrl core: initialized pinctrl subsystem
[    0.189148] DMI not present or invalid.
[    0.193535] NET: Registered protocol family 16
[    0.199109] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.206879] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.215344] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.223794] audit: initializing netlink subsys (disabled)
[    0.229594] audit: type=2000 audit(0.148:1): state=initialized audit_enabled=0 res=1
[    0.230115] thermal_sys: Registered thermal governor 'step_wise'
[    0.238224] cpuidle: using governor menu
[    0.248829] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.255994] ASID allocator initialised with 32768 entries
[    0.262321] Serial: AMBA PL011 UART driver
[    0.286551] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.293597] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.300643] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.307697] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.936090] cryptd: max_cpu_qlen set to 1000
[    0.961127] ACPI: Interpreter disabled.
[    0.965889] iommu: Default domain type: Translated
[    0.971190] vgaarb: loaded
[    0.974230] SCSI subsystem initialized
[    0.978276] libata version 3.00 loaded.
[    0.978421] usbcore: registered new interface driver usbfs
[    0.984216] usbcore: registered new interface driver hub
[    0.989833] usbcore: registered new device driver usb
[    0.995586] pps_core: LinuxPPS API ver. 1 registered
[    1.000840] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.010510] PTP clock support registered
[    1.014705] EDAC MC: Ver: 3.0.0
[    1.018659] FPGA manager framework
[    1.022294] Advanced Linux Sound Architecture Driver Initialized.
[    1.029224] clocksource: Switched to clocksource arch_sys_counter
[    1.392874] VFS: Disk quotas dquot_6.6.0
[    1.397057] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.404410] pnp: PnP ACPI: disabled
[    1.411831] NET: Registered protocol family 2
[    1.416809] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    1.425864] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    1.434458] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    1.443123] TCP: Hash tables configured (established 65536 bind 65536)
[    1.450114] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    1.457383] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    1.465269] NET: Registered protocol family 1
[    1.470172] RPC: Registered named UNIX socket transport module.
[    1.476417] RPC: Registered udp transport module.
[    1.481387] RPC: Registered tcp transport module.
[    1.486357] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.493146] PCI: CLS 0 bytes, default 64
[    1.497410] Trying to unpack rootfs image as initramfs...
[    1.992039] Freeing initrd memory: 14208K
[    1.996658] hw perfevents: unable to count PMU IRQs
[    2.001825] hw perfevents: /ap806/config-space@f0000000/pmu: failed to register PMU devices!
[    2.010942] kvm [1]: IPA Size Limit: 44 bits
[    2.016303] kvm [1]: vgic interrupt IRQ9
[    2.020540] kvm [1]: Hyp mode initialized successfully
[    2.052332] Initialise system trusted keyrings
[    2.057140] workingset: timestamp_bits=44 max_order=21 bucket_order=0
[    2.064354] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.070722] NFS: Registering the id_resolver key type
[    2.076050] Key type id_resolver registered
[    2.080473] Key type id_legacy registered
[    2.084722] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.091799] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    2.098368] 9p: Installing v9fs 9p2000 file system support
[    2.131377] Key type asymmetric registered
[    2.135665] Asymmetric key parser 'x509' registered
[    2.140840] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    2.148586] io scheduler mq-deadline registered
[    2.153373] io scheduler kyber registered
[    2.193046] armada-ap806-pinctrl f06f4000.system-controller:pinctrl: registered pinctrl driver
[    2.202569] armada-cp110-pinctrl f2440000.system-controller:pinctrl: registered pinctrl driver
[    2.212915] gpio gpiochip0: (f06f4000.system-controller:gpio@1040): created GPIO range 0->19 ==> f06f4000.system-controller:pinctrl PIN 0->19
[    2.213034] gpio gpiochip0: (f06f4000.system-controller:gpio@1040): added GPIO chardev (254:0)
[    2.213073] gpio gpiochip0: registered GPIOs 0 to 19 on f06f4000.system-controller:gpio@1040
[    2.213307] gpio gpiochip1: (f2440000.system-controller:gpio@100): created GPIO range 0->31 ==> f2440000.system-controller:pinctrl PIN 0->31
[    2.213398] gpio gpiochip1: (f2440000.system-controller:gpio@100): added GPIO chardev (254:1)
[    2.213431] gpio gpiochip1: registered GPIOs 32 to 63 on f2440000.system-controller:gpio@100
[    2.213654] gpio gpiochip2: (f2440000.system-controller:gpio@140): created GPIO range 0->30 ==> f2440000.system-controller:pinctrl PIN 32->62
[    2.213742] gpio gpiochip2: (f2440000.system-controller:gpio@140): added GPIO chardev (254:2)
[    2.213774] gpio gpiochip2: registered GPIOs 64 to 94 on f2440000.system-controller:gpio@140
[    2.215886] EINJ: ACPI disabled.
[    2.223868] mv_xor_v2 f0400000.xor: Marvell Version 2 XOR driver
[    2.230652] mv_xor_v2 f0420000.xor: Marvell Version 2 XOR driver
[    2.237485] mv_xor_v2 f0440000.xor: Marvell Version 2 XOR driver
[    2.244273] mv_xor_v2 f0460000.xor: Marvell Version 2 XOR driver
[    2.251198] mv_xor_v2 f26a0000.xor: Marvell Version 2 XOR driver
[    2.258039] mv_xor_v2 f26c0000.xor: Marvell Version 2 XOR driver
[    2.269805] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    2.277726] printk: console [ttyS0] disabled
[    2.282226] dw-apb-uart f0512000.serial: GPIO lookup for consumer rs485-term
[    2.282230] dw-apb-uart f0512000.serial: using device tree for GPIO lookup
[    2.282249] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/ap806/config-space@f0000000/serial@512000[0]'
[    2.282260] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/ap806/config-space@f0000000/serial@512000[0]'
[    2.282267] dw-apb-uart f0512000.serial: using lookup tables for GPIO lookup
[    2.282272] dw-apb-uart f0512000.serial: No GPIO consumer rs485-term found
[    2.282304] f0512000.serial: ttyS0 at MMIO 0xf0512000 (irq = 18, base_baud = 12500000) is a 16550A
[    2.291768] printk: console [ttyS0] enabled
[    2.300388] printk: bootconsole [uart8250] disabled
[    2.311265] SuperH (H)SCI(F) driver initialized
[    2.316199] msm_serial: driver initialized
[    2.321194] omap_rng f2760000.trng: Random Number Generator ver. 203b34c
[    2.321490] random: fast init done
[    2.331480] random: crng init done
[    2.335761] brd: module loaded
[    2.343629] loop: module loaded
[    2.347958] ahci f2540000.sata: supply ahci not found, using dummy regulator
[    2.355147] ahci f2540000.sata: supply phy not found, using dummy regulator
[    2.362913] platform f2540000.sata:sata-port@0: supply target not found, using dummy regulator
[    2.372114] platform f2540000.sata:sata-port@1: supply target not found, using dummy regulator
[    2.380946] ahci f2540000.sata: masking port_map 0x3 -> 0x3
[    2.386599] ahci f2540000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    2.395177] ahci f2540000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    2.404125] scsi host0: ahci
[    2.407325] scsi host1: ahci
[    2.410337] ata1: SATA max UDMA/133 mmio [mem 0xf2540000-0xf256ffff] port 0x100 irq 36
[    2.418298] ata2: SATA max UDMA/133 mmio [mem 0xf2540000-0xf256ffff] port 0x180 irq 36
[    2.428852] spi-nor spi1.0: w25q128 (16384 Kbytes)
[    2.431065] tpm_tis_spi spi0.0: 2.0 TPM (device-id 0x1B, rev-id 16)
[    2.433705] 3 fixed-partitions partitions found on MTD device spi1.0
[    2.442335] tpm tpm0: A TPM error (256) occurred attempting the self test
[    2.446364] Creating 3 MTD partitions on "spi1.0":
[    2.446373] 0x000000000000-0x0000003f0000 : "uboot"
[    2.453190] tpm tpm0: starting up the TPM manually
[    2.458146] mtd mtd0: GPIO lookup for consumer wp
[    2.467721] mtd mtd0: using device tree for GPIO lookup
[    2.467740] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/cp0/config-space@f2000000/spi@700600/spi-flash@0/partitions/partition@0[0]'
[    2.467755] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/cp0/config-space@f2000000/spi@700600/spi-flash@0/partitions/partition@0[0]'
[    2.467760] mtd mtd0: using lookup tables for GPIO lookup
[    2.467765] mtd mtd0: No GPIO consumer wp found
[    2.469532] 0x0000003f0000-0x000000400000 : "uboot-env"
[    2.474903] mtd mtd1: GPIO lookup for consumer wp
[    2.474907] mtd mtd1: using device tree for GPIO lookup
[    2.474923] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/cp0/config-space@f2000000/spi@700600/spi-flash@0/partitions/partition@3f0000[0]'
[    2.474938] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/cp0/config-space@f2000000/spi@700600/spi-flash@0/partitions/partition@3f0000[0]'
[    2.474943] mtd mtd1: using lookup tables for GPIO lookup
[    2.474947] mtd mtd1: No GPIO consumer wp found
[    2.476341] 0x000000400000-0x000001000000 : "ONIE"
[    2.481282] mtd mtd2: GPIO lookup for consumer wp
[    2.481286] mtd mtd2: using device tree for GPIO lookup
[    2.481304] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/cp0/config-space@f2000000/spi@700600/spi-flash@0/partitions/partition@400000[0]'
[    2.481318] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/cp0/config-space@f2000000/spi@700600/spi-flash@0/partitions/partition@400000[0]'
[    2.481324] mtd mtd2: using lookup tables for GPIO lookup
[    2.481328] mtd mtd2: No GPIO consumer wp found
[    2.485046] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    2.492945] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    2.503374] mdio_bus fixed-0: GPIO lookup for consumer reset
[    2.503380] mdio_bus fixed-0: using lookup tables for GPIO lookup
[    2.503386] mdio_bus fixed-0: No GPIO consumer reset found
[    2.503402] libphy: Fixed MDIO Bus: probed
[    2.508311] tun: Universal TUN/TAP device driver, 1.6
[    2.513927] thunder_xcv, ver 1.0
[    2.517192] thunder_bgx, ver 1.0
[    2.520473] nicpf, ver 1.0
[    2.524020] hclge is initializing
[    2.527397] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    2.534661] hns3: Copyright (c) 2017 Huawei Corporation.
[    2.540038] e1000: Intel(R) PRO/1000 Network Driver
[    2.544944] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    2.550744] e1000e: Intel(R) PRO/1000 Network Driver
[    2.555735] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    2.561708] igb: Intel(R) Gigabit Ethernet Network Driver
[    2.567134] igb: Copyright (c) 2007-2014 Intel Corporation.
[    2.572750] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    2.579049] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    2.585343] mdio_bus f212a200.mdio-mii: GPIO lookup for consumer reset
[    2.585347] mdio_bus f212a200.mdio-mii: using device tree for GPIO lookup
[    2.585361] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/cp0/config-space@f2000000/mdio@12a200[0]'
[    2.585372] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/cp0/config-space@f2000000/mdio@12a200[0]'
[    2.585378] mdio_bus f212a200.mdio-mii: using lookup tables for GPIO lookup
[    2.585382] mdio_bus f212a200.mdio-mii: No GPIO consumer reset found
[    2.585385] libphy: orion_mdio_bus: probed
[    2.591151] mdio_bus f212a200.mdio-mii:00: GPIO lookup for consumer reset
[    2.591156] mdio_bus f212a200.mdio-mii:00: using device tree for GPIO lookup
[    2.591173] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/cp0/config-space@f2000000/mdio@12a200/ethernet-phy@1[0]'
[    2.591184] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/cp0/config-space@f2000000/mdio@12a200/ethernet-phy@1[0]'
[    2.591189] mdio_bus f212a200.mdio-mii:00: using lookup tables for GPIO lookup
[    2.591194] mdio_bus f212a200.mdio-mii:00: No GPIO consumer reset found
[    2.592531] mvpp2 f2000000.ethernet: using 8 per-cpu buffers
[    2.607610] sky2: driver version 1.30
[    2.611827] hdlc: HDLC support module revision 1.22
[    2.616791] usbcore: registered new interface driver asix
[    2.622270] usbcore: registered new interface driver ax88179_178a
[    2.628412] usbcore: registered new interface driver cdc_ether
[    2.634313] usbcore: registered new interface driver net1080
[    2.640023] usbcore: registered new interface driver cdc_subset
[    2.645996] usbcore: registered new interface driver zaurus
[    2.651623] usbcore: registered new interface driver cdc_ncm
[    2.657427] VFIO - User Level meta-driver version: 0.3
[    2.663752] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.670355] ehci-pci: EHCI PCI platform driver
[    2.674854] ehci-platform: EHCI generic platform driver
[    2.680235] ehci-orion: EHCI orion driver
[    2.684358] ehci-exynos: EHCI Exynos driver
[    2.688640] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.694862] ohci-pci: OHCI PCI platform driver
[    2.699352] ohci-platform: OHCI generic platform driver
[    2.704696] ohci-exynos: OHCI Exynos driver
[    2.709307] xhci-hcd f2500000.usb3: xHCI Host Controller
[    2.714661] xhci-hcd f2500000.usb3: new USB bus registered, assigned bus number 1
[    2.722273] xhci-hcd f2500000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    2.731574] xhci-hcd f2500000.usb3: irq 37, io mem 0xf2500000
[    2.737793] hub 1-0:1.0: USB hub found
[    2.740493] ata2: SATA link down (SStatus 0 SControl 300)
[    2.741589] hub 1-0:1.0: 1 port detected
[    2.751111] xhci-hcd f2500000.usb3: xHCI Host Controller
[    2.756461] xhci-hcd f2500000.usb3: new USB bus registered, assigned bus number 2
[    2.763990] xhci-hcd f2500000.usb3: Host supports USB 3.0 SuperSpeed
[    2.770413] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.778809] hub 2-0:1.0: USB hub found
[    2.782600] hub 2-0:1.0: 1 port detected
[    2.786884] xhci-hcd f2510000.usb3: xHCI Host Controller
[    2.792237] xhci-hcd f2510000.usb3: new USB bus registered, assigned bus number 3
[    2.799840] xhci-hcd f2510000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    2.809141] xhci-hcd f2510000.usb3: irq 38, io mem 0xf2510000
[    2.815307] hub 3-0:1.0: USB hub found
[    2.819099] hub 3-0:1.0: 1 port detected
[    2.823193] xhci-hcd f2510000.usb3: xHCI Host Controller
[    2.828540] xhci-hcd f2510000.usb3: new USB bus registered, assigned bus number 4
[    2.836067] xhci-hcd f2510000.usb3: Host supports USB 3.0 SuperSpeed
[    2.842490] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.850869] hub 4-0:1.0: USB hub found
[    2.854662] hub 4-0:1.0: 1 port detected
[    2.859104] usbcore: registered new interface driver usb-storage
[    2.865240] usbcore: registered new interface driver usbserial_generic
[    2.871817] usbserial: USB Serial support registered for generic
[    2.877951] usbcore: registered new interface driver ftdi_sio
[    2.883738] usbserial: USB Serial support registered for FTDI USB Serial Device
[    2.891172] usbcore: registered new interface driver mos7720
[    2.896878] usbserial: USB Serial support registered for Moschip 2 port adapter
[    2.904243] usbcore: registered new interface driver mos7840
[    2.905286] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    2.909942] usbserial: USB Serial support registered for Moschip 7840/7820 USB Serial Driver
[    2.916248] ata1.00: ATA-9: M.2 (S42) 3TE7, S20730A, max UDMA/133
[    2.924642] usbcore: registered new interface driver mxuport
[    2.930748] ata1.00: 53742528 sectors, multi 16: LBA48 NCQ (depth 32)
[    2.930859] ata1.00: configured for UDMA/133
[    2.936448] usbserial: USB Serial support registered for MOXA UPort
[    2.943142] scsi 0:0:0:0: Direct-Access     ATA      M.2 (S42) 3TE7   30A  PQ: 0 ANSI: 5
[    2.947231] usbcore: registered new interface driver pl2303
[    2.954028] sd 0:0:0:0: [sda] 53742528 512-byte logical blocks: (27.5 GB/25.6 GiB)
[    2.961661] usbserial: USB Serial support registered for pl2303
[    2.967333] sd 0:0:0:0: [sda] Write Protect is off
[    2.974897] usbcore: registered new interface driver usb_serial_simple
[    2.980814] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    2.980850] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.985641] usbserial: USB Serial support registered for carelink
[    3.007414] usbserial: USB Serial support registered for zio
[    3.008131]  sda: sda1 sda2 sda3 sda4
[    3.013124] usbserial: USB Serial support registered for funsoft
[    3.017706] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    3.022846] usbserial: USB Serial support registered for flashloader
[    3.034742] usbserial: USB Serial support registered for google
[    3.040702] usbserial: USB Serial support registered for libtransistor
[    3.047273] usbserial: USB Serial support registered for vivopay
[    3.053320] usbserial: USB Serial support registered for moto_modem
[    3.059632] usbserial: USB Serial support registered for motorola_tetra
[    3.066289] usbserial: USB Serial support registered for novatel_gps
[    3.072685] usbserial: USB Serial support registered for hp4x
[    3.078471] usbserial: USB Serial support registered for suunto
[    3.084429] usbserial: USB Serial support registered for siemens_mpi
[    3.092771] armada38x-rtc f2284000.rtc: registered as rtc0
[    3.098315] armada38x-rtc f2284000.rtc: setting system clock to 2065-01-22T03:47:20 UTC (2999821640)
[    3.108343] i2c /dev entries driver
[    3.113262] at24 1-0056: supply vcc not found, using dummy regulator
[    3.119757] at24 1-0056: GPIO lookup for consumer wp
[    3.119761] at24 1-0056: using device tree for GPIO lookup
[    3.119777] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/cp0/config-space@f2000000/i2c@701000/at24@56[0]'
[    3.119790] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/cp0/config-space@f2000000/i2c@701000/at24@56[0]'
[    3.119796] at24 1-0056: using lookup tables for GPIO lookup
[    3.119800] at24 1-0056: No GPIO consumer wp found
[    3.120390] at24 1-0056: 8192 byte 24c64 EEPROM, writable, 1 bytes/write
[    3.128419] i2c-mux-gpio i2cmux: GPIO lookup for consumer mux
[    3.128425] i2c-mux-gpio i2cmux: using device tree for GPIO lookup
[    3.128442] of_get_named_gpiod_flags: parsed 'mux-gpios' property of node '/i2cmux[0]' - status (0)
[    3.128470] i2c-mux-gpio i2cmux: GPIO lookup for consumer mux
[    3.128474] i2c-mux-gpio i2cmux: using device tree for GPIO lookup
[    3.128487] of_get_named_gpiod_flags: parsed 'mux-gpios' property of node '/i2cmux[1]' - status (0)
[    3.128638] i2c i2c-2: Added multiplexed i2c bus 3
[    3.133608] i2c i2c-2: Added multiplexed i2c bus 4
[    3.138543] i2c i2c-2: Added multiplexed i2c bus 5
[    3.143486] i2c i2c-2: Added multiplexed i2c bus 6
[    3.148312] i2c-mux-gpio i2cmux: 4 port mux on mv64xxx_i2c adapter adapter
[    3.171018] sdhci: Secure Digital Host Controller Interface driver
[    3.177263] sdhci: Copyright(c) Pierre Ossman
[    3.181966] Synopsys Designware Multimedia Card Interface Driver
[    3.188699] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.195418] xenon-sdhci f06e0000.sdhci: GPIO lookup for consumer wp
[    3.195423] xenon-sdhci f06e0000.sdhci: using device tree for GPIO lookup
[    3.195443] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ap806/config-space@f0000000/sdhci@6e0000[0]'
[    3.195461] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ap806/config-space@f0000000/sdhci@6e0000[0]'
[    3.195466] xenon-sdhci f2780000.sdhci: GPIO lookup for consumer wp
[    3.195470] xenon-sdhci f06e0000.sdhci: using lookup tables for GPIO lookup
[    3.195473] xenon-sdhci f2780000.sdhci: using device tree for GPIO lookup
[    3.195475] xenon-sdhci f06e0000.sdhci: No GPIO consumer wp found
[    3.195491] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/cp0/config-space@f2000000/sdhci@780000[0]'
[    3.195504] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/cp0/config-space@f2000000/sdhci@780000[0]'
[    3.195510] xenon-sdhci f2780000.sdhci: using lookup tables for GPIO lookup
[    3.195514] xenon-sdhci f2780000.sdhci: No GPIO consumer wp found
[    3.195784] ledtrig-cpu: registered to indicate activity on CPUs
[    3.203113] usbcore: registered new interface driver usbhid
[    3.208723] usbhid: USB HID core driver
[    3.221047] mmc1: SDHCI controller on f2780000.sdhci [f2780000.sdhci] using ADMA 64-bit
[    3.229146] mmc0: SDHCI controller on f06e0000.sdhci [f06e0000.sdhci] using ADMA 64-bit
[    3.231203] netem: version 1.3
[    3.240535] Initializing XFRM netlink socket
[    3.244931] NET: Registered protocol family 10
[    3.249918] Segment Routing with IPv6
[    3.253652] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.259927] NET: Registered protocol family 17
[    3.264411] NET: Registered protocol family 15
[    3.268910] Bridge firewalling registered
[    3.272969] 8021q: 802.1Q VLAN Support v1.8
[    3.277234] 9pnet: Installing 9P2000 support
[    3.281569] Key type dns_resolver registered
[    3.286106] registered taskstats version 1
[    3.290241] Loading compiled-in X.509 certificates
[    3.298670] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    3.308036] armada8k-pcie f2600000.pcie: host bridge /cp0/pcie@f2600000 ranges:
[    3.315418] armada8k-pcie f2600000.pcie:       IO 0x00fb000000..0x00fb0effff -> 0x00fb000000
[    3.323911] armada8k-pcie f2600000.pcie:      MEM 0x00f6000000..0x00f7ffffff -> 0x00f6000000
[    3.332399] armada8k-pcie f2600000.pcie:      MEM 0x00f9000000..0x00f90fffff -> 0x00f9000000
[    3.340968] armada8k-pcie f2600000.pcie: Link up
[    3.345678] armada8k-pcie f2600000.pcie: PCI host bridge to bus 0000:00
[    3.352329] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.357844] pci_bus 0000:00: root bus resource [io  0x0000-0xeffff] (bus address [0xfb000000-0xfb0effff])
[    3.367458] pci_bus 0000:00: root bus resource [mem 0xf6000000-0xf7ffffff]
[    3.374368] pci_bus 0000:00: root bus resource [mem 0xf9000000-0xf90fffff]
[    3.381305] pci 0000:00:00.0: [11ab:0110] type 01 class 0x060400
[    3.387353] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    3.393718] pci 0000:00:00.0: supports D1 D2
[    3.398013] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    3.404893] pci 0000:01:00.0: [11ab:c80c] type 00 class 0x028000
[    3.411129] pci 0000:01:00.0: reg 0x10: [mem 0xc0000000-0xc00fffff 64bit pref]
[    3.418505] pci 0000:01:00.0: reg 0x18: [mem 0xc0800000-0xc0ffffff 64bit pref]
[    3.425875] pci 0000:01:00.0: reg 0x20: [mem 0xc1000000-0xc13fffff 64bit pref]
[    3.433636] pci 0000:01:00.0: supports D1 D2
[    3.450012] pci 0000:00:00.0: BAR 15: assigned [mem 0xf6000000-0xf6dfffff pref]
[    3.457366] pci 0000:00:00.0: BAR 0: assigned [mem 0xf6e00000-0xf6efffff]
[    3.464194] pci 0000:01:00.0: BAR 2: assigned [mem 0xf6000000-0xf67fffff 64bit pref]
[    3.472049] pci 0000:01:00.0: BAR 4: assigned [mem 0xf6800000-0xf6bfffff 64bit pref]
[    3.479907] pci 0000:01:00.0: BAR 0: assigned [mem 0xf6c00000-0xf6cfffff 64bit pref]
[    3.487761] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    3.493019] pci 0000:00:00.0:   bridge window [mem 0xf6000000-0xf6dfffff pref]
[    3.500485] pcieport 0000:00:00.0: PME: Signaling with IRQ 45
[    3.506417] pcieport 0000:00:00.0: AER: enabled with IRQ 45
[    3.513019] mdio_bus i2c:sfp-49: GPIO lookup for consumer reset
[    3.513026] mdio_bus i2c:sfp-49: using lookup tables for GPIO lookup
[    3.513031] mdio_bus i2c:sfp-49: No GPIO consumer reset found
[    3.513036] libphy: SFP I2C Bus: probed
[    3.516905] sfp sfp-49: GPIO lookup for consumer mod-def0
[    3.516909] sfp sfp-49: using device tree for GPIO lookup
[    3.516923] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-49[0]'
[    3.516936] sfp sfp-49: No GPIO consumer mod-def0 found
[    3.517994] mdio_bus i2c:sfp-50: GPIO lookup for consumer reset
[    3.518000] mdio_bus i2c:sfp-50: using lookup tables for GPIO lookup
[    3.518005] mdio_bus i2c:sfp-50: No GPIO consumer reset found
[    3.518009] libphy: SFP I2C Bus: probed
[    3.521877] sfp sfp-50: GPIO lookup for consumer mod-def0
[    3.521880] sfp sfp-50: using device tree for GPIO lookup
[    3.521894] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-50[0]'
[    3.521905] sfp sfp-50: No GPIO consumer mod-def0 found
[    3.522823] mdio_bus i2c:sfp-51: GPIO lookup for consumer reset
[    3.522828] mdio_bus i2c:sfp-51: using lookup tables for GPIO lookup
[    3.522832] mdio_bus i2c:sfp-51: No GPIO consumer reset found
[    3.522836] libphy: SFP I2C Bus: probed
[    3.526707] sfp sfp-51: GPIO lookup for consumer mod-def0
[    3.526710] sfp sfp-51: using device tree for GPIO lookup
[    3.526725] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-51[0]'
[    3.526736] sfp sfp-51: No GPIO consumer mod-def0 found
[    3.527648] mdio_bus i2c:sfp-52: GPIO lookup for consumer reset
[    3.527654] mdio_bus i2c:sfp-52: using lookup tables for GPIO lookup
[    3.527658] mdio_bus i2c:sfp-52: No GPIO consumer reset found
[    3.527662] libphy: SFP I2C Bus: probed
[    3.531530] sfp sfp-52: GPIO lookup for consumer mod-def0
[    3.531533] sfp sfp-52: using device tree for GPIO lookup
[    3.531547] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-52[0]'
[    3.531558] sfp sfp-52: No GPIO consumer mod-def0 found
[    3.533059] mvpp2 f2000000.ethernet: using 8 per-cpu buffers
[    3.556144] mvpp2 f2000000.ethernet eth0: Using firmware node mac address 18:be:92:13:c0:82
[    3.579593] mdio_bus i2c:sfp-49: GPIO lookup for consumer reset
[    3.579602] mdio_bus i2c:sfp-49: using lookup tables for GPIO lookup
[    3.579606] mdio_bus i2c:sfp-49: No GPIO consumer reset found
[    3.579611] libphy: SFP I2C Bus: probed
[    3.583497] sfp sfp-49: GPIO lookup for consumer mod-def0
[    3.583501] sfp sfp-49: using device tree for GPIO lookup
[    3.583516] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-49[0]'
[    3.583530] sfp sfp-49: No GPIO consumer mod-def0 found
[    3.584505] mdio_bus i2c:sfp-50: GPIO lookup for consumer reset
[    3.584511] mdio_bus i2c:sfp-50: using lookup tables for GPIO lookup
[    3.584515] mdio_bus i2c:sfp-50: No GPIO consumer reset found
[    3.584519] libphy: SFP I2C Bus: probed
[    3.588408] sfp sfp-50: GPIO lookup for consumer mod-def0
[    3.588412] sfp sfp-50: using device tree for GPIO lookup
[    3.588426] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-50[0]'
[    3.588438] sfp sfp-50: No GPIO consumer mod-def0 found
[    3.589395] mdio_bus i2c:sfp-51: GPIO lookup for consumer reset
[    3.589401] mdio_bus i2c:sfp-51: using lookup tables for GPIO lookup
[    3.589405] mdio_bus i2c:sfp-51: No GPIO consumer reset found
[    3.589409] libphy: SFP I2C Bus: probed
[    3.593272] sfp sfp-51: GPIO lookup for consumer mod-def0
[    3.593275] sfp sfp-51: using device tree for GPIO lookup
[    3.593289] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-51[0]'
[    3.593300] sfp sfp-51: No GPIO consumer mod-def0 found
[    3.594203] mdio_bus i2c:sfp-52: GPIO lookup for consumer reset
[    3.594209] mdio_bus i2c:sfp-52: using lookup tables for GPIO lookup
[    3.594213] mdio_bus i2c:sfp-52: No GPIO consumer reset found
[    3.594217] libphy: SFP I2C Bus: probed
[    3.598089] sfp sfp-52: GPIO lookup for consumer mod-def0
[    3.598093] sfp sfp-52: using device tree for GPIO lookup
[    3.598107] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-52[0]'
[    3.598118] sfp sfp-52: No GPIO consumer mod-def0 found
[    3.599044] mdio_bus i2c:sfp-49: GPIO lookup for consumer reset
[    3.599050] mdio_bus i2c:sfp-49: using lookup tables for GPIO lookup
[    3.599054] mdio_bus i2c:sfp-49: No GPIO consumer reset found
[    3.599058] libphy: SFP I2C Bus: probed
[    3.602933] sfp sfp-49: GPIO lookup for consumer mod-def0
[    3.602937] sfp sfp-49: using device tree for GPIO lookup
[    3.602951] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-49[0]'
[    3.602963] sfp sfp-49: No GPIO consumer mod-def0 found
[    3.603866] mdio_bus i2c:sfp-50: GPIO lookup for consumer reset
[    3.603871] mdio_bus i2c:sfp-50: using lookup tables for GPIO lookup
[    3.603875] mdio_bus i2c:sfp-50: No GPIO consumer reset found
[    3.603879] libphy: SFP I2C Bus: probed
[    3.607756] sfp sfp-50: GPIO lookup for consumer mod-def0
[    3.607760] sfp sfp-50: using device tree for GPIO lookup
[    3.607773] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-50[0]'
[    3.607785] sfp sfp-50: No GPIO consumer mod-def0 found
[    3.608684] mdio_bus i2c:sfp-51: GPIO lookup for consumer reset
[    3.608689] mdio_bus i2c:sfp-51: using lookup tables for GPIO lookup
[    3.608694] mdio_bus i2c:sfp-51: No GPIO consumer reset found
[    3.608697] libphy: SFP I2C Bus: probed
[    3.612566] sfp sfp-51: GPIO lookup for consumer mod-def0
[    3.612570] sfp sfp-51: using device tree for GPIO lookup
[    3.612584] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-51[0]'
[    3.612594] sfp sfp-51: No GPIO consumer mod-def0 found
[    3.613516] mdio_bus i2c:sfp-52: GPIO lookup for consumer reset
[    3.613522] mdio_bus i2c:sfp-52: using lookup tables for GPIO lookup
[    3.613526] mdio_bus i2c:sfp-52: No GPIO consumer reset found
[    3.613530] libphy: SFP I2C Bus: probed
[    3.617394] sfp sfp-52: GPIO lookup for consumer mod-def0
[    3.617398] sfp sfp-52: using device tree for GPIO lookup
[    3.617411] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-52[0]'
[    3.617421] sfp sfp-52: No GPIO consumer mod-def0 found
[    3.618405] ALSA device list:
[    3.621418]   No soundcards found.
[    3.633820] Freeing unused kernel memory: 9536K
[    3.641350] Run /init as init process
[    3.645030]   with arguments:
[    3.645033]     /init
[    3.645036]   with environment:
[    3.645039]     HOME=/
[    3.645042]     TERM=linux
[    3.645045]     onl_platform=arm64-delta-tn48m-poe-r0
[    5.963793] mvpp2 f2000000.ethernet ma1: renamed from eth0
[   11.053591] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
[   11.076480] EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
[   11.095922] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null)
[   11.103061] ext4 filesystem being mounted at /mnt/onl/boot supports timestamps until 2038 (0x7fffffff)
[   11.121716] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[   18.032058] mvpp2 f2000000.ethernet ma1: PHY [f212a200.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
[   18.042704] mvpp2 f2000000.ethernet ma1: configuring for phy/sgmii link mode
[   20.238866] EXT4-fs (sda4): re-mounted. Opts: (null)
[   28.209966] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
[   28.260186] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[   28.923537] arm64_delta_tn48m_poe_psu: loading out-of-tree module taints kernel.
[   28.946235] gpiochip_find_base: found new base at 500
[   28.946392] gpio gpiochip3: (0-0041): added GPIO chardev (254:3)
[   28.946432] gpio gpiochip3: registered GPIOs 500 to 511 on 0-0041
[   28.947316] mdio_bus i2c:sfp-49: GPIO lookup for consumer reset
[   28.947322] mdio_bus i2c:sfp-49: using lookup tables for GPIO lookup
[   28.947327] mdio_bus i2c:sfp-49: No GPIO consumer reset found
[   28.947332] libphy: SFP I2C Bus: probed
[   28.951273] sfp sfp-49: GPIO lookup for consumer mod-def0
[   28.951277] sfp sfp-49: using device tree for GPIO lookup
[   28.951311] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-49[0]'
[   28.951336] of_get_named_gpiod_flags: parsed 'mod-def0-gpio' property of node '/sfp-49[0]' - status (0)
[   28.951352] sfp sfp-49: GPIO lookup for consumer los
[   28.951356] sfp sfp-49: using device tree for GPIO lookup
[   28.951364] of_get_named_gpiod_flags: can't parse 'los-gpios' property of node '/sfp-49[0]'
[   28.951376] of_get_named_gpiod_flags: parsed 'los-gpio' property of node '/sfp-49[0]' - status (0)
[   28.951381] sfp sfp-49: GPIO lookup for consumer tx-fault
[   28.951385] sfp sfp-49: using device tree for GPIO lookup
[   28.951393] of_get_named_gpiod_flags: can't parse 'tx-fault-gpios' property of node '/sfp-49[0]'
[   28.951401] of_get_named_gpiod_flags: can't parse 'tx-fault-gpio' property of node '/sfp-49[0]'
[   28.951407] sfp sfp-49: using lookup tables for GPIO lookup
[   28.951411] sfp sfp-49: No GPIO consumer tx-fault found
[   28.951414] sfp sfp-49: GPIO lookup for consumer tx-disable
[   28.951417] sfp sfp-49: using device tree for GPIO lookup
[   28.951426] of_get_named_gpiod_flags: can't parse 'tx-disable-gpios' property of node '/sfp-49[0]'
[   28.951436] of_get_named_gpiod_flags: parsed 'tx-disable-gpio' property of node '/sfp-49[0]' - status (0)
[   28.951441] gpio-502 (tx-disable): no flags found for tx-disable
[   28.951446] sfp sfp-49: GPIO lookup for consumer rate-select0
[   28.951449] sfp sfp-49: using device tree for GPIO lookup
[   28.951457] of_get_named_gpiod_flags: can't parse 'rate-select0-gpios' property of node '/sfp-49[0]'
[   28.951464] of_get_named_gpiod_flags: can't parse 'rate-select0-gpio' property of node '/sfp-49[0]'
[   28.951469] sfp sfp-49: using lookup tables for GPIO lookup
[   28.951473] sfp sfp-49: No GPIO consumer rate-select0 found
[   28.951480] sfp sfp-49: Host maximum power 1.0W
[   28.958156] mdio_bus i2c:sfp-50: GPIO lookup for consumer reset
[   28.958164] mdio_bus i2c:sfp-50: using lookup tables for GPIO lookup
[   28.958168] mdio_bus i2c:sfp-50: No GPIO consumer reset found
[   28.958173] libphy: SFP I2C Bus: probed
[   28.962077] sfp sfp-50: GPIO lookup for consumer mod-def0
[   28.962081] sfp sfp-50: using device tree for GPIO lookup
[   28.962101] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-50[0]'
[   28.962121] of_get_named_gpiod_flags: parsed 'mod-def0-gpio' property of node '/sfp-50[0]' - status (0)
[   28.962133] sfp sfp-50: GPIO lookup for consumer los
[   28.962137] sfp sfp-50: using device tree for GPIO lookup
[   28.962146] of_get_named_gpiod_flags: can't parse 'los-gpios' property of node '/sfp-50[0]'
[   28.962157] of_get_named_gpiod_flags: parsed 'los-gpio' property of node '/sfp-50[0]' - status (0)
[   28.962167] sfp sfp-50: GPIO lookup for consumer tx-fault
[   28.962171] sfp sfp-50: using device tree for GPIO lookup
[   28.962179] of_get_named_gpiod_flags: can't parse 'tx-fault-gpios' property of node '/sfp-50[0]'
[   28.962188] of_get_named_gpiod_flags: can't parse 'tx-fault-gpio' property of node '/sfp-50[0]'
[   28.962194] sfp sfp-50: using lookup tables for GPIO lookup
[   28.962198] sfp sfp-50: No GPIO consumer tx-fault found
[   28.962201] sfp sfp-50: GPIO lookup for consumer tx-disable
[   28.962204] sfp sfp-50: using device tree for GPIO lookup
[   28.962212] of_get_named_gpiod_flags: can't parse 'tx-disable-gpios' property of node '/sfp-50[0]'
[   28.962222] of_get_named_gpiod_flags: parsed 'tx-disable-gpio' property of node '/sfp-50[0]' - status (0)
[   28.962227] gpio-505 (tx-disable): no flags found for tx-disable
[   28.962231] sfp sfp-50: GPIO lookup for consumer rate-select0
[   28.962234] sfp sfp-50: using device tree for GPIO lookup
[   28.962242] of_get_named_gpiod_flags: can't parse 'rate-select0-gpios' property of node '/sfp-50[0]'
[   28.962249] of_get_named_gpiod_flags: can't parse 'rate-select0-gpio' property of node '/sfp-50[0]'
[   28.962254] sfp sfp-50: using lookup tables for GPIO lookup
[   28.962258] sfp sfp-50: No GPIO consumer rate-select0 found
[   28.962264] sfp sfp-50: Host maximum power 1.0W
[   28.964425] dps_920ab 0-0058: new chip found
[   28.971228] i2c i2c-0: new_device: Instantiated device tn48m_poe_psu at 0x58
[   28.978591] dps_920ab 0-0059: new chip found
[   28.979213] mdio_bus i2c:sfp-51: GPIO lookup for consumer reset
[   28.982911] mdio_bus i2c:sfp-51: using lookup tables for GPIO lookup
[   28.982916] mdio_bus i2c:sfp-51: No GPIO consumer reset found
[   28.982920] libphy: SFP I2C Bus: probed
[   28.982969] i2c i2c-0: new_device: Instantiated device tn48m_poe_psu at 0x59
[   28.986779] sfp sfp-51: GPIO lookup for consumer mod-def0
[   28.986782] sfp sfp-51: using device tree for GPIO lookup
[   28.993878] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-51[0]'
[   28.993896] of_get_named_gpiod_flags: parsed 'mod-def0-gpio' property of node '/sfp-51[0]' - status (0)
[   28.993906] sfp sfp-51: GPIO lookup for consumer los
[   28.993909] sfp sfp-51: using device tree for GPIO lookup
[   28.993917] of_get_named_gpiod_flags: can't parse 'los-gpios' property of node '/sfp-51[0]'
[   28.993928] of_get_named_gpiod_flags: parsed 'los-gpio' property of node '/sfp-51[0]' - status (0)
[   28.993933] sfp sfp-51: GPIO lookup for consumer tx-fault
[   28.993936] sfp sfp-51: using device tree for GPIO lookup
[   28.993944] of_get_named_gpiod_flags: can't parse 'tx-fault-gpios' property of node '/sfp-51[0]'
[   28.993951] of_get_named_gpiod_flags: can't parse 'tx-fault-gpio' property of node '/sfp-51[0]'
[   28.993956] sfp sfp-51: using lookup tables for GPIO lookup
[   28.993960] sfp sfp-51: No GPIO consumer tx-fault found
[   28.993964] sfp sfp-51: GPIO lookup for consumer tx-disable
[   28.993967] sfp sfp-51: using device tree for GPIO lookup
[   28.993975] of_get_named_gpiod_flags: can't parse 'tx-disable-gpios' property of node '/sfp-51[0]'
[   28.993985] of_get_named_gpiod_flags: parsed 'tx-disable-gpio' property of node '/sfp-51[0]' - status (0)
[   28.993989] gpio-508 (tx-disable): no flags found for tx-disable
[   28.993993] sfp sfp-51: GPIO lookup for consumer rate-select0
[   28.993996] sfp sfp-51: using device tree for GPIO lookup
[   28.994004] of_get_named_gpiod_flags: can't parse 'rate-select0-gpios' property of node '/sfp-51[0]'
[   28.994012] of_get_named_gpiod_flags: can't parse 'rate-select0-gpio' property of node '/sfp-51[0]'
[   28.994016] sfp sfp-51: using lookup tables for GPIO lookup
[   28.994020] sfp sfp-51: No GPIO consumer rate-select0 found
[   28.994026] sfp sfp-51: Host maximum power 1.0W
[   28.997562] adt7475 1-002e: ADT7473 device, revision 0
[   29.003758] adt7475 1-002e: Optional features: fan4 pwm2
[   29.009894] mdio_bus i2c:sfp-52: GPIO lookup for consumer reset
[   29.009900] mdio_bus i2c:sfp-52: using lookup tables for GPIO lookup
[   29.009904] mdio_bus i2c:sfp-52: No GPIO consumer reset found
[   29.009907] libphy: SFP I2C Bus: probed
[   29.013774] sfp sfp-52: GPIO lookup for consumer mod-def0
[   29.013777] sfp sfp-52: using device tree for GPIO lookup
[   29.013791] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-52[0]'
[   29.013806] of_get_named_gpiod_flags: parsed 'mod-def0-gpio' property of node '/sfp-52[0]' - status (0)
[   29.013813] sfp sfp-52: GPIO lookup for consumer los
[   29.013817] sfp sfp-52: using device tree for GPIO lookup
[   29.013825] of_get_named_gpiod_flags: can't parse 'los-gpios' property of node '/sfp-52[0]'
[   29.013835] of_get_named_gpiod_flags: parsed 'los-gpio' property of node '/sfp-52[0]' - status (0)
[   29.013840] sfp sfp-52: GPIO lookup for consumer tx-fault
[   29.013843] sfp sfp-52: using device tree for GPIO lookup
[   29.013851] of_get_named_gpiod_flags: can't parse 'tx-fault-gpios' property of node '/sfp-52[0]'
[   29.013858] of_get_named_gpiod_flags: can't parse 'tx-fault-gpio' property of node '/sfp-52[0]'
[   29.013863] sfp sfp-52: using lookup tables for GPIO lookup
[   29.013867] sfp sfp-52: No GPIO consumer tx-fault found
[   29.013871] sfp sfp-52: GPIO lookup for consumer tx-disable
[   29.013874] sfp sfp-52: using device tree for GPIO lookup
[   29.013882] of_get_named_gpiod_flags: can't parse 'tx-disable-gpios' property of node '/sfp-52[0]'
[   29.013892] of_get_named_gpiod_flags: parsed 'tx-disable-gpio' property of node '/sfp-52[0]' - status (0)
[   29.013896] gpio-511 (tx-disable): no flags found for tx-disable
[   29.013900] sfp sfp-52: GPIO lookup for consumer rate-select0
[   29.013903] sfp sfp-52: using device tree for GPIO lookup
[   29.013911] of_get_named_gpiod_flags: can't parse 'rate-select0-gpios' property of node '/sfp-52[0]'
[   29.013918] of_get_named_gpiod_flags: can't parse 'rate-select0-gpio' property of node '/sfp-52[0]'
[   29.013923] sfp sfp-52: using lookup tables for GPIO lookup
[   29.013926] sfp sfp-52: No GPIO consumer rate-select0 found
[   29.013932] sfp sfp-52: Host maximum power 1.0W
[   29.027159] i2c i2c-1: new_device: Instantiated device adt7473 at 0x2e
[   29.034114] lm75 1-004a: supply vs not found, using dummy regulator
[   29.041026] lm75 1-004a: hwmon4: sensor 'tmp1075'
[   29.045796] i2c i2c-1: new_device: Instantiated device tmp1075 at 0x4a
[   29.052579] lm75 1-004b: supply vs not found, using dummy regulator
[   29.059448] lm75 1-004b: hwmon5: sensor 'tmp1075'
[   29.064215] i2c i2c-1: new_device: Instantiated device tmp1075 at 0x4b
[   29.121398] Loading Marvell Prestera Switch Driver
[   29.217486] AC3x B2B 98DX3265 0000:01:00.0: FW version '2.8.0'
[   29.223367] AC3x B2B 98DX3265 0000:01:00.0: Driver version '2.8.0'
[   29.229581] AC3x B2B 98DX3265 0000:01:00.0: Loading prestera FW image ...
[   29.348731] sfp sfp-52: module OEM              SF-SFP+SR-DE     rev B4   sn M4778209         dc 191227
[   32.181682] AC3x B2B 98DX3265 0000:01:00.0: Prestera Switch FW is ready
[   42.557128] AC3x B2B 98DX3265 0000:01:00.0: Initialized Switch device
[   44.395916] AC3x B2B 98DX3265 0000:01:00.0 eth51: switched to inband/10gbase-r link mode
[   44.456546] prestera_pci: Registered Marvell Prestera PCI driver
[   44.652273] dps_920ab 0-005b: new chip found
[   44.656689] i2c i2c-0: new_device: Instantiated device tn48m_poe_psu at 0x5b
[   44.851618] dps_920ab 0-005a: new chip found
[   44.856030] i2c i2c-0: new_device: Instantiated device tn48m_poe_psu at 0x5a
[   58.182510] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[   58.200836] systemd[1]: Detected architecture arm64.
[   58.221528] systemd[1]: Set hostname to <localhost>.
[   58.341911] systemd[1]: Listening on Journal Socket.
[   58.361372] systemd[1]: Listening on Syslog Socket.
[   58.377345] systemd[1]: Listening on RPCbind Server Activation Socket.
[   58.401525] systemd[1]: Listening on Journal Audit Socket.
[   58.421362] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[   58.445289] systemd[1]: Reached target Swap.
[   58.461431] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[   58.729111] u32 classifier
[   58.731906]     Performance counters on
[   58.735817]     input device check on
[   58.739499]     Actions configured
[   58.752614] GACT probability on
[   59.216067] systemd-journald[477]: Received request to flush runtime journal from PID 1
[   59.508207] AC3x B2B 98DX3265 0000:01:00.0 swp1: renamed from eth0
[   59.538693] AC3x B2B 98DX3265 0000:01:00.0 swp21: renamed from eth20
[   59.574870] AC3x B2B 98DX3265 0000:01:00.0 swp16: renamed from eth15
[   59.607774] AC3x B2B 98DX3265 0000:01:00.0 swp11: renamed from eth10
[   59.635500] AC3x B2B 98DX3265 0000:01:00.0 swp19: renamed from eth18
[   59.667062] AC3x B2B 98DX3265 0000:01:00.0 swp3: renamed from eth2
[   59.707447] AC3x B2B 98DX3265 0000:01:00.0 swp22: renamed from eth21
[   59.747178] AC3x B2B 98DX3265 0000:01:00.0 swp12: renamed from eth11
[   59.778345] AC3x B2B 98DX3265 0000:01:00.0 swp13: renamed from eth12
[   59.815186] AC3x B2B 98DX3265 0000:01:00.0 swp15: renamed from eth14
[   59.862786] AC3x B2B 98DX3265 0000:01:00.0 swp17: renamed from eth16
[   59.901649] AC3x B2B 98DX3265 0000:01:00.0 swp2: renamed from eth1
[   59.946220] AC3x B2B 98DX3265 0000:01:00.0 swp24: renamed from eth23
[   59.970520] AC3x B2B 98DX3265 0000:01:00.0 swp20: renamed from eth19
[   60.006777] AC3x B2B 98DX3265 0000:01:00.0 swp14: renamed from eth13
[   60.045995] AC3x B2B 98DX3265 0000:01:00.0 swp26: renamed from eth25
[   60.074413] AC3x B2B 98DX3265 0000:01:00.0 swp18: renamed from eth17
[   60.102188] AC3x B2B 98DX3265 0000:01:00.0 swp28: renamed from eth27
[   60.125994] AC3x B2B 98DX3265 0000:01:00.0 swp23: renamed from eth22
[   60.150833] AC3x B2B 98DX3265 0000:01:00.0 swp31: renamed from eth30
[   60.185603] AC3x B2B 98DX3265 0000:01:00.0 swp25: renamed from eth24
[   60.210065] AC3x B2B 98DX3265 0000:01:00.0 swp27: renamed from eth26
[   60.242679] AC3x B2B 98DX3265 0000:01:00.0 swp36: renamed from eth35
[   60.281734] AC3x B2B 98DX3265 0000:01:00.0 swp4: renamed from eth3
[   60.321750] AC3x B2B 98DX3265 0000:01:00.0 swp34: renamed from eth33
[   60.349582] AC3x B2B 98DX3265 0000:01:00.0 swp33: renamed from eth32
[   60.385965] AC3x B2B 98DX3265 0000:01:00.0 swp39: renamed from eth38
[   60.422004] AC3x B2B 98DX3265 0000:01:00.0 swp35: renamed from eth34
[   60.457905] AC3x B2B 98DX3265 0000:01:00.0 swp32: renamed from eth31
[   60.498445] AC3x B2B 98DX3265 0000:01:00.0 swp30: renamed from eth29
[   60.529584] AC3x B2B 98DX3265 0000:01:00.0 swp29: renamed from eth28
[   60.569976] AC3x B2B 98DX3265 0000:01:00.0 swp45: renamed from eth44
[   60.601562] AC3x B2B 98DX3265 0000:01:00.0 swp37: renamed from eth36
[   60.642036] AC3x B2B 98DX3265 0000:01:00.0 swp48: renamed from eth47
[   60.682334] AC3x B2B 98DX3265 0000:01:00.0 swp42: renamed from eth41
[   60.713595] AC3x B2B 98DX3265 0000:01:00.0 swp5: renamed from eth4
[   60.742088] AC3x B2B 98DX3265 0000:01:00.0 swp38: renamed from eth37
[   60.785600] AC3x B2B 98DX3265 0000:01:00.0 swp44: renamed from eth43
[   60.817541] AC3x B2B 98DX3265 0000:01:00.0 swp40: renamed from eth39
[   60.849613] AC3x B2B 98DX3265 0000:01:00.0 swp46: renamed from eth45
[   60.878050] AC3x B2B 98DX3265 0000:01:00.0 swp52: renamed from eth51
[   60.907382] AC3x B2B 98DX3265 0000:01:00.0 swp41: renamed from eth40
[   60.943645] AC3x B2B 98DX3265 0000:01:00.0 swp43: renamed from eth42
[   60.973972] AC3x B2B 98DX3265 0000:01:00.0 swp47: renamed from eth46
[   61.018810] AC3x B2B 98DX3265 0000:01:00.0 swp7: renamed from eth6
[   61.061889] AC3x B2B 98DX3265 0000:01:00.0 swp9: renamed from eth8
[   61.102357] AC3x B2B 98DX3265 0000:01:00.0 swp8: renamed from eth7
[   61.119937] AC3x B2B 98DX3265 0000:01:00.0 swp51: renamed from eth50
[   61.160493] AC3x B2B 98DX3265 0000:01:00.0 swp50: renamed from eth49
[   61.198803] AC3x B2B 98DX3265 0000:01:00.0 swp49: renamed from eth48
[   61.235403] AC3x B2B 98DX3265 0000:01:00.0 swp6: renamed from eth5
[   61.279053] AC3x B2B 98DX3265 0000:01:00.0 swp10: renamed from eth9
[   62.653140] process '/sbin/netplugd' started with executable stack
[  492.153666] mvpp2 f2000000.ethernet ma1: Link is Up - 1Gbps/Full - flow control off
[  492.161409] IPv6: ADDRCONF(NETDEV_CHANGE): ma1: link becomes ready

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

* Marvell: hw perfevents: unable to count PMU IRQs
@ 2021-03-25 21:39 ` Paul Menzel
  0 siblings, 0 replies; 6+ messages in thread
From: Paul Menzel @ 2021-03-25 21:39 UTC (permalink / raw)
  To: Will Deacon, Mark Rutland
  Cc: linux-arm-kernel, LKML, Vadym Kochan, Oleksandr Mazur, Robert Marko

[-- Attachment #1: Type: text/plain, Size: 1326 bytes --]

Dear Linux folks,


On the Marvell Prestera switch, Linux 5.10.4 prints the error (with an 
additional info level message) below.

     [    0.000000] Linux version 5.10.4 (robimarko@onlbuilder9) 
(aarch64-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516, GNU ld (GNU 
Binutils for Debian) 2.28) #1 SMP PREEMPT Thu Mar 11 10:22:09 UTC 2021
     […]
     [    1.996658] hw perfevents: unable to count PMU IRQs
     [    2.001825] hw perfevents: /ap806/config-space@f0000000/pmu: 
failed to register PMU devices!

```
# lscpu
Architecture:          aarch64
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Model:                 1
BogoMIPS:              50.00
L1d cache:             32K
L1i cache:             48K
L2 cache:              512K
NUMA node0 CPU(s):     0-3
Flags:                 fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
# cat /proc/cpuinfo
processor       : 0
BogoMIPS        : 50.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 1
[…]
```

Please find the output of `dmesg` attached.

How can the IRQs be counted?


Kind regards,

Paul

[-- Attachment #2: linux_5.10.4–messages.txt --]
[-- Type: text/plain, Size: 55013 bytes --]

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd081]
[    0.000000] Linux version 5.10.4 (robimarko@onlbuilder9) (aarch64-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516, GNU ld (GNU Binutils for Debian) 2.28) #1 SMP PREEMPT Thu Mar 11 10:22:09 UTC 2021
[    0.000000] Machine model: delta,tn48m
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000f0512000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
[    0.000000] cma: Reserved 32 MiB at 0x00000000be000000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000023fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x23efdb100-0x23efdcfff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000]   DMA32    [mem 0x0000000040000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000023fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000]   node   0: [mem 0x0000000004200000-0x00000000bfffffff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x000000023fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000023fffffff]
[    0.000000] On node 0 totalpages: 2096640
[    0.000000]   DMA zone: 4096 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 261632 pages, LIFO batch:63
[    0.000000]   DMA32 zone: 8192 pages used for memmap
[    0.000000]   DMA32 zone: 524288 pages, LIFO batch:63
[    0.000000]   Normal zone: 20480 pages used for memmap
[    0.000000]   Normal zone: 1310720 pages, LIFO batch:63
[    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 resident on physical CPU 0x0
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 32 pages/cpu s94104 r8192 d28776 u131072
[    0.000000] pcpu-alloc: s94104 r8192 d28776 u131072 alloc=32*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected PIPT I-cache on CPU0
[    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: Spectre-v2
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 2063872
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: console=ttyS0,115200 earlycon=uart8250,mmio32,0xf0512000 onl_platform=arm64-delta-tn48m-poe-r0
[    0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x000000003bfff000-0x000000003ffff000] (64MB)
[    0.000000] Memory: 8071364K/8386560K available (18112K kernel code, 4006K rwdata, 9464K rodata, 9536K init, 539K bss, 282428K reserved, 32768K cma-reserved)
[    0.000000] ftrace: allocating 60579 entries in 237 pages
[    0.000000] ftrace: allocated 237 pages with 6 groups
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Adjusting CPU interface base to 0x00000000f022f000
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:160, num:32)
[    0.000000] GICv2m: range[mem 0xf0280000-0xf0280fff], SPI[160:191]
[    0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:192, num:32)
[    0.000000] GICv2m: range[mem 0xf0290000-0xf0290fff], SPI[192:223]
[    0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:224, num:32)
[    0.000000] GICv2m: range[mem 0xf02a0000-0xf02a0fff], SPI[224:255]
[    0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:256, num:32)
[    0.000000] GICv2m: range[mem 0xf02b0000-0xf02b0fff], SPI[256:287]
[    0.000000] random: get_random_bytes called from start_kernel+0x39c/0x528 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
[    0.000003] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
[    0.009007] Console: colour dummy device 80x25
[    0.013713] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100000)
[    0.024654] pid_max: default: 32768 minimum: 301
[    0.029638] LSM: Security Framework initializing
[    0.034638] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.042690] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.052194] rcu: Hierarchical SRCU implementation.
[    0.058926] EFI services will not be available.
[    0.063883] smp: Bringing up secondary CPUs ...
[    0.069210] Detected PIPT I-cache on CPU1
[    0.069264] CPU1: Booted secondary processor 0x0000000001 [0x410fd081]
[    0.069815] Detected PIPT I-cache on CPU2
[    0.069849] CPU2: Booted secondary processor 0x0000000100 [0x410fd081]
[    0.070377] Detected PIPT I-cache on CPU3
[    0.070402] CPU3: Booted secondary processor 0x0000000101 [0x410fd081]
[    0.070463] smp: Brought up 1 node, 4 CPUs
[    0.108075] SMP: Total of 4 processors activated.
[    0.113075] CPU features: detected: 32-bit EL0 Support
[    0.118519] CPU features: detected: CRC32 instructions
[    0.123945] CPU features: detected: 32-bit EL1 Support
[    0.142744] CPU: All CPU(s) started at EL2
[    0.147058] alternatives: patching kernel code
[    0.153668] devtmpfs: initialized
[    0.159780] KASLR disabled due to lack of seed
[    0.164776] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.175027] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.182979] pinctrl core: initialized pinctrl subsystem
[    0.189148] DMI not present or invalid.
[    0.193535] NET: Registered protocol family 16
[    0.199109] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.206879] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.215344] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.223794] audit: initializing netlink subsys (disabled)
[    0.229594] audit: type=2000 audit(0.148:1): state=initialized audit_enabled=0 res=1
[    0.230115] thermal_sys: Registered thermal governor 'step_wise'
[    0.238224] cpuidle: using governor menu
[    0.248829] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.255994] ASID allocator initialised with 32768 entries
[    0.262321] Serial: AMBA PL011 UART driver
[    0.286551] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.293597] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.300643] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.307697] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.936090] cryptd: max_cpu_qlen set to 1000
[    0.961127] ACPI: Interpreter disabled.
[    0.965889] iommu: Default domain type: Translated
[    0.971190] vgaarb: loaded
[    0.974230] SCSI subsystem initialized
[    0.978276] libata version 3.00 loaded.
[    0.978421] usbcore: registered new interface driver usbfs
[    0.984216] usbcore: registered new interface driver hub
[    0.989833] usbcore: registered new device driver usb
[    0.995586] pps_core: LinuxPPS API ver. 1 registered
[    1.000840] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.010510] PTP clock support registered
[    1.014705] EDAC MC: Ver: 3.0.0
[    1.018659] FPGA manager framework
[    1.022294] Advanced Linux Sound Architecture Driver Initialized.
[    1.029224] clocksource: Switched to clocksource arch_sys_counter
[    1.392874] VFS: Disk quotas dquot_6.6.0
[    1.397057] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.404410] pnp: PnP ACPI: disabled
[    1.411831] NET: Registered protocol family 2
[    1.416809] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    1.425864] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    1.434458] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    1.443123] TCP: Hash tables configured (established 65536 bind 65536)
[    1.450114] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    1.457383] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    1.465269] NET: Registered protocol family 1
[    1.470172] RPC: Registered named UNIX socket transport module.
[    1.476417] RPC: Registered udp transport module.
[    1.481387] RPC: Registered tcp transport module.
[    1.486357] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.493146] PCI: CLS 0 bytes, default 64
[    1.497410] Trying to unpack rootfs image as initramfs...
[    1.992039] Freeing initrd memory: 14208K
[    1.996658] hw perfevents: unable to count PMU IRQs
[    2.001825] hw perfevents: /ap806/config-space@f0000000/pmu: failed to register PMU devices!
[    2.010942] kvm [1]: IPA Size Limit: 44 bits
[    2.016303] kvm [1]: vgic interrupt IRQ9
[    2.020540] kvm [1]: Hyp mode initialized successfully
[    2.052332] Initialise system trusted keyrings
[    2.057140] workingset: timestamp_bits=44 max_order=21 bucket_order=0
[    2.064354] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.070722] NFS: Registering the id_resolver key type
[    2.076050] Key type id_resolver registered
[    2.080473] Key type id_legacy registered
[    2.084722] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.091799] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    2.098368] 9p: Installing v9fs 9p2000 file system support
[    2.131377] Key type asymmetric registered
[    2.135665] Asymmetric key parser 'x509' registered
[    2.140840] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    2.148586] io scheduler mq-deadline registered
[    2.153373] io scheduler kyber registered
[    2.193046] armada-ap806-pinctrl f06f4000.system-controller:pinctrl: registered pinctrl driver
[    2.202569] armada-cp110-pinctrl f2440000.system-controller:pinctrl: registered pinctrl driver
[    2.212915] gpio gpiochip0: (f06f4000.system-controller:gpio@1040): created GPIO range 0->19 ==> f06f4000.system-controller:pinctrl PIN 0->19
[    2.213034] gpio gpiochip0: (f06f4000.system-controller:gpio@1040): added GPIO chardev (254:0)
[    2.213073] gpio gpiochip0: registered GPIOs 0 to 19 on f06f4000.system-controller:gpio@1040
[    2.213307] gpio gpiochip1: (f2440000.system-controller:gpio@100): created GPIO range 0->31 ==> f2440000.system-controller:pinctrl PIN 0->31
[    2.213398] gpio gpiochip1: (f2440000.system-controller:gpio@100): added GPIO chardev (254:1)
[    2.213431] gpio gpiochip1: registered GPIOs 32 to 63 on f2440000.system-controller:gpio@100
[    2.213654] gpio gpiochip2: (f2440000.system-controller:gpio@140): created GPIO range 0->30 ==> f2440000.system-controller:pinctrl PIN 32->62
[    2.213742] gpio gpiochip2: (f2440000.system-controller:gpio@140): added GPIO chardev (254:2)
[    2.213774] gpio gpiochip2: registered GPIOs 64 to 94 on f2440000.system-controller:gpio@140
[    2.215886] EINJ: ACPI disabled.
[    2.223868] mv_xor_v2 f0400000.xor: Marvell Version 2 XOR driver
[    2.230652] mv_xor_v2 f0420000.xor: Marvell Version 2 XOR driver
[    2.237485] mv_xor_v2 f0440000.xor: Marvell Version 2 XOR driver
[    2.244273] mv_xor_v2 f0460000.xor: Marvell Version 2 XOR driver
[    2.251198] mv_xor_v2 f26a0000.xor: Marvell Version 2 XOR driver
[    2.258039] mv_xor_v2 f26c0000.xor: Marvell Version 2 XOR driver
[    2.269805] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    2.277726] printk: console [ttyS0] disabled
[    2.282226] dw-apb-uart f0512000.serial: GPIO lookup for consumer rs485-term
[    2.282230] dw-apb-uart f0512000.serial: using device tree for GPIO lookup
[    2.282249] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/ap806/config-space@f0000000/serial@512000[0]'
[    2.282260] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/ap806/config-space@f0000000/serial@512000[0]'
[    2.282267] dw-apb-uart f0512000.serial: using lookup tables for GPIO lookup
[    2.282272] dw-apb-uart f0512000.serial: No GPIO consumer rs485-term found
[    2.282304] f0512000.serial: ttyS0 at MMIO 0xf0512000 (irq = 18, base_baud = 12500000) is a 16550A
[    2.291768] printk: console [ttyS0] enabled
[    2.300388] printk: bootconsole [uart8250] disabled
[    2.311265] SuperH (H)SCI(F) driver initialized
[    2.316199] msm_serial: driver initialized
[    2.321194] omap_rng f2760000.trng: Random Number Generator ver. 203b34c
[    2.321490] random: fast init done
[    2.331480] random: crng init done
[    2.335761] brd: module loaded
[    2.343629] loop: module loaded
[    2.347958] ahci f2540000.sata: supply ahci not found, using dummy regulator
[    2.355147] ahci f2540000.sata: supply phy not found, using dummy regulator
[    2.362913] platform f2540000.sata:sata-port@0: supply target not found, using dummy regulator
[    2.372114] platform f2540000.sata:sata-port@1: supply target not found, using dummy regulator
[    2.380946] ahci f2540000.sata: masking port_map 0x3 -> 0x3
[    2.386599] ahci f2540000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    2.395177] ahci f2540000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    2.404125] scsi host0: ahci
[    2.407325] scsi host1: ahci
[    2.410337] ata1: SATA max UDMA/133 mmio [mem 0xf2540000-0xf256ffff] port 0x100 irq 36
[    2.418298] ata2: SATA max UDMA/133 mmio [mem 0xf2540000-0xf256ffff] port 0x180 irq 36
[    2.428852] spi-nor spi1.0: w25q128 (16384 Kbytes)
[    2.431065] tpm_tis_spi spi0.0: 2.0 TPM (device-id 0x1B, rev-id 16)
[    2.433705] 3 fixed-partitions partitions found on MTD device spi1.0
[    2.442335] tpm tpm0: A TPM error (256) occurred attempting the self test
[    2.446364] Creating 3 MTD partitions on "spi1.0":
[    2.446373] 0x000000000000-0x0000003f0000 : "uboot"
[    2.453190] tpm tpm0: starting up the TPM manually
[    2.458146] mtd mtd0: GPIO lookup for consumer wp
[    2.467721] mtd mtd0: using device tree for GPIO lookup
[    2.467740] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/cp0/config-space@f2000000/spi@700600/spi-flash@0/partitions/partition@0[0]'
[    2.467755] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/cp0/config-space@f2000000/spi@700600/spi-flash@0/partitions/partition@0[0]'
[    2.467760] mtd mtd0: using lookup tables for GPIO lookup
[    2.467765] mtd mtd0: No GPIO consumer wp found
[    2.469532] 0x0000003f0000-0x000000400000 : "uboot-env"
[    2.474903] mtd mtd1: GPIO lookup for consumer wp
[    2.474907] mtd mtd1: using device tree for GPIO lookup
[    2.474923] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/cp0/config-space@f2000000/spi@700600/spi-flash@0/partitions/partition@3f0000[0]'
[    2.474938] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/cp0/config-space@f2000000/spi@700600/spi-flash@0/partitions/partition@3f0000[0]'
[    2.474943] mtd mtd1: using lookup tables for GPIO lookup
[    2.474947] mtd mtd1: No GPIO consumer wp found
[    2.476341] 0x000000400000-0x000001000000 : "ONIE"
[    2.481282] mtd mtd2: GPIO lookup for consumer wp
[    2.481286] mtd mtd2: using device tree for GPIO lookup
[    2.481304] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/cp0/config-space@f2000000/spi@700600/spi-flash@0/partitions/partition@400000[0]'
[    2.481318] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/cp0/config-space@f2000000/spi@700600/spi-flash@0/partitions/partition@400000[0]'
[    2.481324] mtd mtd2: using lookup tables for GPIO lookup
[    2.481328] mtd mtd2: No GPIO consumer wp found
[    2.485046] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    2.492945] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    2.503374] mdio_bus fixed-0: GPIO lookup for consumer reset
[    2.503380] mdio_bus fixed-0: using lookup tables for GPIO lookup
[    2.503386] mdio_bus fixed-0: No GPIO consumer reset found
[    2.503402] libphy: Fixed MDIO Bus: probed
[    2.508311] tun: Universal TUN/TAP device driver, 1.6
[    2.513927] thunder_xcv, ver 1.0
[    2.517192] thunder_bgx, ver 1.0
[    2.520473] nicpf, ver 1.0
[    2.524020] hclge is initializing
[    2.527397] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    2.534661] hns3: Copyright (c) 2017 Huawei Corporation.
[    2.540038] e1000: Intel(R) PRO/1000 Network Driver
[    2.544944] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    2.550744] e1000e: Intel(R) PRO/1000 Network Driver
[    2.555735] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    2.561708] igb: Intel(R) Gigabit Ethernet Network Driver
[    2.567134] igb: Copyright (c) 2007-2014 Intel Corporation.
[    2.572750] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    2.579049] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    2.585343] mdio_bus f212a200.mdio-mii: GPIO lookup for consumer reset
[    2.585347] mdio_bus f212a200.mdio-mii: using device tree for GPIO lookup
[    2.585361] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/cp0/config-space@f2000000/mdio@12a200[0]'
[    2.585372] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/cp0/config-space@f2000000/mdio@12a200[0]'
[    2.585378] mdio_bus f212a200.mdio-mii: using lookup tables for GPIO lookup
[    2.585382] mdio_bus f212a200.mdio-mii: No GPIO consumer reset found
[    2.585385] libphy: orion_mdio_bus: probed
[    2.591151] mdio_bus f212a200.mdio-mii:00: GPIO lookup for consumer reset
[    2.591156] mdio_bus f212a200.mdio-mii:00: using device tree for GPIO lookup
[    2.591173] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/cp0/config-space@f2000000/mdio@12a200/ethernet-phy@1[0]'
[    2.591184] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/cp0/config-space@f2000000/mdio@12a200/ethernet-phy@1[0]'
[    2.591189] mdio_bus f212a200.mdio-mii:00: using lookup tables for GPIO lookup
[    2.591194] mdio_bus f212a200.mdio-mii:00: No GPIO consumer reset found
[    2.592531] mvpp2 f2000000.ethernet: using 8 per-cpu buffers
[    2.607610] sky2: driver version 1.30
[    2.611827] hdlc: HDLC support module revision 1.22
[    2.616791] usbcore: registered new interface driver asix
[    2.622270] usbcore: registered new interface driver ax88179_178a
[    2.628412] usbcore: registered new interface driver cdc_ether
[    2.634313] usbcore: registered new interface driver net1080
[    2.640023] usbcore: registered new interface driver cdc_subset
[    2.645996] usbcore: registered new interface driver zaurus
[    2.651623] usbcore: registered new interface driver cdc_ncm
[    2.657427] VFIO - User Level meta-driver version: 0.3
[    2.663752] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.670355] ehci-pci: EHCI PCI platform driver
[    2.674854] ehci-platform: EHCI generic platform driver
[    2.680235] ehci-orion: EHCI orion driver
[    2.684358] ehci-exynos: EHCI Exynos driver
[    2.688640] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.694862] ohci-pci: OHCI PCI platform driver
[    2.699352] ohci-platform: OHCI generic platform driver
[    2.704696] ohci-exynos: OHCI Exynos driver
[    2.709307] xhci-hcd f2500000.usb3: xHCI Host Controller
[    2.714661] xhci-hcd f2500000.usb3: new USB bus registered, assigned bus number 1
[    2.722273] xhci-hcd f2500000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    2.731574] xhci-hcd f2500000.usb3: irq 37, io mem 0xf2500000
[    2.737793] hub 1-0:1.0: USB hub found
[    2.740493] ata2: SATA link down (SStatus 0 SControl 300)
[    2.741589] hub 1-0:1.0: 1 port detected
[    2.751111] xhci-hcd f2500000.usb3: xHCI Host Controller
[    2.756461] xhci-hcd f2500000.usb3: new USB bus registered, assigned bus number 2
[    2.763990] xhci-hcd f2500000.usb3: Host supports USB 3.0 SuperSpeed
[    2.770413] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.778809] hub 2-0:1.0: USB hub found
[    2.782600] hub 2-0:1.0: 1 port detected
[    2.786884] xhci-hcd f2510000.usb3: xHCI Host Controller
[    2.792237] xhci-hcd f2510000.usb3: new USB bus registered, assigned bus number 3
[    2.799840] xhci-hcd f2510000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    2.809141] xhci-hcd f2510000.usb3: irq 38, io mem 0xf2510000
[    2.815307] hub 3-0:1.0: USB hub found
[    2.819099] hub 3-0:1.0: 1 port detected
[    2.823193] xhci-hcd f2510000.usb3: xHCI Host Controller
[    2.828540] xhci-hcd f2510000.usb3: new USB bus registered, assigned bus number 4
[    2.836067] xhci-hcd f2510000.usb3: Host supports USB 3.0 SuperSpeed
[    2.842490] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.850869] hub 4-0:1.0: USB hub found
[    2.854662] hub 4-0:1.0: 1 port detected
[    2.859104] usbcore: registered new interface driver usb-storage
[    2.865240] usbcore: registered new interface driver usbserial_generic
[    2.871817] usbserial: USB Serial support registered for generic
[    2.877951] usbcore: registered new interface driver ftdi_sio
[    2.883738] usbserial: USB Serial support registered for FTDI USB Serial Device
[    2.891172] usbcore: registered new interface driver mos7720
[    2.896878] usbserial: USB Serial support registered for Moschip 2 port adapter
[    2.904243] usbcore: registered new interface driver mos7840
[    2.905286] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    2.909942] usbserial: USB Serial support registered for Moschip 7840/7820 USB Serial Driver
[    2.916248] ata1.00: ATA-9: M.2 (S42) 3TE7, S20730A, max UDMA/133
[    2.924642] usbcore: registered new interface driver mxuport
[    2.930748] ata1.00: 53742528 sectors, multi 16: LBA48 NCQ (depth 32)
[    2.930859] ata1.00: configured for UDMA/133
[    2.936448] usbserial: USB Serial support registered for MOXA UPort
[    2.943142] scsi 0:0:0:0: Direct-Access     ATA      M.2 (S42) 3TE7   30A  PQ: 0 ANSI: 5
[    2.947231] usbcore: registered new interface driver pl2303
[    2.954028] sd 0:0:0:0: [sda] 53742528 512-byte logical blocks: (27.5 GB/25.6 GiB)
[    2.961661] usbserial: USB Serial support registered for pl2303
[    2.967333] sd 0:0:0:0: [sda] Write Protect is off
[    2.974897] usbcore: registered new interface driver usb_serial_simple
[    2.980814] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    2.980850] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.985641] usbserial: USB Serial support registered for carelink
[    3.007414] usbserial: USB Serial support registered for zio
[    3.008131]  sda: sda1 sda2 sda3 sda4
[    3.013124] usbserial: USB Serial support registered for funsoft
[    3.017706] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    3.022846] usbserial: USB Serial support registered for flashloader
[    3.034742] usbserial: USB Serial support registered for google
[    3.040702] usbserial: USB Serial support registered for libtransistor
[    3.047273] usbserial: USB Serial support registered for vivopay
[    3.053320] usbserial: USB Serial support registered for moto_modem
[    3.059632] usbserial: USB Serial support registered for motorola_tetra
[    3.066289] usbserial: USB Serial support registered for novatel_gps
[    3.072685] usbserial: USB Serial support registered for hp4x
[    3.078471] usbserial: USB Serial support registered for suunto
[    3.084429] usbserial: USB Serial support registered for siemens_mpi
[    3.092771] armada38x-rtc f2284000.rtc: registered as rtc0
[    3.098315] armada38x-rtc f2284000.rtc: setting system clock to 2065-01-22T03:47:20 UTC (2999821640)
[    3.108343] i2c /dev entries driver
[    3.113262] at24 1-0056: supply vcc not found, using dummy regulator
[    3.119757] at24 1-0056: GPIO lookup for consumer wp
[    3.119761] at24 1-0056: using device tree for GPIO lookup
[    3.119777] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/cp0/config-space@f2000000/i2c@701000/at24@56[0]'
[    3.119790] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/cp0/config-space@f2000000/i2c@701000/at24@56[0]'
[    3.119796] at24 1-0056: using lookup tables for GPIO lookup
[    3.119800] at24 1-0056: No GPIO consumer wp found
[    3.120390] at24 1-0056: 8192 byte 24c64 EEPROM, writable, 1 bytes/write
[    3.128419] i2c-mux-gpio i2cmux: GPIO lookup for consumer mux
[    3.128425] i2c-mux-gpio i2cmux: using device tree for GPIO lookup
[    3.128442] of_get_named_gpiod_flags: parsed 'mux-gpios' property of node '/i2cmux[0]' - status (0)
[    3.128470] i2c-mux-gpio i2cmux: GPIO lookup for consumer mux
[    3.128474] i2c-mux-gpio i2cmux: using device tree for GPIO lookup
[    3.128487] of_get_named_gpiod_flags: parsed 'mux-gpios' property of node '/i2cmux[1]' - status (0)
[    3.128638] i2c i2c-2: Added multiplexed i2c bus 3
[    3.133608] i2c i2c-2: Added multiplexed i2c bus 4
[    3.138543] i2c i2c-2: Added multiplexed i2c bus 5
[    3.143486] i2c i2c-2: Added multiplexed i2c bus 6
[    3.148312] i2c-mux-gpio i2cmux: 4 port mux on mv64xxx_i2c adapter adapter
[    3.171018] sdhci: Secure Digital Host Controller Interface driver
[    3.177263] sdhci: Copyright(c) Pierre Ossman
[    3.181966] Synopsys Designware Multimedia Card Interface Driver
[    3.188699] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.195418] xenon-sdhci f06e0000.sdhci: GPIO lookup for consumer wp
[    3.195423] xenon-sdhci f06e0000.sdhci: using device tree for GPIO lookup
[    3.195443] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ap806/config-space@f0000000/sdhci@6e0000[0]'
[    3.195461] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ap806/config-space@f0000000/sdhci@6e0000[0]'
[    3.195466] xenon-sdhci f2780000.sdhci: GPIO lookup for consumer wp
[    3.195470] xenon-sdhci f06e0000.sdhci: using lookup tables for GPIO lookup
[    3.195473] xenon-sdhci f2780000.sdhci: using device tree for GPIO lookup
[    3.195475] xenon-sdhci f06e0000.sdhci: No GPIO consumer wp found
[    3.195491] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/cp0/config-space@f2000000/sdhci@780000[0]'
[    3.195504] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/cp0/config-space@f2000000/sdhci@780000[0]'
[    3.195510] xenon-sdhci f2780000.sdhci: using lookup tables for GPIO lookup
[    3.195514] xenon-sdhci f2780000.sdhci: No GPIO consumer wp found
[    3.195784] ledtrig-cpu: registered to indicate activity on CPUs
[    3.203113] usbcore: registered new interface driver usbhid
[    3.208723] usbhid: USB HID core driver
[    3.221047] mmc1: SDHCI controller on f2780000.sdhci [f2780000.sdhci] using ADMA 64-bit
[    3.229146] mmc0: SDHCI controller on f06e0000.sdhci [f06e0000.sdhci] using ADMA 64-bit
[    3.231203] netem: version 1.3
[    3.240535] Initializing XFRM netlink socket
[    3.244931] NET: Registered protocol family 10
[    3.249918] Segment Routing with IPv6
[    3.253652] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.259927] NET: Registered protocol family 17
[    3.264411] NET: Registered protocol family 15
[    3.268910] Bridge firewalling registered
[    3.272969] 8021q: 802.1Q VLAN Support v1.8
[    3.277234] 9pnet: Installing 9P2000 support
[    3.281569] Key type dns_resolver registered
[    3.286106] registered taskstats version 1
[    3.290241] Loading compiled-in X.509 certificates
[    3.298670] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    3.308036] armada8k-pcie f2600000.pcie: host bridge /cp0/pcie@f2600000 ranges:
[    3.315418] armada8k-pcie f2600000.pcie:       IO 0x00fb000000..0x00fb0effff -> 0x00fb000000
[    3.323911] armada8k-pcie f2600000.pcie:      MEM 0x00f6000000..0x00f7ffffff -> 0x00f6000000
[    3.332399] armada8k-pcie f2600000.pcie:      MEM 0x00f9000000..0x00f90fffff -> 0x00f9000000
[    3.340968] armada8k-pcie f2600000.pcie: Link up
[    3.345678] armada8k-pcie f2600000.pcie: PCI host bridge to bus 0000:00
[    3.352329] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.357844] pci_bus 0000:00: root bus resource [io  0x0000-0xeffff] (bus address [0xfb000000-0xfb0effff])
[    3.367458] pci_bus 0000:00: root bus resource [mem 0xf6000000-0xf7ffffff]
[    3.374368] pci_bus 0000:00: root bus resource [mem 0xf9000000-0xf90fffff]
[    3.381305] pci 0000:00:00.0: [11ab:0110] type 01 class 0x060400
[    3.387353] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    3.393718] pci 0000:00:00.0: supports D1 D2
[    3.398013] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    3.404893] pci 0000:01:00.0: [11ab:c80c] type 00 class 0x028000
[    3.411129] pci 0000:01:00.0: reg 0x10: [mem 0xc0000000-0xc00fffff 64bit pref]
[    3.418505] pci 0000:01:00.0: reg 0x18: [mem 0xc0800000-0xc0ffffff 64bit pref]
[    3.425875] pci 0000:01:00.0: reg 0x20: [mem 0xc1000000-0xc13fffff 64bit pref]
[    3.433636] pci 0000:01:00.0: supports D1 D2
[    3.450012] pci 0000:00:00.0: BAR 15: assigned [mem 0xf6000000-0xf6dfffff pref]
[    3.457366] pci 0000:00:00.0: BAR 0: assigned [mem 0xf6e00000-0xf6efffff]
[    3.464194] pci 0000:01:00.0: BAR 2: assigned [mem 0xf6000000-0xf67fffff 64bit pref]
[    3.472049] pci 0000:01:00.0: BAR 4: assigned [mem 0xf6800000-0xf6bfffff 64bit pref]
[    3.479907] pci 0000:01:00.0: BAR 0: assigned [mem 0xf6c00000-0xf6cfffff 64bit pref]
[    3.487761] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    3.493019] pci 0000:00:00.0:   bridge window [mem 0xf6000000-0xf6dfffff pref]
[    3.500485] pcieport 0000:00:00.0: PME: Signaling with IRQ 45
[    3.506417] pcieport 0000:00:00.0: AER: enabled with IRQ 45
[    3.513019] mdio_bus i2c:sfp-49: GPIO lookup for consumer reset
[    3.513026] mdio_bus i2c:sfp-49: using lookup tables for GPIO lookup
[    3.513031] mdio_bus i2c:sfp-49: No GPIO consumer reset found
[    3.513036] libphy: SFP I2C Bus: probed
[    3.516905] sfp sfp-49: GPIO lookup for consumer mod-def0
[    3.516909] sfp sfp-49: using device tree for GPIO lookup
[    3.516923] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-49[0]'
[    3.516936] sfp sfp-49: No GPIO consumer mod-def0 found
[    3.517994] mdio_bus i2c:sfp-50: GPIO lookup for consumer reset
[    3.518000] mdio_bus i2c:sfp-50: using lookup tables for GPIO lookup
[    3.518005] mdio_bus i2c:sfp-50: No GPIO consumer reset found
[    3.518009] libphy: SFP I2C Bus: probed
[    3.521877] sfp sfp-50: GPIO lookup for consumer mod-def0
[    3.521880] sfp sfp-50: using device tree for GPIO lookup
[    3.521894] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-50[0]'
[    3.521905] sfp sfp-50: No GPIO consumer mod-def0 found
[    3.522823] mdio_bus i2c:sfp-51: GPIO lookup for consumer reset
[    3.522828] mdio_bus i2c:sfp-51: using lookup tables for GPIO lookup
[    3.522832] mdio_bus i2c:sfp-51: No GPIO consumer reset found
[    3.522836] libphy: SFP I2C Bus: probed
[    3.526707] sfp sfp-51: GPIO lookup for consumer mod-def0
[    3.526710] sfp sfp-51: using device tree for GPIO lookup
[    3.526725] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-51[0]'
[    3.526736] sfp sfp-51: No GPIO consumer mod-def0 found
[    3.527648] mdio_bus i2c:sfp-52: GPIO lookup for consumer reset
[    3.527654] mdio_bus i2c:sfp-52: using lookup tables for GPIO lookup
[    3.527658] mdio_bus i2c:sfp-52: No GPIO consumer reset found
[    3.527662] libphy: SFP I2C Bus: probed
[    3.531530] sfp sfp-52: GPIO lookup for consumer mod-def0
[    3.531533] sfp sfp-52: using device tree for GPIO lookup
[    3.531547] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-52[0]'
[    3.531558] sfp sfp-52: No GPIO consumer mod-def0 found
[    3.533059] mvpp2 f2000000.ethernet: using 8 per-cpu buffers
[    3.556144] mvpp2 f2000000.ethernet eth0: Using firmware node mac address 18:be:92:13:c0:82
[    3.579593] mdio_bus i2c:sfp-49: GPIO lookup for consumer reset
[    3.579602] mdio_bus i2c:sfp-49: using lookup tables for GPIO lookup
[    3.579606] mdio_bus i2c:sfp-49: No GPIO consumer reset found
[    3.579611] libphy: SFP I2C Bus: probed
[    3.583497] sfp sfp-49: GPIO lookup for consumer mod-def0
[    3.583501] sfp sfp-49: using device tree for GPIO lookup
[    3.583516] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-49[0]'
[    3.583530] sfp sfp-49: No GPIO consumer mod-def0 found
[    3.584505] mdio_bus i2c:sfp-50: GPIO lookup for consumer reset
[    3.584511] mdio_bus i2c:sfp-50: using lookup tables for GPIO lookup
[    3.584515] mdio_bus i2c:sfp-50: No GPIO consumer reset found
[    3.584519] libphy: SFP I2C Bus: probed
[    3.588408] sfp sfp-50: GPIO lookup for consumer mod-def0
[    3.588412] sfp sfp-50: using device tree for GPIO lookup
[    3.588426] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-50[0]'
[    3.588438] sfp sfp-50: No GPIO consumer mod-def0 found
[    3.589395] mdio_bus i2c:sfp-51: GPIO lookup for consumer reset
[    3.589401] mdio_bus i2c:sfp-51: using lookup tables for GPIO lookup
[    3.589405] mdio_bus i2c:sfp-51: No GPIO consumer reset found
[    3.589409] libphy: SFP I2C Bus: probed
[    3.593272] sfp sfp-51: GPIO lookup for consumer mod-def0
[    3.593275] sfp sfp-51: using device tree for GPIO lookup
[    3.593289] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-51[0]'
[    3.593300] sfp sfp-51: No GPIO consumer mod-def0 found
[    3.594203] mdio_bus i2c:sfp-52: GPIO lookup for consumer reset
[    3.594209] mdio_bus i2c:sfp-52: using lookup tables for GPIO lookup
[    3.594213] mdio_bus i2c:sfp-52: No GPIO consumer reset found
[    3.594217] libphy: SFP I2C Bus: probed
[    3.598089] sfp sfp-52: GPIO lookup for consumer mod-def0
[    3.598093] sfp sfp-52: using device tree for GPIO lookup
[    3.598107] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-52[0]'
[    3.598118] sfp sfp-52: No GPIO consumer mod-def0 found
[    3.599044] mdio_bus i2c:sfp-49: GPIO lookup for consumer reset
[    3.599050] mdio_bus i2c:sfp-49: using lookup tables for GPIO lookup
[    3.599054] mdio_bus i2c:sfp-49: No GPIO consumer reset found
[    3.599058] libphy: SFP I2C Bus: probed
[    3.602933] sfp sfp-49: GPIO lookup for consumer mod-def0
[    3.602937] sfp sfp-49: using device tree for GPIO lookup
[    3.602951] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-49[0]'
[    3.602963] sfp sfp-49: No GPIO consumer mod-def0 found
[    3.603866] mdio_bus i2c:sfp-50: GPIO lookup for consumer reset
[    3.603871] mdio_bus i2c:sfp-50: using lookup tables for GPIO lookup
[    3.603875] mdio_bus i2c:sfp-50: No GPIO consumer reset found
[    3.603879] libphy: SFP I2C Bus: probed
[    3.607756] sfp sfp-50: GPIO lookup for consumer mod-def0
[    3.607760] sfp sfp-50: using device tree for GPIO lookup
[    3.607773] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-50[0]'
[    3.607785] sfp sfp-50: No GPIO consumer mod-def0 found
[    3.608684] mdio_bus i2c:sfp-51: GPIO lookup for consumer reset
[    3.608689] mdio_bus i2c:sfp-51: using lookup tables for GPIO lookup
[    3.608694] mdio_bus i2c:sfp-51: No GPIO consumer reset found
[    3.608697] libphy: SFP I2C Bus: probed
[    3.612566] sfp sfp-51: GPIO lookup for consumer mod-def0
[    3.612570] sfp sfp-51: using device tree for GPIO lookup
[    3.612584] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-51[0]'
[    3.612594] sfp sfp-51: No GPIO consumer mod-def0 found
[    3.613516] mdio_bus i2c:sfp-52: GPIO lookup for consumer reset
[    3.613522] mdio_bus i2c:sfp-52: using lookup tables for GPIO lookup
[    3.613526] mdio_bus i2c:sfp-52: No GPIO consumer reset found
[    3.613530] libphy: SFP I2C Bus: probed
[    3.617394] sfp sfp-52: GPIO lookup for consumer mod-def0
[    3.617398] sfp sfp-52: using device tree for GPIO lookup
[    3.617411] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-52[0]'
[    3.617421] sfp sfp-52: No GPIO consumer mod-def0 found
[    3.618405] ALSA device list:
[    3.621418]   No soundcards found.
[    3.633820] Freeing unused kernel memory: 9536K
[    3.641350] Run /init as init process
[    3.645030]   with arguments:
[    3.645033]     /init
[    3.645036]   with environment:
[    3.645039]     HOME=/
[    3.645042]     TERM=linux
[    3.645045]     onl_platform=arm64-delta-tn48m-poe-r0
[    5.963793] mvpp2 f2000000.ethernet ma1: renamed from eth0
[   11.053591] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
[   11.076480] EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
[   11.095922] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null)
[   11.103061] ext4 filesystem being mounted at /mnt/onl/boot supports timestamps until 2038 (0x7fffffff)
[   11.121716] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[   18.032058] mvpp2 f2000000.ethernet ma1: PHY [f212a200.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
[   18.042704] mvpp2 f2000000.ethernet ma1: configuring for phy/sgmii link mode
[   20.238866] EXT4-fs (sda4): re-mounted. Opts: (null)
[   28.209966] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
[   28.260186] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[   28.923537] arm64_delta_tn48m_poe_psu: loading out-of-tree module taints kernel.
[   28.946235] gpiochip_find_base: found new base at 500
[   28.946392] gpio gpiochip3: (0-0041): added GPIO chardev (254:3)
[   28.946432] gpio gpiochip3: registered GPIOs 500 to 511 on 0-0041
[   28.947316] mdio_bus i2c:sfp-49: GPIO lookup for consumer reset
[   28.947322] mdio_bus i2c:sfp-49: using lookup tables for GPIO lookup
[   28.947327] mdio_bus i2c:sfp-49: No GPIO consumer reset found
[   28.947332] libphy: SFP I2C Bus: probed
[   28.951273] sfp sfp-49: GPIO lookup for consumer mod-def0
[   28.951277] sfp sfp-49: using device tree for GPIO lookup
[   28.951311] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-49[0]'
[   28.951336] of_get_named_gpiod_flags: parsed 'mod-def0-gpio' property of node '/sfp-49[0]' - status (0)
[   28.951352] sfp sfp-49: GPIO lookup for consumer los
[   28.951356] sfp sfp-49: using device tree for GPIO lookup
[   28.951364] of_get_named_gpiod_flags: can't parse 'los-gpios' property of node '/sfp-49[0]'
[   28.951376] of_get_named_gpiod_flags: parsed 'los-gpio' property of node '/sfp-49[0]' - status (0)
[   28.951381] sfp sfp-49: GPIO lookup for consumer tx-fault
[   28.951385] sfp sfp-49: using device tree for GPIO lookup
[   28.951393] of_get_named_gpiod_flags: can't parse 'tx-fault-gpios' property of node '/sfp-49[0]'
[   28.951401] of_get_named_gpiod_flags: can't parse 'tx-fault-gpio' property of node '/sfp-49[0]'
[   28.951407] sfp sfp-49: using lookup tables for GPIO lookup
[   28.951411] sfp sfp-49: No GPIO consumer tx-fault found
[   28.951414] sfp sfp-49: GPIO lookup for consumer tx-disable
[   28.951417] sfp sfp-49: using device tree for GPIO lookup
[   28.951426] of_get_named_gpiod_flags: can't parse 'tx-disable-gpios' property of node '/sfp-49[0]'
[   28.951436] of_get_named_gpiod_flags: parsed 'tx-disable-gpio' property of node '/sfp-49[0]' - status (0)
[   28.951441] gpio-502 (tx-disable): no flags found for tx-disable
[   28.951446] sfp sfp-49: GPIO lookup for consumer rate-select0
[   28.951449] sfp sfp-49: using device tree for GPIO lookup
[   28.951457] of_get_named_gpiod_flags: can't parse 'rate-select0-gpios' property of node '/sfp-49[0]'
[   28.951464] of_get_named_gpiod_flags: can't parse 'rate-select0-gpio' property of node '/sfp-49[0]'
[   28.951469] sfp sfp-49: using lookup tables for GPIO lookup
[   28.951473] sfp sfp-49: No GPIO consumer rate-select0 found
[   28.951480] sfp sfp-49: Host maximum power 1.0W
[   28.958156] mdio_bus i2c:sfp-50: GPIO lookup for consumer reset
[   28.958164] mdio_bus i2c:sfp-50: using lookup tables for GPIO lookup
[   28.958168] mdio_bus i2c:sfp-50: No GPIO consumer reset found
[   28.958173] libphy: SFP I2C Bus: probed
[   28.962077] sfp sfp-50: GPIO lookup for consumer mod-def0
[   28.962081] sfp sfp-50: using device tree for GPIO lookup
[   28.962101] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-50[0]'
[   28.962121] of_get_named_gpiod_flags: parsed 'mod-def0-gpio' property of node '/sfp-50[0]' - status (0)
[   28.962133] sfp sfp-50: GPIO lookup for consumer los
[   28.962137] sfp sfp-50: using device tree for GPIO lookup
[   28.962146] of_get_named_gpiod_flags: can't parse 'los-gpios' property of node '/sfp-50[0]'
[   28.962157] of_get_named_gpiod_flags: parsed 'los-gpio' property of node '/sfp-50[0]' - status (0)
[   28.962167] sfp sfp-50: GPIO lookup for consumer tx-fault
[   28.962171] sfp sfp-50: using device tree for GPIO lookup
[   28.962179] of_get_named_gpiod_flags: can't parse 'tx-fault-gpios' property of node '/sfp-50[0]'
[   28.962188] of_get_named_gpiod_flags: can't parse 'tx-fault-gpio' property of node '/sfp-50[0]'
[   28.962194] sfp sfp-50: using lookup tables for GPIO lookup
[   28.962198] sfp sfp-50: No GPIO consumer tx-fault found
[   28.962201] sfp sfp-50: GPIO lookup for consumer tx-disable
[   28.962204] sfp sfp-50: using device tree for GPIO lookup
[   28.962212] of_get_named_gpiod_flags: can't parse 'tx-disable-gpios' property of node '/sfp-50[0]'
[   28.962222] of_get_named_gpiod_flags: parsed 'tx-disable-gpio' property of node '/sfp-50[0]' - status (0)
[   28.962227] gpio-505 (tx-disable): no flags found for tx-disable
[   28.962231] sfp sfp-50: GPIO lookup for consumer rate-select0
[   28.962234] sfp sfp-50: using device tree for GPIO lookup
[   28.962242] of_get_named_gpiod_flags: can't parse 'rate-select0-gpios' property of node '/sfp-50[0]'
[   28.962249] of_get_named_gpiod_flags: can't parse 'rate-select0-gpio' property of node '/sfp-50[0]'
[   28.962254] sfp sfp-50: using lookup tables for GPIO lookup
[   28.962258] sfp sfp-50: No GPIO consumer rate-select0 found
[   28.962264] sfp sfp-50: Host maximum power 1.0W
[   28.964425] dps_920ab 0-0058: new chip found
[   28.971228] i2c i2c-0: new_device: Instantiated device tn48m_poe_psu at 0x58
[   28.978591] dps_920ab 0-0059: new chip found
[   28.979213] mdio_bus i2c:sfp-51: GPIO lookup for consumer reset
[   28.982911] mdio_bus i2c:sfp-51: using lookup tables for GPIO lookup
[   28.982916] mdio_bus i2c:sfp-51: No GPIO consumer reset found
[   28.982920] libphy: SFP I2C Bus: probed
[   28.982969] i2c i2c-0: new_device: Instantiated device tn48m_poe_psu at 0x59
[   28.986779] sfp sfp-51: GPIO lookup for consumer mod-def0
[   28.986782] sfp sfp-51: using device tree for GPIO lookup
[   28.993878] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-51[0]'
[   28.993896] of_get_named_gpiod_flags: parsed 'mod-def0-gpio' property of node '/sfp-51[0]' - status (0)
[   28.993906] sfp sfp-51: GPIO lookup for consumer los
[   28.993909] sfp sfp-51: using device tree for GPIO lookup
[   28.993917] of_get_named_gpiod_flags: can't parse 'los-gpios' property of node '/sfp-51[0]'
[   28.993928] of_get_named_gpiod_flags: parsed 'los-gpio' property of node '/sfp-51[0]' - status (0)
[   28.993933] sfp sfp-51: GPIO lookup for consumer tx-fault
[   28.993936] sfp sfp-51: using device tree for GPIO lookup
[   28.993944] of_get_named_gpiod_flags: can't parse 'tx-fault-gpios' property of node '/sfp-51[0]'
[   28.993951] of_get_named_gpiod_flags: can't parse 'tx-fault-gpio' property of node '/sfp-51[0]'
[   28.993956] sfp sfp-51: using lookup tables for GPIO lookup
[   28.993960] sfp sfp-51: No GPIO consumer tx-fault found
[   28.993964] sfp sfp-51: GPIO lookup for consumer tx-disable
[   28.993967] sfp sfp-51: using device tree for GPIO lookup
[   28.993975] of_get_named_gpiod_flags: can't parse 'tx-disable-gpios' property of node '/sfp-51[0]'
[   28.993985] of_get_named_gpiod_flags: parsed 'tx-disable-gpio' property of node '/sfp-51[0]' - status (0)
[   28.993989] gpio-508 (tx-disable): no flags found for tx-disable
[   28.993993] sfp sfp-51: GPIO lookup for consumer rate-select0
[   28.993996] sfp sfp-51: using device tree for GPIO lookup
[   28.994004] of_get_named_gpiod_flags: can't parse 'rate-select0-gpios' property of node '/sfp-51[0]'
[   28.994012] of_get_named_gpiod_flags: can't parse 'rate-select0-gpio' property of node '/sfp-51[0]'
[   28.994016] sfp sfp-51: using lookup tables for GPIO lookup
[   28.994020] sfp sfp-51: No GPIO consumer rate-select0 found
[   28.994026] sfp sfp-51: Host maximum power 1.0W
[   28.997562] adt7475 1-002e: ADT7473 device, revision 0
[   29.003758] adt7475 1-002e: Optional features: fan4 pwm2
[   29.009894] mdio_bus i2c:sfp-52: GPIO lookup for consumer reset
[   29.009900] mdio_bus i2c:sfp-52: using lookup tables for GPIO lookup
[   29.009904] mdio_bus i2c:sfp-52: No GPIO consumer reset found
[   29.009907] libphy: SFP I2C Bus: probed
[   29.013774] sfp sfp-52: GPIO lookup for consumer mod-def0
[   29.013777] sfp sfp-52: using device tree for GPIO lookup
[   29.013791] of_get_named_gpiod_flags: can't parse 'mod-def0-gpios' property of node '/sfp-52[0]'
[   29.013806] of_get_named_gpiod_flags: parsed 'mod-def0-gpio' property of node '/sfp-52[0]' - status (0)
[   29.013813] sfp sfp-52: GPIO lookup for consumer los
[   29.013817] sfp sfp-52: using device tree for GPIO lookup
[   29.013825] of_get_named_gpiod_flags: can't parse 'los-gpios' property of node '/sfp-52[0]'
[   29.013835] of_get_named_gpiod_flags: parsed 'los-gpio' property of node '/sfp-52[0]' - status (0)
[   29.013840] sfp sfp-52: GPIO lookup for consumer tx-fault
[   29.013843] sfp sfp-52: using device tree for GPIO lookup
[   29.013851] of_get_named_gpiod_flags: can't parse 'tx-fault-gpios' property of node '/sfp-52[0]'
[   29.013858] of_get_named_gpiod_flags: can't parse 'tx-fault-gpio' property of node '/sfp-52[0]'
[   29.013863] sfp sfp-52: using lookup tables for GPIO lookup
[   29.013867] sfp sfp-52: No GPIO consumer tx-fault found
[   29.013871] sfp sfp-52: GPIO lookup for consumer tx-disable
[   29.013874] sfp sfp-52: using device tree for GPIO lookup
[   29.013882] of_get_named_gpiod_flags: can't parse 'tx-disable-gpios' property of node '/sfp-52[0]'
[   29.013892] of_get_named_gpiod_flags: parsed 'tx-disable-gpio' property of node '/sfp-52[0]' - status (0)
[   29.013896] gpio-511 (tx-disable): no flags found for tx-disable
[   29.013900] sfp sfp-52: GPIO lookup for consumer rate-select0
[   29.013903] sfp sfp-52: using device tree for GPIO lookup
[   29.013911] of_get_named_gpiod_flags: can't parse 'rate-select0-gpios' property of node '/sfp-52[0]'
[   29.013918] of_get_named_gpiod_flags: can't parse 'rate-select0-gpio' property of node '/sfp-52[0]'
[   29.013923] sfp sfp-52: using lookup tables for GPIO lookup
[   29.013926] sfp sfp-52: No GPIO consumer rate-select0 found
[   29.013932] sfp sfp-52: Host maximum power 1.0W
[   29.027159] i2c i2c-1: new_device: Instantiated device adt7473 at 0x2e
[   29.034114] lm75 1-004a: supply vs not found, using dummy regulator
[   29.041026] lm75 1-004a: hwmon4: sensor 'tmp1075'
[   29.045796] i2c i2c-1: new_device: Instantiated device tmp1075 at 0x4a
[   29.052579] lm75 1-004b: supply vs not found, using dummy regulator
[   29.059448] lm75 1-004b: hwmon5: sensor 'tmp1075'
[   29.064215] i2c i2c-1: new_device: Instantiated device tmp1075 at 0x4b
[   29.121398] Loading Marvell Prestera Switch Driver
[   29.217486] AC3x B2B 98DX3265 0000:01:00.0: FW version '2.8.0'
[   29.223367] AC3x B2B 98DX3265 0000:01:00.0: Driver version '2.8.0'
[   29.229581] AC3x B2B 98DX3265 0000:01:00.0: Loading prestera FW image ...
[   29.348731] sfp sfp-52: module OEM              SF-SFP+SR-DE     rev B4   sn M4778209         dc 191227
[   32.181682] AC3x B2B 98DX3265 0000:01:00.0: Prestera Switch FW is ready
[   42.557128] AC3x B2B 98DX3265 0000:01:00.0: Initialized Switch device
[   44.395916] AC3x B2B 98DX3265 0000:01:00.0 eth51: switched to inband/10gbase-r link mode
[   44.456546] prestera_pci: Registered Marvell Prestera PCI driver
[   44.652273] dps_920ab 0-005b: new chip found
[   44.656689] i2c i2c-0: new_device: Instantiated device tn48m_poe_psu at 0x5b
[   44.851618] dps_920ab 0-005a: new chip found
[   44.856030] i2c i2c-0: new_device: Instantiated device tn48m_poe_psu at 0x5a
[   58.182510] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[   58.200836] systemd[1]: Detected architecture arm64.
[   58.221528] systemd[1]: Set hostname to <localhost>.
[   58.341911] systemd[1]: Listening on Journal Socket.
[   58.361372] systemd[1]: Listening on Syslog Socket.
[   58.377345] systemd[1]: Listening on RPCbind Server Activation Socket.
[   58.401525] systemd[1]: Listening on Journal Audit Socket.
[   58.421362] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[   58.445289] systemd[1]: Reached target Swap.
[   58.461431] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[   58.729111] u32 classifier
[   58.731906]     Performance counters on
[   58.735817]     input device check on
[   58.739499]     Actions configured
[   58.752614] GACT probability on
[   59.216067] systemd-journald[477]: Received request to flush runtime journal from PID 1
[   59.508207] AC3x B2B 98DX3265 0000:01:00.0 swp1: renamed from eth0
[   59.538693] AC3x B2B 98DX3265 0000:01:00.0 swp21: renamed from eth20
[   59.574870] AC3x B2B 98DX3265 0000:01:00.0 swp16: renamed from eth15
[   59.607774] AC3x B2B 98DX3265 0000:01:00.0 swp11: renamed from eth10
[   59.635500] AC3x B2B 98DX3265 0000:01:00.0 swp19: renamed from eth18
[   59.667062] AC3x B2B 98DX3265 0000:01:00.0 swp3: renamed from eth2
[   59.707447] AC3x B2B 98DX3265 0000:01:00.0 swp22: renamed from eth21
[   59.747178] AC3x B2B 98DX3265 0000:01:00.0 swp12: renamed from eth11
[   59.778345] AC3x B2B 98DX3265 0000:01:00.0 swp13: renamed from eth12
[   59.815186] AC3x B2B 98DX3265 0000:01:00.0 swp15: renamed from eth14
[   59.862786] AC3x B2B 98DX3265 0000:01:00.0 swp17: renamed from eth16
[   59.901649] AC3x B2B 98DX3265 0000:01:00.0 swp2: renamed from eth1
[   59.946220] AC3x B2B 98DX3265 0000:01:00.0 swp24: renamed from eth23
[   59.970520] AC3x B2B 98DX3265 0000:01:00.0 swp20: renamed from eth19
[   60.006777] AC3x B2B 98DX3265 0000:01:00.0 swp14: renamed from eth13
[   60.045995] AC3x B2B 98DX3265 0000:01:00.0 swp26: renamed from eth25
[   60.074413] AC3x B2B 98DX3265 0000:01:00.0 swp18: renamed from eth17
[   60.102188] AC3x B2B 98DX3265 0000:01:00.0 swp28: renamed from eth27
[   60.125994] AC3x B2B 98DX3265 0000:01:00.0 swp23: renamed from eth22
[   60.150833] AC3x B2B 98DX3265 0000:01:00.0 swp31: renamed from eth30
[   60.185603] AC3x B2B 98DX3265 0000:01:00.0 swp25: renamed from eth24
[   60.210065] AC3x B2B 98DX3265 0000:01:00.0 swp27: renamed from eth26
[   60.242679] AC3x B2B 98DX3265 0000:01:00.0 swp36: renamed from eth35
[   60.281734] AC3x B2B 98DX3265 0000:01:00.0 swp4: renamed from eth3
[   60.321750] AC3x B2B 98DX3265 0000:01:00.0 swp34: renamed from eth33
[   60.349582] AC3x B2B 98DX3265 0000:01:00.0 swp33: renamed from eth32
[   60.385965] AC3x B2B 98DX3265 0000:01:00.0 swp39: renamed from eth38
[   60.422004] AC3x B2B 98DX3265 0000:01:00.0 swp35: renamed from eth34
[   60.457905] AC3x B2B 98DX3265 0000:01:00.0 swp32: renamed from eth31
[   60.498445] AC3x B2B 98DX3265 0000:01:00.0 swp30: renamed from eth29
[   60.529584] AC3x B2B 98DX3265 0000:01:00.0 swp29: renamed from eth28
[   60.569976] AC3x B2B 98DX3265 0000:01:00.0 swp45: renamed from eth44
[   60.601562] AC3x B2B 98DX3265 0000:01:00.0 swp37: renamed from eth36
[   60.642036] AC3x B2B 98DX3265 0000:01:00.0 swp48: renamed from eth47
[   60.682334] AC3x B2B 98DX3265 0000:01:00.0 swp42: renamed from eth41
[   60.713595] AC3x B2B 98DX3265 0000:01:00.0 swp5: renamed from eth4
[   60.742088] AC3x B2B 98DX3265 0000:01:00.0 swp38: renamed from eth37
[   60.785600] AC3x B2B 98DX3265 0000:01:00.0 swp44: renamed from eth43
[   60.817541] AC3x B2B 98DX3265 0000:01:00.0 swp40: renamed from eth39
[   60.849613] AC3x B2B 98DX3265 0000:01:00.0 swp46: renamed from eth45
[   60.878050] AC3x B2B 98DX3265 0000:01:00.0 swp52: renamed from eth51
[   60.907382] AC3x B2B 98DX3265 0000:01:00.0 swp41: renamed from eth40
[   60.943645] AC3x B2B 98DX3265 0000:01:00.0 swp43: renamed from eth42
[   60.973972] AC3x B2B 98DX3265 0000:01:00.0 swp47: renamed from eth46
[   61.018810] AC3x B2B 98DX3265 0000:01:00.0 swp7: renamed from eth6
[   61.061889] AC3x B2B 98DX3265 0000:01:00.0 swp9: renamed from eth8
[   61.102357] AC3x B2B 98DX3265 0000:01:00.0 swp8: renamed from eth7
[   61.119937] AC3x B2B 98DX3265 0000:01:00.0 swp51: renamed from eth50
[   61.160493] AC3x B2B 98DX3265 0000:01:00.0 swp50: renamed from eth49
[   61.198803] AC3x B2B 98DX3265 0000:01:00.0 swp49: renamed from eth48
[   61.235403] AC3x B2B 98DX3265 0000:01:00.0 swp6: renamed from eth5
[   61.279053] AC3x B2B 98DX3265 0000:01:00.0 swp10: renamed from eth9
[   62.653140] process '/sbin/netplugd' started with executable stack
[  492.153666] mvpp2 f2000000.ethernet ma1: Link is Up - 1Gbps/Full - flow control off
[  492.161409] IPv6: ADDRCONF(NETDEV_CHANGE): ma1: link becomes ready

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: Marvell: hw perfevents: unable to count PMU IRQs
  2021-03-25 21:39 ` Paul Menzel
@ 2021-03-26 12:29   ` Robin Murphy
  -1 siblings, 0 replies; 6+ messages in thread
From: Robin Murphy @ 2021-03-26 12:29 UTC (permalink / raw)
  To: Paul Menzel, Will Deacon, Mark Rutland
  Cc: linux-arm-kernel, LKML, Vadym Kochan, Oleksandr Mazur, Robert Marko

On 2021-03-25 21:39, Paul Menzel wrote:
> Dear Linux folks,
> 
> 
> On the Marvell Prestera switch, Linux 5.10.4 prints the error (with an 
> additional info level message) below.
> 
>      [    0.000000] Linux version 5.10.4 (robimarko@onlbuilder9) 
> (aarch64-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516, GNU ld (GNU 
> Binutils for Debian) 2.28) #1 SMP PREEMPT Thu Mar 11 10:22:09 UTC 2021
>      […]
>      [    1.996658] hw perfevents: unable to count PMU IRQs
>      [    2.001825] hw perfevents: /ap806/config-space@f0000000/pmu: 
> failed to register PMU devices!
> 
> ```
> # lscpu
> Architecture:          aarch64
> Byte Order:            Little Endian
> CPU(s):                4
> On-line CPU(s) list:   0-3
> Thread(s) per core:    1
> Core(s) per socket:    4
> Socket(s):             1
> NUMA node(s):          1
> Model:                 1
> BogoMIPS:              50.00
> L1d cache:             32K
> L1i cache:             48K
> L2 cache:              512K
> NUMA node0 CPU(s):     0-3
> Flags:                 fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
> # cat /proc/cpuinfo
> processor       : 0
> BogoMIPS        : 50.00
> Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
> CPU implementer : 0x41
> CPU architecture: 8
> CPU variant     : 0x0
> CPU part        : 0xd08
> CPU revision    : 1
> […]
> ```
> 
> Please find the output of `dmesg` attached.
> 
> How can the IRQs be counted?

Well, that message simply means we got an error back from 
platform_irq_count(), which in turn implies that 
platform_get_irq_optional() failed. Most likely we got -EPROBE_DEFER 
back from of_irq_get() because the relevant interrupt controller wasn't 
ready by that point - especially since that's the o9nly error code that 
platform_irq_cont() will actually pass. It looks like that should end up 
getting propagated all the way out appropriately, so the PMU driver 
should defer and be able to probe OK once the mvebu-pic driver has 
turned up to provide its IRQ. We could of course do a better job of not 
shouting error messages for a non-fatal condition....

As for why the PMU doesn't eventually show up, my best guess would be 
either an issue with the mvebu-pic driver itself probing, and/or perhaps 
something in fw_devlink going awry - inspecting sysfs should shed a bit 
more light on those.

Robin.

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

* Re: Marvell: hw perfevents: unable to count PMU IRQs
@ 2021-03-26 12:29   ` Robin Murphy
  0 siblings, 0 replies; 6+ messages in thread
From: Robin Murphy @ 2021-03-26 12:29 UTC (permalink / raw)
  To: Paul Menzel, Will Deacon, Mark Rutland
  Cc: linux-arm-kernel, LKML, Vadym Kochan, Oleksandr Mazur, Robert Marko

On 2021-03-25 21:39, Paul Menzel wrote:
> Dear Linux folks,
> 
> 
> On the Marvell Prestera switch, Linux 5.10.4 prints the error (with an 
> additional info level message) below.
> 
>      [    0.000000] Linux version 5.10.4 (robimarko@onlbuilder9) 
> (aarch64-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516, GNU ld (GNU 
> Binutils for Debian) 2.28) #1 SMP PREEMPT Thu Mar 11 10:22:09 UTC 2021
>      […]
>      [    1.996658] hw perfevents: unable to count PMU IRQs
>      [    2.001825] hw perfevents: /ap806/config-space@f0000000/pmu: 
> failed to register PMU devices!
> 
> ```
> # lscpu
> Architecture:          aarch64
> Byte Order:            Little Endian
> CPU(s):                4
> On-line CPU(s) list:   0-3
> Thread(s) per core:    1
> Core(s) per socket:    4
> Socket(s):             1
> NUMA node(s):          1
> Model:                 1
> BogoMIPS:              50.00
> L1d cache:             32K
> L1i cache:             48K
> L2 cache:              512K
> NUMA node0 CPU(s):     0-3
> Flags:                 fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
> # cat /proc/cpuinfo
> processor       : 0
> BogoMIPS        : 50.00
> Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
> CPU implementer : 0x41
> CPU architecture: 8
> CPU variant     : 0x0
> CPU part        : 0xd08
> CPU revision    : 1
> […]
> ```
> 
> Please find the output of `dmesg` attached.
> 
> How can the IRQs be counted?

Well, that message simply means we got an error back from 
platform_irq_count(), which in turn implies that 
platform_get_irq_optional() failed. Most likely we got -EPROBE_DEFER 
back from of_irq_get() because the relevant interrupt controller wasn't 
ready by that point - especially since that's the o9nly error code that 
platform_irq_cont() will actually pass. It looks like that should end up 
getting propagated all the way out appropriately, so the PMU driver 
should defer and be able to probe OK once the mvebu-pic driver has 
turned up to provide its IRQ. We could of course do a better job of not 
shouting error messages for a non-fatal condition....

As for why the PMU doesn't eventually show up, my best guess would be 
either an issue with the mvebu-pic driver itself probing, and/or perhaps 
something in fw_devlink going awry - inspecting sysfs should shed a bit 
more light on those.

Robin.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: Marvell: hw perfevents: unable to count PMU IRQs
  2021-03-26 12:29   ` Robin Murphy
@ 2021-03-26 14:34     ` Paul Menzel
  -1 siblings, 0 replies; 6+ messages in thread
From: Paul Menzel @ 2021-03-26 14:34 UTC (permalink / raw)
  To: Robin Murphy, Will Deacon, Mark Rutland
  Cc: linux-arm-kernel, LKML, Vadym Kochan, Oleksandr Mazur, Robert Marko

Dear Robin,


Thank you for the quick reply.

Am 26.03.21 um 13:29 schrieb Robin Murphy:
> On 2021-03-25 21:39, Paul Menzel wrote:

>> On the Marvell Prestera switch, Linux 5.10.4 prints the error (with an 
>> additional info level message) below.
>>
>>      [    0.000000] Linux version 5.10.4 (robimarko@onlbuilder9) (aarch64-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516, GNU ld (GNU Binutils for Debian) 2.28) #1 SMP PREEMPT Thu Mar 11 10:22:09 UTC 2021
>>      […]
>>      [    1.996658] hw perfevents: unable to count PMU IRQs
>>      [    2.001825] hw perfevents: /ap806/config-space@f0000000/pmu: failed to register PMU devices!

[…]

>> Please find the output of `dmesg` attached.
>>
>> How can the IRQs be counted?
> 
> Well, that message simply means we got an error back from 
> platform_irq_count(), which in turn implies that 
> platform_get_irq_optional() failed. Most likely we got -EPROBE_DEFER 
> back from of_irq_get() because the relevant interrupt controller wasn't 
> ready by that point - especially since that's the o9nly error code that 
> platform_irq_cont() will actually pass. It looks like that should end up 
> getting propagated all the way out appropriately, so the PMU driver 
> should defer and be able to probe OK once the mvebu-pic driver has 
> turned up to provide its IRQ. We could of course do a better job of not 
> shouting error messages for a non-fatal condition....

Yes, that would be great.

> As for why the PMU doesn't eventually show up, my best guess would be 
> either an issue with the mvebu-pic driver itself probing, and/or perhaps 
> something in fw_devlink going awry - inspecting sysfs should shed a bit 
> more light on those.

I just noticed, I missed

     [    3.298670] hw perfevents: enabled with armv8_cortex_a72 PMU 
driver, 7 counters available

a good second. So the interrupt controller indeed seems to take longer 
to be ready.

I guess, I’d need to boot with `initcall_debug` to find out the callers 
of the PMU functions.


Kind regards,

Paul

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

* Re: Marvell: hw perfevents: unable to count PMU IRQs
@ 2021-03-26 14:34     ` Paul Menzel
  0 siblings, 0 replies; 6+ messages in thread
From: Paul Menzel @ 2021-03-26 14:34 UTC (permalink / raw)
  To: Robin Murphy, Will Deacon, Mark Rutland
  Cc: linux-arm-kernel, LKML, Vadym Kochan, Oleksandr Mazur, Robert Marko

Dear Robin,


Thank you for the quick reply.

Am 26.03.21 um 13:29 schrieb Robin Murphy:
> On 2021-03-25 21:39, Paul Menzel wrote:

>> On the Marvell Prestera switch, Linux 5.10.4 prints the error (with an 
>> additional info level message) below.
>>
>>      [    0.000000] Linux version 5.10.4 (robimarko@onlbuilder9) (aarch64-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516, GNU ld (GNU Binutils for Debian) 2.28) #1 SMP PREEMPT Thu Mar 11 10:22:09 UTC 2021
>>      […]
>>      [    1.996658] hw perfevents: unable to count PMU IRQs
>>      [    2.001825] hw perfevents: /ap806/config-space@f0000000/pmu: failed to register PMU devices!

[…]

>> Please find the output of `dmesg` attached.
>>
>> How can the IRQs be counted?
> 
> Well, that message simply means we got an error back from 
> platform_irq_count(), which in turn implies that 
> platform_get_irq_optional() failed. Most likely we got -EPROBE_DEFER 
> back from of_irq_get() because the relevant interrupt controller wasn't 
> ready by that point - especially since that's the o9nly error code that 
> platform_irq_cont() will actually pass. It looks like that should end up 
> getting propagated all the way out appropriately, so the PMU driver 
> should defer and be able to probe OK once the mvebu-pic driver has 
> turned up to provide its IRQ. We could of course do a better job of not 
> shouting error messages for a non-fatal condition....

Yes, that would be great.

> As for why the PMU doesn't eventually show up, my best guess would be 
> either an issue with the mvebu-pic driver itself probing, and/or perhaps 
> something in fw_devlink going awry - inspecting sysfs should shed a bit 
> more light on those.

I just noticed, I missed

     [    3.298670] hw perfevents: enabled with armv8_cortex_a72 PMU 
driver, 7 counters available

a good second. So the interrupt controller indeed seems to take longer 
to be ready.

I guess, I’d need to boot with `initcall_debug` to find out the callers 
of the PMU functions.


Kind regards,

Paul

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2021-03-26 14:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-25 21:39 Marvell: hw perfevents: unable to count PMU IRQs Paul Menzel
2021-03-25 21:39 ` Paul Menzel
2021-03-26 12:29 ` Robin Murphy
2021-03-26 12:29   ` Robin Murphy
2021-03-26 14:34   ` Paul Menzel
2021-03-26 14:34     ` Paul Menzel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.