Hello all,

I am trying to model a multicore arm64 system with the example/arm/fs_bigLittle.py using kvm cpu. However, when I specify "-machine-type VExpress_Gem5_V2_XXX", the kernel panic during booting, giving an error message of:

[    0.000000] GICv3: Distributor has Range Selector support
[    0.000000] GICv3: no VLPI support, direct LPI support
[    0.000000] ITS [mem 0x2e010000-0x2e02ffff]
[    0.000000] ITS@0x000000002e010000: allocated 262144 Devices @fc600000 (flat, esz 8, psz 64K, shr 1) [    0.000000] ITS@0x000000002e010000: allocated 8192 Interrupt Collections @fc460000 (flat, esz 8, psz 64K, shr 1)
[    0.000000] GIC: using LPI property table @0x00000000fc470000
[    0.000000] ITS: Allocated 1792 chunks for LPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000002c010000
[    0.000000] CPU0: using LPI pending table @0x00000000fc480000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: GIC: unable to set SRE (disabled at EL2), panic ahead
[    0.000000] ------------[ cut here ]------------
[    0.000000] kernel BUG at /work/gem5-scripts/submodules/linux/arch/arm64/kernel/entry.S:602!
[    0.000000] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.18.0+ #1
[    0.000000] Hardware name: V2P-CA15 (DT)
[    0.000000] pstate: 80000085 (Nzcv daIf -PAN -UAO)

I saw this error message regardless of how many vCPU I try to model. However, when I switch to machine-type of "VExpress-Gem5", the guest can boot, but it only allows up to 8 vCPUs. I suppose this is because in this config it doesn't support GICv3.

For my use case, I do need more than 8 cpus in the modeled system, can anyone help me here?

Here is the environment I used for the experiment:

Host: aarch64 platform

Gem5 version: v21.0 both stable and develop branch

kernel and disk image: both downloaded from gem5 homepage:

kernel: http://dist.gem5.org/dist/current/arm/aarch-system-201901106.tar.bz2

disk: http://dist.gem5.org/dist/current/arm/disks/ubuntu-18.04-arm64-docker.img.bz2

launch cmd: build/ARM/gem5.opt configs/example/arm/fs_bigLITTLE.py --kernel ../gem5_image/binaries/vmlinux.arm64 --machine-type VExpress_GEM5_V2 --disk ../gem5_image/ubuntu-18.04-arm64-docker.img --cpu-type kvm --big-cpus X

Best,

Wenqi
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to