[gem5-dev] Broken X86 MOVSD_XMM_P Instruction

2019-05-31 Thread Potter, Brandon
Hello all, I am running into an issue with an application of mine where I see memory corruption. I have tracked the issue down to a value written out by the following two instructions: movsd 0x250dd6(%rip),%xmm0 movups %xmm0,0x48(%rsp) I suspect that the movsd instruction should zero out part

[gem5-dev] RFC: Remove Cached Params in Objects

2019-04-30 Thread Potter, Brandon
Hi all, I merged changeset 2367198921 which added support for dynamically creating Process objects during simulation. This feature is needed to allow applications to call the clone system call (which serves to fork a process) in the middle of simulation. Inadvertently, this creates a problem

[gem5-dev] Kokoro Invocation Logs

2019-04-25 Thread Potter, Brandon
Hello all, The kokoro invocation logs need to include simout and simerr logs for individual test failures. The source.cloud.google.com hyperlink below shows an example where I had some test failure with no indication why the tests failed. It is insufficient for us to try to run the tests

Re: [gem5-dev] Syscall_Emulation for Shared Memory

2019-03-19 Thread Potter, Brandon
n this regard. Bests, MB On Mon, Mar 11, 2019 at 3:39 PM Potter, Brandon wrote: > Hi Maryam, > > The code that you are looking at is going to change soon. There is a > changeset on the google reviewboard which will add some fidelity to > the tracing of mmap/munmaps from the per

Re: [gem5-dev] Syscall_Emulation for Shared Memory

