[gem5-users] Modelling a deeper pipeline (O3-ARM)

2020-06-23 Thread Shehab Elsayed via gem5-users
Hello All, I am trying to model a deeper O3 pipeline as suggested in https://gem5-users.gem5.narkive.com/LNMJQ1M5/model-deeper-pipeline-in-x86 but I keep running into some assertion failures related to the time buffers and skid buffers even though that patch mentioned in the previous link is

[gem5-users] Re: Who translates vaddr to paddr using pagetable_walker? (not vtophys.cc?)

2020-06-23 Thread Jason Lowe-Power via gem5-users
Hi Soramichi, If you're in SE mode, you can call the function "map(Addr vaddr, Addr paddr, int sz, bool cacheable=true);" on the process object from Python. For instance: ``` # Default to running 'hello', use the compiled ISA to find the binary # grab the specific path to the binary thispath =

[gem5-users] Re: Who translates vaddr to paddr using pagetable_walker? (not vtophys.cc?)

2020-06-23 Thread Soramichi Akiyama via gem5-users
Hi Eliot, thanks for the advice. The component (class) I'm looking for is the one that uses the page table walker (which uses TLB inside) to convert a vaddr to a paddr. What I want to do is to modify a given virtual address to a different address if it is in a specific range, to mimic memory

[gem5-users] Fatal Error : No kernel to load

2020-06-23 Thread Saeed Seyedfaraji via gem5-users
Dear Users I have a problem with X86 full system simulation. I first set the environment variables and then run the FS mode as follows and get the following error. %%=== ./build/X86/gem5.opt configs/example/fs.py

[gem5-users] Re: Who translates vaddr to paddr using pagetable_walker? (not vtophys.cc?)

2020-06-23 Thread Eliot Moss via gem5-users
I don't use the latest version of Gem5, and have focused on an ARM simulator, but I see no reason why the operation would not be generally the same as the version I am using. In src/sim there is a base TLB class in tlb.{hh,cc}, and src/arch/x86/tlb.{hh,cc} extend this. There is also a table

[gem5-users] Re: Who translates vaddr to paddr using pagetable_walker? (not vtophys.cc?)

2020-06-23 Thread Soramichi Akiyama via gem5-users
Hi, I checked the latest code on github and found that vtophys() was indeed not used and removed recently. Best, Soramichi On Tue, 23 Jun 2020 18:24:43 +0900 Soramichi Akiyama via gem5-users wrote: > Hi, > > I am trying to find a component that receives a virtual address and returns > the

[gem5-users] Who translates vaddr to paddr using pagetable_walker? (not vtophys.cc?)

2020-06-23 Thread Soramichi Akiyama via gem5-users
Hi, I am trying to find a component that receives a virtual address and returns the corresponding physical address (converted using pagetable_walker) in x86. vtophys() in arch/x86/vtophys.cc does exactly what I'm looking for, but the thing is that this function seems to be never called by

[gem5-users] Replay Memory Trace with Virtual Addresses

2020-06-23 Thread Lele Ma via gem5-users
Hi All, I am using Gem5 to replay memory traces generated from the QEMU simulator, but the memory traces contains all virtual addresses of a guest VM, and the `traffic_gen` in Gem5 works with physical addresses. Does gem5 have a similar tool like `traffic_gen` to replay memory traces with