[gem5-users] Re: gem5 crash when mount by vio-9p protocol in KVM mode with more than 1 core

2021-03-16 Thread Gabe Black via gem5-users
Please take the version that works for you and create a review: http://www.gem5.org/contributing It's much easier to look at changes in the code review interface, and we can add reviewers who are most familiar with this code. Gabe On Tue, Mar 16, 2021 at 2:59 AM Liyichao wrote: > Adding “Even

[gem5-users] Re: Custom M5Ops

2021-03-16 Thread Gabe Black via gem5-users
Hi Sam, there are a few ways you can do that. 1. You could set up a PC based event if you know what PC your behavior will always be triggered from (see examples like skipping udelay for some versions of the linux kernel). 2. You could create a new gem5 op by picking an unused number and a wrapper

[gem5-users] Dump_and_reset_stats in various cpu types

2021-03-16 Thread Michail Mavropoulos via gem5-users
Hi all, I have a question regarding m5_dump_reset_stats instruction and different cpu-types. I have included the m5_dump_reset_stats instruction into a code and as it is expected the stats file splits into two sections. When I setup the cpu-type equal to TimingSimpleCPU, I observe that the L

[gem5-users] Re: Running ARM FS mode

2021-03-16 Thread Giacomo Travaglini via gem5-users
Hi, You are not providing a --disk-image option to fs.py You should download the latest AArch32 disk image from the link you mentioned and pass it to the command line: https://www.gem5.org/documentation/general_docs/fullsystem/guest_binaries Kind Regards Giacomo > -Original Message-

[gem5-users] Running ARM FS mode

2021-03-16 Thread Đức Anh via gem5-users
Dear all, I am trying to run the Gem5 simulation in FS mode and ARM architecture with the resource provided from the repo. However, I am running into this error No filesystem could mount root, tried: > ext3 > ext4 > ext2 > squashfs > vfat > fuseblk > > Kernel panic - not syncing: VFS: U

[gem5-users] Custom M5Ops

2021-03-16 Thread Samuel Thomas via gem5-users
Hello, I’m working on a project where I want to trigger a hardware procedure from software. I can see in the gem5/include/gem5/asm/generic/m5ops.h file, there is a certain amount of address space allocated for user customizable operations like this. Is there documentation as to how to use this

[gem5-users] Out of order memory responses

2021-03-16 Thread lsteiner--- via gem5-users
Hello, the AXI protocol allows the modeling of out of order memory responses for requests with different thread IDs. Responses to requests with the same thread ID have to be in order. Is there a similar concept in gem5 timing mode? Does gem5 also support out of order responses from the main memo

[gem5-users] 答复: gem5 crash when mount by vio-9p protocol in KVM mode with more than 1 core

2021-03-16 Thread Liyichao via gem5-users
Adding “EventQueue::ScopedMigration migrate(eventQueue());” in kick() function in class VirtIODeviceBase does work now, thanks. class VirtIODeviceBase : public SimObject { public: typedef uint16_t QueueID; typedef uint32_t FeatureBits; /** This is a VirtQueue address as exposed thr