2019-03-11 Thread Potter, Brandon
Hi Maryam, The code that you are looking at is going to change soon. There is a changeset on the google reviewboard which will add some fidelity to the tracing of mmap/munmaps from the perspective of SE mode (https://gem5-review.googlesource.com/c/public/gem5/+/12307). Feel free to review it

Re: [gem5-dev] Gem5 Compile issue : Commit : e02ec0c24d56bce4a0d8636a340e15cd223d1930

2018-08-16 Thread Potter, Brandon
.S. Buy EPYC instead of Xeon. -Original Message- From: Gutierrez, Anthony Sent: Thursday, August 16, 2018 1:24 PM To: gem5 Developer List Cc: Potter, Brandon Subject: RE: [gem5-dev] Gem5 Compile issue : Commit : e02ec0c24d56bce4a0d8636a340e15cd223d1930 Did the recent changes break that

[gem5-dev] scons configuration run only once

2018-02-20 Thread Potter, Brandon
Hello everyone, I would like to rewrite some of the scons infrastructure so that the configuration tests are executed only once upon first building the source. This differs from the current situation where they're run every time anything is done. Currently, you cannot even print help

Re: [gem5-dev] [EXT] Re: testing framework

2017-11-22 Thread Potter, Brandon
nd make compilation fail if the unit test doesn't pass. > That might be a bit overboard, but would at least ensure that the tests get > run. > > Gabe > > On Mon, Nov 20, 2017 at 3:14 PM, Potter, Brandon > <brandon.pot...@amd.com> > wrote: > >> I also support adding uni

Re: [gem5-dev] [EXT] Re: testing framework

2017-11-20 Thread Potter, Brandon
I also support adding unit tests (and possibly a code coverage checker to identify weak points). Ideally, we'd add unit tests for the entire simulator, but we should probably put something into place for new code requiring some type of unit tests. Otherwise, only a subset of the submissions

Re: [gem5-dev] More problems in SE land

2017-03-10 Thread Potter, Brandon
I will post a patch to fix the compilation problem in the next few days. -Brandon From: Andreas Hansson [mailto:andreas.hans...@arm.com] Sent: Friday, March 10, 2017 2:29 AM To: gem5 Developer List <gem5-dev@gem5.org> Cc: Potter, Brandon <brandon.pot...@amd.com> Subject: Re: More pr

Re: [gem5-dev] Migrating to git and gerrit

2017-03-01 Thread Potter, Brandon
Hello Andreas, Newbie gerrit/git questions here: If someone requests a modification to a changeset in a review (or I realize something is wrong with the changeset myself), how do I update the posted review on Gerrit for the specified changeset? Mercurial/Reviewboard would be something like hg

Re: [gem5-dev] ISA Deprecation

2017-02-27 Thread Potter, Brandon
ould be great if Brandon could focus his time purely on improving x86 SE mode, which many people use, and not fixing bugs with SPARC. Cheers, Jason On Thu, Feb 23, 2017 at 4:47 PM Potter, Brandon <brandon.pot...@amd.com> wrote: Hello all, A colleague mentioned that ISA deprecation was

[gem5-dev] Linux Test Project - Testing SE Mode

2017-02-27 Thread Potter, Brandon
Hello all, https://github.com/linux-test-project/ltp/tree/master/testcases/kernel/syscalls I was considering writing Linux test cases for SE Mode to work out (potential but more likely probable) bugs in the implementation of some of the system calls, but stumbled across a source base that

[gem5-dev] ISA Deprecation

2017-02-23 Thread Potter, Brandon
Hello all, A colleague mentioned that ISA deprecation was discussed during the recent gem5 meeting. I am wondering what the community's feelings are toward the idea and which ISAs would be on the chopping block. Personally, I'd like to kill ALPHA, MIPS, POWER, and SPARC. This means that we'd

[gem5-dev] Thoughts On Project Using C++14

2017-02-14 Thread Potter, Brandon
Hello all, What is the general feeling behind bumping to C++14 instead of keeping the top-level SConstruct flag at C++11? I would like to use generic lambdas in some of my code, but cannot do so because it's not available until C++14. Both GCC and clang support a full implementation of C++14

[gem5-dev] Open Review Request - 3806

2017-02-13 Thread Potter, Brandon
Hello all, I have a review open to fix a bug for the SPARC TLB and translation code that only affects SE Mode. The fix should solve the SE Mode regression issue where the SPARC tests run forever. I posted it a little over a week ago and plan to push it this coming Thursday (02/16/17) if I do

Re: [gem5-dev] changeset in gem5: syscall_emul: [patch 4/22] remove redundant M...

2017-01-27 Thread Potter, Brandon
Yes, I'm looking into this; this is priority #1 for me right now. -Brandon -Original Message- From: Andreas Sandberg [mailto:andreas.sandb...@arm.com] Sent: Friday, January 27, 2017 6:40 AM To: gem5 Developer List <gem5-dev@gem5.org>; gem5-...@m5sim.org; Potter, Brandon <br

Re: [gem5-dev] Compilation error for gem5 after statfs change

2017-01-26 Thread Potter, Brandon
Hello all, I'm trying to resolve this issue. I'm setting up FreeBSD 11 on a VirtualBox instance now to see if I can resolve the problems. Hopefully this covers OSX indirectly as well. I don't expect that moving the offending system calls into Linux specific files will resolve the problem

Re: [gem5-dev] FW: [gem5-users] scons build error for Garnet 2.0

2016-10-17 Thread Potter, Brandon
m/gem5-dev@gem5.org/msg19380.html In summary... I think we're planning on phasing out ALPHA, but that won't happen in the very short term (weeks), but may happen in the medium term (months). Cheers, Jason On Mon, Oct 17, 2016 at 9:28 AM Potter, Brandon <brandon.pot...@amd.com> wrote:

Re: [gem5-dev] macro (and identifier) problems in our source code

2016-10-10 Thread Potter, Brandon
e). What macros are causing problems? Adding 5 characters to each and everyone seems rather unfortunate. Andreas On 10/10/2016, 18:52, "gem5-dev on behalf of Potter, Brandon" <gem5-dev-boun...@gem5.org on behalf of brandon.pot...@amd.com> wrote: >Hello all, > >I just post

[gem5-dev] macro (and identifier) problems in our source code

2016-10-10 Thread Potter, Brandon
Hello all, I just posted a patch, http://reviews.gem5.org/r/3650/, which deals with a name collision between a macro that's defined in our source and a function declaration included from a standard header. Seems like a rare collision that I stumbled into, but we should do a better job of

Re: [gem5-dev] Architecture of gem5

