Hi, We try to run a full-system simulation using ARMV8KvmCPU. The simulation cannot get started due to the below failure of setting register PSTATE.
----------------------------------------------------------------------------------------------------------------------------- … … 0: system.kvm_vm: Mapping 8 memory region(s) 0: system.kvm_vm: Mapping region: 0x0xffffaebcb000 -> 0x0 [size: 0x4000000] 0: system.kvm_vm: Mapping region: 0x0xffffbb027000 -> 0x4000000 [size: 0x40000] 0: system.kvm_vm: Mapping region: 0x0xffffacbcb000 -> 0x6000000 [size: 0x2000000] 0: system.kvm_vm: Mapping region: 0x0xffffa8bcb000 -> 0x8000000 [size: 0x4000000] 0: system.kvm_vm: Mapping region: 0x0xffffa4bcb000 -> 0xc000000 [size: 0x4000000] 0: system.kvm_vm: Mapping region: 0x0xffffa2bcb000 -> 0x18000000 [size: 0x2000000] 0: system.kvm_vm: Mapping region: 0x0xffffbc1b4000 -> 0x2e000000 [size: 0x8000] 0: system.kvm_vm: Mapping region: 0x0xffff22bcb000 -> 0x80000000 [size: 0x80000000] build/ARM/cpu/kvm/base.cc:150: info: KVM: Coalesced MMIO disabled by config. 0: system.littleCluster.cpus: MPIDR(EL1) := 0x80000000 build/ARM/dev/arm/energy_ctrl.cc:252: warn: Existing EnergyCtrl, but no enabled DVFSHandler found. build/ARM/sim/simulate.cc:194: info: Entering event queue @ 0. Starting simulation... 0: system.littleCluster.cpus: Attaching cycle counter... 0: system.littleCluster.cpus: In updateKvmState(): 0: system.littleCluster.cpus: PSTATE := 0x3cd build/ARM/cpu/kvm/base.cc:863: panic: KVM: Failed to set register (0x6030000000100042) value (errno: 22) Memory Usage: 2693544 KBytes Program aborted at tick 0 … … ------------------------------------------------------------------------------------------------------------------------------- This register 0x6030000000100042 is legal and 64-bit based on the document at the link: https://www.kernel.org/doc/Documentation/virtual/kvm/api.txt What could be the reason for this? ARM CPU or software or anything else? Any tips/suggestions are appreciated. Thanks in advance. All the best, Xiongfei Liao =================================================== The environment settings are as below. Host: ARM server: Ampere eMag 2019 OS & Kernel: Ubuntu 20.04.5 LTS (GNU/Linux 5.4.0-131-generic aarch64) Simulator: gem5: cloned on Oct 27, 2022 bootloader: gem5 binaries 20220707/binaries/boot.arm64 kernel: gem5 binaries 20220707/binaries/vmlinux.arm64 disk: gem5 binaries ubuntu-18.04-arm64-docker.img
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org