Advertisement
jintack

L2 boot with VGIC and VTIMER (15 sec!). 40x faster. 12.5%cpu

Apr 8th, 2016
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.80 KB | None | 0 0
  1. Welcome to Ubuntu 14.04 LTS (GNU/Linux 4.4.0-rc5+ aarch64)
  2.  
  3. * Documentation: http://www.linaro.org
  4. Last login: Thu Jan 1 00:00:02 1970
  5. ifup: interface eth1 already configured
  6. root@kvm-guest:~# ./run.sh
  7. ./run-guest.sh: line 95: /sys/class/net/kvmtap0/ifindex: No such file or directory
  8. [ 0.000000] Booting Linux on physical CPU 0x0
  9. [ 0.000000] Initializing cgroup subsys cpu
  10. [ 0.000000] Linux version 4.4.0-rc5+ (jintackl@kvm-node.ne2.kvmarm-pg0.utah.cloudlab.us) (gcc version 4.8.2 (Ubuntu/Linaro 4.8.2-19ubuntu1) ) #91 SMP PREEMPT Fri Apr 8 09:13:26 MDT 2016
  11. [ 0.000000] Boot CPU: AArch64 Processor [500f0001]
  12. [ 0.000000] earlycon: Early serial console at MMIO 0x9000000 (options '')
  13. [ 0.000000] bootconsole [uart0] enabled
  14. [ 0.000000] efi: Getting EFI parameters from FDT:
  15. [ 0.000000] efi: UEFI not found.
  16. [ 0.000000] cma: Reserved 16 MiB at 0x00000000ff000000
  17. [ 0.000000] psci: probing for conduit method from DT.
  18. [ 0.000000] psci: PSCIv0.2 detected in firmware.
  19. [ 0.000000] psci: Using standard PSCI v0.2 function IDs
  20. [ 0.000000] psci: Trusted OS migration not required
  21. [ 0.000000] PERCPU: Embedded 15 pages/cpu @ffff8000fffc7000 s24576 r8192 d28672 u61440
  22. [ 0.000000] Detected PIPT I-cache on CPU0
  23. [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1032192
  24. [ 0.000000] Kernel command line: earlycon=pl011,0x09000000 console=ttyAMA0 root=/dev/vda rw
  25. [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
  26. [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
  27. [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
  28. [ 0.000000] software IO TLB [mem 0xfafff000-0xfefff000] (64MB) mapped at [ffff8000bafff000-ffff8000beffefff]
  29. [ 0.000000] Memory: 4030060K/4194304K available (6002K kernel code, 506K rwdata, 2520K rodata, 548K init, 216K bss, 147860K reserved, 16384K cma-reserved)
  30. [ 0.000000] Virtual kernel memory layout:
  31. [ 0.000000] vmalloc : 0xffff000000000000 - 0xffff7bffbfff0000 (126974 GB)
  32. [ 0.000000] vmemmap : 0xffff7bffc0000000 - 0xffff7fffc0000000 ( 4096 GB maximum)
  33. [ 0.000000] 0xffff7bffc1000000 - 0xffff7bffc5000000 ( 64 MB actual)
  34. [ 0.000000] fixed : 0xffff7ffffa7fd000 - 0xffff7ffffac00000 ( 4108 KB)
  35. [ 0.000000] PCI I/O : 0xffff7ffffae00000 - 0xffff7ffffbe00000 ( 16 MB)
  36. [ 0.000000] modules : 0xffff7ffffc000000 - 0xffff800000000000 ( 64 MB)
  37. [ 0.000000] memory : 0xffff800000000000 - 0xffff800100000000 ( 4096 MB)
  38. [ 0.000000] .init : 0xffff8000008d5000 - 0xffff80000095e000 ( 548 KB)
  39. [ 0.000000] .text : 0xffff800000080000 - 0xffff8000008d4994 ( 8531 KB)
  40. [ 0.000000] .data : 0xffff80000096f000 - 0xffff8000009ed800 ( 506 KB)
  41. [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  42. [ 0.000000] Preemptible hierarchical RCU implementation.
  43. [ 0.000000] Build-time adjustment of leaf fanout to 64.
  44. [ 0.000000] RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1.
  45. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=1
  46. [ 0.000000] NR_IRQS:64 nr_irqs:64 0
  47. [ 0.000000] GICv2m: Node v2m: range[0x8020000:0x8020fff], SPI[80:144]
  48. [ 0.000000] Architected cp15 timer(s) running at 50.00MHz (virt).
  49. [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb8812736b, max_idle_ns: 440795202655 ns
  50. [ 0.000005] sched_clock: 56 bits at 50MHz, resolution 20ns, wraps every 4398046511100ns
  51. [ 0.183999] Console: colour dummy device 80x25
  52. [ 0.285998] Calibrating delay loop (skipped), value calculated using timer frequency.. 100.00 BogoMIPS (lpj=200000)
  53. [ 0.526002] pid_max: default: 32768 minimum: 301
  54. [ 0.631609] Security Framework initialized
  55. [ 0.725939] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
  56. [ 0.879783] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
  57. [ 1.044002] Initializing cgroup subsys memory
  58. [ 1.143619] Initializing cgroup subsys hugetlb
  59. [ 1.247615] EFI services will not be available.
  60. [ 1.363936] ASID allocator initialised with 65536 entries
  61. [ 1.533424] Brought up 1 CPUs
  62. [ 1.601834] SMP: Total of 1 processors activated.
  63. [ 1.709981] CPU: All CPU(s) started at EL1
  64. [ 1.803956] devtmpfs: initialized
  65. [ 1.880454] DMI not present or invalid.
  66. [ 1.969755] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
  67. [ 2.201618] pinctrl core: initialized pinctrl subsystem
  68. [ 2.323897] NET: Registered protocol family 16
  69. [ 2.449497] cpuidle: using governor ladder
  70. [ 2.565411] cpuidle: using governor menu
  71. [ 2.655965] vdso: 2 pages (1 code @ ffff800000975000, 1 data @ ffff800000974000)
  72. [ 2.825935] hw-breakpoint: found 4 breakpoint and 4 watchpoint registers.
  73. [ 2.984620] DMA: preallocated 256 KiB pool for atomic allocations
  74. [ 3.127746] Serial: AMBA PL011 UART driver
  75. [ 3.303490] 9000000.pl011: ttyAMA0 at MMIO 0x9000000 (irq = 38, base_baud = 0) is a PL011 rev1
  76. [ 3.506441] console [ttyAMA0] enabled
  77. [ 3.506441] console [ttyAMA0] enabled
  78. [ 3.655985] bootconsole [uart0] disabled
  79. [ 3.655985] bootconsole [uart0] disabled
  80. [ 3.877718] vgaarb: loaded
  81. [ 3.928246] SCSI subsystem initialized
  82. [ 4.001699] usbcore: registered new interface driver usbfs
  83. [ 4.100841] usbcore: registered new interface driver hub
  84. [ 4.198016] usbcore: registered new device driver usb
  85. [ 4.291552] pps_core: LinuxPPS API ver. 1 registered
  86. [ 4.384983] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
  87. [ 4.553943] PTP clock support registered
  88. [ 4.626071] dmi: Firmware registration failed.
  89. [ 4.712799] clocksource: Switched to clocksource arch_sys_counter
  90. [ 4.831456] NET: Registered protocol family 2
  91. [ 4.911078] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
  92. [ 5.044823] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
  93. [ 5.169909] TCP: Hash tables configured (established 32768 bind 32768)
  94. [ 5.292094] UDP hash table entries: 2048 (order: 4, 65536 bytes)
  95. [ 5.403272] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
  96. [ 5.519529] NET: Registered protocol family 1
  97. [ 5.605479] RPC: Registered named UNIX socket transport module.
  98. [ 5.710877] RPC: Registered udp transport module.
  99. [ 5.794502] RPC: Registered tcp transport module.
  100. [ 5.877665] RPC: Registered tcp NFSv4.1 backchannel transport module.
  101. [ 5.991619] kvm [1]: HYP mode not available
  102. [ 6.067158] nest-tests successfully initialized
  103. [ 6.149171] futex hash table entries: 256 (order: 3, 32768 bytes)
  104. [ 6.259707] audit: initializing netlink subsys (disabled)
  105. [ 6.355922] audit: type=2000 audit(1.948:1): initialized
  106. [ 6.461507] HugeTLB registered 2 MB page size, pre-allocated 0 pages
  107. [ 6.581432] VFS: Disk quotas dquot_6.6.0
  108. [ 6.652487] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
  109. [ 6.777768] NFS: Registering the id_resolver key type
  110. [ 6.893852] Key type id_resolver registered
  111. [ 6.969565] Key type id_legacy registered
  112. [ 7.041918] fuse init (API version 7.23)
  113. [ 7.112431] 9p: Installing v9fs 9p2000 file system support
  114. [ 7.211368] io scheduler noop registered
  115. [ 7.280988] io scheduler cfq registered (default)
  116. [ 7.366984] PCI host bridge /pcie@10000000 ranges:
  117. [ 7.453560] IO 0x3eff0000..0x3effffff -> 0x00000000
  118. [ 7.547392] MEM 0x10000000..0x3efeffff -> 0x10000000
  119. [ 7.639645] pci-host-generic 3f000000.pcie: PCI host bridge to bus 0000:00
  120. [ 7.771810] pci_bus 0000:00: root bus resource [bus 00-0f]
  121. [ 7.868244] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
  122. [ 7.978437] pci_bus 0000:00: root bus resource [mem 0x10000000-0x3efeffff]
  123. [ 8.175683] pci 0000:00:01.0: BAR 1: assigned [mem 0x10000000-0x10000fff]
  124. [ 8.297279] pci 0000:00:01.0: BAR 0: assigned [io 0x1000-0x103f]
  125. [ 8.453703] virtio-pci 0000:00:01.0: enabling device (0000 -> 0003)
  126. [ 8.568590] virtio-pci 0000:00:01.0: virtio_pci: leaving for legacy driver
  127. [ 8.697591] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
  128. [ 8.812977] msm_serial: driver initialized
  129. [ 8.886328] Unable to detect cache hierarchy from DT for CPU 0
  130. [ 9.053622] loop: module loaded
  131. [ 9.159459] tun: Universal TUN/TAP device driver, 1.6
  132. [ 9.251655] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
  133. [ 9.362323] sky2: driver version 1.30
  134. [ 9.438043] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  135. [ 9.555185] ehci-pci: EHCI PCI platform driver
  136. [ 9.634818] ehci-platform: EHCI generic platform driver
  137. [ 9.727892] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  138. [ 9.839986] ohci-pci: OHCI PCI platform driver
  139. [ 9.922413] ohci-platform: OHCI generic platform driver
  140. [ 10.014966] usbcore: registered new interface driver usb-storage
  141. [ 10.123070] mousedev: PS/2 mouse device common for all mice
  142. [ 10.230603] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
  143. [ 10.394132] sdhci: Secure Digital Host Controller Interface driver
  144. [ 10.502833] sdhci: Copyright(c) Pierre Ossman
  145. [ 10.580440] Synopsys Designware Multimedia Card Interface Driver
  146. [ 10.687656] sdhci-pltfm: SDHCI platform and OF driver helper
  147. [ 10.787670] ledtrig-cpu: registered to indicate activity on CPUs
  148. [ 10.893734] usbcore: registered new interface driver usbhid
  149. [ 10.992287] usbhid: USB HID core driver
  150. [ 11.060770] NET: Registered protocol family 17
  151. [ 11.140531] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
  152. [ 11.362784] 9pnet: Installing 9P2000 support
  153. [ 11.439100] Key type dns_resolver registered
  154. [ 11.516532] registered taskstats version 1
  155. [ 11.598194] hctosys: unable to open rtc device (rtc0)
  156. [ 11.692358] uart-pl011 9000000.pl011: no DMA platform data
  157. [ 11.796009] EXT4-fs (vda): couldn't mount as ext3 due to feature incompatibilities
  158. [ 12.001137] EXT4-fs (vda): recovery complete
  159. [ 12.076771] EXT4-fs (vda): mounted filesystem with ordered data mode. Opts: (null)
  160. [ 12.211268] VFS: Mounted root (ext4 filesystem) on device 254:0.
  161. [ 12.323388] devtmpfs: mounted
  162. [ 12.377657] Freeing unused kernel memory: 548K (ffff8000008d5000 - ffff80000095e000)
  163. [ 12.514856] Freeing alternatives memory: 48K (ffff80000095e000 - ffff80000096a000)
  164. Mount failed for selinuxfs on /sys/fs/selinux: No such file or directory
  165. [ 13.034625] random: init urandom read with 5 bits of entropy available
  166. [ 13.411145] init: hwclock main process (743) terminated with status 1
  167. [ 13.859591] plymouth-upstar[741]: unhandled level 2 translation fault (11) at 0x00000000, esr 0x92000006
  168. [ 14.566790] pgd = ffff8000fa9ef000
  169. [ 14.868143] [00000000] *pgd=000000013aa58003, *pud=000000013aa5b003, *pmd=0000000000000000
  170. * Stopping Send an event to indicate plymouth is up [ OK ]
  171. * Starting Mount filesystems on boot [ OK ]
  172.  
  173. Ubuntu 14.04 LTS kvm-guest ttyAMA0
  174.  
  175. kvm-guest login: root (automatic login)
  176.  
  177. Last login: Thu Jan 1 00:00:13 UTC 1970 on tty1
  178. Welcome to Ubuntu 14.04 LTS (GNU/Linux 4.4.0-rc5+ aarch64)
  179.  
  180. * Documentation: http://www.linaro.org
  181. root@kvm-guest:~#
  182.  
  183.  
  184.  
  185. -------------------- more info about plymoth----------------------------------------
  186. [ 14.566790] pgd = ffff8000fa9ef000
  187. [ 14.868143] [00000000] *pgd=000000013aa58003, *pud=000000013aa5b003, *pmd=0000000000000000
  188. [ 15.247184]
  189. [ 15.247189] CPU: 0 PID: 741 Comm: plymouth-upstar Not tainted 4.4.0-rc5+ #91
  190. [ 15.247190] Hardware name: linux,dummy-virt (DT)
  191. [ 15.247192] task: ffff8000fa9e4d00 ti: ffff8000ba00c000 task.ti: ffff8000ba00c000
  192. [ 15.247195] PC is at 0xffff9843ceb8
  193. [ 15.247196] LR is at 0xffff9843ce9c
  194. [ 15.247198] pc : [<0000ffff9843ceb8>] lr : [<0000ffff9843ce9c>] pstate: 60000000
  195. [ 15.247198] sp : 0000ffffd33b6dd0
  196. [ 15.247199] x29: 0000ffffd33b6dd0 x28: 0000ffff98445f98
  197. [ 15.247201] x27: 0000000000000000 x26: 0000ffff9845b2b8
  198. [ 15.247203] x25: 0000ffff9845b2b8 x24: 0000000000000001
  199. [ 15.247204] x23: 0000000013d556a0 x22: 0000ffff9845b2b8
  200. [ 15.247206] x21: 0000000013d53010 x20: 0000000000000000
  201. [ 15.247207] x19: 0000000000000000 x18: 0000ffffd33b69c0
  202. [ 15.247209] x17: 0000ffff98394b60 x16: 0000000000000000
  203. [ 15.247210] x15: 003b9aca00000000 x14: 0000000003ffffff
  204. [ 15.247212] x13: 0000000000000006 x12: 0000000000000005
  205. [ 15.247213] x11: 00000000001fffff x10: 000000000000ffff
  206. [ 15.247215] x9 : 0000000000000004 x8 : 0000000000000040
  207. [ 15.247216] x7 : 0000000000000000 x6 : 000000000000003f
  208. [ 15.247218] x5 : 0000000000000000 x4 : 0000000000000000
  209. [ 15.247219] x3 : 0000000000004000 x2 : 0000000000000000
  210. [ 15.247221] x1 : 00000000000000a1 x0 : 0000000000000000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement