[gem5-users] 答复: Fail to bootup with KVM in se.py on X86 arch

2021-05-11 Thread Liyichao via gem5-users
Hi Jason: I find that if I set �Cmem-size < 4GB, there is no error, but when I set �Cmem-size=4GB or more than 4GB, the error occurred. 发件人: Liyichao 发送时间: 2021年5月12日 0:26 收件人: Jason Lowe-Power 抄送: gem5 users mailing list 主题: RE: [gem5-users] Fail to bootup with KVM in se.py on X86

[gem5-users] gem5 ARM RealView Ctrl

2021-05-11 Thread Samuel Thomas via gem5-users
Hi all, I am writing because I am trying to set up an existing project on a new machine. Unfortunately, when transferring the code over and setting up the environment, I’ve been running into an issue that I’ve never seen before. That is, the code doesn’t pass through the assertion in line 57

[gem5-users] Dynamically Inserting lfence in decode

2021-05-11 Thread George Klimiashvili via gem5-users
Hello everyone, Hope all is well. I am working on implementing an fsm that would dynamically insert lfence instruction during one of the state transitions. I’ve implemented the fsm in the decode stage. Here is how I tried inserting the lfence instruction inside the decodeInsts function of o3

[gem5-users] Re: Fail to bootup with KVM in se.py on X86 arch

2021-05-11 Thread Liyichao via gem5-users
Hi Jason: I make two tests: 1. I write a test code follow "open /dev/kvm” "create vm” "create vcpu”,it has no error; 2. I put allocate pmem and create vcpu in create_vm function in gem5,not outside create_vm,it has no error. so I suspect if the allocate pmem function in

[gem5-users] Re: Fail to bootup with KVM in se.py on X86 arch

2021-05-11 Thread Jason Lowe-Power via gem5-users
Hello, I wonder if you have a maximum number of vcpus set on your host system. Otherwise, I can't think of any specific limitation to creating vcpus. Cheers, Jason On Tue, May 11, 2021 at 2:36 AM Liyichao wrote: > Hi Jason: > > > > I use strace to follow the call stack, I find that

[gem5-users] error in building simobject

2021-05-11 Thread abhijeeth modi via gem5-users
Hello everyone I am beginner to this gem5 community. I wanted to create a sim object by following the official documentation. I created a header file, python file and .cc file of HelloObject along with SConscript. When I tried to build the thing, I am getting an error that " no declaration mathes

[gem5-users] Re: Qemu equivalent command/simulation to Gem5

2021-05-11 Thread Eliot Moss via gem5-users
On 5/11/2021 8:33 AM, Đức Anh via gem5-users wrote: Dear all, I have a Linux kernel v5.10.27 build for arm64 architecture that is runnable on Gem5. Now I want to run it on Qemu-system-aarch64, but I haven't figure out the proper command and parameters yet. Here is the few things I have tried:

[gem5-users] Re: Qemu equivalent command/simulation to Gem5

2021-05-11 Thread Giacomo Travaglini via gem5-users
Hi > -Original Message- > From: Đức Anh via gem5-users > Sent: 11 May 2021 13:34 > To: gem5 users mailing list > Cc: Đức Anh > Subject: [gem5-users] Qemu equivalent command/simulation to Gem5 > > Dear all, > > I have a Linux kernel v5.10.27 build for arm64 architecture that is runnable

[gem5-users] Qemu equivalent command/simulation to Gem5

2021-05-11 Thread Đức Anh via gem5-users
Dear all, I have a Linux kernel v5.10.27 build for arm64 architecture that is runnable on Gem5. Now I want to run it on Qemu-system-aarch64, but I haven't figure out the proper command and parameters yet. Here is the few things I have tried: - qemu-system-aarch64 -M vexpress-a15 --cpu cortex-a15

[gem5-users] 答复: Fail to bootup with KVM in se.py on X86 arch

2021-05-11 Thread Liyichao via gem5-users
Hi Jason: I use strace to follow the call stack, I find that the ioctl() with KVM_CREATE_VCPU returned EEXIST errno, this means the vCPU exist. ioctl(5, KVM_CREATE_VCPU, 2)= -1 EEXIST (File exists) 发件人: Liyichao 发送时间: 2021年5月11日 12:54 收件人: 'Jason Lowe-Power' ;

[gem5-users] Re: Committing loads

2021-05-11 Thread Jiayi Huang via gem5-users
The instToCommit() basically marks the instruction as completed and ready to be committed if there is no faults. If there is misspeculation on either branch or memory, or memory consistency issue, the dynamic instruction will be marked as squash and it will be eventually squashed from the