linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* cma can't activate area on arm64
@ 2020-02-21 23:42 Jonathan Richardson
  2020-02-27  9:56 ` Vlastimil Babka
  0 siblings, 1 reply; 8+ messages in thread
From: Jonathan Richardson @ 2020-02-21 23:42 UTC (permalink / raw)
  To: linux-mm, akpm

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

Hi,
As of the 5.5 kernel I see boot errors in cma. It reserves 1G and then can't
activate an area. I added some prints. It's trying to activate the DMA
zone. This causes a driver to fail allocating a dma pool later on. The
coherent pool is the default 256MB. If I reduce cma from 1G to 512M
then it only tries activates DMA32 zone. I assume there was not enough cma
memory for DMA zone? Are there any configuration changes required due
to the DMA_ZONE and DMA_ZONE32 changes? I've attached my boot log.

[    0.000000] cma: Reserved 1024 MiB at 0x00000000a0000000
...
[    0.390448] Activating cma name: reserved, zone name: DMA
[    0.396564] pfn = 0xa0000
[    0.399522] cma->count = 262144
[    0.406244] pfn failed on = c0000
[    0.410002] cma: CMA area reserved could not be activated

static int __init cma_activate_area(struct cma *cma)
{
   ...
    printk("Activating cma name: %s, zone name: %s\n", cma->name, zone->name);
    printk("pfn = 0x%lx\n", pfn);
    printk("cma->count = %lu\n", cma->count);

    do {
        unsigned j;

        base_pfn = pfn;
        for (j = pageblock_nr_pages; j; --j, pfn++) {
            WARN_ON_ONCE(!pfn_valid(pfn));
            /*
             * alloc_contig_range requires the pfn range
             * specified to be in the same zone. Make this
             * simple by forcing the entire CMA resv range
             * to be in the same zone.
             */
            if (page_zone(pfn_to_page(pfn)) != zone) {
                printk("pfn failed on = 0x%lx\n", pfn);
                goto not_in_zone;
            }
        }
        init_cma_reserved_pageblock(pfn_to_page(base_pfn));
    } while (--i);

Thanks.

[-- Attachment #2: cma-fail.log --]
[-- Type: application/octet-stream, Size: 61913 bytes --]

 --- STARTING KERNEL
bootcmd=FS2:\Image.1  root=/dev/mmcblk0p4 rw rootwait  earlycon=uart8250,mmio32,0x68A10000 earlyelog
=0x8f110000,0x10000 console=ttyS0,115200n8 hugepages=0 cma=1G crashkernel=512M pci=pcie_bus_safe pci
ehp.pciehp_poll_mode=1 pciehp.pciehp_poll_time=5 vfio_pci.disable_idle_d3=1 pcie_ports=native maxcpu
s=8  bgmac_platform.ethaddr=00:10:18:9B:05:D3 ip=10.136.13.29:10.136.4.151:10.136.13.1:255.255.255.0
:::off  
EFI stub: Booting Linux Kernel...
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services and installing virtual address map...
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 5.5.0 (oe-user@oe-host) (gcc version 8.3.0 (GCC)) #1 SMP Fri Feb 21 17:24:43 UTC 2020
[    0.000000] Machine model: Stingray Combo SVK w/PCIe IOMMU (BCM958742K)
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000068a10000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] printk: bootconsole [earlycon_elog0] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: EFI v2.70 by EDK II
[    0.000000] efi:  SMBIOS=0x85c90000  SMBIOS 3.0=0x85a20000  ACPI 2.0=0x85d50000  MEMATTR=0x89338018  MEMRESERVE=0x85f83018 
[    0.000000] crashkernel reserved: 0x00000000e0000000 - 0x0000000100000000 (512 MB)
[    0.000000] cma: Reserved 1024 MiB at 0x00000000a0000000
[    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: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 22 pages/cpu s50008 r8192 d31912 u90112
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: EL2 vector hardening
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] CPU features: detected: ARM erratum 1319367
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8248296
[    0.000000] Kernel command line: FS2:\Image.1  root=/dev/mmcblk0p4 rw rootwait  earlycon=uart8250,mmio32,0x68A10000 earlyelog=0x8f110000,0x10000 console=ttyS0,115200n8 hugepages=0 cma=1G crashkernel=512M pci=pcie_bus_safe pciehp.pciehp_poll_mode=1 pciehp.pciehp_poll_time=5 vfio_pci.disable_idle_d3=1 pcie_ports=native maxcpus=8  bgmac_platform.ethaddr=00:10:18:9B:05:D3 ip=10.136.13.29:10.136.4.151:10.136.13.1:255.255.255.0:::off
[    0.000000] Dentry cache hash table entries: 4194304 (order: 13, 33554432 bytes, linear)
[    0.000000] Inode-cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x9c000000-0xa0000000] (64MB)
[    0.000000] Memory: 31213632K/33517440K available (10300K kernel code, 724K rwdata, 4308K rodata, 704K init, 360K bss, 1255232K reserved, 1048576K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 960 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000063e00000
[    0.000000] ITS [mem 0x63c20000-0x63c2ffff]
[    0.000000] ITS@0x0000000063c20000: allocated 32768 Devices @93fb880000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000093fb850000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000093fb860000
[    0.000000] random: get_random_bytes called from start_kernel+0x2a8/0x42c with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 125.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x39a85c4118, max_idle_ns: 881590405314 ns
[    0.000001] sched_clock: 56 bits at 125MHz, resolution 8ns, wraps every 4398046511100ns
[    0.009161] Console: colour dummy device 80x25
[    0.014197] printk: bootconsole [earlycon_elog0] disabled
[    0.020321] printk: console [console_elog0] enabled
[    0.025857] Calibrating delay loop (skipped), value calculated using timer frequency.. 250.00 BogoMIPS (lpj=500000)
[    0.037691] pid_max: default: 32768 minimum: 301
[    0.042941] LSM: Security Framework initializing
[    0.048269] Mount-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.056941] Mountpoint-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.066457] ASID allocator initialised with 32768 entries
[    0.072603] rcu: Hierarchical SRCU implementation.
[    0.078461] Platform MSI: gic-its@63c20000 domain created
[    0.084619] PCI/MSI: /scr/interrupt-controller@2c00000/gic-its@63c20000 domain created
[    0.093617] Remapping and enabling EFI services.
[    0.099276] smp: Bringing up secondary CPUs ...
I: Cluster #1 entering to snoop/dvm domain
I: Cluster #2 entering to snoop/dvm domain
I: Cluster #3 entering to snoop/dvm domain
[    0.104583] Detected PIPT I-cache on CPU1
[    0.104596] GICv3: CPU1: found redistributor 1 region 0:0x0000000063e20000
[    0.104608] GICv3: CPU1: using allocated LPI pending table @0x00000093fb870000
[    0.104620] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[    0.105067] Detected PIPT I-cache on CPU2
[    0.105079] GICv3: CPU2: found redistributor 100 region 0:0x0000000063e40000
[    0.105098] GICv3: CPU2: using allocated LPI pending table @0x00000093fb8c0000
[    0.105111] CPU2: Booted secondary processor 0x0000000100 [0x410fd083]
[    0.105314] Detected PIPT I-cache on CPU3
[    0.105320] GICv3: CPU3: found redistributor 101 region 0:0x0000000063e60000
[    0.105330] GICv3: CPU3: using allocated LPI pending table @0x00000093fb8d0000
[    0.105340] CPU3: Booted secondary processor 0x0000000101 [0x410fd083]
[    0.107080] Detected PIPT I-cache on CPU4
[    0.107090] GICv3: CPU4: found redistributor 200 region 0:0x0000000063e80000
[    0.107105] GICv3: CPU4: using allocated LPI pending table @0x00000093fb8e0000
[    0.107117] CPU4: Booted secondary processor 0x0000000200 [0x410fd083]
[    0.107317] Detected PIPT I-cache on CPU5
[    0.107323] GICv3: CPU5: found redistributor 201 region 0:0x0000000063ea0000
[    0.107334] GICv3: CPU5: using allocated LPI pending table @0x00000093fb8f0000
[    0.107343] CPU5: Booted secondary processor 0x0000000201 [0x410fd083]
[    0.111023] Detected PIPT I-cache on CPU6
[    0.111033] GICv3: CPU6: found redistributor 300 region 0:0x0000000063ec0000
[    0.111050] GICv3: CPU6: using allocated LPI pending table @0x00000093fb900000
[    0.111062] CPU6: Booted secondary processor 0x0000000300 [0x410fd083]
[    0.111256] Detected PIPT I-cache on CPU7
[    0.111262] GICv3: CPU7: found redistributor 301 region 0:0x0000000063ee0000
[    0.111272] GICv3: CPU7: using allocated LPI pending table @0x00000093fb910000
[    0.111281] CPU7: Booted secondary processor 0x0000000301 [0x410fd083]
[    0.111311] smp: Brought up 1 node, 8 CPUs
[    0.317976] SMP: Total of 8 processors activated.
[    0.323304] CPU features: detected: 32-bit EL0 Support
[    0.329124] CPU features: detected: CRC32 instructions
[    0.352536] CPU: All CPU(s) started at EL2
[    0.357191] alternatives: patching kernel code
[    0.362635] devtmpfs: initialized
[    0.367994] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.379048] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.386989] cma_area_count = 1
[    0.390448] Activating cma name: reserved, zone name: DMA
[    0.396564] pfn = 0xa0000
[    0.399522] cma->count = 262144
[    0.406244] pfn failed on = c0000
[    0.410002] cma: CMA area reserved could not be activated
[    0.416162] xor: measuring software checksum speed
[    0.461605]    8regs     :  8598.000 MB/sec
[    0.506351]    32regs    :  9560.000 MB/sec
[    0.551098]    arm64_neon:  8676.000 MB/sec
[    0.555832] xor: using function: 32regs (9560.000 MB/sec)
[    0.561950] pinctrl core: initialized pinctrl subsystem
[    0.568021] thermal_sys: Registered thermal governor 'step_wise'
[    0.568232] SMBIOS 3.3.0 present.
[    0.578792] DMI: BRCM BRCM-SR/BRCM-SR, BIOS 0.1 Feb 18 2020
[    0.585215] NET: Registered protocol family 16
[    0.590418] DMA: failed to allocate 256 KiB pool for atomic coherent allocation
[    0.598710] audit: initializing netlink subsys (disabled)
[    0.604887] audit: type=2000 audit(0.408:1): state=initialized audit_enabled=0 res=1
[    0.613673] cpuidle: using governor menu
[    0.618192] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.627411] brcm,iproc-mailbox 66424024.mailbox: Initializing iproc mailbox controller
[    0.639015] OF: translation of DMA address(0) to CPU address failed node(/hsls/gpio@d0000)
[    0.648403] gpiochip_add_data_with_key: GPIOs 355..505 (689d0000.gpio) failed to register, -517
[    0.658267] iproc-gpio 689d0000.gpio: unable to add GPIO chip
[    0.667320] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.674921] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.682516] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.690110] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.700214] cryptd: max_cpu_qlen set to 1000
[    0.781091] raid6: neonx8   gen()  6319 MB/s
[    0.853951] raid6: neonx8   xor()  5890 MB/s
[    0.926817] raid6: neonx4   gen()  4873 MB/s
[    0.999682] raid6: neonx4   xor()  4699 MB/s
[    1.072551] raid6: neonx2   gen()  4491 MB/s
[    1.145417] raid6: neonx2   xor()  5234 MB/s
[    1.218284] raid6: neonx1   gen()  3570 MB/s
[    1.291154] raid6: neonx1   xor()  4123 MB/s
[    1.364021] raid6: int64x8  gen()  3309 MB/s
[    1.436894] raid6: int64x8  xor()  2578 MB/s
[    1.509769] raid6: int64x4  gen()  3032 MB/s
[    1.582631] raid6: int64x4  xor()  2710 MB/s
[    1.655500] raid6: int64x2  gen()  2280 MB/s
[    1.728371] raid6: int64x2  xor()  2469 MB/s
[    1.801235] raid6: int64x1  gen()  1681 MB/s
[    1.874111] raid6: int64x1  xor()  1662 MB/s
[    1.878945] raid6: using algorithm neonx8 gen() 6319 MB/s
[    1.885060] raid6: .... xor() 5890 MB/s, rmw enabled
[    1.890683] raid6: using neon recovery algorithm
[    1.896169] OF: translation of DMA address(0) to CPU address failed node(/sdio0_vddo_ctrl)
[    1.905576] OF: translation of DMA address(0) to CPU address failed node(/sdio1_vddo_ctrl)
[    1.914972] iommu: Default domain type: Translated 
[    1.920539] vgaarb: loaded
[    1.923676] SCSI subsystem initialized
[    1.927985] OF: translation of DMA address(0) to CPU address failed node(/hsls/spi@180000)
[    1.937373] ssp-pl022 68a80000.spi: ARM PL022 driver, device ID: 0x00241022
[    1.945278] OF: translation of DMA address(0) to CPU address failed node(/hsls/spi@190000)
[    1.954657] ssp-pl022 68a90000.spi: ARM PL022 driver, device ID: 0x00241022
[    1.962599] usbcore: registered new interface driver usbfs
[    1.968822] usbcore: registered new interface driver hub
[    1.974862] usbcore: registered new device driver usb
[    1.980598] pps_core: LinuxPPS API ver. 1 registered
[    1.986221] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.996578] PTP clock support registered
[    2.001070] EDAC MC: Ver: 3.0.0
[    2.004693] Registered efivars operations
[    2.009499] clocksource: Switched to clocksource arch_sys_counter
[    2.016458] VFS: Disk quotas dquot_6.6.0
[    2.020918] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.030386] NET: Registered protocol family 2
[    2.035432] tcp_listen_portaddr_hash hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    2.045405] TCP established hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    2.055109] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    2.063770] TCP: Hash tables configured (established 262144 bind 65536)
[    2.071311] UDP hash table entries: 16384 (order: 7, 524288 bytes, linear)
[    2.079305] UDP-Lite hash table entries: 16384 (order: 7, 524288 bytes, linear)
[    2.087826] NET: Registered protocol family 1
[    2.092896] RPC: Registered named UNIX socket transport module.
[    2.099609] RPC: Registered udp transport module.
[    2.104937] RPC: Registered tcp transport module.
[    2.110265] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.117569] PCI: CLS 0 bytes, default 64
[    2.122283] OF: translation of DMA address(0) to CPU address failed node(/pmu)
[    2.130568] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    2.139496] kvm [1]: IPA Size Limit: 44bits
[    2.144434] kvm [1]: GICv3: no GICV resource entry
[    2.149863] kvm [1]: disabling GICv2 emulation
[    2.154907] kvm [1]: GIC system register CPU interface enabled
[    2.161573] kvm [1]: vgic interrupt IRQ1
[    2.166089] kvm [1]: Hyp mode initialized successfully
[    2.182918] workingset: timestamp_bits=46 max_order=23 bucket_order=0
[    2.192050] NFS: Registering the id_resolver key type
[    2.197781] Key type id_resolver registered
[    2.202517] Key type id_legacy registered
[    2.207058] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.214690] 9p: Installing v9fs 9p2000 file system support
[    2.225694] NET: Registered protocol family 38
[    2.230731] async_tx: api initialized (async)
[    2.235672] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    2.244056] io scheduler mq-deadline registered
[    2.249186] io scheduler kyber registered
[    2.253969] OF: translation of DMA address(0) to CPU address failed node(/sata/sata_phy@2100)
[    2.263674] brcm-sata-phy 67d02100.sata_phy: registered 1 port(s)
[    2.270593] OF: translation of DMA address(0) to CPU address failed node(/sata/sata_phy@12100)
[    2.280383] brcm-sata-phy 67d12100.sata_phy: registered 1 port(s)
[    2.287300] OF: translation of DMA address(0) to CPU address failed node(/sata/sata_phy@22100)
[    2.297087] brcm-sata-phy 67d22100.sata_phy: registered 1 port(s)
[    2.304004] OF: translation of DMA address(0) to CPU address failed node(/sata/sata_phy@32100)
[    2.313791] brcm-sata-phy 67d32100.sata_phy: registered 1 port(s)
[    2.320708] OF: translation of DMA address(0) to CPU address failed node(/sata/sata_phy@102100)
[    2.330593] brcm-sata-phy 67e02100.sata_phy: registered 1 port(s)
[    2.337509] OF: translation of DMA address(0) to CPU address failed node(/sata/sata_phy@112100)
[    2.347398] brcm-sata-phy 67e12100.sata_phy: registered 1 port(s)
[    2.354317] OF: translation of DMA address(0) to CPU address failed node(/sata/sata_phy@122100)
[    2.364202] brcm-sata-phy 67e22100.sata_phy: registered 1 port(s)
[    2.371122] OF: translation of DMA address(0) to CPU address failed node(/sata/sata_phy@132100)
[    2.381009] brcm-sata-phy 67e32100.sata_phy: registered 1 port(s)
[    2.388113] sr-pcie-phy 40000000.phy: Stingray PCIe PHY driver initialized
[    2.395986] OF: translation of DMA address(0) to CPU address failed node(/usb/usb-phy@0)
[    2.405205] OF: translation of DMA address(0) to CPU address failed node(/usb/usb-phy@10000)
[    2.414814] OF: translation of DMA address(0) to CPU address failed node(/usb/usb-phy@20000)
[    2.424481] OF: translation of DMA address(0) to CPU address failed node(/hsls/pinconf@140000)
[    2.434253] pinctrl-single 68a40000.pinconf: please update dts to use #pinctrl-cells = <1>
[    2.443694] pinctrl-single 68a40000.pinconf: 148 pins, size 592
[    2.450429] OF: translation of DMA address(0) to CPU address failed node(/hsls/pinmux@14029c)
[    2.460102] pinctrl-single 68a4029c.pinmux: please update dts to use #pinctrl-cells = <1>
[    2.469437] pinctrl-single 68a4029c.pinmux: 155 pins, size 620
[    2.476158] OF: translation of DMA address(0) to CPU address failed node(/hsls/pwm@10000)
[    2.485537] iproc-pcie 48000000.pcie: host bridge /pcie@48000000 ranges:
[    2.493142] iproc-pcie 48000000.pcie:      MEM 0x0400000000..0x046fffffff -> 0x0400000000
[    2.502415] iproc-pcie 48000000.pcie:      MEM 0x0470000000..0x047fffffff -> 0x0040000000
[    2.511691] iproc-pcie 48000000.pcie:   IB MEM 0x0080000000..0x00ffffffff -> 0x0080000000
[    2.520966] iproc-pcie 48000000.pcie:   IB MEM 0x0800000000..0x0fffffffff -> 0x0800000000
[    2.530238] iproc-pcie 48000000.pcie:   IB MEM 0x8000000000..0xffffffffff -> 0x8000000000
[    2.539514] iproc-pcie 48000000.pcie: reads of config registers that contain 0xffff0001 return incorrect data
[    2.657529] iproc-pcie 48000000.pcie: link UP @ Speed Gen-3 and width-x4
[    2.665166] iproc-pcie 48000000.pcie: not using iProc MSI
[    2.671308] iproc-pcie 48000000.pcie: PCI host bridge to bus 0000:00
[    2.678512] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.684729] pci_bus 0000:00: root bus resource [mem 0x400000000-0x46fffffff pref]
[    2.693212] pci_bus 0000:00: root bus resource [mem 0x470000000-0x47fffffff] (bus address [0x40000000-0x4fffffff])
[    2.704961] pci 0000:00:00.0: [14e4:d714] type 01 class 0x060400
[    2.711823] pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
[    2.719363] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.728538] pci 0000:01:00.0: [1c58:0023] type 00 class 0x010802
[    2.735583] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    2.743467] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x0000ffff 64bit]
[    2.751213] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0001ffff pref]
[    2.758835] pci 0000:01:00.0: enabling Extended Tags
[    2.774095] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.781603] pci 0000:00:00.0: BAR 14: assigned [mem 0x470000000-0x4700fffff]
[    2.789594] pci 0000:01:00.0: BAR 6: assigned [mem 0x470000000-0x47001ffff pref]
[    2.797979] pci 0000:01:00.0: BAR 4: assigned [mem 0x470020000-0x47002ffff 64bit]
[    2.806639] pci 0000:01:00.0: BAR 0: assigned [mem 0x470030000-0x470033fff 64bit]
[    2.815242] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.820868] pci 0000:00:00.0:   bridge window [mem 0x470000000-0x4700fffff]
[    2.828765] pci 0000:00:00.0: Max Payload Size set to  256/ 512 (was  128), Max Read Rq  512
[    2.838373] pci 0000:01:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  512
[    2.847984] iproc-pcie 48004000.pcie: host bridge /pcie@48004000 ranges:
[    2.855587] iproc-pcie 48004000.pcie:      MEM 0x0480000000..0x04efffffff -> 0x0480000000
[    2.864860] iproc-pcie 48004000.pcie:      MEM 0x04f0000000..0x04ffffffff -> 0x0040000000
[    2.874135] iproc-pcie 48004000.pcie:   IB MEM 0x0080000000..0x00ffffffff -> 0x0080000000
[    2.883409] iproc-pcie 48004000.pcie:   IB MEM 0x0800000000..0x0fffffffff -> 0x0800000000
[    2.892682] iproc-pcie 48004000.pcie:   IB MEM 0x8000000000..0xffffffffff -> 0x8000000000
[    2.901954] iproc-pcie 48004000.pcie: reads of config registers that contain 0xffff0001 return incorrect data
[    3.017523] iproc-pcie 48004000.pcie: link UP @ Speed Gen-3 and width-x4
[    3.025146] iproc-pcie 48004000.pcie: not using iProc MSI
[    3.031286] iproc-pcie 48004000.pcie: PCI host bridge to bus 0001:00
[    3.038489] pci_bus 0001:00: root bus resource [bus 00-ff]
[    3.044704] pci_bus 0001:00: root bus resource [mem 0x480000000-0x4efffffff pref]
[    3.053195] pci_bus 0001:00: root bus resource [mem 0x4f0000000-0x4ffffffff] (bus address [0x40000000-0x4fffffff])
[    3.064940] pci 0001:00:00.0: [14e4:d714] type 01 class 0x060400
[    3.071795] pci 0001:00:00.0: PME# supported from D0 D3hot D3cold
[    3.079299] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.088471] pci 0001:01:00.0: [1c58:0023] type 00 class 0x010802
[    3.095519] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    3.103402] pci 0001:01:00.0: reg 0x20: [mem 0x4f0020000-0x4f002ffff 64bit]
[    3.111345] pci 0001:01:00.0: reg 0x30: [mem 0x00000000-0x0001ffff pref]
[    3.118966] pci 0001:01:00.0: enabling Extended Tags
[    3.125803] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
[    3.133304] pci 0001:00:00.0: BAR 14: assigned [mem 0x4f0000000-0x4f00fffff]
[    3.141295] pci 0001:01:00.0: BAR 6: assigned [mem 0x4f0000000-0x4f001ffff pref]
[    3.149679] pci 0001:01:00.0: BAR 4: assigned [mem 0x4f0020000-0x4f002ffff 64bit]
[    3.158337] pci 0001:01:00.0: BAR 0: assigned [mem 0x4f0030000-0x4f0033fff 64bit]
[    3.166938] pci 0001:00:00.0: PCI bridge to [bus 01]
[    3.172564] pci 0001:00:00.0:   bridge window [mem 0x4f0000000-0x4f00fffff]
[    3.180461] pci 0001:00:00.0: Max Payload Size set to  256/ 512 (was  128), Max Read Rq  512
[    3.190068] pci 0001:01:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  512
[    3.199673] iproc-pcie 48008000.pcie: host bridge /pcie@48008000 ranges:
[    3.207276] iproc-pcie 48008000.pcie:      MEM 0x0500000000..0x056fffffff -> 0x0500000000
[    3.216549] iproc-pcie 48008000.pcie:      MEM 0x0570000000..0x057fffffff -> 0x0040000000
[    3.225824] iproc-pcie 48008000.pcie:   IB MEM 0x0080000000..0x00ffffffff -> 0x0080000000
[    3.235098] iproc-pcie 48008000.pcie:   IB MEM 0x0800000000..0x0fffffffff -> 0x0800000000
[    3.244372] iproc-pcie 48008000.pcie:   IB MEM 0x8000000000..0xffffffffff -> 0x8000000000
[    3.253646] iproc-pcie 48008000.pcie: reads of config registers that contain 0xffff0001 return incorrect data
[    3.264889] phy phy-40000000.phy.10: phy init failed --> -19
[    3.271301] iproc-pcie 48008000.pcie: unable to initialize PCIe PHY
[    3.278402] iproc-pcie 48008000.pcie: PCIe controller setup failed
[    3.285431] iproc-pcie 4800c000.pcie: host bridge /pcie@4800c000 ranges:
[    3.293033] iproc-pcie 4800c000.pcie:      MEM 0x0580000000..0x05efffffff -> 0x0580000000
[    3.302306] iproc-pcie 4800c000.pcie:      MEM 0x05f0000000..0x05ffffffff -> 0x0040000000
[    3.311583] iproc-pcie 4800c000.pcie:   IB MEM 0x0080000000..0x00ffffffff -> 0x0080000000
[    3.320857] iproc-pcie 4800c000.pcie:   IB MEM 0x0800000000..0x0fffffffff -> 0x0800000000
[    3.330130] iproc-pcie 4800c000.pcie:   IB MEM 0x8000000000..0xffffffffff -> 0x8000000000
[    3.339402] iproc-pcie 4800c000.pcie: reads of config registers that contain 0xffff0001 return incorrect data
[    3.350645] phy phy-40000000.phy.11: phy init failed --> -19
[    3.357056] iproc-pcie 4800c000.pcie: unable to initialize PCIe PHY
[    3.364158] iproc-pcie 4800c000.pcie: PCIe controller setup failed
[    3.371182] iproc-pcie 48010000.pcie: host bridge /pcie@48010000 ranges:
[    3.378785] iproc-pcie 48010000.pcie:      MEM 0x0600000000..0x066fffffff -> 0x0600000000
[    3.388057] iproc-pcie 48010000.pcie:      MEM 0x0670000000..0x067fffffff -> 0x0040000000
[    3.397333] iproc-pcie 48010000.pcie:   IB MEM 0x0080000000..0x00ffffffff -> 0x0080000000
[    3.406606] iproc-pcie 48010000.pcie:   IB MEM 0x0800000000..0x0fffffffff -> 0x0800000000
[    3.415879] iproc-pcie 48010000.pcie:   IB MEM 0x8000000000..0xffffffffff -> 0x8000000000
[    3.425151] iproc-pcie 48010000.pcie: reads of config registers that contain 0xffff0001 return incorrect data
[    3.436394] phy phy-40000000.phy.12: phy init failed --> -19
[    3.442806] iproc-pcie 48010000.pcie: unable to initialize PCIe PHY
[    3.449907] iproc-pcie 48010000.pcie: PCIe controller setup failed
[    3.456931] iproc-pcie 48014000.pcie: host bridge /pcie@48014000 ranges:
[    3.464533] iproc-pcie 48014000.pcie:      MEM 0x0680000000..0x06efffffff -> 0x0680000000
[    3.473806] iproc-pcie 48014000.pcie:      MEM 0x06f0000000..0x06ffffffff -> 0x0040000000
[    3.483081] iproc-pcie 48014000.pcie:   IB MEM 0x0080000000..0x00ffffffff -> 0x0080000000
[    3.492355] iproc-pcie 48014000.pcie:   IB MEM 0x0800000000..0x0fffffffff -> 0x0800000000
[    3.501627] iproc-pcie 48014000.pcie:   IB MEM 0x8000000000..0xffffffffff -> 0x8000000000
[    3.510899] iproc-pcie 48014000.pcie: reads of config registers that contain 0xffff0001 return incorrect data
[    3.522142] phy phy-40000000.phy.13: phy init failed --> -19
[    3.528554] iproc-pcie 48014000.pcie: unable to initialize PCIe PHY
[    3.535657] iproc-pcie 48014000.pcie: PCIe controller setup failed
[    3.542682] iproc-pcie 48018000.pcie: host bridge /pcie@48018000 ranges:
[    3.550285] iproc-pcie 48018000.pcie:      MEM 0x0700000000..0x076fffffff -> 0x0700000000
[    3.559557] iproc-pcie 48018000.pcie:      MEM 0x0770000000..0x077fffffff -> 0x0040000000
[    3.568833] iproc-pcie 48018000.pcie:   IB MEM 0x0080000000..0x00ffffffff -> 0x0080000000
[    3.578106] iproc-pcie 48018000.pcie:   IB MEM 0x0800000000..0x0fffffffff -> 0x0800000000
[    3.587379] iproc-pcie 48018000.pcie:   IB MEM 0x8000000000..0xffffffffff -> 0x8000000000
[    3.596652] iproc-pcie 48018000.pcie: reads of config registers that contain 0xffff0001 return incorrect data
[    3.713523] iproc-pcie 48018000.pcie: link UP @ Speed Gen-3 and width-x4
[    3.721147] iproc-pcie 48018000.pcie: not using iProc MSI
[    3.727285] iproc-pcie 48018000.pcie: PCI host bridge to bus 0006:00
[    3.734488] pci_bus 0006:00: root bus resource [bus 00-ff]
[    3.740704] pci_bus 0006:00: root bus resource [mem 0x700000000-0x76fffffff pref]
[    3.749187] pci_bus 0006:00: root bus resource [mem 0x770000000-0x77fffffff] (bus address [0x40000000-0x4fffffff])
[    3.760931] pci 0006:00:00.0: [14e4:d714] type 01 class 0x060400
[    3.767786] pci 0006:00:00.0: PME# supported from D0 D3hot D3cold
[    3.775296] pci 0006:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.784470] pci 0006:01:00.0: [1c58:0023] type 00 class 0x010802
[    3.791518] pci 0006:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    3.799402] pci 0006:01:00.0: reg 0x20: [mem 0x00000000-0x0000ffff 64bit]
[    3.807148] pci 0006:01:00.0: reg 0x30: [mem 0x00000000-0x0001ffff pref]
[    3.814770] pci 0006:01:00.0: enabling Extended Tags
[    3.821608] pci_bus 0006:01: busn_res: [bus 01-ff] end is updated to 01
[    3.829110] pci 0006:00:00.0: BAR 14: assigned [mem 0x770000000-0x7700fffff]
[    3.837100] pci 0006:01:00.0: BAR 6: assigned [mem 0x770000000-0x77001ffff pref]
[    3.845485] pci 0006:01:00.0: BAR 4: assigned [mem 0x770020000-0x77002ffff 64bit]
[    3.854143] pci 0006:01:00.0: BAR 0: assigned [mem 0x770030000-0x770033fff 64bit]
[    3.862744] pci 0006:00:00.0: PCI bridge to [bus 01]
[    3.868369] pci 0006:00:00.0:   bridge window [mem 0x770000000-0x7700fffff]
[    3.876266] pci 0006:00:00.0: Max Payload Size set to  256/ 512 (was  128), Max Read Rq  512
[    3.885874] pci 0006:01:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  512
[    3.895477] iproc-pcie 4801c000.pcie: host bridge /pcie@4801c000 ranges:
[    3.903079] iproc-pcie 4801c000.pcie:      MEM 0x0780000000..0x07dfffffff -> 0x0780000000
[    3.912352] iproc-pcie 4801c000.pcie:      MEM 0x07e0000000..0x07efffffff -> 0x07d0000000
[    3.921625] iproc-pcie 4801c000.pcie:      MEM 0x07f0000000..0x07ffffffff -> 0x0040000000
[    3.930901] iproc-pcie 4801c000.pcie:   IB MEM 0x0080000000..0x00ffffffff -> 0x0080000000
[    3.940175] iproc-pcie 4801c000.pcie:   IB MEM 0x0800000000..0x0fffffffff -> 0x0800000000
[    3.949447] iproc-pcie 4801c000.pcie:   IB MEM 0x8000000000..0xffffffffff -> 0x8000000000
[    3.958720] iproc-pcie 4801c000.pcie: reads of config registers that contain 0xffff0001 return incorrect data
[    4.077527] iproc-pcie 4801c000.pcie: link UP @ Speed Gen-3 and width-x4
[    4.085149] iproc-pcie 4801c000.pcie: not using iProc MSI
[    4.091291] iproc-pcie 4801c000.pcie: PCI host bridge to bus 0007:00
[    4.098493] pci_bus 0007:00: root bus resource [bus 00-ff]
[    4.104708] pci_bus 0007:00: root bus resource [mem 0x780000000-0x7dfffffff pref]
[    4.113191] pci_bus 0007:00: root bus resource [mem 0x7e0000000-0x7efffffff pref] (bus address [0x7d0000000-0x7dfffffff])
[    4.125617] pci_bus 0007:00: root bus resource [mem 0x7f0000000-0x7ffffffff] (bus address [0x40000000-0x4fffffff])
[    4.137361] pci 0007:00:00.0: [14e4:d714] type 01 class 0x060400
[    4.144216] pci 0007:00:00.0: PME# supported from D0 D3hot D3cold
[    4.151721] pci 0007:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.160896] pci 0007:01:00.0: [1c58:0023] type 00 class 0x010802
[    4.167944] pci 0007:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    4.175826] pci 0007:01:00.0: reg 0x20: [mem 0x00000000-0x0000ffff 64bit]
[    4.183572] pci 0007:01:00.0: reg 0x30: [mem 0x00000000-0x0001ffff pref]
[    4.191194] pci 0007:01:00.0: enabling Extended Tags
[    4.198031] pci_bus 0007:01: busn_res: [bus 01-ff] end is updated to 01
[    4.205533] pci 0007:00:00.0: BAR 14: assigned [mem 0x7f0000000-0x7f00fffff]
[    4.213524] pci 0007:01:00.0: BAR 6: assigned [mem 0x7f0000000-0x7f001ffff pref]
[    4.221908] pci 0007:01:00.0: BAR 4: assigned [mem 0x7f0020000-0x7f002ffff 64bit]
[    4.230568] pci 0007:01:00.0: BAR 0: assigned [mem 0x7f0030000-0x7f0033fff 64bit]
[    4.239169] pci 0007:00:00.0: PCI bridge to [bus 01]
[    4.244794] pci 0007:00:00.0:   bridge window [mem 0x7f0000000-0x7f00fffff]
[    4.252691] pci 0007:00:00.0: Max Payload Size set to  256/ 512 (was  128), Max Read Rq  512
[    4.262299] pci 0007:01:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  512
[    4.271891] OF: translation of DMA address(0) to CPU address failed node(/pcie@60400000)
[    4.281077] iproc-pcie 60400000.pcie: host bridge /pcie@60400000 ranges:
[    4.288676] iproc-pcie 60400000.pcie:      MEM 0x0010000000..0x002fffffff -> 0x0010000000
[    4.297958] iproc-pcie 60400000.pcie: not using iProc MSI
[    4.304097] iproc-pcie 60400000.pcie: PCI host bridge to bus 0008:00
[    4.311300] pci_bus 0008:00: root bus resource [bus 00-01]
[    4.317515] pci_bus 0008:00: root bus resource [mem 0x10000000-0x2fffffff]
[    4.325315] pci 0008:00:00.0: [14e4:d750] type 01 class 0x020000
[    4.332177] pci 0008:00:00.0: PME# supported from D0 D3hot D3cold
[    4.339096] OF: /pcie@60400000: no msi-map translation for rid 0x0 on (null)
[    4.347701] pci 0008:01:00.0: [14e4:16f0] type 00 class 0x020000
[    4.354527] pci 0008:01:00.0: reg 0x10: [mem 0x2ff00000-0x2ff0ffff 64bit]
[    4.362226] pci 0008:01:00.0: reg 0x18: [mem 0x2fd00000-0x2fdfffff 64bit pref]
[    4.370418] pci 0008:01:00.0: reg 0x20: [mem 0x2fe00000-0x2fe00fff 64bit pref]
[    4.378659] pci 0008:01:00.0: PME# supported from D0 D3hot D3cold
[    4.385626] pci 0008:01:00.1: [14e4:16f0] type 00 class 0x020000
[    4.392450] pci 0008:01:00.1: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    4.400150] pci 0008:01:00.1: reg 0x18: [mem 0x00000000-0x000fffff 64bit pref]
[    4.408342] pci 0008:01:00.1: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    4.416582] pci 0008:01:00.1: PME# supported from D0 D3hot D3cold
[    4.424129] pci 0008:00:00.0: BAR 14: assigned [mem 0x10000000-0x100fffff]
[    4.431923] pci 0008:00:00.0: BAR 15: assigned [mem 0x10100000-0x103fffff 64bit pref]
[    4.440802] pci 0008:01:00.0: BAR 2: assigned [mem 0x10100000-0x101fffff 64bit pref]
[    4.449585] pci 0008:01:00.1: BAR 2: assigned [mem 0x10200000-0x102fffff 64bit pref]
[    4.458369] pci 0008:01:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    4.466659] pci 0008:01:00.1: BAR 0: assigned [mem 0x10010000-0x1001ffff 64bit]
[    4.474949] pci 0008:01:00.0: BAR 4: assigned [mem 0x10300000-0x10300fff 64bit pref]
[    4.483732] pci 0008:01:00.1: BAR 4: assigned [mem 0x10301000-0x10301fff 64bit pref]
[    4.492516] pci 0008:00:00.0: PCI bridge to [bus 01]
[    4.498141] pci 0008:00:00.0:   bridge window [mem 0x10000000-0x100fffff]
[    4.505835] pci 0008:00:00.0:   bridge window [mem 0x10100000-0x103fffff 64bit pref]
[    4.514620] pci 0008:00:00.0: Max Payload Size set to  512/ 512 (was  128), Max Read Rq  512
[    4.524190] pci 0008:01:00.0: Max Payload Size set to  512/ 512 (was  128), Max Read Rq  512
[    4.533760] pci 0008:01:00.1: Max Payload Size set to  512/ 512 (was  128), Max Read Rq  512
[    4.543333] OF: translation of DMA address(0) to CPU address failed node(/pcie@60400000)
[    4.552508] OF: /pcie@60400000: no iommu-map translation for rid 0x0 on (null)
[    4.561209] OF: translation of DMA address(0) to CPU address failed node(/hsls/dma@310000)
[    4.571296] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    4.578762] OF: translation of DMA address(0) to CPU address failed node(/hsls/uart@110000)
[    4.588313] printk: console [ttyS0] disabled
[    4.593167] 68a10000.uart: ttyS0 at MMIO 0x68a10000 (irq = 118, base_baud = 1562500) is a 16550A
[    4.603143] printk: console [ttyS0] enabled
[    4.603143] printk: console [ttyS0] enabled
[    4.612193] printk: bootconsole [uart8250] disabled
[    4.612193] printk: bootconsole [uart8250] disabled
[    4.622809] OF: translation of DMA address(0) to CPU address failed node(/hsls/uart@120000)
[    4.631505] 68a20000.uart: ttyS2 at MMIO 0x68a20000 (irq = 119, base_baud = 1562500) is a 16550A
[    4.640625] OF: translation of DMA address(0) to CPU address failed node(/hsls/uart@130000)
[    4.649306] 68a30000.uart: ttyS3 at MMIO 0x68a30000 (irq = 120, base_baud = 1562500) is a 16550A
[    4.658693] OF: translation of DMA address(0) to CPU address failed node(/hsls/hwrng@220000)
[    4.667418] iproc-rng200 68b20000.hwrng: hwrng registered
[    4.673193] arm-smmu 64000000.mmu: probing hardware configuration...
[    4.679752] arm-smmu 64000000.mmu: SMMUv2 with:
[    4.684419] arm-smmu 64000000.mmu: 	stage 1 translation
[    4.689811] arm-smmu 64000000.mmu: 	stage 2 translation
[    4.695203] arm-smmu 64000000.mmu: 	nested translation
[    4.700505] arm-smmu 64000000.mmu: 	stream matching with 63 register groups
[    4.707692] arm-smmu 64000000.mmu: 	63 context banks (0 stage-2 only)
[    4.714341] arm-smmu 64000000.mmu: 	Supported page sizes: 0x61311000
[    4.720897] arm-smmu 64000000.mmu: 	Stage-1: 48-bit VA -> 48-bit IPA
[    4.727454] arm-smmu 64000000.mmu: 	Stage-2: 48-bit IPA -> 48-bit PA
[    4.736662] loop: module loaded
[    4.740047] Loading iSCSI transport class v2.0-870.
[    4.745198] iscsi: registered transport (tcp)
[    4.749700] mpt3sas version 32.100.00.00 loaded
[    4.754629] nvme 0000:01:00.0: Adding to iommu group 0
[    4.760083] nvme nvme0: pci function 0000:01:00.0
[    4.764957] pci 0000:00:00.0: enabling device (0000 -> 0002)
[    4.764982] nvme 0001:01:00.0: Adding to iommu group 1
[    4.776135] nvme 0000:01:00.0: enabling device (0000 -> 0002)
[    4.782209] nvme nvme1: pci function 0001:01:00.0
[    4.788694] nvme 0006:01:00.0: Adding to iommu group 2
[    4.788698] pci 0001:00:00.0: enabling device (0000 -> 0002)
[    4.799883] nvme 0001:01:00.0: enabling device (0000 -> 0002)
[    4.799917] nvme nvme2: pci function 0006:01:00.0
[    4.810761] nvme 0007:01:00.0: Adding to iommu group 3
[    4.810784] pci 0006:00:00.0: enabling device (0000 -> 0002)
[    4.823603] nvme 0006:01:00.0: enabling device (0000 -> 0002)
[    4.823638] nvme nvme3: pci function 0007:01:00.0
[    4.834508] pci 0007:00:00.0: enabling device (0000 -> 0002)
[    4.834542] OF: translation of DMA address(0) to CPU address failed node(/sata/ahci@0)
[    4.850178] nvme 0007:01:00.0: enabling device (0000 -> 0002)
[    4.850183] ahci 67d00000.ahci: 67d00000.ahci supply ahci not found, using dummy regulator
[    4.864680] ahci 67d00000.ahci: 67d00000.ahci supply phy not found, using dummy regulator
[    4.874796] platform 67d00000.ahci:sata-port@0: 67d00000.ahci:sata-port@0 supply target not found, using dummy regulator
[    4.886072] ahci 67d00000.ahci: masking port_map 0x1 -> 0x1
[    4.891830] ahci 67d00000.ahci: SSS flag set, parallel bus scan disabled
[    4.908812] ahci 67d00000.ahci: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    4.917613] ahci 67d00000.ahci: flags: 64bit ncq sntf stag clo pmp fbs slum part 
[    4.925504] scsi host0: ahci
[    4.928551] ata1: SATA max UDMA/133 mmio [mem 0x67d00000-0x67d00fff] port 0x100 irq 101
[    4.936830] OF: translation of DMA address(0) to CPU address failed node(/sata/ahci@10000)
[    4.945372] ahci 67d10000.ahci: 67d10000.ahci supply ahci not found, using dummy regulator
[    4.953913] ahci 67d10000.ahci: 67d10000.ahci supply phy not found, using dummy regulator
[    4.962411] platform 67d10000.ahci:sata-port@0: 67d10000.ahci:sata-port@0 supply target not found, using dummy regulator
[    4.973675] ahci 67d10000.ahci: masking port_map 0x1 -> 0x1
[    4.979433] ahci 67d10000.ahci: SSS flag set, parallel bus scan disabled
[    4.996411] ahci 67d10000.ahci: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    5.005211] ahci 67d10000.ahci: flags: 64bit ncq sntf stag clo pmp fbs slum part 
[    5.013087] scsi host1: ahci
[    5.016105] ata2: SATA max UDMA/133 mmio [mem 0x67d10000-0x67d10fff] port 0x100 irq 102
[    5.024381] OF: translation of DMA address(0) to CPU address failed node(/sata/ahci@20000)
[    5.032923] ahci 67d20000.ahci: 67d20000.ahci supply ahci not found, using dummy regulator
[    5.041464] ahci 67d20000.ahci: 67d20000.ahci supply phy not found, using dummy regulator
[    5.049972] platform 67d20000.ahci:sata-port@0: 67d20000.ahci:sata-port@0 supply target not found, using dummy regulator
[    5.061236] ahci 67d20000.ahci: masking port_map 0x1 -> 0x1
[    5.066993] ahci 67d20000.ahci: SSS flag set, parallel bus scan disabled
[    5.083972] ahci 67d20000.ahci: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    5.092771] ahci 67d20000.ahci: flags: 64bit ncq sntf stag clo pmp fbs slum part 
[    5.100646] scsi host2: ahci
[    5.103664] ata3: SATA max UDMA/133 mmio [mem 0x67d20000-0x67d20fff] port 0x100 irq 103
[    5.111941] OF: translation of DMA address(0) to CPU address failed node(/sata/ahci@30000)
[    5.120481] ahci 67d30000.ahci: 67d30000.ahci supply ahci not found, using dummy regulator
[    5.129023] ahci 67d30000.ahci: 67d30000.ahci supply phy not found, using dummy regulator
[    5.137525] platform 67d30000.ahci:sata-port@0: 67d30000.ahci:sata-port@0 supply target not found, using dummy regulator
[    5.148788] ahci 67d30000.ahci: masking port_map 0x1 -> 0x1
[    5.154547] ahci 67d30000.ahci: SSS flag set, parallel bus scan disabled
[    5.171525] ahci 67d30000.ahci: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    5.180326] ahci 67d30000.ahci: flags: 64bit ncq sntf stag clo pmp fbs slum part 
[    5.188199] scsi host3: ahci
[    5.191224] ata4: SATA max UDMA/133 mmio [mem 0x67d30000-0x67d30fff] port 0x100 irq 104
[    5.199503] OF: translation of DMA address(0) to CPU address failed node(/sata/ahci@100000)
[    5.208132] ahci 67e00000.ahci: 67e00000.ahci supply ahci not found, using dummy regulator
[    5.216680] ahci 67e00000.ahci: 67e00000.ahci supply phy not found, using dummy regulator
[    5.225181] platform 67e00000.ahci:sata-port@0: 67e00000.ahci:sata-port@0 supply target not found, using dummy regulator
[    5.236447] ahci 67e00000.ahci: masking port_map 0x1 -> 0x1
[    5.242204] ahci 67e00000.ahci: SSS flag set, parallel bus scan disabled
[    5.251625] ata1: SATA link down (SStatus 0 SControl 300)
[    5.259182] ahci 67e00000.ahci: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    5.267981] ahci 67e00000.ahci: flags: 64bit ncq sntf stag clo pmp fbs slum part 
[    5.275858] scsi host4: ahci
[    5.278875] ata5: SATA max UDMA/133 mmio [mem 0x67e00000-0x67e00fff] port 0x100 irq 105
[    5.287152] OF: translation of DMA address(0) to CPU address failed node(/sata/ahci@110000)
[    5.295782] ahci 67e10000.ahci: 67e10000.ahci supply ahci not found, using dummy regulator
[    5.304325] ahci 67e10000.ahci: 67e10000.ahci supply phy not found, using dummy regulator
[    5.312827] platform 67e10000.ahci:sata-port@0: 67e10000.ahci:sata-port@0 supply target not found, using dummy regulator
[    5.324091] ahci 67e10000.ahci: masking port_map 0x1 -> 0x1
[    5.329849] ahci 67e10000.ahci: SSS flag set, parallel bus scan disabled
[    5.338065] ata2: SATA link down (SStatus 0 SControl 300)
[    5.346827] ahci 67e10000.ahci: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    5.355628] ahci 67e10000.ahci: flags: 64bit ncq sntf stag clo pmp fbs slum part 
[    5.363499] scsi host5: ahci
[    5.366518] ata6: SATA max UDMA/133 mmio [mem 0x67e10000-0x67e10fff] port 0x100 irq 106
[    5.374797] OF: translation of DMA address(0) to CPU address failed node(/sata/ahci@120000)
[    5.383426] ahci 67e20000.ahci: 67e20000.ahci supply ahci not found, using dummy regulator
[    5.391975] ahci 67e20000.ahci: 67e20000.ahci supply phy not found, using dummy regulator
[    5.400474] platform 67e20000.ahci:sata-port@0: 67e20000.ahci:sata-port@0 supply target not found, using dummy regulator
[    5.411739] ahci 67e20000.ahci: masking port_map 0x1 -> 0x1
[    5.417497] ahci 67e20000.ahci: SSS flag set, parallel bus scan disabled
[    5.427626] ata3: SATA link down (SStatus 0 SControl 300)
[    5.434474] ahci 67e20000.ahci: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    5.443276] ahci 67e20000.ahci: flags: 64bit ncq sntf stag clo pmp fbs slum part 
[    5.451153] scsi host6: ahci
[    5.454172] ata7: SATA max UDMA/133 mmio [mem 0x67e20000-0x67e20fff] port 0x100 irq 107
[    5.462450] OF: translation of DMA address(0) to CPU address failed node(/sata/ahci@130000)
[    5.471081] ahci 67e30000.ahci: 67e30000.ahci supply ahci not found, using dummy regulator
[    5.479623] ahci 67e30000.ahci: 67e30000.ahci supply phy not found, using dummy regulator
[    5.488125] platform 67e30000.ahci:sata-port@0: 67e30000.ahci:sata-port@0 supply target not found, using dummy regulator
[    5.499397] ahci 67e30000.ahci: masking port_map 0x1 -> 0x1
[    5.505154] ahci 67e30000.ahci: SSS flag set, parallel bus scan disabled
[    5.514061] ata4: SATA link down (SStatus 0 SControl 300)
[    5.522133] ahci 67e30000.ahci: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    5.530935] ahci 67e30000.ahci: flags: 64bit ncq sntf stag clo pmp fbs slum part 
[    5.538811] scsi host7: ahci
[    5.541832] ata8: SATA max UDMA/133 mmio [mem 0x67e30000-0x67e30fff] port 0x100 irq 108
[    5.550442] OF: translation of DMA address(0) to CPU address failed node(/hsls/mdio-mux@20000)
[    5.559363] libphy: iProc MDIO mux bus: probed
[    5.563967] libphy: mdio_mux: probed
[    5.567672] libphy: mdio_mux: probed
[    5.575508] mdio-mux-iproc 68920000.mdio-mux: iProc mdiomux registered
[    5.586389] libphy: Fixed MDIO Bus: probed
[    5.590618] tun: Universal TUN/TAP device driver, 1.6
[    5.595918] OF: translation of DMA address(0) to CPU address failed node(/hsls/ethernet@340000)
[    5.599615] ata5: SATA link down (SStatus 0 SControl 300)
[    5.604925] bgmac-enet 68c40000.ethernet: Adding to iommu group 4
[    5.643109] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    5.649131] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    5.655271] usbcore: registered new interface driver r8152
[    5.660941] usbcore: registered new interface driver asix
[    5.666524] usbcore: registered new interface driver ax88179_178a
[    5.672820] usbcore: registered new interface driver cdc_ether
[    5.678847] usbcore: registered new interface driver net1080
[    5.684693] usbcore: registered new interface driver cdc_subset
[    5.686275] ata6: SATA link down (SStatus 0 SControl 300)
[    5.690808] usbcore: registered new interface driver zaurus
[    5.702138] usbcore: registered new interface driver cdc_ncm
[    5.708071] VFIO - User Level meta-driver version: 0.3
[    5.713448] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.720192] ehci-pci: EHCI PCI platform driver
[    5.724787] ehci-platform: EHCI generic platform driver
[    5.730240] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.736620] ohci-pci: OHCI PCI platform driver
[    5.741213] ohci-platform: OHCI generic platform driver
[    5.746748] OF: translation of DMA address(0) to CPU address failed node(/usb/usb@1000)
[    5.755035] xhci-hcd 68501000.usb: Adding to iommu group 5
[    5.782283] ata7: SATA link down (SStatus 0 SControl 300)
[    5.863665] ata8: SATA link down (SStatus 0 SControl 300)
[    5.877503] xhci-hcd 68501000.usb: xHCI Host Controller
[    5.882901] xhci-hcd 68501000.usb: new USB bus registered, assigned bus number 1
[    5.890594] arm-smmu 64000000.mmu: Unhandled context fault: fsr=0x402, iova=0xffffffb000, fsynr=0x360000, cbfrsynra=0x6800, cb=5
[    5.890618] xhci-hcd 68501000.usb: hcc params 0x0250f16d hci version 0x100 quirks 0x0000001000010010
[    5.911964] xhci-hcd 68501000.usb: irq 109, io mem 0x68501000
[    5.918116] hub 1-0:1.0: USB hub found
[    5.921997] hub 1-0:1.0: 2 ports detected
[    5.926222] xhci-hcd 68501000.usb: xHCI Host Controller
[    5.931618] xhci-hcd 68501000.usb: new USB bus registered, assigned bus number 2
[    5.939253] xhci-hcd 68501000.usb: Host supports USB 3.0 SuperSpeed
[    5.961723] xhci-hcd 68501000.usb: Host took too long to start, waited 16000 microseconds.
[    5.970254] xhci-hcd 68501000.usb: startup error -19
[    5.975380] xhci-hcd 68501000.usb: USB bus 2 deregistered
[    5.980952] xhci-hcd 68501000.usb: remove, state 1
[    5.985898] usb usb1: USB disconnect, device number 1
[    5.991316] xhci-hcd 68501000.usb: USB bus 1 deregistered
[    5.996910] OF: translation of DMA address(0) to CPU address failed node(/usb/usb@11000)
[    6.005283] xhci-hcd 68511000.usb: Adding to iommu group 6
[    6.209501] xhci-hcd 68511000.usb: xHCI Host Controller
[    6.214897] xhci-hcd 68511000.usb: new USB bus registered, assigned bus number 1
[    6.222574] arm-smmu 64000000.mmu: Unhandled context fault: fsr=0x402, iova=0xffffffb000, fsynr=0x3d0000, cbfrsynra=0x6801, cb=6
[    6.222593] xhci-hcd 68511000.usb: hcc params 0x0250f16d hci version 0x100 quirks 0x0000001000010010
[    6.243943] xhci-hcd 68511000.usb: irq 111, io mem 0x68511000
[    6.250026] hub 1-0:1.0: USB hub found
[    6.253903] hub 1-0:1.0: 2 ports detected
[    6.258112] xhci-hcd 68511000.usb: xHCI Host Controller
[    6.263507] xhci-hcd 68511000.usb: new USB bus registered, assigned bus number 2
[    6.271142] xhci-hcd 68511000.usb: Host supports USB 3.0 SuperSpeed
[    6.293611] xhci-hcd 68511000.usb: Host took too long to start, waited 16000 microseconds.
[    6.302141] xhci-hcd 68511000.usb: startup error -19
[    6.307266] xhci-hcd 68511000.usb: USB bus 2 deregistered
[    6.312838] xhci-hcd 68511000.usb: remove, state 1
[    6.317784] usb usb1: USB disconnect, device number 1
[    6.323168] xhci-hcd 68511000.usb: USB bus 1 deregistered
[    6.328782] usbcore: registered new interface driver cdc_acm
[    6.334624] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    6.342893] usbcore: registered new interface driver usb-storage
[    6.349107] usbcore: registered new interface driver ftdi_sio
[    6.355043] usbserial: USB Serial support registered for FTDI USB Serial Device
[    6.362598] usbcore: registered new interface driver pl2303
[    6.368355] usbserial: USB Serial support registered for pl2303
[    6.374603] OF: translation of DMA address(0) to CPU address failed node(/usb/usb@2000)
[    6.382873] bdc 68502000.usb: Adding to iommu group 5
[    6.388095] bdc 68502000.usb: Clock not found in Device Tree
[    6.393945] bdc 68502000.usb: Using 2 phy(s)
[    6.517553] ------------[ cut here ]------------
[    6.522320] coherent pool not initialised!
[    6.526561] WARNING: CPU: 2 PID: 1 at kernel/dma/remap.c:190 dma_alloc_from_pool+0xa8/0xb0
[    6.535087] Modules linked in:
[    6.538238] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 5.5.0 #1
[    6.544255] Hardware name: BRCM BRCM-SR/BRCM-SR, BIOS 0.1 Feb 18 2020
[    6.550901] pstate: 60000005 (nZCv daif -PAN -UAO)
[    6.555844] pc : dma_alloc_from_pool+0xa8/0xb0
[    6.560428] lr : dma_alloc_from_pool+0xa8/0xb0
[    6.565011] sp : ffff80001005b950
[    6.568429] x29: ffff80001005b950 x28: 0000000000000000 
[    6.573909] x27: 0000000000000b20 x26: ffff009356c93a98 
[    6.579388] x25: 0000000000000000 x24: 0000000000001000 
[    6.584867] x23: ffff00937b31b410 x22: 0000000000001000 
[    6.590347] x21: ffff800010f88888 x20: ffff800010ddb000 
[    6.595827] x19: 0000000000000000 x18: 0000000000000010 
[    6.601308] x17: 0000000000000001 x16: 0000000000000019 
[    6.606787] x15: ffffffffffffffff x14: ffff800010f88888 
[    6.612266] x13: ffff80009005b6a7 x12: ffff80001005b6af 
[    6.617746] x11: ffff800010fa0000 x10: ffff80001005b630 
[    6.623226] x9 : 00000000ffffffd0 x8 : ffff8000105f9748 
[    6.628707] x7 : 00000000000002d2 x6 : ffff80001103ec35 
[    6.634185] x5 : 000000000000c997 x4 : 0000000000000000 
[    6.639665] x3 : 0000000000000000 x2 : 00000000ffffffff 
[    6.645144] x1 : 2b2acb5d34a30500 x0 : 0000000000000000 
[    6.650624] Call trace:
[    6.653147]  dma_alloc_from_pool+0xa8/0xb0
[    6.657373]  iommu_dma_alloc+0x1b0/0x5d0
[    6.661418]  dma_alloc_attrs+0x88/0xe8
[    6.665286]  dma_pool_alloc+0xfc/0x328
[    6.669154]  bdc_ep_enable+0xc4/0x2d0
[    6.672931]  bdc_udc_init+0xcc/0x1f0
[    6.676619]  bdc_probe+0x780/0x7b0
[    6.680127]  platform_drv_probe+0x50/0xa0
[    6.684263]  really_probe+0xd8/0x428
[    6.687950]  driver_probe_device+0xdc/0x130
[    6.692265]  device_driver_attach+0x6c/0x78
[    6.696579]  __driver_attach+0x9c/0x168
[    6.700535]  bus_for_each_dev+0x70/0xc0
[    6.704491]  driver_attach+0x20/0x28
[    6.708178]  bus_add_driver+0x190/0x220
[    6.712134]  driver_register+0x60/0x110
[    6.716089]  __platform_driver_register+0x44/0x50
[    6.720944]  bdc_driver_init+0x18/0x20
[    6.724811]  do_one_initcall+0x74/0x1a8
[    6.728768]  kernel_init_freeable+0x1c8/0x258
[    6.733264]  kernel_init+0x10/0xfc
[    6.736772]  ret_from_fork+0x10/0x1c
[    6.740459] ---[ end trace ce9e8a3a40a2aa79 ]---
[    6.745227] bdc 68502000.usb: ep bd list allocation failed:-12
[    6.751248] bdc 68502000.usb: fail to enable ep0
[    6.756042] bdc 68502000.usb: BDC Gadget init failure:-12
[    6.761627] bdc: probe of 68502000.usb failed with error -12
[    6.767475] OF: translation of DMA address(0) to CPU address failed node(/usb/usb@21000)
[    6.775846] bdc 68521000.usb: Adding to iommu group 7
[    6.781120] bdc 68521000.usb: Clock not found in Device Tree
[    6.786971] bdc 68521000.usb: Using 1 phy(s)
[    6.869552] ------------[ cut here ]------------
[    6.874318] coherent pool not initialised!
[    6.878550] WARNING: CPU: 2 PID: 1 at kernel/dma/remap.c:190 dma_alloc_from_pool+0xa8/0xb0
[    6.887076] Modules linked in:
[    6.890226] CPU: 2 PID: 1 Comm: swapper/0 Tainted: G        W         5.5.0 #1
[    6.897677] Hardware name: BRCM BRCM-SR/BRCM-SR, BIOS 0.1 Feb 18 2020
[    6.904322] pstate: 60000005 (nZCv daif -PAN -UAO)
[    6.909265] pc : dma_alloc_from_pool+0xa8/0xb0
[    6.913849] lr : dma_alloc_from_pool+0xa8/0xb0
[    6.918432] sp : ffff80001005b950
[    6.921850] x29: ffff80001005b950 x28: 0000000000000000 
[    6.927330] x27: 0000000000000b20 x26: ffff009356c90e18 
[    6.932810] x25: 0000000000000000 x24: 0000000000001000 
[    6.938289] x23: ffff00937b31c410 x22: 0000000000001000 
[    6.943768] x21: ffff800010f88888 x20: ffff800010ddb000 
[    6.949249] x19: 0000000000000000 x18: 0000000000000010 
[    6.954728] x17: 0000000000000001 x16: 0000000000000019 
[    6.960207] x15: ffffffffffffffff x14: ffff800010f88888 
[    6.965686] x13: ffff80009005b6a7 x12: ffff80001005b6af 
[    6.971166] x11: ffff800010fa0000 x10: ffff80001005b630 
[    6.976645] x9 : 00000000ffffffd0 x8 : ffff8000105f9748 
[    6.982125] x7 : 000000000000030b x6 : ffff80001103ec35 
[    6.987605] x5 : 000000000000d57c x4 : 0000000000000000 
[    6.993085] x3 : 0000000000000000 x2 : 00000000ffffffff 
[    6.998564] x1 : 2b2acb5d34a30500 x0 : 0000000000000000 
[    7.004044] Call trace:
[    7.006566]  dma_alloc_from_pool+0xa8/0xb0
[    7.010790]  iommu_dma_alloc+0x1b0/0x5d0
[    7.014835]  dma_alloc_attrs+0x88/0xe8
[    7.018702]  dma_pool_alloc+0xfc/0x328
[    7.022568]  bdc_ep_enable+0xc4/0x2d0
[    7.026345]  bdc_udc_init+0xcc/0x1f0
[    7.030032]  bdc_probe+0x780/0x7b0
[    7.033541]  platform_drv_probe+0x50/0xa0
[    7.037677]  really_probe+0xd8/0x428
[    7.041364]  driver_probe_device+0xdc/0x130
[    7.045679]  device_driver_attach+0x6c/0x78
[    7.049993]  __driver_attach+0x9c/0x168
[    7.053949]  bus_for_each_dev+0x70/0xc0
[    7.057904]  driver_attach+0x20/0x28
[    7.061592]  bus_add_driver+0x190/0x220
[    7.065548]  driver_register+0x60/0x110
[    7.069503]  __platform_driver_register+0x44/0x50
[    7.074356]  bdc_driver_init+0x18/0x20
[    7.078222]  do_one_initcall+0x74/0x1a8
[    7.082178]  kernel_init_freeable+0x1c8/0x258
[    7.086673]  kernel_init+0x10/0xfc
[    7.090181]  ret_from_fork+0x10/0x1c
[    7.093867] ---[ end trace ce9e8a3a40a2aa7a ]---
[    7.098635] bdc 68521000.usb: ep bd list allocation failed:-12
[    7.104656] bdc 68521000.usb: fail to enable ep0
[    7.109471] bdc 68521000.usb: BDC Gadget init failure:-12
[    7.115075] bdc: probe of 68521000.usb failed with error -12
[    7.120976] i2c /dev entries driver
[    7.124683] OF: translation of DMA address(0) to CPU address failed node(/hsls/i2c@b0000)
[    7.133240] bcm-iproc-i2c 689b0000.i2c: bus set to 100000 Hz
[    7.139199] OF: translation of DMA address(0) to CPU address failed node(/hsls/i2c@e0000)
[    7.147756] bcm-iproc-i2c 689e0000.i2c: bus set to 100000 Hz
[    7.153931] pcf857x 1-0027: probed
[    7.157791] OF: translation of DMA address(0) to CPU address failed node(/hsls/watchdog@c0000)
[    7.166747] sp805-wdt 689c0000.watchdog: registration successful
[    7.173066] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com
[    7.181878] sdhci: Secure Digital Host Controller Interface driver
[    7.188258] sdhci: Copyright(c) Pierre Ossman
[    7.192754] sdhci-pltfm: SDHCI platform and OF driver helper
[    7.198662] OF: translation of DMA address(0) to CPU address failed node(/hsls/sdhci@3f1000)
[    7.207403] sdhci-iproc 68cf1000.sdhci: Adding to iommu group 8
[    7.213630] OF: translation of DMA address(0) to CPU address failed node(/hsls/sdhci@3f2000)
[    7.222360] sdhci-iproc 68cf2000.sdhci: Adding to iommu group 9
[    7.228589] EFI Variables Facility v0.08 2004-May-17
[    7.235327] usbcore: registered new interface driver usbhid
[    7.241079] usbhid: USB HID core driver
[    7.245236] arm-ccn 61000000.ccn: No access to interrupts, using timer.
[    7.255747] GACT probability on
[    7.255895] nvme nvme2: 8/0/0 default/read/poll queues
[    7.255922] nvme nvme0: 8/0/0 default/read/poll queues
[    7.258997] Mirror/redirect action on
[    7.273391] Simple TC action Loaded
[    7.277001] u32 classifier
[    7.279795]     Performance counters on
[    7.283751]     input device check on
[    7.287530]     Actions configured
[    7.291086] NET: Registered protocol family 17
[    7.295729] 9pnet: Installing 9P2000 support
[    7.300156] Key type dns_resolver registered
[    7.304636] NET: Registered protocol family 40
[    7.309367] registered taskstats version 1
[    7.314991] OF: translation of DMA address(0) to CPU address failed node(/hsls/gpio@d0000)
[    7.323826] OF: translation of DMA address(0) to CPU address failed node(/sdio0_vddo_ctrl)
[    7.332433] OF: translation of DMA address(0) to CPU address failed node(/sdio1_vddo_ctrl)
[    7.341001] OF: translation of DMA address(0) to CPU address failed node(/hsls/spi@180000)
[    7.349547] ssp-pl022 68a80000.spi: ARM PL022 driver, device ID: 0x00241022
[    7.356750] ssp-pl022 68a80000.spi: mapped registers from 0x0000000068a80000 to (____ptrval____)
[    7.365837] ssp-pl022 68a80000.spi: Failed to work in dma mode, work without dma!
[    7.373742] spi-nor spi0.0: w25q32 (4096 Kbytes)
[    7.378865] OF: translation of DMA address(0) to CPU address failed node(/hsls/spi@190000)
[    7.387404] ssp-pl022 68a90000.spi: ARM PL022 driver, device ID: 0x00241022
[    7.394602] ssp-pl022 68a90000.spi: mapped registers from 0x0000000068a90000 to (____ptrval____)
[    7.403680] ssp-pl022 68a90000.spi: Failed to work in dma mode, work without dma!
[    7.411526] spi-nor spi1.0: w25q32 (4096 Kbytes)
[    7.416648] pcieport 0000:00:00.0: Adding to iommu group 10
[    7.422515] pcieport 0000:00:00.0: PME: Signaling with IRQ 140
[    7.428598] pcieport 0000:00:00.0: AER: enabled with IRQ 140
[    7.434521] pcieport 0001:00:00.0: Adding to iommu group 11
[    7.440368] pcieport 0001:00:00.0: PME: Signaling with IRQ 141
[    7.446446] pcieport 0001:00:00.0: AER: enabled with IRQ 141
[    7.452367] pcieport 0006:00:00.0: Adding to iommu group 12
[    7.458217] pcieport 0006:00:00.0: PME: Signaling with IRQ 143
[    7.464295] pcieport 0006:00:00.0: AER: enabled with IRQ 143
[    7.470216] pcieport 0007:00:00.0: Adding to iommu group 13
[    7.476061] pcieport 0007:00:00.0: PME: Signaling with IRQ 145
[    7.482144] pcieport 0007:00:00.0: AER: enabled with IRQ 145
[    7.488039] OF: translation of DMA address(0) to CPU address failed node(/hsls/dma@310000)
[    7.496590] dma-pl330 68c10000.dma: Adding to iommu group 14
[    7.502913] dma-pl330 68c10000.dma: Loaded driver for PL330 DMAC-241330
[    7.509741] dma-pl330 68c10000.dma: 	DBUFF-1024x8bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[    7.513640] nvme nvme3: 8/0/0 default/read/poll queues
[    7.520224] pca953x 0-0020: 0-0020 supply vcc not found, using dummy regulator
[    7.535774] pca953x 0-0020: interrupt support not compiled in
[    7.541774] OF: translation of DMA address(0) to CPU address failed node(/hsls/sdhci@3f1000)
[    7.550576] OF: translation of DMA address(0) to CPU address failed node(/hsls/sdhci@3f2000)
[    7.559333] OF: translation of DMA address(0) to CPU address failed node(/sdio0_vddo_ctrl)
[    7.568954] OF: translation of DMA address(0) to CPU address failed node(/sdio1_vddo_ctrl)
[    7.578167] OF: translation of DMA address(0) to CPU address failed node(/hsls/sdhci@3f1000)
[    7.617947] mmc0: SDHCI controller on 68cf1000.sdhci [68cf1000.sdhci] using ADMA
[    7.625615] OF: translation of DMA address(0) to CPU address failed node(/hsls/sdhci@3f2000)
[    7.665372] mmc1: SDHCI controller on 68cf2000.sdhci [68cf2000.sdhci] using ADMA
[    7.673113] hctosys: unable to open rtc device (rtc0)
[    7.741890] mmc0: new DDR MMC card at address 0001
[    7.747013] mmcblk0: mmc0:0001 MMC16G 14.6 GiB 
[    7.751784] mmcblk0boot0: mmc0:0001 MMC16G partition 1 4.00 MiB
[    7.757984] mmcblk0boot1: mmc0:0001 MMC16G partition 2 4.00 MiB
[    7.764126] mmcblk0rpmb: mmc0:0001 MMC16G partition 3 128 KiB, chardev (243:0)
[    7.780710]  mmcblk0: p1 p2 p3 p4 p5
[   42.673502] nvme nvme1: Device not ready; aborting reset
[   42.678987] nvme nvme1: Removing after probe failure status: -19
[   42.717511] bgmac-enet 68c40000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   42.737503] IP-Config: Complete:
[   42.740836]      device=eth0, hwaddr=00:10:18:9b:05:d3, ipaddr=10.136.13.29, mask=255.255.255.0, gw=10.136.13.1
[   42.751248]      host=10.136.13.29, domain=, nis-domain=(none)
[   42.757269]      bootserver=10.136.4.151, rootserver=10.136.4.151, rootpath=
[   42.764734] ttyS0 - failed to request DMA
[   42.768904] md: Waiting for all devices to be available before autodetect
[   42.775912] md: If you don't use raid, use raid=noautodetect
[   42.781867] md: Autodetecting RAID arrays.
[   42.786097] md: autorun ...
[   42.788978] md: ... autorun DONE.
[   42.809188] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
[   42.817563] VFS: Mounted root (ext4 filesystem) on device 179:4.
[   42.825319] devtmpfs: mounted
[   42.828528] Freeing unused kernel memory: 704K
[   42.833195] Run /sbin/init as init process
[   42.884233] random: fast init done
[   43.040256] systemd[1]: System time before build time, advancing clock.
[   43.088215] NET: Registered protocol family 10
[   43.093066] Segment Routing with IPv6
[   43.116410] systemd[1]: systemd 244.1+ running in system mode. (-PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
[   43.138840] systemd[1]: Detected architecture arm64.


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

* Re: cma can't activate area on arm64
  2020-02-21 23:42 cma can't activate area on arm64 Jonathan Richardson
@ 2020-02-27  9:56 ` Vlastimil Babka
  2020-02-27 17:48   ` Catalin Marinas
  0 siblings, 1 reply; 8+ messages in thread
From: Vlastimil Babka @ 2020-02-27  9:56 UTC (permalink / raw)
  To: Jonathan Richardson, linux-mm, akpm, linux-arm-kernel,
	Nicolas Saenz Julienne

On 2/22/20 12:42 AM, Jonathan Richardson wrote:
> Hi,
> As of the 5.5 kernel I see boot errors in cma. It reserves 1G and then can't
> activate an area. I added some prints. It's trying to activate the DMA
> zone. This causes a driver to fail allocating a dma pool later on. The
> coherent pool is the default 256MB. If I reduce cma from 1G to 512M
> then it only tries activates DMA32 zone. I assume there was not enough cma
> memory for DMA zone? Are there any configuration changes required due
> to the DMA_ZONE and DMA_ZONE32 changes? I've attached my boot log.

I think this question is better for the ARM guys. CC'd

> [    0.000000] cma: Reserved 1024 MiB at 0x00000000a0000000
> ...
> [    0.390448] Activating cma name: reserved, zone name: DMA
> [    0.396564] pfn = 0xa0000
> [    0.399522] cma->count = 262144
> [    0.406244] pfn failed on = c0000
> [    0.410002] cma: CMA area reserved could not be activated
> 
> static int __init cma_activate_area(struct cma *cma)
> {
>    ...
>     printk("Activating cma name: %s, zone name: %s\n", cma->name, zone->name);
>     printk("pfn = 0x%lx\n", pfn);
>     printk("cma->count = %lu\n", cma->count);
> 
>     do {
>         unsigned j;
> 
>         base_pfn = pfn;
>         for (j = pageblock_nr_pages; j; --j, pfn++) {
>             WARN_ON_ONCE(!pfn_valid(pfn));
>             /*
>              * alloc_contig_range requires the pfn range
>              * specified to be in the same zone. Make this
>              * simple by forcing the entire CMA resv range
>              * to be in the same zone.
>              */
>             if (page_zone(pfn_to_page(pfn)) != zone) {
>                 printk("pfn failed on = 0x%lx\n", pfn);
>                 goto not_in_zone;
>             }
>         }
>         init_cma_reserved_pageblock(pfn_to_page(base_pfn));
>     } while (--i);
> 
> Thanks.
> 



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

* Re: cma can't activate area on arm64
  2020-02-27  9:56 ` Vlastimil Babka