2016-09-09 Thread Potter, Brandon
" easily and even on-the-fly in the middle of debugging the kernel.  If someone could provide an initial explanation of what mechanisms are there beyond using Python for initial configuration, it would serve as a push forward at least for me. -"gem5-dev" <gem5-dev-boun.

Re: [gem5-dev] Architecture of gem5

2016-09-09 Thread Potter, Brandon
access to the abstract memory and cache pages. I am using atomic/simple CPU. Best regards, Jasmin On Fri, Sep 9, 2016 at 1:50 AM, Potter, Brandon <brandon.pot...@amd.com> wrote: > "If the sign extended bits are 1s, then the accesses are going > into kernel space and you

Re: [gem5-dev] Architecture of gem5

2016-09-08 Thread Potter, Brandon
oducing-linux-kernel-symbols/. The kallsyms get loaded from something in /boot (System.map I think or some configuration file). Given these addresses, you can figure out where the symbols are in physical memory and read their hex values. -Brandon -Original Message- From: Potter, Bra

Re: [gem5-dev] Architecture of gem5

2016-09-08 Thread Potter, Brandon
With full-system mode, you can do kernel introspection. The kernel resides in the simulated memory which you have complete control over; you can do whatever you want to do with it. The kernel is what is responsible for managing the processes and their memory so if you want interesting

Re: [gem5-dev] X86 RSP return address (after MemWrite) not yet updated issue?

2016-08-25 Thread Potter, Brandon
Hi Bjoern, Did you ever solve this issue? I see what you're describing, but it's not obvious to me what causes the problem. Thanks, Brandon -Original Message- From: gem5-dev [mailto:gem5-dev-boun...@gem5.org] On Behalf Of Bjoern A. Zeeb Sent: Monday, August 15, 2016 8:08 AM To: gem5

Re: [gem5-dev] Question about newfstatat() syscall

2016-04-20 Thread Potter, Brandon
Hello Sooraj, This changeset from the Linux git repo looks relevant: 5590ff0d5528b60153c0b4e7b771472b5a95e297 It dates back to 01/18/2006 when Drepper added some system calls to the Linux source. $> git diff 5590ff0d5528b60153c0b4e7b771472b5a95e297^

[gem5-dev] Reviews: dynamic linkage support for SE mode

2016-02-25 Thread Potter, Brandon
Hello developers, I recently posted patches to reviewboard to add support for dynamic linking and loading in se mode. I still do not have reviews for the loader patches: http://reviews.gem5.org/r/3327/ http://reviews.gem5.org/r/3328/ http://reviews.gem5.org/r/3329/ Planning on pushing these on

Re: [gem5-dev] Fwd: Line Address in SLICC

2015-10-29 Thread Potter, Brandon
Hi, We should be able to figure it out with a little digging. It appears that the output is generated with "--debug-flags=RubySlicc". From the "*.sm" files, we can see that some of the actions have: DPRINTF(RubySlicc, "Address: %#x, Data Block: %s\n", address, tbe.DataBlk); These "*.sm"

[gem5-dev] Commit Reviews 2966-2969 07/21/15

2015-07-20 Thread Potter, Brandon
Hello all, I would like to commit the following reviews (related to process class and SE mode): http://reviews.m5sim.org/r/2966/ http://reviews.m5sim.org/r/2967/ http://reviews.m5sim.org/r/2968/ http://reviews.m5sim.org/r/2969/ If anyone would like more time to review them, please speak up now.

[gem5-dev] Requests Without Reviews

2015-04-15 Thread Potter, Brandon
Hello all, I have two requests sitting in ReviewBoard that do not have reviews yet. The requests were posted two months ago. http://reviews.m5sim.org/r/2640/ http://reviews.m5sim.org/r/2641/ I would like to push these patches if no one has objections. I plan to do so this Friday (04/17/15).

Re: [gem5-dev] changeset in gem5: ruby: allow restoring from checkpoint when us...

2015-04-14 Thread Potter, Brandon
Hello Joel, Not looking to pick sides here, but I have also encountered problems with global/static variables in Ruby as well. This past December, I spent a couple of weeks trying to clean up the Ruby code so that we could invoke two instances of Ruby at the same time in the simulator. It