[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Armv8-A: Not able to enable secondary CPUs in Hikey960 board
Hi Julien, I tried today with your patch in xen-4.11 Still has secondary cpus problems, Please find below log after that patch in xen-4.11 -------------------------------------------------------- Loading driver at 0x000B03B5000 EntryPoint=0x000B044907C Loading driver at 0x000B03B5000 EntryPoint=0x000B044907C Using modules provided by bootloader in FDT Xen 4.11.1-pre (c/s Mon Jul 30 11:30:09 2018 +0200 git:33ced72-dirty) EFI loader - UART enabled - - CPU 00000000 booting - - Current EL 00000008 - - Xen starting at EL2 - - Setting up control registers - - Turning on paging - - Ready - (XEN) Checking for initrd in /chosen (XEN) RAM: 0000000000000000 - 000000001abfffff (XEN) RAM: 000000001ad88000 - 0000000031ffffff (XEN) RAM: 0000000032101000 - 000000003dffffff (XEN) RAM: 0000000040000000 - 000000004cfa3fff (XEN) RAM: 0000000089cc0000 - 00000000b03a3fff (XEN) RAM: 00000000b1af0000 - 00000000b9af0fff (XEN) RAM: 00000000b9af1000 - 00000000b9af8fff (XEN) RAM: 00000000b9b09000 - 00000000b9bcffff (XEN) RAM: 00000000b9c70000 - 00000000b9c71fff (XEN) RAM: 00000000b9c74000 - 00000000b9d5ffff (XEN) RAM: 00000000ba125000 - 00000000ba12bfff (XEN) RAM: 00000000ba12c000 - 00000000bd9b7fff (XEN) RAM: 00000000bd9b8000 - 00000000bd9b9fff (XEN) RAM: 00000000bd9ba000 - 00000000bd9c3fff (XEN) RAM: 00000000bd9c4000 - 00000000bef5ffff (XEN) RAM: 00000000bef60000 - 00000000bf0effff (XEN) RAM: 00000000bf0f0000 - 00000000bf13ffff (XEN) RAM: 00000000bf190000 - 00000000bf193fff (XEN) RAM: 00000000bf194000 - 00000000bfffffff (XEN) RAM: 00000000c0000000 - 00000000dfffffff (XEN) RAM: 0000000200000000 - 000000021fffffff (XEN) (XEN) MODULE[0]: 00000000b03a4000 - 00000000b03b5000 Device Tree (XEN) MODULE[1]: 00000000b04be000 - 00000000b1975a00 Kernel console=tty0 console=hvc0 root=/dev/sdd10 rootwait rw rootfstype=ext4 efi=noruntime video=HDMI-A -1:1280x720@60 (XEN) (XEN) Command line: loglvl=all console=dtuart dtuart=/soc/serial@fff32000 dom0_mem=2048M efi=no-rs (XEN) parameter "efi" unknown! (XEN) Placing Xen at 0x00000000dfe00000-0x00000000e0000000 (XEN) Update BOOTMOD_XEN from 00000000b03b5000-00000000b04bdd81 => 00000000dfe00000-00000000dff08d81 (XEN) Domain heap initialised (XEN) Booting using Device Tree (XEN) Platform: Generic System (XEN) Looking for dtuart at "/soc/serial@fff32000", options "" Xen 4.11.1-pre (XEN) Xen version 4.11.1-pre (omkar.bolla@) (aarch64-linux-gnu-gcc (Linaro GCC 7.1-2017.05) 7.1.1 20170510) debug=n Mon Aug 20 15:11:16 IST 2018 (XEN) Latest ChangeSet: Mon Jul 30 11:30:09 2018 +0200 git:33ced72-dirty (XEN) Processor: 410fd034: "ARM Limited", variant: 0x0, part 0xd03, rev 0x4 (XEN) 64-bit Execution: (XEN) Processor Features: 0000000000002222 0000000000000000 (XEN) Exception Levels: EL3:64+32 EL2:64+32 EL1:64+32 EL0:64+32 (XEN) Extensions: FloatingPoint AdvancedSIMD (XEN) Debug Features: 0000000010305106 0000000000000000 (XEN) Auxiliary Features: 0000000000000000 0000000000000000 (XEN) Memory Model Features: 0000000000001122 0000000000000000 (XEN) ISA Features: 0000000000011120 0000000000000000 (XEN) 32-bit Execution: (XEN) Processor Features: 00000131:00011011 (XEN) Instruction Sets: AArch32 A32 Thumb Thumb-2 Jazelle (XEN) Extensions: GenericTimer Security (XEN) Debug Features: 03010066 (XEN) Auxiliary Features: 00000000 (XEN) Memory Model Features: 10201105 40000000 01260000 02102211 (XEN) ISA Features: 02101110 13112111 21232042 01112131 00011142 00011121 (XEN) Using SMC Calling Convention v1.1 (XEN) Using PSCI v1.1 (XEN) SMP: Allowing 8 CPUs (XEN) Generic Timer IRQ: phys=30 hyp=26 virt=27 Freq: 1920 KHz (XEN) GICv2 initialization: (XEN) gic_dist_addr=00000000e82b1000 (XEN) gic_cpu_addr=00000000e82b2000 (XEN) gic_hyp_addr=00000000e82b4000 (XEN) gic_vcpu_addr=00000000e82b6000 (XEN) gic_maintenance_irq=25 (XEN) GICv2: 384 lines, 8 cpus, secure (IID 0200143b). (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Allocated console ring of 64 KiB. (XEN) Bringing up CPU1 (XEN) Failed to bring up CPU1 (XEN) Failed to bring up CPU 1 (error -9) (XEN) Bringing up CPU2 (XEN) Failed to bring up CPU2 (XEN) Failed to bring up CPU 2 (error -9) (XEN) Bringing up CPU3 (XEN) Failed to bring up CPU3 (XEN) Failed to bring up CPU 3 (error -9) (XEN) Bringing up CPU4 (XEN) Failed to bring up CPU4 (XEN) Failed to bring up CPU 4 (error -9) (XEN) Bringing up CPU5 (XEN) Failed to bring up CPU5 (XEN) Failed to bring up CPU 5 (error -9) (XEN) Bringing up CPU6 (XEN) Failed to bring up CPU6 (XEN) Failed to bring up CPU 6 (error -9) (XEN) Bringing up CPU7 (XEN) Failed to bring up CPU7 (XEN) Failed to bring up CPU 7 (error -9) (XEN) Brought up 1 CPUs (XEN) P2M: 40-bit IPA with 40-bit PA and 8-bit VMID (XEN) P2M: 3 levels with order-1 root, VTCR 0x80023558 (XEN) I/O virtualisation disabled (XEN) build-id: 361a7d1197ce6c845658fa3210780d1751b7103a (XEN) alternatives: Patching with alt table 00000000400acff8 -> 00000000400ad568 (XEN) *** LOADING DOMAIN 0 *** (XEN) Loading kernel from boot module @ 00000000b04be000 (XEN) Allocating 1:1 mappings totalling 2048MB for dom0: (XEN) BANK[0] 0x00000010000000-0x00000018000000 (128MB) (XEN) BANK[1] 0x00000020000000-0x00000030000000 (256MB) (XEN) BANK[2] 0x00000038000000-0x0000003c000000 (64MB) (XEN) BANK[3] 0x00000040000000-0x0000004c000000 (192MB) (XEN) BANK[4] 0x0000008c000000-0x000000b0000000 (576MB) (XEN) BANK[5] 0x000000b4000000-0x000000b8000000 (64MB) (XEN) BANK[6] 0x000000c0000000-0x000000dc000000 (448MB) (XEN) BANK[7] 0x00000200000000-0x00000214000000 (320MB) (XEN) Grant table range: 0x000000dfe00000-0x000000dfe40000 (XEN) Allocating PPI 16 for event channel interrupt (XEN) Loading zImage from 00000000b04be000 to 0000000010080000-0000000011537a00 (XEN) Loading dom0 DTB to 0x0000000017e00000-0x0000000017e0d73b (XEN) Initial low memory virq threshold set at 0x4000 pages. (XEN) Scrubbing Free RAM on 1 nodes using 1 CPUs (XEN) ....................................................................done. (XEN) Std. Loglevel: All (XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings) (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen) (XEN) Freed 280kB init memory. (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER4 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER8 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER12 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER16 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER20 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER24 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER28 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER32 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER36 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER40 [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.113-07887-geb8dbd1-dirty (omkar.bolla@OmkarB-LaptopU) (gcc version 7.1.1 20170510 (Linaro GCC 7.1-2017.05) ) #32 SMP PREEMPT Sun Aug 19 17:07:02 IST 2018 [ 0.000000] Boot CPU: AArch64 Processor [410fd034] [ 0.000000] Xen 4.11 support found [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] Ion: base 0xda200000, size is 0x1e00000, node name graphic, heap-name carveout_gralloc namesize 17,[99][97][114][118] [ 0.000000] Ion: insert heap-name carveout_gralloc [ 0.000000] OF: reserved mem: initialized node graphic, compatible id hisi_ion [ 0.000000] cma: Reserved 64 MiB at 0x00000000d6000000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS migration not required [ 0.000000] psci: SMC Calling Convention v1.1 [ 0.000000] percpu: Embedded 23 pages/cpu @ffffffc213f88000 s54936 r8192 d31080 u94208 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: enabling workaround for ARM erratum 845719 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 515592 [ 0.000000] Kernel command line: console=tty0 console=hvc0 root=/dev/sdd10 rootwait rw rootfstype=ext4 efi=noruntime video=HDMI-A-1:1280x720@60 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.000000] software IO TLB [mem 0xd2000000-0xd6000000] (64MB) mapped at [ffffffc0d2000000-ffffffc0d5ffffff] [ 0.000000] Memory: 1824004K/2095104K available (13756K kernel code, 1374K rwdata, 4884K rodata, 1152K init, 1067K bss, 205564K reserved, 65536K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB) [ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB) [ 0.000000] .text : 0xffffff8008080000 - 0xffffff8008df0000 ( 13760 KB) [ 0.000000] .rodata : 0xffffff8008df0000 - 0xffffff80092c0000 ( 4928 KB) [ 0.000000] .init : 0xffffff80092c0000 - 0xffffff80093e0000 ( 1152 KB) [ 0.000000] .data : 0xffffff80093e0000 - 0xffffff8009537a00 ( 1375 KB) [ 0.000000] .bss : 0xffffff8009537a00 - 0xffffff8009642754 ( 1068 KB) [ 0.000000] fixed : 0xffffffbefe7fb000 - 0xffffffbefec00000 ( 4116 KB) [ 0.000000] PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000 ( 16 MB) [ 0.000000] vmemmap : 0xffffffbf00000000 - 0xffffffc000000000 ( 4 GB maximum) [ 0.000000] 0xffffffbf00400000 - 0xffffffbf08500000 ( 129 MB actual) [ 0.000000] memory : 0xffffffc010000000 - 0xffffffc214000000 ( 8256 MB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 64. [ 0.000000] RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=1 [ 0.000000] NR_IRQS:64 nr_irqs:64 0 [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 1.92MHz (virt). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1c570327e, max_idle_ns: 1763180809505 ns [ 0.000005] sched_clock: 56 bits at 1920kHz, resolution 520ns, wraps every 4398046510977ns [ 0.000105] clocksource: arm,sp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58334160866034 ns [ 0.000699] Console: colour dummy device 80x25 [ 0.001190] console [tty0] enabled [ 0.341427] console [hvc0] enabled [ 0.344935] Calibrating delay loop (skipped), value calculated using timer frequency.. 3.84 BogoMIPS (lpj=7680) [ 0.355049] pid_max: default: 32768 minimum: 301 [ 0.359845] Security Framework initialized [ 0.363910] SELinux: Initializing. [ 0.367538] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.374225] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.382219] ftrace: allocating 44464 entries in 174 pages [ 0.479344] sched-energy: CPU device node has no sched-energy-costs [ 0.485645] Invalid sched_group_energy for CPU0 [ 0.490181] CPU0: update cpu_capacity 1024 [ 0.494355] ASID allocator initialised with 32768 entries [ 0.500803] xen:grant_table: Grant tables using version 1 layout [ 0.506746] Grant table initialized [ 0.510310] xen:events: Using FIFO-based ABI [ 0.514720] Xen: initializing cpu0 [ 0.547593] EFI services will not be available. [ 0.560149] Brought up 1 CPUs [ 0.563030] SMP: Total of 1 processors activated. [ 0.567826] CPU features: detected feature: 32-bit EL0 Support [ 0.573708] CPU features: detected feature: Kernel page table isolation (KPTI) [ 0.586209] CPU: All CPU(s) started at EL1 [ 0.590234] alternatives: patching kernel code [ 0.594924] Invalid sched_group_energy for CPU0 [ 0.599376] CPU0: update max cpu_capacity 1024 [ 0.603878] Invalid sched_group_energy for Cluster0 [ 0.610428] devtmpfs: initialized -------------------------------------------------------- Thanks, Omkar B On Wed, Aug 15, 2018 at 11:52 PM, Julien Grall <julien.grall@xxxxxxx> wrote: On 08/15/2018 10:15 AM, Omkar Bolla wrote: This message contains confidential information and is intended only for the individual(s) named. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this mail and attached file/s is strictly prohibited. Please notify the sender immediately and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |