Tingting Yu | 1 Aug 05:20 2015
Picon

KMI KMIDATA register reset to 0

I am not sure I am at the right place to post messages. But I have question about  kmi.cc

case kmiData:
        if (rxQueue.empty()) {
            data = 0;
        } else {
            data = rxQueue.front();
            rxQueue.pop_front();
       }

When the receive queue is empty, Why is the KMIDATA register reset to 0?

The documentation for the PL050 at

just says that when KMIDATA is read you get the value in the
receive data register. The implication is that if you read
it multiple times you'll just continue to read the same
value?

My second question is, in pl011.cc:

 case UART_FR:
        data =
            UART_FR_CTS | // Clear To Send
            (!term->dataAvailable() ? UART_FR_RXFE : 0) | // RX FIFO Empty
            UART_FR_TXFE; // TX FIFO empty

The initial value of UART_FR is 0x81. 

Thanks.

-Tingting
_______________________________________________
gem5-users mailing list
gem5-users <at> gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
atif yasin | 31 Jul 00:45 2015
Picon

FFT benchmark finishes within 10 seconds

Hi, I am running splash2 benchnarks on Alpha FS gem5.
I am running FFT, but it just finishes within 10 seconds.
Can someone tell me if it is a normal behavior ?

_______________________________________________
gem5-users mailing list
gem5-users <at> gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
atif yasin | 30 Jul 10:32 2015
Picon

benchmark not running and rcS script cannot find the binary.

Hi, i am trying to run Splash2 benchmarks on FS Alpha on Gem5. 
Just to try it out, i used fft benchmark only.

1) compiled and make
2) mounted the FFT binary file on linux-latest.img
3)  Changed the path in Syspath.py to users/atif/gem5soft/disks (gem5soft contains binaries and disks folder)
4) No need to change name of image in Benchmarks.py as i am using linux-latest.py
5) i copied the whole fft folder to root.so now FFT binary is also in users/atif/fft/FFT

6) create a rcS script which says as following. 

#!/bin/sh
#wait for system to calm down
echo "Running FFT"
/atif/fft/
echo "after command"
/sbin/m5 dumpstats
/sbin/m5 resetstats
#exit sim
/sbin/m5 exit


My script just exits after few seconds saying m5_exit called. I looked into system.terminal

loading script...
Running FFT
/tmp/script: line 5: cd: /atif/fft/: No such file or directory
after command

I dont understand what i am doing wrong. Any help will be appreciated. 
-- 

Best Regards
Atif Yasin
Graduate Student, Utah State University
Cellphone: +1-435-764-4860
_______________________________________________
gem5-users mailing list
gem5-users <at> gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
sunitha p | 30 Jul 09:55 2015
Picon

m5threads installation

Hi,, all

Am trying to install m5threads..

But am getting error w.r.t spinlock.

Kindly help me installing m5threads

_______________________________________________
gem5-users mailing list
gem5-users <at> gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Abhishek Joshi | 29 Jul 14:04 2015
Picon

remove check for pc events to speed up execution

Hi,
Is it possible to make gem5 execution faster by removing the check for pc events? I am simply interested in running a simple benchmark.

To quote Ali Saidi  
 "(It is used for) Events that are supposed to happen when the program counter is a certain value (as opposed to an event when the simulated time is a certain value). It isn't widely used, but ends up being used for things like emulating dprintk() inside gem5."


My specific concern is if it would have any side effects?


Abhishek
_______________________________________________
gem5-users mailing list
gem5-users <at> gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Junaid Shuja | 28 Jul 12:58 2015
Picon

ARM KVM support

Hi,
The KVM support should theoretically increase the speed/performance of the emulated system. I tried to compare ARM KVM (--arm-iset=aarch64) and ARM (--arm-iset=arm). I used simple for loops (in millions) doing integer instructions. But the result of both --arm-iset=aarch64 and arm were similar with no significant performance gain. The instructions I used to emulate the full system are,

build/ARM/gem5.fast configs/example/fs.py --disk-image=/home/junaid/gem5/full_system_images/disks/aarch64-ubuntu-trusty-headless.img --machine-type=VExpress_EMM64 --arm-iset=arm

AND

build/ARM/gem5.fast configs/example/fs.py --disk-image=/home/junaid/gem5/full_system_images/disks/aarch64-ubuntu-trusty-headless.img --machine-type=VExpress_EMM64 --arm-iset=aarch64

Is the ARM-KVM support still in process? Or did I miss something?

--
Junaid Shuja
WHA130039
PhD Student, FSKTM
University of Malaya
_______________________________________________
gem5-users mailing list
gem5-users <at> gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Dave Kindel | 27 Jul 20:46 2015
Picon

FS Checkpointing Hangs (ARM ISA)

Hi all,

I've been trying to run some FS tests on ARM.  I just tried to run gem5 without modifications but using a runscript and FS mode on a detailed CPU.  When it tried to take a checkpoint (whether with a m5 hook compiled in the code or through an m5 command in the runscript) it hung.  Ctrl-c did nothing but restart the event loop.so I had to send a sigkill manually.  My command line is: 

"./build/ARM/gem5.debug configs/example/fs.py --machine-type=VExpress_EMM -n 4 --script=/home/dkindel/runscripts/4c_ckpt_test.rcS --caches --cpu-type=detailed"

My runscript contains: 

cd /parsec/install/bin.ckpts
/sbin/m5 dumpstats
/sbin/m5 resetstats
echo "Before CKPT"
/sbin/m5 checkpoint
echo "Done :D"
/sbin/m5 exit
/sbin/m5 exit


On the output, I see the "Before CKPT" displayed but nothing after.  

This is in the dev repo.  In the stable repo, I run with 1 core and get that the skid buffer exceeded the max size after the "Before CKPT" and before "Done."  I'm not sure if it's something on my machine or not.  

I appreciate any help!  

Thanks,
Dave Kindel


_______________________________________________
gem5-users mailing list
gem5-users <at> gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
lokesh Sasikanth Kallam | 27 Jul 20:00 2015
Picon

Regarding benchmarks

Hello ,

          I am a new user to gem5 simulator , I have installed gem5 and now I have to run some bench marks on it . can any please help me how to run spec 2006 benchmark for x86 ,and where to start the process ,and how to integrate Mcpat with gem5.

Thanks in advance ..........
_______________________________________________
gem5-users mailing list
gem5-users <at> gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
‪Niloofar Shakiba‬ ‪ | 27 Jul 10:13 2015
Picon

Data trace

hi,
im working on ptoject that i should get 512-bits data trace.
i test some mathods with changing flags, but it didn't work.
i just want to know is it possible to get 512-bit data trace by gem5.
thx

_______________________________________________
gem5-users mailing list
gem5-users <at> gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Prathap Kolakkampadath | 26 Jul 19:34 2015
Picon

How queued port is modelled in real platforms?

Hell Users,

Gem5 implements a queued port to interface memory objects. In my understanding this queued port is of infinite size. Is this specific to Gem5 implementation? How packets are handled in real hardware if the request rate of a layer is faster than the service rate of underlying layer?
It would be great if someone could help me in understanding this.

Thanks,
Prathap


_______________________________________________
gem5-users mailing list
gem5-users <at> gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Wen Zong | 24 Jul 19:08 2015
Picon

alpha linux kernel

Hi All

Does anyone has the source code of patched linux as that in the page

It seems that  mercurial repository is not working anymore.

Thank you
Wen
_______________________________________________
gem5-users mailing list
gem5-users <at> gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Gmane