All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roman Shaposhnik <roman@zededa.com>
To: Stefano Stabellini <sstabellini@kernel.org>
Cc: xen-devel@lists.xenproject.org,
	Stefano Stabellini <stefano.stabellini@xilinx.com>,
	Julien Grall <julien@xen.org>
Subject: Re: [Xen-devel] REGRESSION: Xen 4.13 RC5 fails to bootstrap Dom0 on ARM
Date: Tue, 17 Dec 2019 18:56:40 -0800	[thread overview]
Message-ID: <CAMmSBy8nMc1xj4Lh4emdkxpnwBrYBWh9wOx_muHAuO2rs1HmmQ@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.21.1912171737160.12921@sstabellini-ThinkPad-T480s>

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

On Tue, Dec 17, 2019 at 5:51 PM Stefano Stabellini
<sstabellini@kernel.org> wrote:
>
> On Tue, 17 Dec 2019, Roman Shaposhnik wrote:
> > On Tue, Dec 17, 2019 at 11:26 AM Stefano Stabellini
> > <sstabellini@kernel.org> wrote:
> > >
> > > On Tue, 17 Dec 2019, Roman Shaposhnik wrote:
> > > > On Tue, Dec 17, 2019 at 10:30 AM Stefano Stabellini
> > > > <sstabellini@kernel.org> wrote:
> > > > >
> > > > > On Tue, 17 Dec 2019, Julien Grall wrote:
> > > > > > Hi,
> > > > > >
> > > > > > On 17/12/2019 04:39, Roman Shaposhnik wrote:
> > > > > > > On Mon, Dec 16, 2019 at 6:55 PM Stefano Stabellini
> > > > > > > <sstabellini@kernel.org> wrote:
> > > > > > > > On Mon, 16 Dec 2019, Roman Shaposhnik wrote:
> > > > > > > > If I sum all the memory sizes together I get 0x3ddfd000 which is 990M.
> > > > > > > > If so, I wonder how you could boot succesfully with dom0_mem=1024M even
> > > > > > > > on Xen 4.12... :-?
> > > > > > >
> > > > > > > That is a very interesting observation indeed! I actually don't
> > > > > > > remember where that device tree came from, but I think it was from one
> > > > > > > of the Linaro sites.
> > > > > >
> > > > > > This is mostly likely because of:
> > > > > >
> > > > > > commit 6341a674573f1834f083f0ab0f5b36b075f9e02e
> > > > > > Author: Julien Grall <julien.grall@arm.com>
> > > > > > Date:   Wed Aug 21 22:42:31 2019 +0100
> > > > > >
> > > > > >     xen/arm: domain_build: Don't continue if unable to allocate all dom0 banks
> > > > > >
> > > > > >     Xen will only print a warning if there are memory unallocated when using
> > > > > >     1:1 mapping (only used by dom0). This also includes the case where no
> > > > > >     memory has been allocated.
> > > > > >
> > > > > >     It will bring to all sort of issues that can be hard to diagnostic for
> > > > > >     users (the warning can be difficult to spot or disregard).
> > > > > >
> > > > > >     If the users request 1GB of memory, then most likely they want the exact
> > > > > >     amount and not 512MB. So panic if all the memory has not been allocated.
> > > > > >
> > > > > >     After this change, the behavior is the same as for non-1:1 memory
> > > > > >     allocation (used by domU).
> > > > > >
> > > > > >     At the same time, reflow the message to have the format on a single
> > > > > >     line.
> > > > > >
> > > > > >     Signed-off-by: Julien Grall <julien.grall@arm.com>
> > > > > >     Acked-by: Stefano Stabellini <sstabellini@kernel.org>
> > > > >
> > > > > Ah! Roman, could you please post the full boot log of a successful 4.12
> > > > > boot?
> > > > >
> > > > > If it has a "Failed to allocate requested dom0 memory" message, then we
> > > > > know what the issue is.
> > > >
> > > > Aha! Our messages seems to have crossed ;-) Full log is attached and
> > > > yes -- that's
> > > > the problem indeed.
> > > >
> > > > So at least that mystery is solved. But I'm still not able to get to a
> > > > full 1G of memory
> > > > even with your update to the device tree file. Any chance you can send me the
> > > > device tree file that works for you?
> > >
> > > I didn't try on real hardware, I only tried on QEMU with a similar
> > > configuration. I went back and check the HiKey device tree I used and it
> > > is the same as yours (including the ramoops reserved-memory error).
> > >
> > > Apparently there are 1G and 2G variants of the HiKey, obviously both
> > > yours and my device tree are for the 1G variant. I try to dig through
> > > the docs but couldn't find the details of the 2G variant. I cannot find
> > > anywhere the memory range for the top 1G of memory not even on the
> > > LeMaker docs! :-/
> >
> > Yup. That's exactly the issue on my end as well - can't seem to find an
> > authoritative source for that devicetree.
> >
> > I did find this, though:
> >      https://releases.linaro.org/96boards/hikey/linaro/debian/15.11/
> > which looks like it has the latest (at least file timestamp-wise) devicetree.
> >
> > If you look at the memory and reserved memory nodes there, they
> > are actually much simpler than what we've got:
> >
> >         memory {
> >                 device_type = "memory";
> >                 reg = <0x0 0x0 0x0 0x40000000>;
> >         };
>
> Which is still 1G, but it is surprisingly simpler.
>
>
> >         reserved-memory {
> >                 #address-cells = <0x2>;
> >                 #size-cells = <0x2>;
> >                 ranges;
> >
> >                 mcu-buf@05e00000 {
> >                         no-map;
> >                         reg = <0x0 0x5e00000 0x0 0x100000 0x0
> > 0x740f000 0x0 0x1000>;
> >                 };
> >
> >                 mbox-buf@06dff000 {
> >                         no-map;
> >                         reg = <0x0 0x6dff000 0x0 0x1000>;
> >                 };
> >         };
> >
> > So -- just on a whim -- I changed it to:
> >     reg = <0x0 0x0 0x0 0x80000000>;
>
> I would have tried that too :-)
>
>
> > Interestingly enough, Xen booted, and complained about only 192MB
> > unallocated this time.
> > So, I dropped the size of Dom0 to 640M and I got it boot and here's
> > what I'm seeing as
> > an output of xl info:
> >    total_memory           : 1120
> >    free_memory            : 390
> > It still nowhere close to 2G.
> >
> > Then I booted the Linux kernel without Xen and it correctly identified
> > all 2G worth of RAM, and in fact,
>
> Good! We can work with that.