@ 2020-02-27 17:48   ` Catalin Marinas
  2020-02-28 19:56     ` Jonathan Richardson
  0 siblings, 1 reply; 8+ messages in thread
From: Catalin Marinas @ 2020-02-27 17:48 UTC (permalink / raw)
  To: Vlastimil Babka
  Cc: Jonathan Richardson, linux-mm, akpm, linux-arm-kernel,
	Nicolas Saenz Julienne, Robin Murphy

On Thu, Feb 27, 2020 at 10:56:12AM +0100, Vlastimil Babka wrote:
> On 2/22/20 12:42 AM, Jonathan Richardson wrote:
> > As of the 5.5 kernel I see boot errors in cma. It reserves 1G and then can't
> > activate an area. I added some prints. It's trying to activate the DMA
> > zone. This causes a driver to fail allocating a dma pool later on. The
> > coherent pool is the default 256MB. If I reduce cma from 1G to 512M
> > then it only tries activates DMA32 zone. I assume there was not enough cma
> > memory for DMA zone? Are there any configuration changes required due
> > to the DMA_ZONE and DMA_ZONE32 changes? I've attached my boot log.
> 
> I think this question is better for the ARM guys. CC'd

With commit 1a8e1cef7603 ("arm64: use both ZONE_DMA and ZONE_DMA32"), we
limited ZONE_DMA to 1G to accommodate the RPi4 requirements. ZONE_DMA32
spans to the end of the 32-bit space. So with a CMA region that goes
across the 1st GB, you'd hit this problem.

The dma_contiguous_reserve() call in arm64 uses ZONE_DMA32 as the upper
limit under the assumption that you don't need CMA in ZONE_DMA. But this
one doesn't have a lower limit.

What platform is this and how to you request the CMA size (cmdline)? Do
you use a fixed base? Also, do you want the CMA in ZONE_DMA or
ZONE_DMA32?

> > [    0.000000] cma: Reserved 1024 MiB at 0x00000000a0000000
> > ...
> > [    0.390448] Activating cma name: reserved, zone name: DMA
> > [    0.396564] pfn = 0xa0000
> > [    0.399522] cma->count = 262144
> > [    0.406244] pfn failed on = c0000
> > [    0.410002] cma: CMA area reserved could not be activated
> > 
> > static int __init cma_activate_area(struct cma *cma)
> > {
> >    ...
> >     printk("Activating cma name: %s, zone name: %s\n", cma->name, zone->name);
> >     printk("pfn = 0x%lx\n", pfn);
> >     printk("cma->count = %lu\n", cma->count);
> > 
> >     do {
> >         unsigned j;
> > 
> >         base_pfn = pfn;
> >         for (j = pageblock_nr_pages; j; --j, pfn++) {
> >             WARN_ON_ONCE(!pfn_valid(pfn));
> >             /*
> >              * alloc_contig_range requires the pfn range
> >              * specified to be in the same zone. Make this
> >              * simple by forcing the entire CMA resv range
> >              * to be in the same zone.
> >              */
> >             if (page_zone(pfn_to_page(pfn)) != zone) {
> >                 printk("pfn failed on = 0x%lx\n", pfn);
> >                 goto not_in_zone;

So I guess it's this test that fails as the CMA now spans ZONE_DMA and
ZONE_DMA32.

> >             }
> >         }
> >         init_cma_reserved_pageblock(pfn_to_page(base_pfn));
> >     } while (--i);
> > 
> > Thanks.

-- 
Catalin


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

* Re: cma can't activate area on arm64
  2020-02-27 17:48   ` Catalin Marinas
@ 2020-02-28 19:56     ` Jonathan Richardson
  2020-02-28 20:16       ` Nicolas Saenz Julienne
  0 siblings, 1 reply; 8+ messages in thread
From: Jonathan Richardson @ 2020-02-28 19:56 UTC (permalink / raw)
  To: Catalin Marinas
  Cc: Vlastimil Babka, linux-mm, akpm, linux-arm-kernel,
	Nicolas Saenz Julienne, Robin Murphy

On Thu, Feb 27, 2020 at 9:48 AM Catalin Marinas <catalin.marinas@arm.com> wrote:
>
> On Thu, Feb 27, 2020 at 10:56:12AM +0100, Vlastimil Babka wrote:
> > On 2/22/20 12:42 AM, Jonathan Richardson wrote:
> > > As of the 5.5 kernel I see boot errors in cma. It reserves 1G and then can't
> > > activate an area. I added some prints. It's trying to activate the DMA
> > > zone. This causes a driver to fail allocating a dma pool later on. The
> > > coherent pool is the default 256MB. If I reduce cma from 1G to 512M
> > > then it only tries activates DMA32 zone. I assume there was not enough cma
> > > memory for DMA zone? Are there any configuration changes required due
> > > to the DMA_ZONE and DMA_ZONE32 changes? I've attached my boot log.
> >
> > I think this question is better for the ARM guys. CC'd
>
> With commit 1a8e1cef7603 ("arm64: use both ZONE_DMA and ZONE_DMA32"), we
> limited ZONE_DMA to 1G to accommodate the RPi4 requirements. ZONE_DMA32
> spans to the end of the 32-bit space. So with a CMA region that goes
> across the 1st GB, you'd hit this problem.
>
> The dma_contiguous_reserve() call in arm64 uses ZONE_DMA32 as the upper
> limit under the assumption that you don't need CMA in ZONE_DMA. But this
> one doesn't have a lower limit.
>
> What platform is this and how to you request the CMA size (cmdline)?

This is stingray (arch/arm64/boot/dts/broadcom/stingray/bcm958742k.dts).
cma is specified on cmdline as "cma=1G". The full boot log was in the
attachment.

Do
> you use a fixed base? Also, do you want the CMA in ZONE_DMA or
> ZONE_DMA32?

I'm not sure which zone we want it in. I'm assuming ZONE_DMA32. Before
that change there was only one zone. If I disable ZONE_DMA I don't see
the error, though I haven't tested anything. I don't really understand why
ZONE_DMA is enabled by default if it's a requirement for Rpi only. I'm
assuming it should work as is with both zones enabled but not clear how
cma spans the two zones. Was there a reason for having both zones
enabled as the default?

>
> > > [    0.000000] cma: Reserved 1024 MiB at 0x00000000a0000000
> > > ...
> > > [    0.390448] Activating cma name: reserved, zone name: DMA
> > > [    0.396564] pfn = 0xa0000
> > > [    0.399522] cma->count = 262144
> > > [    0.406244] pfn failed on = c0000
> > > [    0.410002] cma: CMA area reserved could not be activated
> > >
> > > static int __init cma_activate_area(struct cma *cma)
> > > {
> > >    ...
> > >     printk("Activating cma name: %s, zone name: %s\n", cma->name, zone->name);
> > >     printk("pfn = 0x%lx\n", pfn);
> > >     printk("cma->count = %lu\n", cma->count);
> > >
> > >     do {
> > >         unsigned j;
> > >
> > >         base_pfn = pfn;
> > >         for (j = pageblock_nr_pages; j; --j, pfn++) {
> > >             WARN_ON_ONCE(!pfn_valid(pfn));
> > >             /*
> > >              * alloc_contig_range requires the pfn range
> > >              * specified to be in the same zone. Make this
> > >              * simple by forcing the entire CMA resv range
> > >              * to be in the same zone.
> > >              */
> > >             if (page_zone(pfn_to_page(pfn)) != zone) {
> > >                 printk("pfn failed on = 0x%lx\n", pfn);
> > >                 goto not_in_zone;
>
> So I guess it's this test that fails as the CMA now spans ZONE_DMA and
> ZONE_DMA32.

Yes it fails here.


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

* Re: cma can't activate area on arm64
  2020-02-28 19:56     ` Jonathan Richardson
@ 2020-02-28 20:16       ` Nicolas Saenz Julienne
  2020-02-28 20:34         ` Jonathan Richardson
  0 siblings, 1 reply; 8+ messages in thread
From: Nicolas Saenz Julienne @ 2020-02-28 20:16 UTC (permalink / raw)
  To: Jonathan Richardson, Catalin Marinas
  Cc: Vlastimil Babka, linux-mm, akpm, linux-arm-kernel, Robin Murphy

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

On Fri, 2020-02-28 at 11:56 -0800, Jonathan Richardson wrote:
> This is stingray (arch/arm64/boot/dts/broadcom/stingray/bcm958742k.dts).
> cma is specified on cmdline as "cma=1G". The full boot log was in the
> attachment.

Would you mind attaching it again, I was added to the conversation later.

> > you use a fixed base? Also, do you want the CMA in ZONE_DMA or
> > ZONE_DMA32?
> 
> I'm not sure which zone we want it in. I'm assuming ZONE_DMA32. Before
> that change there was only one zone. If I disable ZONE_DMA I don't see
> the error, though I haven't tested anything. I don't really understand why
> ZONE_DMA is enabled by default if it's a requirement for Rpi only.
> I'm assuming it should work as is with both zones enabled but not clear how
> cma spans the two zones. Was there a reason for having both zones enabled as
> the default?

It's enabled by default to be able to boot all boards with a common kernel
image.

IIRC the allocation algo for CMA placement tries to fit it as high as possible
in ZONE_DMA32, but I can't really say much more without the logs.

Regards,
Nicolas


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: cma can't activate area on arm64
  2020-02-28 20:16       ` Nicolas Saenz Julienne
@ 2020-02-28 20:34         ` Jonathan Richardson
  2020-02-28 21:00           ` Robin Murphy
  0 siblings, 1 reply; 8+ messages in thread
From: Jonathan Richardson @ 2020-02-28 20:34 UTC (permalink / raw)
  To: Nicolas Saenz Julienne
  Cc: Catalin Marinas, Vlastimil Babka, linux-mm, akpm,
	linux-arm-kernel, Robin Murphy

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

On Fri, Feb 28, 2020 at 12:16 PM Nicolas Saenz Julienne
<nsaenzjulienne@suse.de> wrote:
>
> On Fri, 2020-02-28 at 11:56 -0800, Jonathan Richardson wrote:
> > This is stingray (arch/arm64/boot/dts/broadcom/stingray/bcm958742k.dts).
> > cma is specified on cmdline as "cma=1G". The full boot log was in the
> > attachment.
>
> Would you mind attaching it again, I was added to the conversation later.

Sure, it is attached. Thanks for taking a look. This is a boot with
"arch/arm64/configs/defconfig" and the previously mentioned dtb.

Jon

[-- Attachment #2: cma-failure.txt --]
[-- Type: text/plain, Size: 32897 bytes --]

 --- STARTING KERNEL
bootcmd=FS2:\Image.2  root=/dev/mmcblk0p4 rw rootwait  earlycon=uart8250,mmio32,0x68A10000 earlyelog
=0x8f110000,0x10000 console=ttyS0,115200n8 hugepages=0 cma=1G crashkernel=512M pci=pcie_bus_safe pci
ehp.pciehp_poll_mode=1 pciehp.pciehp_poll_time=5 vfio_pci.disable_idle_d3=1 pcie_ports=native maxcpu
s=8  bgmac_platform.ethaddr=00:10:18:9B:05:D3 ip=10.136.13.29:10.136.4.151:10.136.13.1:255.255.255.0
:::off  
EFI stub: Booting Linux Kernel...
EFI stub: EFI_RNG_PROTOCOL unavailable, no randomness supplied
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services and installing virtual address map...
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 5.5.0 (oe-user@oe-host) (gcc version 8.3.0 (GCC)) #1 SMP PREEMPT Thu Feb 27 03:17:15 UTC 2020
[    0.000000] Machine model: Stingray Combo SVK (BCM958742K)
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000068a10000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] printk: bootconsole [earlycon_elog0] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: EFI v2.70 by EDK II
[    0.000000] efi:  SMBIOS=0x85c90000  SMBIOS 3.0=0x85a20000  ACPI 2.0=0x85d50000  MEMATTR=0x8945e118  MEMRESERVE=0x85f85018 
[    0.000000] crashkernel reserved: 0x00000000e0000000 - 0x0000000100000000 (512 MB)
[    0.000000] cma: Reserved 1024 MiB at 0x00000000a0000000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x00000093ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x93fbfce100-0x93fbfcffff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000bfffffff]
[    0.000000]   DMA32    [mem 0x00000000c0000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000093ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000008563ffff]
[    0.000000]   node   0: [mem 0x0000000085640000-0x00000000856affff]
[    0.000000]   node   0: [mem 0x00000000856b0000-0x00000000857affff]
[    0.000000]   node   0: [mem 0x00000000857b0000-0x000000008588ffff]
[    0.000000]   node   0: [mem 0x0000000085890000-0x00000000858fffff]
[    0.000000]   node   0: [mem 0x0000000085900000-0x000000008597ffff]
[    0.000000]   node   0: [mem 0x0000000085980000-0x0000000085a0ffff]
[    0.000000]   node   0: [mem 0x0000000085a10000-0x0000000085d3ffff]
[    0.000000]   node   0: [mem 0x0000000085d40000-0x0000000085d5ffff]
[    0.000000]   node   0: [mem 0x0000000085d60000-0x0000000085f7ffff]
[    0.000000]   node   0: [mem 0x0000000085f80000-0x000000008af4ffff]
[    0.000000]   node   0: [mem 0x000000008af50000-0x000000008af8ffff]
[    0.000000]   node   0: [mem 0x000000008af90000-0x000000008af9ffff]
[    0.000000]   node   0: [mem 0x000000008afa0000-0x000000008afeffff]
[    0.000000]   node   0: [mem 0x000000008aff0000-0x000000008cffffff]
[    0.000000]   node   0: [mem 0x000000008f220000-0x00000000ffffffff]
[    0.000000]   node   0: [mem 0x0000000880200000-0x0000000bffffffff]
[    0.000000]   node   0: [mem 0x0000009000000000-0x00000093ffffffff]
[    0.000000] Zeroed struct page in unavailable ranges: 832 pages
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000093ffffffff]
[    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: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 22 pages/cpu s53016 r8192 d28904 u90112
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: EL2 vector hardening
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] CPU features: detected: ARM erratum 1319367
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8248296
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: FS2:\Image.2  root=/dev/mmcblk0p4 rw rootwait  earlycon=uart8250,mmio32,0x68A10000 earlyelog=0x8f110000,0x10000 console=ttyS0,115200n8 hugepages=0 cma=1G crashkernel=512M pci=pcie_bus_safe pciehp.pciehp_poll_mode=1 pciehp.pciehp_poll_time=5 vfio_pci.disable_idle_d3=1 pcie_ports=native maxcpus=8  bgmac_platform.ethaddr=00:10:18:9B:05:D3 ip=10.136.13.29:10.136.4.151:10.136.13.1:255.255.255.0:::off
[    0.000000] Dentry cache hash table entries: 4194304 (order: 13, 33554432 bytes, linear)
[    0.000000] Inode-cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x9c000000-0xa0000000] (64MB)
[    0.000000] Memory: 31203448K/33517440K available (12220K kernel code, 1924K rwdata, 6800K rodata, 5184K init, 476K bss, 1265416K reserved, 1048576K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=8.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 960 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000063e00000
[    0.000000] ITS [mem 0x63c20000-0x63c2ffff]
[    0.000000] ITS@0x0000000063c20000: allocated 32768 Devices @93fb880000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000093fb850000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000093fb860000
[    0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x448 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 125.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x39a85c4118, max_idle_ns: 881590405314 ns
[    0.000001] sched_clock: 56 bits at 125MHz, resolution 8ns, wraps every 4398046511100ns
[    0.009176] clocksource: arm,sp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 152900835740 ns
[    0.020113] Console: colour dummy device 80x25
[    0.025151] printk: bootconsole [earlycon_elog0] disabled
[    0.031276] printk: console [console_elog0] enabled
[    0.036821] Calibrating delay loop (skipped), value calculated using timer frequency.. 250.00 BogoMIPS (lpj=500000)
[    0.048657] pid_max: default: 32768 minimum: 301
[    0.053908] LSM: Security Framework initializing
[    0.059237] Mount-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.067908] Mountpoint-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.101009] ASID allocator initialised with 32768 entries
[    0.115133] rcu: Hierarchical SRCU implementation.
[    0.128586] Platform MSI: gic-its@63c20000 domain created
[    0.134734] PCI/MSI: /scr/interrupt-controller@2c00000/gic-its@63c20000 domain created
[    0.144012] Remapping and enabling EFI services.
[    0.157247] smp: Bringing up secondary CPUs ...
I: Cluster #1 entering to snoop/dvm domain
I: Cluster #2 entering to snoop/dvm domain
I: Cluster #3 entering to snoop/dvm domain
[    0.194484] Detected PIPT I-cache on CPU1
[    0.194498] GICv3: CPU1: found redistributor 1 region 0:0x0000000063e20000
[    0.194509] GICv3: CPU1: using allocated LPI pending table @0x00000093fb870000
[    0.194520] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[    0.226749] Detected PIPT I-cache on CPU2
[    0.226761] GICv3: CPU2: found redistributor 100 region 0:0x0000000063e40000
[    0.226781] GICv3: CPU2: using allocated LPI pending table @0x00000093fb8c0000
[    0.226795] CPU2: Booted secondary processor 0x0000000100 [0x410fd083]
[    0.258508] Detected PIPT I-cache on CPU3
[    0.258514] GICv3: CPU3: found redistributor 101 region 0:0x0000000063e60000
[    0.258526] GICv3: CPU3: using allocated LPI pending table @0x00000093fb8d0000
[    0.258535] CPU3: Booted secondary processor 0x0000000101 [0x410fd083]
[    0.290782] Detected PIPT I-cache on CPU4
[    0.290791] GICv3: CPU4: found redistributor 200 region 0:0x0000000063e80000
[    0.290808] GICv3: CPU4: using allocated LPI pending table @0x00000093fb8e0000
[    0.290820] CPU4: Booted secondary processor 0x0000000200 [0x410fd083]
[    0.322549] Detected PIPT I-cache on CPU5
[    0.322555] GICv3: CPU5: found redistributor 201 region 0:0x0000000063ea0000
[    0.322567] GICv3: CPU5: using allocated LPI pending table @0x00000093fb8f0000
[    0.322576] CPU5: Booted secondary processor 0x0000000201 [0x410fd083]
[    0.354823] Detected PIPT I-cache on CPU6
[    0.354833] GICv3: CPU6: found redistributor 300 region 0:0x0000000063ec0000
[    0.354851] GICv3: CPU6: using allocated LPI pending table @0x00000093fb900000
[    0.354863] CPU6: Booted secondary processor 0x0000000300 [0x410fd083]
[    0.386587] Detected PIPT I-cache on CPU7
[    0.386594] GICv3: CPU7: found redistributor 301 region 0:0x0000000063ee0000
[    0.386605] GICv3: CPU7: using allocated LPI pending table @0x00000093fb910000
[    0.386614] CPU7: Booted secondary processor 0x0000000301 [0x410fd083]
[    0.386644] smp: Brought up 1 node, 8 CPUs
[    0.587825] SMP: Total of 8 processors activated.
[    0.593153] CPU features: detected: 32-bit EL0 Support
[    0.598978] CPU features: detected: CRC32 instructions
[    0.616116] CPU: All CPU(s) started at EL2
[    0.620768] alternatives: patching kernel code
[    0.626261] devtmpfs: initialized
[    0.631187] KASLR disabled due to lack of seed
[    0.636326] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.647378] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.658823] cma: CMA area reserved could not be activated
[    0.665028] pinctrl core: initialized pinctrl subsystem
[    0.671282] thermal_sys: Registered thermal governor 'step_wise'
[    0.671283] thermal_sys: Registered thermal governor 'power_allocator'
[    0.678291] SMBIOS 3.3.0 present.
[    0.689439] DMI: BRCM BRCM-SR/BRCM-SR, BIOS 0.1 Feb 25 2020
[    0.695885] NET: Registered protocol family 16
[    0.701114] DMA: failed to allocate 256 KiB pool for atomic coherent allocation
[    0.709404] audit: initializing netlink subsys (disabled)
[    0.715582] audit: type=2000 audit(0.524:1): state=initialized audit_enabled=0 res=1
[    0.724371] cpuidle: using governor menu
[    0.728940] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.736945] Serial: AMBA PL011 UART driver
[    0.745611] gpiochip_add_data_with_key: GPIOs 355..505 (689d0000.gpio) failed to register, -517
[    0.755476] iproc-gpio 689d0000.gpio: unable to add GPIO chip
[    0.764996] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.772595] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.780190] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.787785] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.796327] cryptd: max_cpu_qlen set to 1000
[    0.802551] ACPI: Interpreter disabled.
[    0.807286] iommu: Default domain type: Translated 
[    0.812876] vgaarb: loaded
[    0.816005] SCSI subsystem initialized
[    0.820369] usbcore: registered new interface driver usbfs
[    0.826595] usbcore: registered new interface driver hub
[    0.832634] usbcore: registered new device driver usb
[    0.838550] pps_core: LinuxPPS API ver. 1 registered
[    0.844174] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.854532] PTP clock support registered
[    0.859011] EDAC MC: Ver: 3.0.0
[    0.862702] Registered efivars operations
[    0.867412] FPGA manager framework
[    0.871279] Advanced Linux Sound Architecture Driver Initialized.
[    0.878425] clocksource: Switched to clocksource arch_sys_counter
[    0.885389] VFS: Disk quotas dquot_6.6.0
[    0.889847] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.897689] pnp: PnP ACPI: disabled
[    0.903234] NET: Registered protocol family 2
[    0.908271] tcp_listen_portaddr_hash hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    0.918242] TCP established hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.927947] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    0.936613] TCP: Hash tables configured (established 262144 bind 65536)
[    0.944161] UDP hash table entries: 16384 (order: 7, 524288 bytes, linear)
[    0.952154] UDP-Lite hash table entries: 16384 (order: 7, 524288 bytes, linear)
[    0.960684] NET: Registered protocol family 1
[    0.965755] RPC: Registered named UNIX socket transport module.
[    0.972468] RPC: Registered udp transport module.
[    0.977796] RPC: Registered tcp transport module.
[    0.983124] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.990425] PCI: CLS 0 bytes, default 64
[    0.995231] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    1.004105] kvm [1]: IPA Size Limit: 44bits
[    1.009118] kvm [1]: GICv3: no GICV resource entry
[    1.014547] kvm [1]: disabling GICv2 emulation
[    1.019590] kvm [1]: GIC system register CPU interface enabled
[    1.026259] kvm [1]: vgic interrupt IRQ1
[    1.030776] kvm [1]: Hyp mode initialized successfully
[    1.039093] Initialise system trusted keyrings
[    1.044169] workingset: timestamp_bits=44 max_order=23 bucket_order=0
[    1.053197] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.060004] NFS: Registering the id_resolver key type
[    1.065735] Key type id_resolver registered
[    1.070491] Key type id_legacy registered
[    1.075034] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.082667] 9p: Installing v9fs 9p2000 file system support
[    1.093678] Key type asymmetric registered
[    1.098319] Asymmetric key parser 'x509' registered
[    1.103851] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    1.112236] io scheduler mq-deadline registered
[    1.117367] io scheduler kyber registered
[    1.123109] brcm-sata-phy 67d02100.sata_phy: registered 1 port(s)
[    1.130053] brcm-sata-phy 67d12100.sata_phy: registered 1 port(s)
[    1.136996] brcm-sata-phy 67d22100.sata_phy: registered 1 port(s)
[    1.143938] brcm-sata-phy 67d32100.sata_phy: registered 1 port(s)
[    1.150879] brcm-sata-phy 67e02100.sata_phy: registered 1 port(s)
[    1.157819] brcm-sata-phy 67e12100.sata_phy: registered 1 port(s)
[    1.164760] brcm-sata-phy 67e22100.sata_phy: registered 1 port(s)
[    1.171702] brcm-sata-phy 67e32100.sata_phy: registered 1 port(s)
[    1.178833] sr-pcie-phy 40000000.phy: Stingray PCIe PHY driver initialized
[    1.187241] pinctrl-single 68a40000.pinconf: please update dts to use #pinctrl-cells = <1>
[    1.196680] pinctrl-single 68a40000.pinconf: 148 pins, size 592
[    1.203423] pinctrl-single 68a4029c.pinmux: please update dts to use #pinctrl-cells = <1>
[    1.212763] pinctrl-single 68a4029c.pinmux: 155 pins, size 620
[    1.220566] iproc-pcie 60400000.pcie: host bridge /pcie@60400000 ranges:
[    1.228168] iproc-pcie 60400000.pcie:      MEM 0x0010000000..0x002fffffff -> 0x0010000000
[    1.237453] iproc-pcie 60400000.pcie: not using iProc MSI
[    1.243599] iproc-pcie 60400000.pcie: PCI host bridge to bus 0008:00
[    1.250801] pci_bus 0008:00: root bus resource [bus 00-01]
[    1.257016] pci_bus 0008:00: root bus resource [mem 0x10000000-0x2fffffff]
[    1.264819] pci 0008:00:00.0: [14e4:d750] type 01 class 0x020000
[    1.271687] pci 0008:00:00.0: PME# supported from D0 D3hot D3cold
[    1.278608] OF: /pcie@60400000: no msi-map translation for rid 0x0 on (null)
[    1.287041] pci 0008:01:00.0: [14e4:16f0] type 00 class 0x020000
[    1.293867] pci 0008:01:00.0: reg 0x10: [mem 0x2ff00000-0x2ff0ffff 64bit]
[    1.301568] pci 0008:01:00.0: reg 0x18: [mem 0x2fd00000-0x2fdfffff 64bit pref]
[    1.309760] pci 0008:01:00.0: reg 0x20: [mem 0x2fe00000-0x2fe00fff 64bit pref]
[    1.318001] pci 0008:01:00.0: PME# supported from D0 D3hot D3cold
[    1.324971] pci 0008:01:00.1: [14e4:16f0] type 00 class 0x020000
[    1.331787] pci 0008:01:00.1: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    1.339487] pci 0008:01:00.1: reg 0x18: [mem 0x00000000-0x000fffff 64bit pref]
[    1.347682] pci 0008:01:00.1: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    1.355922] pci 0008:01:00.1: PME# supported from D0 D3hot D3cold
[    1.363282] pci 0008:00:00.0: BAR 14: assigned [mem 0x10000000-0x100fffff]
[    1.371076] pci 0008:00:00.0: BAR 15: assigned [mem 0x10100000-0x103fffff 64bit pref]
[    1.379954] pci 0008:01:00.0: BAR 2: assigned [mem 0x10100000-0x101fffff 64bit pref]
[    1.388737] pci 0008:01:00.1: BAR 2: assigned [mem 0x10200000-0x102fffff 64bit pref]
[    1.397521] pci 0008:01:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    1.405811] pci 0008:01:00.1: BAR 0: assigned [mem 0x10010000-0x1001ffff 64bit]
[    1.414102] pci 0008:01:00.0: BAR 4: assigned [mem 0x10300000-0x10300fff 64bit pref]
[    1.422885] pci 0008:01:00.1: BAR 4: assigned [mem 0x10301000-0x10301fff 64bit pref]
[    1.431670] pci 0008:00:00.0: PCI bridge to [bus 01]
[    1.437296] pci 0008:00:00.0:   bridge window [mem 0x10000000-0x100fffff]
[    1.444990] pci 0008:00:00.0:   bridge window [mem 0x10100000-0x103fffff 64bit pref]
[    1.453776] pci 0008:00:00.0: Max Payload Size set to  512/ 512 (was  128), Max Read Rq  512
[    1.463348] pci 0008:01:00.0: Max Payload Size set to  512/ 512 (was  128), Max Read Rq  512
[    1.472919] pci 0008:01:00.1: Max Payload Size set to  512/ 512 (was  128), Max Read Rq  512
[    1.483021] EINJ: ACPI disabled.
[    1.490401] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    1.497935] printk: console [ttyS0] disabled
[    1.502788] 68a10000.uart: ttyS0 at MMIO 0x68a10000 (irq = 86, base_baud = 1562500) is a 16550A
[    1.512669] printk: console [ttyS0] enabled
[    1.512669] printk: console [ttyS0] enabled
[    1.521720] printk: bootconsole [uart8250] disabled
[    1.521720] printk: bootconsole [uart8250] disabled
[    1.532394] 68a20000.uart: ttyS2 at MMIO 0x68a20000 (irq = 87, base_baud = 1562500) is a 16550A
[    1.541500] 68a30000.uart: ttyS3 at MMIO 0x68a30000 (irq = 88, base_baud = 1562500) is a 16550A
[    1.550759] SuperH (H)SCI(F) driver initialized
[    1.555598] msm_serial: driver initialized
[    1.560259] arm-smmu 64000000.mmu: probing hardware configuration...
[    1.566819] arm-smmu 64000000.mmu: SMMUv2 with:
[    1.571495] arm-smmu 64000000.mmu: 	stage 1 translation
[    1.576888] arm-smmu 64000000.mmu: 	stage 2 translation
[    1.582280] arm-smmu 64000000.mmu: 	nested translation
[    1.587582] arm-smmu 64000000.mmu: 	stream matching with 63 register groups
[    1.594768] arm-smmu 64000000.mmu: 	63 context banks (0 stage-2 only)
[    1.601417] arm-smmu 64000000.mmu: 	Supported page sizes: 0x61311000
[    1.607974] arm-smmu 64000000.mmu: 	Stage-1: 48-bit VA -> 48-bit IPA
[    1.614542] arm-smmu 64000000.mmu: 	Stage-2: 48-bit IPA -> 48-bit PA
[    1.623978] loop: module loaded
[    1.627685] ahci 67d00000.ahci: 67d00000.ahci supply ahci not found, using dummy regulator
[    1.636233] ahci 67d00000.ahci: 67d00000.ahci supply phy not found, using dummy regulator
[    1.644928] platform 67d00000.ahci:sata-port@0: 67d00000.ahci:sata-port@0 supply target not found, using dummy regulator
[    1.656201] ahci 67d00000.ahci: masking port_map 0x1 -> 0x1
[    1.661962] ahci 67d00000.ahci: SSS flag set, parallel bus scan disabled
[    1.678947] ahci 67d00000.ahci: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    1.687749] ahci 67d00000.ahci: flags: 64bit ncq sntf stag clo pmp fbs slum part 
[    1.695672] scsi host0: ahci
[    1.698726] ata1: SATA max UDMA/133 mmio [mem 0x67d00000-0x67d00fff] port 0x100 irq 74
[    1.706929] ahci 67d10000.ahci: 67d10000.ahci supply ahci not found, using dummy regulator
[    1.715474] ahci 67d10000.ahci: 67d10000.ahci supply phy not found, using dummy regulator
[    1.724070] platform 67d10000.ahci:sata-port@0: 67d10000.ahci:sata-port@0 supply target not found, using dummy regulator
[    1.735334] ahci 67d10000.ahci: masking port_map 0x1 -> 0x1
[    1.741093] ahci 67d10000.ahci: SSS flag set, parallel bus scan disabled
[    1.758075] ahci 67d10000.ahci: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    1.766875] ahci 67d10000.ahci: flags: 64bit ncq sntf stag clo pmp fbs slum part 
[    1.774766] scsi host1: ahci
[    1.777784] ata2: SATA max UDMA/133 mmio [mem 0x67d10000-0x67d10fff] port 0x100 irq 75
[    1.785989] ahci 67d20000.ahci: 67d20000.ahci supply ahci not found, using dummy regulator
[    1.794547] ahci 67d20000.ahci: 67d20000.ahci supply phy not found, using dummy regulator
[    1.803144] platform 67d20000.ahci:sata-port@0: 67d20000.ahci:sata-port@0 supply target not found, using dummy regulator
[    1.814410] ahci 67d20000.ahci: masking port_map 0x1 -> 0x1
[    1.820169] ahci 67d20000.ahci: SSS flag set, parallel bus scan disabled
[    1.837149] ahci 67d20000.ahci: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    1.845950] ahci 67d20000.ahci: flags: 64bit ncq sntf stag clo pmp fbs slum part 
[    1.853842] scsi host2: ahci
[    1.856860] ata3: SATA max UDMA/133 mmio [mem 0x67d20000-0x67d20fff] port 0x100 irq 76
[    1.865057] ahci 67d30000.ahci: 67d30000.ahci supply ahci not found, using dummy regulator
[    1.873601] ahci 67d30000.ahci: 67d30000.ahci supply phy not found, using dummy regulator
[    1.882197] platform 67d30000.ahci:sata-port@0: 67d30000.ahci:sata-port@0 supply target not found, using dummy regulator
[    1.893470] ahci 67d30000.ahci: masking port_map 0x1 -> 0x1
[    1.899228] ahci 67d30000.ahci: SSS flag set, parallel bus scan disabled
[    1.916207] ahci 67d30000.ahci: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    1.925009] ahci 67d30000.ahci: flags: 64bit ncq sntf stag clo pmp fbs slum part 
[    1.932892] scsi host3: ahci
[    1.935915] ata4: SATA max UDMA/133 mmio [mem 0x67d30000-0x67d30fff] port 0x100 irq 77
[    1.944113] ahci 67e00000.ahci: 67e00000.ahci supply ahci not found, using dummy regulator
[    1.952654] ahci 67e00000.ahci: 67e00000.ahci supply phy not found, using dummy regulator
[    1.961261] platform 67e00000.ahci:sata-port@0: 67e00000.ahci:sata-port@0 supply target not found, using dummy regulator
[    1.972526] ahci 67e00000.ahci: masking port_map 0x1 -> 0x1
[    1.978285] ahci 67e00000.ahci: SSS flag set, parallel bus scan disabled
[    1.995263] ahci 67e00000.ahci: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    2.004065] ahci 67e00000.ahci: flags: 64bit ncq sntf stag clo pmp fbs slum part 
[    2.011944] scsi host4: ahci
[    2.014965] ata5: SATA max UDMA/133 mmio [mem 0x67e00000-0x67e00fff] port 0x100 irq 78
[    2.021781] ata1: SATA link down (SStatus 0 SControl 300)
[    2.023162] ahci 67e10000.ahci: 67e10000.ahci supply ahci not found, using dummy regulator
[    2.037252] ahci 67e10000.ahci: 67e10000.ahci supply phy not found, using dummy regulator
[    2.045844] platform 67e10000.ahci:sata-port@0: 67e10000.ahci:sata-port@0 supply target not found, using dummy regulator
[    2.057112] ahci 67e10000.ahci: masking port_map 0x1 -> 0x1
[    2.062879] ahci 67e10000.ahci: SSS flag set, parallel bus scan disabled
[    2.079856] ahci 67e10000.ahci: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    2.088658] ahci 67e10000.ahci: flags: 64bit ncq sntf stag clo pmp fbs slum part 
[    2.096545] scsi host5: ahci
[    2.099529] ata2: SATA link down (SStatus 0 SControl 300)
[    2.105151] ata6: SATA max UDMA/133 mmio [mem 0x67e10000-0x67e10fff] port 0x100 irq 79
[    2.113350] ahci 67e20000.ahci: 67e20000.ahci supply ahci not found, using dummy regulator
[    2.121895] ahci 67e20000.ahci: 67e20000.ahci supply phy not found, using dummy regulator
[    2.130490] platform 67e20000.ahci:sata-port@0: 67e20000.ahci:sata-port@0 supply target not found, using dummy regulator
[    2.141757] ahci 67e20000.ahci: masking port_map 0x1 -> 0x1
[    2.147516] ahci 67e20000.ahci: SSS flag set, parallel bus scan disabled
[    2.164497] ahci 67e20000.ahci: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    2.173297] ahci 67e20000.ahci: flags: 64bit ncq sntf stag clo pmp fbs slum part 
[    2.180378] ata3: SATA link down (SStatus 0 SControl 300)
[    2.181189] scsi host6: ahci
[    2.189637] ata7: SATA max UDMA/133 mmio [mem 0x67e20000-0x67e20fff] port 0x100 irq 80
[    2.197860] ahci 67e30000.ahci: 67e30000.ahci supply ahci not found, using dummy regulator
[    2.206433] ahci 67e30000.ahci: 67e30000.ahci supply phy not found, using dummy regulator
[    2.215127] platform 67e30000.ahci:sata-port@0: 67e30000.ahci:sata-port@0 supply target not found, using dummy regulator
[    2.226408] ahci 67e30000.ahci: masking port_map 0x1 -> 0x1
[    2.232168] ahci 67e30000.ahci: SSS flag set, parallel bus scan disabled
[    2.249150] ahci 67e30000.ahci: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    2.257950] ahci 67e30000.ahci: flags: 64bit ncq sntf stag clo pmp fbs slum part 
[    2.262403] ata4: SATA link down (SStatus 0 SControl 300)
[    2.265863] scsi host7: ahci
[    2.274278] ata8: SATA max UDMA/133 mmio [mem 0x67e30000-0x67e30fff] port 0x100 irq 81
[    2.283438] libphy: iProc MDIO mux bus: probed
[    2.288044] libphy: mdio_mux: probed
[    2.291754] libphy: mdio_mux: probed
[    2.295461] libphy: mdio_mux: probed
[    2.299170] libphy: mdio_mux: probed
[    2.306978] mdio-mux-iproc 68920000.mdio-mux: iProc mdiomux registered
[    2.313907] libphy: Fixed MDIO Bus: probed
[    2.318199] tun: Universal TUN/TAP device driver, 1.6
[    2.329921] thunder_xcv, ver 1.0
[    2.333279] thunder_bgx, ver 1.0
[    2.336620] nicpf, ver 1.0
[    2.339610] hclge is initializing
[    2.343032] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    2.346533] ata5: SATA link down (SStatus 0 SControl 300)
[    2.350485] hns3: Copyright (c) 2017 Huawei Corporation.
[    2.350507] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    2.367557] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    2.373677] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[    2.380861] igb: Copyright (c) 2007-2014 Intel Corporation.
[    2.386623] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    2.394705] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    2.400921] sky2: driver version 1.30
[    2.404922] VFIO - User Level meta-driver version: 0.3
[    2.410705] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.417442] ehci-pci: EHCI PCI platform driver
[    2.422027] ehci-platform: EHCI generic platform driver
[    2.427460] ehci-orion: EHCI orion driver
[    2.428553] ata6: SATA link down (SStatus 0 SControl 300)
[    2.431630] ehci-exynos: EHCI EXYNOS driver
[    2.441516] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.447900] ohci-pci: OHCI PCI platform driver
[    2.452492] ohci-platform: OHCI generic platform driver
[    2.457922] ohci-exynos: OHCI EXYNOS driver
[    2.462397] usbcore: registered new interface driver usb-storage
[    2.469501] rtc-efi rtc-efi: registered as rtc0
[    2.474380] i2c /dev entries driver
[    2.478130] bcm-iproc-i2c 689b0000.i2c: bus set to 100000 Hz
[    2.484077] pca953x 0-0020: 0-0020 supply vcc not found, using dummy regulator
[    2.494477] bcm-iproc-i2c 689e0000.i2c: bus set to 100000 Hz
[    2.501847] sp805-wdt 689c0000.watchdog: registration successful
[    2.508451] sdhci: Secure Digital Host Controller Interface driver
[    2.514832] sdhci: Copyright(c) Pierre Ossman
[    2.519462] Synopsys Designware Multimedia Card Interface Driver
[    2.520556] ata7: SATA link down (SStatus 0 SControl 300)
[    2.525965] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.537381] sdhci-iproc 68cf1000.sdhci: Adding to iommu group 0
[    2.543616] sdhci-iproc 68cf2000.sdhci: Adding to iommu group 1
[    2.550099] ledtrig-cpu: registered to indicate activity on CPUs
[    2.556749] usbcore: registered new interface driver usbhid
[    2.562502] usbhid: USB HID core driver
[    2.567691] NET: Registered protocol family 17
[    2.572331] 9pnet: Installing 9P2000 support
[    2.576760] Key type dns_resolver registered
[    2.581311] registered taskstats version 1
[    2.585542] Loading compiled-in X.509 certificates
[    2.593551] ssp-pl022 68a80000.spi: ARM PL022 driver, device ID: 0x00241022
[    2.596553] ata8: SATA link down (SStatus 0 SControl 300)
[    2.600760] ssp-pl022 68a80000.spi: mapped registers from 0x0000000068a80000 to (____ptrval____)
[    2.615395] ssp-pl022 68a80000.spi: Failed to work in dma mode, work without dma!
[    2.623259] spi-nor spi0.0: w25q32 (4096 Kbytes)
[    2.628504] ssp-pl022 68a90000.spi: ARM PL022 driver, device ID: 0x00241022
[    2.635707] ssp-pl022 68a90000.spi: mapped registers from 0x0000000068a90000 to (____ptrval____)
[    2.644788] ssp-pl022 68a90000.spi: Failed to work in dma mode, work without dma!
[    2.652632] spi-nor spi1.0: w25q32 (4096 Kbytes)
[    2.657813] dma-pl330 68c10000.dma: Adding to iommu group 2
[    2.664044] dma-pl330 68c10000.dma: Loaded driver for PL330 DMAC-241330
[    2.670873] dma-pl330 68c10000.dma: 	DBUFF-1024x8bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[    2.710977] mmc0: SDHCI controller on 68cf1000.sdhci [68cf1000.sdhci] using ADMA
[    2.749889] mmc1: SDHCI controller on 68cf2000.sdhci [68cf2000.sdhci] using ADMA
[    2.757702] rtc-efi rtc-efi: setting system clock to 2020-02-25T20:25:30 UTC (1582662330)
[    2.766433] arm-smmu 64000000.mmu: Blocked unknown Stream ID 0x6004; boot with "arm-smmu.disable_bypass=0" to allow, but this may have security implications
[    2.780877] arm-smmu 64000000.mmu: 	GFSR 0x80000002, GFSYNR0 0x00000000, GFSYNR1 0x00006004, GFSYNR2 0x00000000
[    2.784549] bgmac-enet 68c40000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    2.791279] bgmac-enet 68c40000.ethernet: Unknown IRQs: 0x00000800
[    2.810430] IP-Config: Complete:
[    2.813761]      device=eth0, hwaddr=00:10:18:9b:05:d3, ipaddr=10.136.13.29, mask=255.255.255.0, gw=10.136.13.1
[    2.824175]      host=10.136.13.29, domain=, nis-domain=(none)
[    2.830196]      bootserver=10.136.4.151, rootserver=10.136.4.151, rootpath=
[    2.837533] ALSA device list:
[    2.839351] mmc0: new DDR MMC card at address 0001
[    2.840599]   No soundcards found.
[    2.845723] mmcblk0: mmc0:0001 MMC16G 14.6 GiB 
[    2.853800] ttyS0 - failed to request DMA
[    2.853825] mmcblk0boot0: mmc0:0001 MMC16G partition 1 4.00 MiB
[    2.864142] mmcblk0boot1: mmc0:0001 MMC16G partition 2 4.00 MiB
[    2.870292] mmcblk0rpmb: mmc0:0001 MMC16G partition 3 128 KiB, chardev (236:0)
[    2.886855]  mmcblk0: p1 p2 p3 p4 p5
[    2.903229] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
[    2.911601] VFS: Mounted root (ext4 filesystem) on device 179:4.
[    2.919448] devtmpfs: mounted
[    2.923573] Freeing unused kernel memory: 5184K
[    2.928354] Run /sbin/init as init process
[    3.018346] random: fast init done
[    3.145798] nf_defrag_ipv6: version magic '5.5.0 SMP mod_unload modversions aarch64' should be '5.5.0 SMP preempt mod_unload aarch64'
[    3.183202] systemd[1]: systemd 244.3+ running in system mode. (-PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
[    3.205677] systemd[1]: Detected architecture arm64.


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

* Re: cma can't activate area on arm64
  2020-02-28 20:34         ` Jonathan Richardson
@ 2020-02-28 21:00           ` Robin Murphy
  2020-02-28 23:04             ` Jonathan Richardson
  0 siblings, 1 reply; 8+ messages in thread
From: Robin Murphy @ 2020-02-28 21:00 UTC (permalink / raw)
  To: Jonathan Richardson, Nicolas Saenz Julienne
  Cc: Catalin Marinas, Vlastimil Babka, linux-mm, akpm, linux-arm-kernel

On 2020-02-28 8:34 pm, Jonathan Richardson wrote:
> On Fri, Feb 28, 2020 at 12:16 PM Nicolas Saenz Julienne
> <nsaenzjulienne@suse.de> wrote:
>>
>> On Fri, 2020-02-28 at 11:56 -0800, Jonathan Richardson wrote:
>>> This is stingray (arch/arm64/boot/dts/broadcom/stingray/bcm958742k.dts).
>>> cma is specified on cmdline as "cma=1G". The full boot log was in the
>>> attachment.
>>
>> Would you mind attaching it again, I was added to the conversation later.
> 
> Sure, it is attached. Thanks for taking a look. This is a boot with
> "arch/arm64/configs/defconfig" and the previously mentioned dtb.

[    0.000000] efi:  SMBIOS=0x85c90000  SMBIOS 3.0=0x85a20000  ACPI 
2.0=0x85d50000  MEMATTR=0x8945e118  MEMRESERVE=0x85f85018
[    0.000000] crashkernel reserved: 0x00000000e0000000 - 
0x0000000100000000 (512 MB)
[    0.000000] cma: Reserved 1024 MiB at 0x00000000a0000000
...
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000bfffffff]
[    0.000000]   DMA32    [mem 0x00000000c0000000-0x00000000ffffffff]

