On 2/5/19 10:56 PM, Chris Hopwood wrote:
>
> Hello all,
>
>
> I've been trying to use gem5's example configuration in 
> configs/example/arm/starter_fs.py with the HPI model with the following 
> options:
> --cpu hpi --num-cores 2 --disk-image $M5_PATH/disks/debian_aarch64_base.img 
> --kernel $M5_PATH/binaries/vmlinux-gem5-4.20.0-hopwood --dtb 
> $M5_PATH/binaries/armv8_gem5_v1_2cpu.20170616.dtb
>
>
>
>   It seems to run fine with --num-cores 1 and the single core dtb, but if I 
> try with --num-cores 2 and the dual core dtb, it eventually reports simulate 
> limit reached.
>

We have a known problem with multiple CPUs in certain conditions, but it
is not fully understood / easy to reproduce, and I'm not sure if it is
your case.

Can you try reverting the following patches:

- https://gem5-review.googlesource.com/c/public/gem5/+/13675
- https://gem5-review.googlesource.com/c/13815

They are not wrong in themselves, but seem to have exposed another problem.

You can also try this partial fix:
https://gem5-review.googlesource.com/c/public/gem5/+/16182 (does not yet
cover all problems observed).

Also, try to use the auto-generated dtb (on master, automatic with
system.generateDtb if not DTB given). This helps prevent DTB mistakes.

>
> It seems like this bug doesn't get triggered when I use ext2 for my partition 
> (using ext4 does trigger it) and disabling the ext2/3 and enabling using ext4 
> driver for ext2 in the kernel configuration. I have not figured out yet why 
> the ext drivers are triggering the bug.
>
>
>
> Has anyone else seen "simulate limit reached" for HPI with multicore? Has 
> anybody found the real issue? Any help is appreciated.
>
>
> Thanks,
> Chris
>
>
>
> _______________________________________________
> gem5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/gem5-dev
>

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-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to