So that is, in fact, my first question -- why is Xen not showing
available memory in xl info?

> > when I converted /sys/firmware/devicetree/base back into dts, here's
> > what I've got:
> >
> >         memory {
> >                 device_type = "memory";
> >                 reg = <0x0 0x0 0x0 0x5e00000 0x0 0x5f00000 0x0 0x1000
> > 0x0 0x5f02000 0x0 0xefd000 0x0 0x6e00000 0x0 0x60f000 0x0 0x7410000
> > 0x0 0x1aaf0000 0x0 0x21f00000 0x0 0x100000 0x0 0x22000000 0x0
> > 0x1c000000>;
> >         };
> >
> >         reserved-memory {
> >                 ranges;
> >                 #size-cells = <0x2>;
> >                 #address-cells = <0x2>;
> >
> >                 ramoops@21f00000 {
> >                         ftrace-size = <0x20000>;
> >                         console-size = <0x20000>;
> >                         reg = <0x0 0x21f00000 0x0 0x100000>;
> >                         record-size = <0x20000>;
> >                         compatible = "ramoops";
> >                 };
> >
> >                 linux,cma {
> >                         linux,cma-default;
> >                         reusable;
> >                         size = <0x0 0x8000000>;
> >                         compatible = "shared-dma-pool";
> >                 };
> >         };
> >
> > If you look at the REG -- it does now add up to 2Gb,
>
> I am a bit confused by this. I did the calculation twice and it is still
> only 990MB. In fact, what you pasted here really looks like the old
> device tree. Is it possible that you run the test with the old device
> tree?

There's something weird going on when it comes to Linux on this
box. Basically, it seems that regardless of what devicetree I pass,
Linux kernel seems to successfully discover all of 2G of memory.

For example, I'm attaching a Linux boot log that clearly shows:
   Memory: 1877336K/2062392K available
Even though I double checked that devicetree is only advertising 1G.

But see below for more on this:

> > but booting Xen
> > with it has exactly theo
> > same effect as booting it with: reg = <0x0 0x0 0x0 0x80000000>;
> >
> > I am attaching a full log, and I see the following in the logs:
> >
> > (XEN) Allocating 1:1 mappings totalling 720MB for dom0:
> > (XEN) BANK[0] 0x00000008000000-0x0000001c000000 (320MB)
> > (XEN) BANK[1] 0x00000040000000-0x00000058000000 (384MB)
> > (XEN) BANK[2] 0x0000007b000000-0x0000007c000000 (16MB)
> >
> > Which sort of makes sense, I guess -- but I still don't understand
> > where all these ranges
> > are coming from and how come Xen doesn't see the full 2Gb even with various
> > devicetrees I tried.
> >
> > Any ideas here would be greatly apprecaited!
>
> I think you might have run the test with the old device tree by mistake?
> If you are sure that Linux can boot OK with memory as:
>
>   reg = <0x0 0x0 0x0 0x80000000>;
>
> and correctly sees 2GB, then it should work with Xen too.

Well, that's the issue -- it seems that Linux somehow doesn't depend *at all*
on what I put in devicetrees -- it always detects full 2G.

> In fact, looking at the logs you pasted, the choice of memory for dom0:
>
>   0x40000000-0x58000000
>   0x7b000000-0x7c000000
>
> means that Xen was succesfully able to see the RAM above 0x40000000!
> So, it looked like it already worked some extent!

Exactly! That's the other surprising bit -- I noticed that too -- its not like
Xen doesn't see any of the memory above 1G -- it just doesn't see enough of it.

So the question is -- what is Linux doing that Xen doesn't?

Thanks,
Roman.

[-- Attachment #2: linux.log --]
[-- Type: application/octet-stream, Size: 24830 bytes --]

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd033]
[    0.000000] Linux version 4.19.5 (root@350845ae5335) (gcc version 6.3.0 (Alpine 6.3.0)) #1 SMP PREEMPT Sat Sep 7 06:30:56 UTC 2019
[    0.000000] Machine model: HiKey Development Board
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: EFI v2.40 by Linaro HiKey EFI Nov 28 2015 10:50:07
[    0.000000] efi:
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000072c00000, size 128 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x7ff28680-0x7ff29e3f]
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000005dfffff]
[    0.000000]   node   0: [mem 0x0000000005f00000-0x0000000006dfefff]
[    0.000000]   node   0: [mem 0x0000000006e00000-0x000000000740efff]
[    0.000000]   node   0: [mem 0x0000000007410000-0x0000000034ffffff]
[    0.000000]   node   0: [mem 0x00000000350f0000-0x000000003dffffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x000000007ff6dfff]
[    0.000000]   node   0: [mem 0x000000007ff6e000-0x000000007fffefff]
[    0.000000]   node   0: [mem 0x000000007ffff000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] On node 0 totalpages: 515598
[    0.000000]   DMA32 zone: 8192 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 515598 pages, LIFO batch:63
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] random: get_random_bytes called from start_kernel+0xac/0x414 with crng_init=0
[    0.000000] percpu: Embedded 23 pages/cpu @(____ptrval____) s56664 r8192 d29352 u94208
[    0.000000] pcpu-alloc: s56664 r8192 d29352 u94208 alloc=23*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 843419
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 507406
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/kernel console=ttyAMA0 console=ttyAMA1 console=ttyAMA2 console=ttyAMA3 root=PARTUUID=f71bd987-d99a-4c88-9781-cf4c26cae55e rootdelay=3
[    0.000000] Memory: 1877336K/2062392K available (10108K kernel code, 1676K rwdata, 5016K rodata, 1280K init, 376K bss, 53984K reserved, 131072K 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=64 to nr_cpu_ids=8.
[    0.000000] 	Tasks RCU enabled.
[    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] GIC: Using split EOI/Deactivate mode
[    0.000000] clocksource: arm,sp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 99544814920 ns
[    0.000005] sched_clock: 32 bits at 19MHz, resolution 52ns, wraps every 111848106981ns
[    0.000365] arch_timer: cp15 timer(s) running at 1.20MHz (phys).
[    0.000373] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x11b661f8e, max_idle_ns: 1763180809113 ns
[    0.000589] Console: colour dummy device 80x25
[    0.000666] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.40 BogoMIPS (lpj=4800)
[    0.000676] pid_max: default: 32768 minimum: 301
[    0.000743] Security Framework initialized
[    0.001397] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.001724] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.001759] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.001775] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.024371] ASID allocator initialised with 32768 entries
[    0.032370] rcu: Hierarchical SRCU implementation.
[    0.044499] Remapping and enabling EFI services.
[    0.052444] smp: Bringing up secondary CPUs ...
[    0.084735] Detected VIPT I-cache on CPU1
[    0.084789] CPU1: Booted secondary processor 0x0000000001 [0x410fd033]
[    0.116824] Detected VIPT I-cache on CPU2
[    0.116871] CPU2: Booted secondary processor 0x0000000103 [0x410fd033]
[    0.148820] Detected VIPT I-cache on CPU3
[    0.148845] CPU3: Booted secondary processor 0x0000000101 [0x410fd033]
[    0.180884] Detected VIPT I-cache on CPU4
[    0.180913] CPU4: Booted secondary processor 0x0000000002 [0x410fd033]
[    0.212960] Detected VIPT I-cache on CPU5
[    0.212986] CPU5: Booted secondary processor 0x0000000102 [0x410fd033]
[    0.245027] Detected VIPT I-cache on CPU6
[    0.245051] CPU6: Booted secondary processor 0x0000000100 [0x410fd033]
[    0.277091] Detected VIPT I-cache on CPU7
[    0.277119] CPU7: Booted secondary processor 0x0000000003 [0x410fd033]
[    0.277190] smp: Brought up 1 node, 8 CPUs
[    0.277225] SMP: Total of 8 processors activated.
[    0.277232] CPU features: detected: 32-bit EL0 Support
[    0.281383] CPU: All CPU(s) started at EL2
[    0.281422] alternatives: patching kernel code
[    0.282605] devtmpfs: initialized
[    0.288321] Registered cp15_barrier emulation handler
[    0.288338] Registered setend emulation handler
[    0.288643] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.288701] futex hash table entries: 2048 (order: 5, 131072 bytes)
[    0.292354] pinctrl core: initialized pinctrl subsystem
[    0.294174] DMI not present or invalid.
[    0.294548] NET: Registered protocol family 16
[    0.295000] audit: initializing netlink subsys (disabled)
[    0.295106] audit: type=2000 audit(0.292:1): state=initialized audit_enabled=0 res=1
[    0.296670] cpuidle: using governor menu
[    0.297005] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[    0.297015] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.305904] DMA: preallocated 256 KiB pool for atomic allocations
[    0.307316] Serial: AMBA PL011 UART driver
[    0.310141] hi6220-mbox f7510000.mailbox: Mailbox enabled
[    0.316955] OF: amba_device_add() failed (-19) for /soc/uart@f7111000
[    0.318179] f8015000.uart: ttyAMA0 at MMIO 0xf8015000 (irq = 41, base_baud = 0) is a PL011 rev2
[    0.911656] console [ttyAMA0] enabled
[    0.927357] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.934505] cryptd: max_cpu_qlen set to 1000
[    0.939719] ACPI: Interpreter disabled.
[    0.945182] vgaarb: loaded
[    0.948474] SCSI subsystem initialized
[    0.952483] libata version 3.00 loaded.
[    0.952837] usbcore: registered new interface driver usbfs
[    0.958386] usbcore: registered new interface driver hub
[    0.963795] usbcore: registered new device driver usb
[    0.969888] pps_core: LinuxPPS API ver. 1 registered
[    0.974876] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.984037] PTP clock support registered
[    0.988108] EDAC MC: Ver: 3.0.0
[    0.991578] Registered efivars operations
[    0.997298] clocksource: Switched to clocksource arch_sys_counter
[    1.003598] VFS: Disk quotas dquot_6.6.0
[    1.007576] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.014599] pnp: PnP ACPI: disabled
[    1.024490] NET: Registered protocol family 2
[    1.029356] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes)
[    1.037311] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    1.044687] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    1.051517] TCP: Hash tables configured (established 16384 bind 16384)
[    1.058157] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    1.064234] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    1.070843] NET: Registered protocol family 1
[    1.075237] PCI: CLS 0 bytes, default 64
[    1.076152] kvm [1]: 8-bit VMID
[    1.080050] kvm [1]: vgic interrupt IRQ1
[    1.084184] kvm [1]: Hyp mode initialized successfully
[    1.092769] Initialise system trusted keyrings
[    1.097385] workingset: timestamp_bits=44 max_order=19 bucket_order=0
[    1.109696] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.116049] 9p: Installing v9fs 9p2000 file system support
[    1.121626] pstore: using deflate compression
[    1.128782] Key type asymmetric registered
[    1.132900] Asymmetric key parser 'x509' registered
[    1.137838] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    1.145400] io scheduler noop registered
[    1.149332] io scheduler deadline registered
[    1.153749] io scheduler cfq registered (default)
[    1.158463] io scheduler mq-deadline registered
[    1.163006] io scheduler kyber registered
[    1.170982] pinctrl-single f7010000.pinmux: 159 pins, size 636
[    1.177206] pinctrl-single f8001800.pinmux: 30 pins, size 120
[    1.183389] pinctrl-single f7010800.pinmux: 163 pins, size 652
[    1.191439] pl061_gpio f702f000.gpio: PL061 GPIO chip @0x00000000f702f000 registered
[    1.199463] pl061_gpio f702c000.gpio: PL061 GPIO chip @0x00000000f702c000 registered
[    1.207475] pl061_gpio f7029000.gpio: PL061 GPIO chip @0x00000000f7029000 registered
[    1.215467] pl061_gpio f7026000.gpio: PL061 GPIO chip @0x00000000f7026000 registered
[    1.223474] pl061_gpio f7023000.gpio: PL061 GPIO chip @0x00000000f7023000 registered
[    1.231456] pl061_gpio f8013000.gpio: PL061 GPIO chip @0x00000000f8013000 registered
[    1.239453] pl061_gpio f7020000.gpio: PL061 GPIO chip @0x00000000f7020000 registered
[    1.247444] pl061_gpio f702e000.gpio: PL061 GPIO chip @0x00000000f702e000 registered
[    1.255448] pl061_gpio f702b000.gpio: PL061 GPIO chip @0x00000000f702b000 registered
[    1.263437] pl061_gpio f7028000.gpio: PL061 GPIO chip @0x00000000f7028000 registered
[    1.271433] pl061_gpio f7025000.gpio: PL061 GPIO chip @0x00000000f7025000 registered
[    1.279436] pl061_gpio f7022000.gpio: PL061 GPIO chip @0x00000000f7022000 registered
[    1.287441] pl061_gpio f8012000.gpio: PL061 GPIO chip @0x00000000f8012000 registered
[    1.295437] pl061_gpio f702d000.gpio: PL061 GPIO chip @0x00000000f702d000 registered
[    1.303449] pl061_gpio f702a000.gpio: PL061 GPIO chip @0x00000000f702a000 registered
[    1.311441] pl061_gpio f7027000.gpio: PL061 GPIO chip @0x00000000f7027000 registered
[    1.319311] gpio gpiochip16: names 9 do not match number of GPIOs 8
[    1.325747] pl061_gpio f7024000.gpio: PL061 GPIO chip @0x00000000f7024000 registered
[    1.333606] gpio gpiochip17: names 9 do not match number of GPIOs 8
[    1.340029] pl061_gpio f8014000.gpio: PL061 GPIO chip @0x00000000f8014000 registered
[    1.348046] pl061_gpio f7021000.gpio: PL061 GPIO chip @0x00000000f7021000 registered
[    1.356041] pl061_gpio f8011000.gpio: PL061 GPIO chip @0x00000000f8011000 registered
[    1.366324] EINJ: ACPI disabled.
[    1.373767] k3-dma f7370000.dma: initialized
[    1.383969] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    1.392344] SuperH (H)SCI(F) driver initialized
[    1.397313] msm_serial: driver initialized
[    1.409695] loop: module loaded
[    1.414718] VDD_3V3: supplied by SYS_5V
[    1.424184] libphy: Fixed MDIO Bus: probed
[    1.428758] tun: Universal TUN/TAP device driver, 1.6
[    1.434565] usbcore: registered new interface driver asix
[    1.440032] usbcore: registered new interface driver ax88179_178a
[    1.446288] VFIO - User Level meta-driver version: 0.3
[    1.452172] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.458741] ehci-pci: EHCI PCI platform driver
[    1.463245] ehci-platform: EHCI generic platform driver
[    1.468603] ehci-orion: EHCI orion driver
[    1.472705] ehci-exynos: EHCI EXYNOS driver
[    1.476968] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.483167] ohci-pci: OHCI PCI platform driver
[    1.487670] ohci-platform: OHCI generic platform driver
[    1.492999] ohci-exynos: OHCI EXYNOS driver
[    1.497646] usbcore: registered new interface driver usb-storage
[    1.503761] usbcore: registered new interface driver usbserial_generic
[    1.510324] usbserial: USB Serial support registered for generic
[    1.517162] input: HISI 65xx PowerOn Key as /devices/platform/f8000000.pmic/hi65xx-powerkey.0.auto/input/input0
[    1.528754] rtc-pl031 f8004000.rtc: rtc core: registered pl031 as rtc0
[    1.535614] rtc-pl031 f8003000.rtc: rtc core: registered pl031 as rtc1
[    1.542760] i2c /dev entries driver
[    1.548155] WARNING: CPU: 1 PID: 1 at arch/arm64/mm/ioremap.c:58 __ioremap_caller+0xd0/0xe0
[    1.556510] Modules linked in:
[    1.559567] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.19.5 #1
[    1.565482] Hardware name: HiKey Development Board (DT)
[    1.570704] pstate: 80000005 (Nzcv daif -PAN -UAO)
[    1.575494] pc : __ioremap_caller+0xd0/0xe0
[    1.579676] lr : __ioremap_caller+0x54/0xe0
[    1.583853] sp : ffff0000080639c0
[    1.587162] x29: ffff0000080639c0 x28: 0000000000000000
[    1.592474] x27: ffff000009002068 x26: ffff000008f426b0
[    1.597787] x25: ffff000008f50630 x24: 0000000000000000
[    1.603098] x23: 00e8000000000f07 x22: ffff00000865ea08
[    1.608409] x21: 0000000000000000 x20: 0000000005f01000
[    1.613719] x19: 0000000000001000 x18: ffffffffffffffff
[    1.619029] x17: 0000000000000000 x16: 0000000000000016
[    1.624342] x15: ffff0000090996c8 x14: ffff80007cf94d0a
[    1.629654] x13: ffff80007cf94d09 x12: 0000000000000030
[    1.634965] x11: 0000000000000018 x10: 0101010101010101
[    1.640274] x9 : 0000000000000003 x8 : 0000000000eff000
[    1.645585] x7 : 0000000000000018 x6 : ffff000009267f90
[    1.650897] x5 : 0000000000000002 x4 : 0000000000000002
[    1.656210] x3 : 0000000006dff000 x2 : ffff000009267fa8
[    1.661522] x1 : 0000000000000001 x0 : 0000000000000001
[    1.666832] Call trace:
[    1.669276]  __ioremap_caller+0xd0/0xe0
[    1.673108]  __ioremap+0x10/0x18
[    1.676335]  of_syscon_register+0xe0/0x2f0
[    1.680428]  syscon_node_to_regmap+0x74/0xc0
[    1.684697]  syscon_reboot_mode_probe+0x58/0x118
[    1.689312]  platform_drv_probe+0x50/0xb0
[    1.693319]  really_probe+0x1ec/0x3c0
[    1.696980]  driver_probe_device+0x124/0x148
[    1.701249]  __driver_attach+0x134/0x138
[    1.705172]  bus_for_each_dev+0x68/0xc8
[    1.709002]  driver_attach+0x20/0x28
[    1.712575]  bus_add_driver+0x1b8/0x298
[    1.716408]  driver_register+0x60/0x110
[    1.720239]  __platform_driver_register+0x44/0x50
[    1.724944]  syscon_reboot_mode_driver_init+0x18/0x20
[    1.729993]  do_one_initcall+0x58/0x170
[    1.733828]  kernel_init_freeable+0x194/0x23c
[    1.738185]  kernel_init+0x10/0x108
[    1.741673]  ret_from_fork+0x10/0x18
[    1.745250] ---[ end trace f40323267650f3ae ]---
[    1.749904] syscon-reboot-mode: probe of 5f01000.reboot-mode-syscon:reboot-mode failed with error -12
[    1.761192] sp805-wdt f8005000.watchdog: registration successful
[    1.770600] sdhci: Secure Digital Host Controller Interface driver
[    1.776812] sdhci: Copyright(c) Pierre Ossman
[    1.781520] Synopsys Designware Multimedia Card Interface Driver
[    1.788277] dwmmc_k3 f723f000.dwmmc2: fifo-depth property not found, using value of FIFOTH register as default
[    1.798409] dwmmc_k3 f723f000.dwmmc2: IDMAC supports 32-bit address mode.
[    1.806281] dwmmc_k3 f723f000.dwmmc2: Using internal DMA controller.
[    1.812655] dwmmc_k3 f723f000.dwmmc2: Version ID is 250a
[    1.818023] dwmmc_k3 f723f000.dwmmc2: DW MMC controller at irq 13,32 bit host data width,128 deep fifo
[    1.827444] dwmmc_k3 f723f000.dwmmc2: Linked as a consumer to regulator.1
[    1.834312] dwmmc_k3 f723f000.dwmmc2: allocated mmc-pwrseq
[    1.839835] mmc_host mmc0: card is non-removable.
[    1.857829] mmc_host mmc0: Bus speed (slot 0) = 24800000Hz (slot req 400000Hz, actual 400000HZ div = 31)
[    1.881539] dwmmc_k3 f723e000.dwmmc1: fifo-depth property not found, using value of FIFOTH register as default
[    1.893123] dwmmc_k3 f723e000.dwmmc1: IDMAC supports 32-bit address mode.
[    1.898754] dwmmc_k3 f723f000.dwmmc2: card claims to support voltages below defined range
[    1.908499] dwmmc_k3 f723e000.dwmmc1: Using internal DMA controller.
[    1.914889] dwmmc_k3 f723e000.dwmmc1: Version ID is 250a
[    1.920281] dwmmc_k3 f723e000.dwmmc1: DW MMC controller at irq 21,32 bit host data width,128 deep fifo
[    1.929703] dwmmc_k3 f723e000.dwmmc1: Linked as a consumer to regulator.5
[    1.936563] dwmmc_k3 f723e000.dwmmc1: Linked as a consumer to regulator.4
[    1.937214] mmc_host mmc0: Bus speed (slot 0) = 24800000Hz (slot req 25000000Hz, actual 24800000HZ div = 0)
[    1.943442] dwmmc_k3 f723e000.dwmmc1: Got CD GPIO
[    1.959235] mmc0: new SDIO card at address 0001
[    1.970930] mmc_host mmc1: Bus speed (slot 0) = 24800000Hz (slot req 400000Hz, actual 400000HZ div = 31)
[    1.995834] dwmmc_k3 f723d000.dwmmc0: fifo-depth property not found, using value of FIFOTH register as default
[    2.008126] dwmmc_k3 f723d000.dwmmc0: IDMAC supports 32-bit address mode.
[    2.015965] dwmmc_k3 f723d000.dwmmc0: Using internal DMA controller.
[    2.022377] dwmmc_k3 f723d000.dwmmc0: Version ID is 250a
[    2.027768] dwmmc_k3 f723d000.dwmmc0: DW MMC controller at irq 22,32 bit host data width,256 deep fifo
[    2.037331] dwmmc_k3 f723d000.dwmmc0: Linked as a consumer to regulator.10
[    2.044312] mmc_host mmc2: card is non-removable.
[    2.064352] mmc_host mmc2: Bus speed (slot 0) = 24800000Hz (slot req 400000Hz, actual 400000HZ div = 31)
[    2.090718] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.100496] ledtrig-cpu: registered to indicate activity on CPUs
[    2.107761] usbcore: registered new interface driver usbhid
[    2.113377] usbhid: USB HID core driver
[    2.119035] optee: probing for conduit method from DT.
[    2.124226] optee: revision 1.0
[    2.124232] optee: api revision mismatch
[    2.132026] NET: Registered protocol family 10
[    2.137595] Segment Routing with IPv6
[    2.141397] NET: Registered protocol family 17
[    2.145885] 9pnet: Installing 9P2000 support
[    2.150249] Key type dns_resolver registered
[    2.155863] registered taskstats version 1
[    2.159987] Loading compiled-in X.509 certificates
[    2.170338] f7113000.uart: ttyAMA3 at MMIO 0xf7113000 (irq = 9, base_baud = 0) is a PL011 rev2
[    2.179853] f7112000.uart: ttyAMA2 at MMIO 0xf7112000 (irq = 24, base_baud = 0) is a PL011 rev2
[    2.189395] 5V_HUB: supplied by SYS_5V
[    2.193570] ssp-pl022 f7106000.spi: ARM PL022 driver, device ID: 0x00041022
[    2.200685] ssp-pl022 f7106000.spi: mapped registers from 0x00000000f7106000 to (____ptrval____)
[    2.209551] ssp-pl022 f7106000.spi: setup for DMA on RX dma0chan0, TX dma0chan1
[    2.220803] phy phy-soc:usbphy.0: Linked as a consumer to regulator.13
[    2.228104] mmc_host mmc2: Bus speed (slot 0) = 198400000Hz (slot req 200000000Hz, actual 198400000HZ div = 0)
[    2.238625] dwc2 f72c0000.usb: f72c0000.usb supply vusb_d not found, using dummy regulator
[    2.246963] dwc2 f72c0000.usb: Linked as a consumer to regulator.0
[    2.253175] dwc2 f72c0000.usb: f72c0000.usb supply vusb_a not found, using dummy regulator
[    2.261696] mmc2: new HS200 MMC card at address 0001
[    2.267511] mmcblk2: mmc2:0001 8GND3R 7.28 GiB
[    2.272675] mmcblk2boot0: mmc2:0001 8GND3R partition 1 4.00 MiB
[    2.279225] mmcblk2boot1: mmc2:0001 8GND3R partition 2 4.00 MiB
[    2.285497] mmcblk2rpmb: mmc2:0001 8GND3R partition 3 512 KiB, chardev (239:0)
[    2.298967] random: fast init done
[    2.303494]  mmcblk2: p1 p2 p3 p4 p5 p6 p7 p8 p11 p12 p13 p14 p19
[    2.470369] dwc2 f72c0000.usb: EPs: 16, dedicated fifos, 1920 entries in SPRAM
[    2.481583] dwc2 f72c0000.usb: DWC OTG Controller
[    2.486389] dwc2 f72c0000.usb: new USB bus registered, assigned bus number 1
[    2.493526] dwc2 f72c0000.usb: irq 15, io mem 0xf72c0000
[    2.500614] hub 1-0:1.0: USB hub found
[    2.504430] hub 1-0:1.0: 1 port detected
[    2.510923] rtc-pl031 f8004000.rtc: setting system clock to 1970-01-01 00:01:06 UTC (66)
[    2.519517] LDO2_2V8: disabling
[    2.522687] LDO7_SDIO: disabling
[    2.525953] LDO10_2V85: disabling
[    2.529270] LDO13_1V8: disabling
[    2.532510] LDO14_2V8: disabling
[    2.535749] LDO17_2V5: disabling
[    2.539410] uart-pl011 f8015000.uart: no DMA platform data
[    2.544975] Waiting 3 sec before mounting root device...
[    2.902164] dwc2 f72c0000.usb: Set speed to high-speed
[    2.907463] usb 1-1: new high-speed USB device number 2 using dwc2
[    3.102147] dwc2 f72c0000.usb: Set speed to high-speed
[    3.134486] hub 1-1:1.0: USB hub found
[    3.138621] hub 1-1:1.0: 3 ports detected
[    5.629170] VFS: Mounted root (squashfs filesystem) readonly on device 179:12.
[    5.640112] devtmpfs: mounted
[    5.643658] Freeing unused kernel memory: 1280K
[    5.648346] Run /sbin/init as init process
[    6.867253] mmc_host mmc0: Bus speed (slot 0) = 24800000Hz (slot req 400000Hz, actual 400000HZ div = 31)
[    6.963597] mmc_host mmc0: Bus speed (slot 0) = 24800000Hz (slot req 25000000Hz, actual 24800000HZ div = 0)
[    6.992755] mmc_host mmc0: Bus speed (slot 0) = 24800000Hz (slot req 400000Hz, actual 400000HZ div = 31)
[    7.094372] mmc_host mmc0: Bus speed (slot 0) = 24800000Hz (slot req 25000000Hz, actual 24800000HZ div = 0)
[    8.002589] uart-pl011 f7112000.uart: no DMA platform data
[    8.520368] uart-pl011 f7113000.uart: no DMA platform data
[   10.687626] FAT-fs (mmcblk2p14): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   12.191251] EXT4-fs (mmcblk2p19): mounted filesystem with ordered data mode. Opts: (null)
[   12.915328] random: rngd: uninitialized urandom read (8 bytes read)
[   12.921729] random: crng init done
[   13.493090] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   13.532140] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   13.539541] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   13.548225] cfg80211: failed to load regulatory.db
[   14.643845] mmc_host mmc0: Bus speed (slot 0) = 24800000Hz (slot req 400000Hz, actual 400000HZ div = 31)
[   14.737903] mmc_host mmc0: Bus speed (slot 0) = 24800000Hz (slot req 25000000Hz, actual 24800000HZ div = 0)
[   14.798563] mmc_host mmc0: Bus speed (slot 0) = 24800000Hz (slot req 400000Hz, actual 400000HZ div = 31)
[   14.871919] mmc_host mmc0: Bus speed (slot 0) = 24800000Hz (slot req 25000000Hz, actual 24800000HZ div = 0)
[   15.093055] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[   15.094361] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[   15.101167] wlcore: WARNING Detected unconfigured mac address in nvs, derive from fuse instead.
[   15.120605] wlcore: WARNING This default nvs file can be removed from the file system
[   15.140956] Bridge firewalling registered
[   15.171440] wlcore: loaded
[   24.274274] mmc_host mmc0: Bus speed (slot 0) = 24800000Hz (slot req 400000Hz, actual 400000HZ div = 31)
[   24.343979] mmc_host mmc0: Bus speed (slot 0) = 24800000Hz (slot req 25000000Hz, actual 24800000HZ div = 0)
[   24.855506] wlcore: PHY firmware version: Rev 8.2.0.0.240
[   24.966927] wlcore: firmware booted (Rev 8.9.0.0.76)
[   25.026727] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   25.273553] usbcore: registered new interface driver qcserial
[   25.279451] usbserial: USB Serial support registered for Qualcomm USB modem
[   25.298713] usbcore: registered new interface driver cdc_wdm
[   26.069991] wlan0: authenticate with 7c:57:3c:d3:9b:41
[   26.079766] wlan0: send auth to 7c:57:3c:d3:9b:41 (try 1/3)
[   26.100015] wlan0: authenticated
[   26.105618] wlan0: associate with 7c:57:3c:d3:9b:41 (try 1/3)
[   26.116812] wlan0: RX AssocResp from 7c:57:3c:d3:9b:41 (capab=0x431 status=0 aid=1)
[   26.157936] wlcore: Association completed.
[   26.176111] wlan0: associated
[   26.193151] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

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

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2019-12-18  2:57 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-16 20:12 [Xen-devel] REGRESSION: Xen 4.13 RC5 fails to bootstrap Dom0 on ARM Roman Shaposhnik
2019-12-16 22:43 ` Stefano Stabellini
2019-12-17  2:55 ` Stefano Stabellini
2019-12-17  4:39   ` Roman Shaposhnik
2019-12-17 11:30     ` Julien Grall
2019-12-17 18:30       ` Stefano Stabellini
2019-12-17 18:33         ` Roman Shaposhnik
2019-12-17 19:25           ` Stefano Stabellini
2019-12-18  0:04             ` Roman Shaposhnik
2019-12-18  1:51               ` Stefano Stabellini
2019-12-18  2:56                 ` Roman Shaposhnik [this message]
2019-12-18  7:36                   ` Roman Shaposhnik
2019-12-18 11:50                     ` Julien Grall
2019-12-18 17:03                       ` Roman Shaposhnik
2019-12-18 22:17                         ` Julien Grall
2019-12-19  0:28                           ` Roman Shaposhnik
2019-12-19  7:58                             ` Julien Grall
2019-12-20  0:01                               ` Stefano Stabellini
2019-12-20  8:21                                 ` Julien Grall
2019-12-21  1:37                                 ` Roman Shaposhnik
2019-12-29 18:01                                   ` Julien Grall
2019-12-31  5:14                                     ` Roman Shaposhnik
2019-12-31 22:48                                       ` Roman Shaposhnik
2020-01-01 13:26                                         ` Julien Grall
2020-01-06 18:13                                           ` Stefano Stabellini
2019-12-18 13:02                   ` Julien Grall
2019-12-18 12:56               ` Julien Grall
2019-12-18 17:09                 ` Roman Shaposhnik
2019-12-18 22:40                   ` Julien Grall
2019-12-17 18:31       ` Roman Shaposhnik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMmSBy8nMc1xj4Lh4emdkxpnwBrYBWh9wOx_muHAuO2rs1HmmQ@mail.gmail.com \
    --to=roman@zededa.com \
    --cc=julien@xen.org \
    --cc=sstabellini@kernel.org \
    --cc=stefano.stabellini@xilinx.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.