Hi George, If you only need 4 little CPUs, try to use the armv8_gem5_v1_4cpu.dtb DTB file instead (or the equivalent armv8_gem5_v1_big_little_4_0.dtb).
- Gabor From: gem5-users <gem5-users-boun...@gem5.org> on behalf of "Georgios S. Bousdras" <georgios.bousd...@ulb.ac.be> Reply-To: gem5 users mailing list <gem5-users@gem5.org> Date: Friday, 8 June 2018 at 17:14 To: gem5 users mailing list <gem5-users@gem5.org> Subject: Re: [gem5-users] fs_bigLITTLE.py CPU: failed to come online Thank you very much for your reply. At my command at the end a put the parameter - -little-cpus=4. I can’t understand why it doesn’t load the little cpus.. Also, I test - -big-cpus=4 - -little-cpus=4 and it works fine. Only for the architecture of 4 little cpus I have this problem. Regards, George On 8 Jun 2018, at 18:07, Ciro Santilli <ciro.santi...@gmail.com<mailto:ciro.santi...@gmail.com>> wrote: armv8_gem5_v1_big_little_4_4 means 4 big and 4 little. If you run it without anything other than --little-cpus=4 --big-cpus=4 is likely to blow up. Failed to come online means the kernel could not properly find the CPU and won't use it at all. On Fri, Jun 8, 2018 at 3:57 PM, Georgios S. Bousdras <georgios.bousd...@ulb.ac.be<mailto:georgios.bousd...@ulb.ac.be>> wrote: Hi, I have a question regarding fs_bigLITTLE.py I run the simulation using this command: ./build/ARM/gem5.opt -d m5out/little_4/blackscholes_dtb_2_2 configs/example/arm/fs_bigLITTLE.py --dtb=$M5_PATH/aarch-system-20180409/binaries/armv8_gem5_v1_big_little_4_4.dtb --disk=$M5_PATH/aarch-system-20180409/disks/expanded-linaro-minimal-aarch64.img —kernel=$M5_PATH/aarch-system-20180409/binaries/vmlinux.vexpress_gem5_v1_64 —bootscript=$M5_PATH/arm-gem5-rsk/parsec_rcs/test_simsmall_4.rcS --cpu-type=timing --caches --little-cpus=4 While I was checking the system.terminal observed the forward: [ 0.024013] Hierarchical SRCU implementation. [ 0.040031] smp: Bringing up secondary CPUs ... [ 1.088662] CPU1: failed to come online [ 1.088666] CPU1: failed in unknown state : 0x0 [ 2.145284] CPU2: failed to come online [ 2.145288] CPU2: failed in unknown state : 0x0 [ 3.201904] CPU3: failed to come online [ 3.201908] CPU3: failed in unknown state : 0x0 [ 3.229964] Detected PIPT I-cache on CPU4 [ 3.230018] CPU4: Booted secondary processor [410fc0f0] [ 4.290585] CPU5: failed to come online [ 4.290591] CPU5: failed in unknown state : 0x0 [ 5.347232] CPU6: failed to come online [ 5.347236] CPU6: failed in unknown state : 0x0 [ 6.403877] CPU7: failed to come online [ 6.403880] CPU7: failed in unknown state : 0x0 [ 6.403909] smp: Brought up 1 node, 2 CPUs [ 6.403912] SMP: Total of 2 processors activated. Is that normal ? Are going this message to create problem to the simulation ? What does exactly means CPU: failed to come online ? Instead, for - -big-cpus=4 I don’t have this issue, it works fine. smp: Bringing up secondary CPUs ... [ 0.068078] Detected PIPT I-cache on CPU1 [ 0.068097] CPU1: Booted secondary processor [410fc0f0] [ 0.096140] Detected PIPT I-cache on CPU2 [ 0.096160] CPU2: Booted secondary processor [410fc0f0] [ 0.124205] Detected PIPT I-cache on CPU3 [ 0.124225] CPU3: Booted secondary processor [410fc0f0] [ 0.152284] Detected PIPT I-cache on CPU4 [ 0.152339] CPU4: Booted secondary processor [410fc0f0] To generate the .dtb I modified the script inside the system/arm/dt/armv8_big_liitle.dts and then I run make. I added this code: #elif CONF_CPUS == _4_4 CPU(0,0x0) CPU(1,0x1) CPU(2,0x2) CPU(3,0x3) CPU(4,0x104) CPU(5,0x105) CPU(6,0x106) CPU(7,0x107) cpu-map { cluster0 { core0 { cpu = <&CPU0>; }; core1 { cpu = <&CPU1>; }; core2 { cpu = <&CPU2>; }; core3 { cpu = <&CPU3>; }; }; cluster1 { core0 { cpu = <&CPU4>; }; core1 { cpu = <&CPU5>; }; core2 { cpu = <&CPU6>; }; core3 { cpu = <&CPU7>; }; }; }; If is not the problem to the .dtb where should I search the problem? I will appreciate your help. Best Regards, George _______________________________________________ gem5-users mailing list gem5-users@gem5.org<mailto:gem5-users@gem5.org> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users _______________________________________________ gem5-users mailing list gem5-users@gem5.org<mailto:gem5-users@gem5.org> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users