[gem5-users] Marking Region of Interest

2020-02-13 Thread Muhammet Abdullah Soytürk
Hi all, I want to simulate an application in full system simulation with region of interest. I want to mark the region of interest (ROI) in the application, simulate the system with kvm until the beginning of ROI, switch to detailed cpu for ROI, and switch back to kvm for the rest of the

[gem5-users] RISCV nop executed as c.addi...

2020-02-13 Thread Anuj Falcon
c.addi instruction executes with zero immediate value, which is wrong according to ISA specification and it is the opcode for nop (0x0001 in hex). Can someone let me know why? -- - J ANUJ

[gem5-users] gem5 segfault with DPRINTFs

2020-02-13 Thread Daniel Gerzhoy
Hi all, I've added a series of DPRINTFs into the coherence protocol (GPU_VIPER) and its been working ok, up until this morning when I added a bunch all at once and it started segfaulting. This only happens if I have my debug flag enabled, otherwise the program runs to completion (this is syscall

[gem5-users] Illegal instruction error for csrrwi instruction

2020-02-13 Thread Ali Hajiabadi
Hi, I am trying to simulate SPEC CPU2006 applications on gem5 with RISC-V application. For bzip2 application, I get illegal instruction error for this instruction: 10336: 8010d073csrwi 0x801,1 which will be decoded as csrrwi. Here is the debugging output of gem5:

Re: [gem5-users] Getting the virtual address of a specific physical address in x86 se mode

2020-02-13 Thread Jason Lowe-Power
Hello, You can use the "map" function on the Process SimObject to set a specific virtual to physical mapping. See https://gem5.googlesource.com/public/gem5/+/refs/heads/master/src/sim/Process.py#39 After you instantiate the process in your python config script, you can call map() on it and then

[gem5-users] Getting the virtual address of a specific physical address in x86 se mode

2020-02-13 Thread Muhammad Aamir
Hi everyone, I have basically initialized some simplememory class as a Scratchpad memories, and I intend to write to them. One way that i have figured to access them is using addresses, As I know once initialized they are assigned some virtual addresses by the pagetables, and since each virtual

Re: [gem5-users] How to attach second image to full system emulation.

2020-02-13 Thread iagosilvestrehp
Thank you, yes this did indeed solve the problem. I was not aware a second image file is now officially supported by the tool without further modificationsOn Feb 13, 2020 11:55 AM, Ciro Santilli wrote:Hi Iago, I have managed to get it working recently without any patches as explained at:

Re: [gem5-users] How to attach second image to full system emulation.

2020-02-13 Thread Ciro Santilli
Hi Iago, I have managed to get it working recently without any patches as explained at: https://stackoverflow.com/questions/50862906/how-to-attach-multiple-disk-images-in-a-simulation-with-gem5-fs-py/60210181#60210181 If that doesn't solve the problem for you, let me know. On 2/7/20 2:38

Re: [gem5-users] Inconsistency detected by ld.so: rtld.c: 1273: dl_main: Assertion `GL(dl_rtld_map).l_libname' failed!

2020-02-13 Thread Ciro Santilli
Full system or syscall emulation? Always give full gem5 CLI :-) If syscall emulation and the binary is dynamically linked, try to produce a statically linked version of it, since this seems dynamic loader related. On 2/10/20 3:30 PM, 616653241 wrote: hi, everyone, � � I was running

Re: [gem5-users] Multiprogrammed simulation in x86 SE in O3CPU is broken

2020-02-13 Thread Abhishek Singh
Hi, I will try my best to get the fix and share with the community. Also, if you guys need help in testing the commit when submitted to review, please let the community know. So however is interested can run tests and post the result on online which is viewable by the maintainer and when important

Re: [gem5-users] Multiprogrammed simulation in x86 SE in O3CPU is broken

2020-02-13 Thread Giacomo Travaglini
Hi Abhishek, Let me first thank you for finding and reporting the problem. Since you are asking "please also inform all the developers to not push commit if their commit disturbs the dependencies then try to fix them and after everything is fixed then only merge to public gem5!" I'd like to