Well there's your problem - both zones are only nominally 1GB to begin 
with, and both have stuff in them before we even get to placing CMA. To 
be honest, even without ZONE_DMA that looks pretty tight.

Robin.


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

* Re: cma can't activate area on arm64
  2020-02-28 21:00           ` Robin Murphy
@ 2020-02-28 23:04             ` Jonathan Richardson
  0 siblings, 0 replies; 8+ messages in thread
From: Jonathan Richardson @ 2020-02-28 23:04 UTC (permalink / raw)
  To: Robin Murphy
  Cc: Nicolas Saenz Julienne, Catalin Marinas, Vlastimil Babka,
	linux-mm, akpm, linux-arm-kernel

> [    0.000000] efi:  SMBIOS=0x85c90000  SMBIOS 3.0=0x85a20000  ACPI
> 2.0=0x85d50000  MEMATTR=0x8945e118  MEMRESERVE=0x85f85018
> [    0.000000] crashkernel reserved: 0x00000000e0000000 -
> 0x0000000100000000 (512 MB)
> [    0.000000] cma: Reserved 1024 MiB at 0x00000000a0000000
> ...
> [    0.000000] Zone ranges:
> [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000bfffffff]
> [    0.000000]   DMA32    [mem 0x00000000c0000000-0x00000000ffffffff]
>
> Well there's your problem - both zones are only nominally 1GB to begin
> with, and both have stuff in them before we even get to placing CMA. To
> be honest, even without ZONE_DMA that looks pretty tight.
>
> Robin.

OK I see. I don't get the zone range debugs with my working vs generic
defconfig. I'm not sure why. We have quite a bit reserved memory. I
understand better what's happening now, thank you.

Jon


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

end of thread, other threads:[~2020-02-28 23:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-21 23:42 cma can't activate area on arm64 Jonathan Richardson
2020-02-27  9:56 ` Vlastimil Babka
2020-02-27 17:48   ` Catalin Marinas
2020-02-28 19:56     ` Jonathan Richardson
2020-02-28 20:16       ` Nicolas Saenz Julienne
2020-02-28 20:34         ` Jonathan Richardson
2020-02-28 21:00           ` Robin Murphy
2020-02-28 23:04             ` Jonathan Richardson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).