Re: [gem5-users] [EXT] Accessing logical (software) thread ID in gem5

2019-01-12 Thread Paul Rosenfeld (prosenfeld)
. Any suggestions? On Fri, Jan 11, 2019 at 9:27 AM Paul Rosenfeld (prosenfeld) mailto:prosenf...@micron.com>> wrote: You could take the approach previously implemented by ARM, which is to add a few annotations to your kernel that allow you to find the task_info structures in kernel

Re: [gem5-users] [EXT] Accessing logical (software) thread ID in gem5

2019-01-11 Thread Paul Rosenfeld (prosenfeld)
You could take the approach previously implemented by ARM, which is to add a few annotations to your kernel that allow you to find the task_info structures in kernel memory and then ask gem5 to hook the kernel process switch function. Each time the kernel context switches on a core, you get a

Re: [gem5-users] [EXT] Re: Workload Automation support in gem5?

2019-01-10 Thread Paul Rosenfeld (prosenfeld)
list ; Paul Rosenfeld (prosenfeld) Subject: [EXT] Re: Workload Automation support in gem5? I've received the following reply from WA people, though I don't fully understand it, here it is: > WA3 still supports gem5, the actual gem5 platform is implemented in devlib > but there ar

[gem5-users] Workload Automation support in gem5?

2019-01-08 Thread Paul Rosenfeld (prosenfeld)
Hello all, I was trying to set up Workload Automation and everything appears to be going well on the kernel/boot side but when I cloned the latest WA repo from https://github.com/ARM-software/workload-automation I didn't see any of the commands that mounted the 9P filesystem over VirtIO that

Re: [gem5-users] [EXT] Re: Configuration visualizer

2018-01-04 Thread Paul Rosenfeld (prosenfeld)
It might just be that your graphviz installation wasn’t compiled with pdf support. You should be able to check by running: dot -v From: gem5-users [mailto:gem5-users-boun...@gem5.org] On Behalf Of Timon Evenblij Sent: Thursday, January 04, 2018 7:59 AM To: gem5 users mailing list

Re: [gem5-users] [EXT] Efficiently way put workloads in the full system image?

2017-12-08 Thread Paul Rosenfeld (prosenfeld)
Probably what I would recommend is to use the instructions described in the Workload Automation page (http://www.gem5.org/WA-gem5) to set up 9P filesystem over VirtIO. Although it does not explicitly state how to do it, with a bit of work you will be able to access the host file system from

Re: [gem5-users] [EXT] Re: ARM v8 KVM - GEM5

2017-10-19 Thread Paul Rosenfeld (prosenfeld)
I'm afraid I can't help you with this directly, but one idea might be to run your commands through 'strace' and see how gem5 is trying to access /dev/kvm and how the kernel is reacting to these accesses. From: gem5-users [mailto:gem5-users-boun...@gem5.org] On Behalf Of Qureshi Yasir Mahmood

[gem5-users] Build system failures with gem5.opt and libgem5.so

2017-05-05 Thread Paul Rosenfeld (prosenfeld)
Hello all, I'm encountering a somewhat strange issue with the latest gem5 master. In a fresh build directory, I can build either gem5.opt or libgem5_opt.so, but not one after the other. That is, when I run: rm -rf build scons -j32 --without-python --with-cxx-config build/ARM/libgem5_opt.so

[gem5-users] Crash when starting gem5/ARM workload automation

2017-03-27 Thread Paul Rosenfeld (prosenfeld)
Hello all, I have been following the instructions for setting up workload automation (http://gem5.org/WA-gem5) and I've hit a bit of a snag. I've compiled the ARM Linux kernel 4.3 (https://github.com/gem5/linux-arm-gem5) with the 9P options enabled, set up diod, and applied the patch to add

Re: [gem5-users] --enable-context-switch-stats-dump crashes with aarch64

2017-03-09 Thread Paul Rosenfeld (prosenfeld)
] https://github.com/KarateSnowMachine/gem5/pull/1/files [5] https://github.com/KarateSnowMachine/gem5/pull/1/files#diff-10f6b5e8e711c68fd5034bf3fab6a803R286 -Original Message- From: Paul Rosenfeld (prosenfeld) Sent: Wednesday, March 08, 2017 9:35 AM To: gem5 users mailing list <gem5-us

[gem5-users] --enable-context-switch-stats-dump crashes with aarch64

2017-03-08 Thread Paul Rosenfeld (prosenfeld)
Hello all, I was hoping to enable the context switch stats dumps on an aarch64 simulation but I'm hitting an assertion failure and was wondering if anyone had any ideas before I try to dig into this. The failure is here: #2 0x015d89fa in ArmISA::vtophys (tc=0x81378e0,

Re: [gem5-users] Typo on wiki download page

2017-03-07 Thread Paul Rosenfeld (prosenfeld)
of my knowledge, you should be able to simply create an account. Andreas From: gem5-users <gem5-users-boun...@gem5.org<mailto:gem5-users-boun...@gem5.org>> on behalf of "Paul Rosenfeld (prosenfeld)" <prosenf...@micron.com<mailto:prosenf...@micron.com>> Reply-To: gem5

[gem5-users] Typo on wiki download page

2017-03-06 Thread Paul Rosenfeld (prosenfeld)
Hello all, I noticed a few problems on the download page ( http://gem5.org/Download ) but I don't think I have permissions to edit that page. This section heading still references the "mercurial repository" when discussing the git repo. Also, I believe the clone address should be https (I got

Re: [gem5-users] stuck on booting Android kikat

2016-07-15 Thread Paul Rosenfeld (prosenfeld)
If you saw the Android logo this is a good sign. Keep waiting -- Android is very complicated and it's not surprising that it takes a while to simulate the boot process. To try to get some more information you can use m5term to connect to the machine. You should see a shell prompt. If so, you

Re: [gem5-users] Android KitKat stuck and not booting

2016-07-14 Thread Paul Rosenfeld (prosenfeld)
em5-users-boun...@gem5.org<mailto:gem5-users-boun...@gem5.org>> on behalf of Paul Rosenfeld (prosenfeld) <prosenf...@micron.com<mailto:prosenf...@micron.com>> Sent: Thursday, July 14, 2016 12:19 PM To: gem5 users mailing list Subject: Re: [gem5-users] Android KitKat stuck and

Re: [gem5-users] Android KitKat stuck and not booting

2016-07-14 Thread Paul Rosenfeld (prosenfeld)
boun...@gem5.org>> on behalf of Paul Rosenfeld (prosenfeld) <prosenf...@micron.com<mailto:prosenf...@micron.com>> Sent: Thursday, July 14, 2016 6:49 AM To: gem5 users mailing list; m5-us...@m5sim.org<mailto:m5-us...@m5sim.org> Subject: Re: [gem5-users] Android KitKat s

Re: [gem5-users] Android KitKat stuck and not booting

2016-07-14 Thread Paul Rosenfeld (prosenfeld)
I took a look at the flags I used when running KitKat. It looks like I omitted the --machine-type flag, had --os-type=android-kitkat and used the vexpress.aarch32 dtb. Are you seeing the various "warn: unimplemented instructions" scrolling by in your gem5 output during boot? From: gem5-users

Re: [gem5-users] Using NoMali on Full System Emulation for Linux on ARM

2016-06-24 Thread Paul Rosenfeld (prosenfeld)
While I haven't done this myself, I believe the process should be largely analogous to how it works with Android. I think the hardest part is going to be finding a Mali Linux userspace distribution that is compiled for a platform similar enough to what gem5 simulates (see here:

Re: [gem5-users] need help in finding papers

2016-01-23 Thread Paul Rosenfeld (prosenfeld)
http://gem5.org/Publications is probably a good place to start. -Paul From: gem5-users [mailto:gem5-users-boun...@gem5.org] On Behalf Of Preethi Neelakantan Sent: Saturday, January 23, 2016 7:31 PM To: gem5-users@gem5.org Subject: [gem5-users] need help in finding papers Hello I am going to

[gem5-users] Truncation warning in ARM util/m5

2015-12-30 Thread Paul Rosenfeld (prosenfeld)
Hello all, I'm building the ARM m5 binary in the latest gem5 with arm-linux-gnueabihf-gcc (Ubuntu 14.04 x86_64) and I'm getting a truncation warning from the assembler: $ make -f Makefile.arm arm-linux-gnueabihf-gcc -O2 -I /include/ -I /include/linux -march=armv7-a -o m5op_arm.o -c m5op_arm.S

Re: [gem5-users] where to obtain 'vmlinux.aarch32.ll_20131205.0-gem5'?

2015-12-24 Thread Paul Rosenfeld (prosenfeld)
It should be in the ARM full system files: http://www.gem5.org/dist/current/arm/aarch-system-2014-10.tar.xz tar --list -f aarch-system-2014-10.tar | grep aarch32 binaries/vexpress.aarch32.ll_20131205.0-gem5.1cpu.dtb binaries/vmlinux.aarch32.ll_20131205.0-gem5

Re: [gem5-users] DrainManager/Checkpoint changes broke SystemC support

2015-09-09 Thread Paul Rosenfeld (prosenfeld)
Thanks for pointing out those patches, Andreas. I missed those -- I'll try to apply those. Doing a clean build of yesterday's master I get this: g++ -I../../build/ARM -L../../build/ARM -I./systemc/include -L./systemc/lib-linux64 -std=c++0x -g -c -o main.o main.cc main.cc: In member function

[gem5-users] DrainManager/Checkpoint changes broke SystemC support

2015-09-08 Thread Paul Rosenfeld (prosenfeld)
Hello all, I was trying to update to a recent version of gem5 master but it appears that the SystemC frontend no longer builds due to some changes in the DrainManager and Checkpoint APIs. I'm not familiar with the API changes so it may take me some time to figure out what is going on. Any