[m5-dev] Licensing and repository release

2008-03-16 Thread nathan binkert
My three big deadlines are all over tomorrow. I'd like us to spend some time this week to get everything all set to release the repository. This job is mostly for myself and Gabe, but we need to answer various questions about mailing list archives and such as well. Nate

Re: [m5-dev] Cron [EMAIL PROTECTED] /z/m5/regression/do-regression --scratch all

2008-03-16 Thread nathan binkert
TypeError: Can't convert object of type NoneType to CheckedInt Error setting param LiveProcess.simpoint to None On Sun, Mar 9, 2008 at 7:23 AM, nathan binkert [EMAIL PROTECTED] wrote: wow, what's up with this? Pool probelm? or did someone break fast? or do we need new values

Re: [m5-dev] Unprintable characters in license files

2008-03-17 Thread nathan binkert
I've asked my lawyer if I can remove the HEWLETT-PACKARD COMPANY part from the body of the license. If they agree, then we need to get UM and FSU and MIPS to agree. Nate On Mon, Mar 17, 2008 at 2:38 PM, Ali Saidi [EMAIL PROTECTED] wrote: On Mar 17, 2008, at 1:52 PM, Korey Sewell wrote:

[m5-dev] License

2008-03-18 Thread nathan binkert
Ok, I got the following license approved. HP isn't mentioned except for the copyright line. We now need to get UM, FSU, and MIPS to agree to this. Ali/Steve: Can you take care of UM? Steve H: Can you take care of FSU? Korey: Can you take care of MIPS? This would HUGELY simplify things.

Re: [m5-dev] Fwd: HP license for M5 simulator

2008-03-27 Thread nathan binkert
Awesome. Now we just need to get MIPS and FSU to agree. What's the status of things there? I'll spend this weekend doing the UM only and HP/UM files. What are the MIPS lawyers saying so far? Does FSU matter at this point? Nate 2008/3/27 Steve Reinhardt [EMAIL PROTECTED]: Looks like we're

[m5-dev] Visual Studio 2008

2008-03-30 Thread nathan binkert
So, I just installed Visual Studio 2008 and found that it actually supports variadic macros, so we could in theory compile M5 using it. It's also my understanding that there is a free compiler only version of visual studio 2008 that we could use. Seems to me that we should target that eventually

Re: [m5-dev] Patch review process

2008-04-01 Thread nathan binkert
What's the bigger picture here? Are you suggesting that we email all patches to the list for review before committing them? That sounds nice in principle but tedious in reality... though definitely valuable for things like Korey is discussing that are potentially widely visible changes. For

Re: [m5-dev] Cron [EMAIL PROTECTED] /z/m5/regression/do-regression quick

2008-04-03 Thread nathan binkert
Race in what may I ask? Nate On Thu, Apr 3, 2008 at 6:55 AM, Ali Saidi [EMAIL PROTECTED] wrote: The massive improvement is zizzer's performance teased out a race I had... It should be fixed. Ali On Apr 3, 2008, at 3:04 AM, Cron Daemon wrote: OSError: [Errno 17] File exists:

[m5-dev] changing default names

2008-04-03 Thread nathan binkert
Ok, I've got a bunch of default renaming in my tree: default output directory is now: ./m5out default stats filename is now: outdir/stats default config file output is now: outdir/config default console output is now: outdir/sysname.console In doing the last one, I decided to rename SimConsole -

Re: [m5-dev] Re: my emails aren't getting through

2008-04-03 Thread nathan binkert
see that you are actually referring to the former... right? On Thu, Apr 3, 2008 at 9:04 PM, nathan binkert [EMAIL PROTECTED] wrote: Ah. Well, I don't care so much. The device isn't a real thing though, it's totally fake. Should possibly just call it AlphaBackdoor or ConsoleBackdoor

[m5-dev] SCons local

2008-04-04 Thread nathan binkert
I brought this up with Ali and he was opposed, but I thought I'd ask everyone. SCons seems to give us lots of problems, so maybe we should consider just sticking a known good version of scons in the ext directory. We could provide a script in the top level directory called compile or something

Re: [m5-dev] Cron [EMAIL PROTECTED] /z/m5/regression/do-regression --scratch all

2008-04-07 Thread nathan binkert
Can you set up some sort of cross environment on zizzer to make it easier. Maybe even just NFS mount the pool root filesystem and chroot to it? Nate So as I see in we have a few possibilities: a) fix the SConscript to pass BATCH_CMD. The only way I know to do this is to set BATCH_CMD in

Re: [m5-dev] Re: console dying on switchover

2008-04-19 Thread nathan binkert
I've been digging and digging and digging and digging, and I think I'm getting closer to an answer. What I'm trying to figure out now is if output to the console is handled by a dedicated thread, or if it happens inline with printk. It looks like printk puts stuff in a buffer and then the

Re: [m5-dev] big memory on a 32 bit machine

2008-04-28 Thread nathan binkert
There's also a kernel command line option to override the bios notion of how much ram there is. Did you try that? No matter what you do, you must come up with a way to make the amount of memory configurable. On Sat, Apr 26, 2008 at 10:00 PM, Gabe Black [EMAIL PROTECTED] wrote: Well, it's not

Re: [m5-dev] big memory on a 32 bit machine

2008-05-03 Thread nathan binkert
with me. I can work on that machine which won't have a problem with allocating 4 gigs until I make that configurable.. Gabe nathan binkert wrote: There's also a kernel command line option to override the bios notion of how much ram there is. Did you try that? No matter what you

Re: [m5-dev] tracing data for stores in simple CPU

2008-05-03 Thread nathan binkert
I'm guessing the answer is no. Nate On Sat, May 3, 2008 at 8:34 AM, Gabe Black [EMAIL PROTECTED] wrote: That turns on the output in the trace printing code, but it can't print what it doesn't have. ExecResult is turned on with Exec so I've been using it. That makes sense because it's been

Re: [m5-dev] big memory on a 32 bit machine

2008-05-03 Thread nathan binkert
The reason I'd want to enumerate children is so I can find any memory objects below the CPU and determine what available ranges I can add into the map. If there ends up being in-memory-system address transformation in the future that could be more complicated, but for now just getting a

Re: [m5-dev] big memory on a 32 bit machine

2008-05-04 Thread nathan binkert
For now though, I'd say that you should probably just have whatever SimObject that represents BIOS data just get a pointer to a list of memobjects. How would I get that list? Would I do that in C++ or in the python? Either is fine with me but I'm not clear on how that would work.

[m5-dev] Author Map

2008-05-19 Thread nathan binkert
In preparation of the repository release, I'm fixing up a bunch of bugs in the current repo. One thing is all of the various user names. If you would like to change or update your username in the repository, please let me know. For those that have multiple usernames, I've picked the one that I

Re: [m5-dev] [PATCH] HG: Add compiled hg revision and date to the standard M5 output

2008-05-24 Thread nathan binkert
I just got back from my trip. I'll try to review this in the next couple of days, but I'm going to work on getting the copyright stuff done first. Nate On Thu, May 22, 2008 at 2:01 PM, Ali Saidi [EMAIL PROTECTED] wrote: So this fixes some bugs in the previous version (specifically hginfo.cc

Re: [m5-dev] panic vs. fatal

2008-05-28 Thread nathan binkert
panic() -- An assert that isn't compiled out fatal() -- some configuration parameter caused a problem Ok, I thought so. Do we want to keep these names? I will promise that I have learned finally, but the names seem a bit to synonymous to me. I will go through my code and convert the proper

Re: [m5-dev] panic vs. fatal

2008-05-28 Thread nathan binkert
I don't know if it's worth spending time adding more indirection to the error path so python can print an error. If the error is fatal python isn't going to be able to correct it and continue. I don't plan to make it part of the standard run, but I plan to make it either something that happens

Re: [m5-dev] when to fake BIOS initialization

2008-05-30 Thread nathan binkert
I concur with Ali. On Fri, May 30, 2008 at 5:39 PM, Ali Saidi [EMAIL PROTECTED] wrote: Why can't you just stick it in the constructor? You'll need to serialize that timer value when a checkpoint is dropped and create an event when the checkpoint is restored from, but you would need to do that

Re: [m5-dev] Test Repository

2008-05-31 Thread nathan binkert
are all the patches supposed to be committed now in some order or do you want everything working as is? You should be doing all of your work in mercurial queues. All you'll need to do is get everything into a patch, copy .hg/patches to the new repo's .hg directory, and delete

Re: [m5-dev] when to fake BIOS initialization

2008-05-31 Thread nathan binkert
that initializing it in the constructor and then redoing it restoring from the checkpoint might cause problems, but in retrospect in this case I think it'll probably actually work out. I'll let you know if I discover otherwise, but for now that's what I'll do. Gabe nathan binkert wrote: I concur

Re: [m5-dev] Test Repository

2008-05-31 Thread nathan binkert
multiple names on the same copyright? Gabe Gabe Black wrote: BTW, I'm back on satellite internet again so don't expect this to be lightning quick. Gabe Nathan Binkert wrote: I keep updating the original location On May 31, 2008, at 3:20 PM, Gabe Black [EMAIL PROTECTED] wrote: I'm

Re: [m5-dev] Test Repository

2008-05-31 Thread nathan binkert
src/mem/cache, and they don't seem right at all... most of them have dates that end in 2005, and the SConscript has a date of 2006 even though hg shows that it was created in 2007 and modified in 2008. Steve On Fri, May 30, 2008 at 10:39 PM, nathan binkert [EMAIL PROTECTED] wrote: Alright

Re: [m5-dev] Test Repository

2008-06-01 Thread nathan binkert
Looking through the mips directory for files that are just copyright MIPS and not UM interrupts.cc seems to be derived from alpha/interrupts.hh linux/linux.hh is exactly the same as alpha/linux/linux.hh with some constants changed linux/linux.cc is s/AlphaLinux/MipsLinux/g of

Re: [m5-dev] Test Repository

2008-06-01 Thread nathan binkert
A few (a vast minority) of .isa files for x86 should have UM copyright on them. There are a couple which are copied basically from Alpha/SPARC which should be fairly obvious since I think they have other people in the authors. There are a few which I did a little with while working over the

Re: [m5-dev] Test Repository

2008-06-02 Thread nathan binkert
exactly. On Mon, Jun 2, 2008 at 7:26 AM, Ali Saidi [EMAIL PROTECTED] wrote: What if it's supposed to be UM and MIPS? [(UM, [2006], ['Blah']), (MIPS, [2007], ['Foo'])] ?? Ali On Jun 1, 2008, at 4:34 PM, nathan binkert wrote: Looking through the mips directory for files that are just

Re: [m5-dev] Test Repository

2008-06-02 Thread nathan binkert
No because it wouldn't be clear. I also don't want to go through the lawyers again. We're stuck with it the way it is. Nate On Mon, Jun 2, 2008 at 6:39 PM, Gabe Black [EMAIL PROTECTED] wrote: Just to shorten things up a bit, would it be possible to somehow just add the extra clause for

Re: [m5-dev] [PATCH] HG: Add compiled hg revision and date to the standard M5 output

2008-06-07 Thread nathan binkert
I'm not really concerned if it catches all the exceptions. I guess I would rather have it say it's unknown, instead raising an exception that doesn't really matter all that much. I guess I won't fight you on that. Seems that it might be nice to at least print the error and let it continue.

Re: [m5-dev] Test Repository

2008-06-07 Thread nathan binkert
Aren't these statements contradictory? If you have the patch sets under separate subdirs, can they come from different repos? Would you still have to manually merge the series file? I don't totally blame Gabe for having the willies about this. Yeah, it sorta gives me the willies too. Maybe

Re: [m5-dev] incremental linking

2008-06-09 Thread nathan binkert
Few comments. 1) I like this idea. 2) Linux explicitly exports symbols outside of an object. This seems like it would be a pain. 3) Anonymous namespaces aren't obscure. Maybe there's a way to remove these with strip. 4) It shouldn't be hard to get SCons to support this sort of thing. Nate On

Re: [m5-dev] namespaces for python SimObjects

2008-06-09 Thread nathan binkert
It won't, but if you use the attached patch it seems to. Let me know if it looks good and I'll tack it onto my queue. Patch looks good. Also, is there a solid reason the create functions can't end up in a namespace other than the global one? I'm ending up with some pretty horrible names

Re: [m5-dev] namespaces for python SimObjects

2008-06-09 Thread nathan binkert
that at some point or if you'd rather that'd be fine too. Gabe nathan binkert wrote: It won't, but if you use the attached patch it seems to. Let me know if it looks good and I'll tack it onto my queue. Patch looks good. Actually, does it make sense to get rid of cxx_namespace and just make

Re: [m5-dev] incremental linking

2008-06-09 Thread nathan binkert
the code substantially as well as requires various pieces of the simulator to be completely independent. Either way I doubt it's worth the effort. Ali On Jun 9, 2008, at 12:53 PM, nathan binkert wrote: Few comments. 1) I like this idea. 2) Linux explicitly exports symbols outside of an object

Re: [m5-dev] host bridge device

2008-06-09 Thread nathan binkert
So this would be the PCI bus support in the north bridge for instance? Should I just arbitrarily pick a chipset and implement that, or is there something more generic? I think that there's really only one interface for this that really matters. On alpha, there were lots of north bridge

[m5-dev] [PATCH 0 of 2] New event queue

2008-06-09 Thread Nathan Binkert
Since I'm hoping to have the repo all set soon, I figured I'd start sending things out. This my new event queue data structure. It is considerably faster (3x simulation speed for me) for systems that make heavy use of multiple events at the same tick/priority. Stats will change a bit because

Re: [m5-dev] [PATCH 0 of 2] New event queue

2008-06-10 Thread nathan binkert
Thanks for the patches. Just a few comments/questions: - Does the indirection of the debug info in Event really save anything? As long as TRACING_ON is enabled, you're paying an extra pointer of storage plus an extra dynamic allocation on every event, and it's not clear to me just how much

[m5-dev] New Repository

2008-06-11 Thread nathan binkert
Gabe found and I fixed several problems with the copyright on the repository. There is now a new repository at m5sim.org:/repo/m5. I know of no problems with this repository, so I'd like it if everyone would move to this new repository and check it over one last time. Ali, can you reapply your

Re: [m5-dev] New Repository

2008-06-11 Thread nathan binkert
No. It's fixed now. Nate On Wed, Jun 11, 2008 at 7:54 AM, Ali Saidi [EMAIL PROTECTED] wrote: The repository isn't group writable yet Is this intentional? Ali On Jun 11, 2008, at 10:10 AM, nathan binkert wrote: Gabe found and I fixed several problems with the copyright

Re: [m5-dev] namespaces for python SimObjects

2008-06-12 Thread nathan binkert
How about instead of Params.some_class the syntax would be Params(some_class) where Params is more like a class than a module? Then you could look up the information for the class you're dealing with without ever having to give it a globally consistent name. Seems reasonable to me... I don't

Re: [m5-dev] namespaces for python SimObjects

2008-06-12 Thread nathan binkert
I was wondering why we had both 'type' and 'cxx_classname'... last time I recall working on that code (before Nate finished the params auto-gen stuff), the point of 'type' was to be the C++ class name. When is the Params.Foo thing different from the Python class name, and is there a good

Re: [m5-dev] Two patch sets

2008-06-12 Thread nathan binkert
Excellent. I'll get these and your libm5 diff in the tree this coming week. I just did a huge cleanup of the tree an a massive license audit. I plan to release the repository sometime this weekend. Hopefully then you can move to the repository version and if you want, I can give you commit

Re: [m5-dev] namespaces for python SimObjects

2008-06-12 Thread nathan binkert
I'm not sure any of that fully explains why we have both attributes though. It is important to remember as in the cache builder example that the 'type' is really something that identifies the function that creates the C++ object and isn't necessarily the type of the resulting object (or even

Re: [m5-dev] namespaces for python SimObjects

2008-06-13 Thread nathan binkert
Are instances of class objects uniquely identifiable and usable as keys? Only if they provide a __hash__ function, but in theory it should be possible. If so, you could use the class as a key using the same mechanism instead of the string name with Param.blah. So then you use class Foo to look

[m5-dev] M5

2008-06-13 Thread nathan binkert
Dear M5 Users, Today, it is our pleasure to announce the public availability of the M5 repository. It was quite a bit of work, but we've managed to get the copyright holders on M5 code to agree to a single BSD style license for M5. The one major exception to this is the new x86 code. This code

Re: [m5-dev] M5

2008-06-13 Thread nathan binkert
Today, it is our pleasure to announce the public availability of the M5 repository. Great job everybody. Hopefully Friday the 13th doesn't turn out to be a problem :) Nate ___ m5-dev mailing list m5-dev@m5sim.org

[m5-dev] m5: scons: fix program_info.cc generation

2008-06-13 Thread Nathan Binkert
changeset 943f436efe9b in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=943f436efe9b summary: scons: fix program_info.cc generation diffstat: 1 file changed, 1 deletion(-) src/SConscript |1 - diffs (25 lines): diff -r 58bee6bdae6f -r 943f436efe9b src/SConscript ---

Re: [m5-dev] M5

2008-06-14 Thread nathan binkert
Thanks to everyone for all the effort. BTW, the wiki page lists the development repo as m5-dev thought in reality it's just m5 (as always). Which name should we stick with? I vote m5. ___ m5-dev mailing list m5-dev@m5sim.org

[m5-dev] m5: Fix various SWIG warnings

2008-06-14 Thread Nathan Binkert
2008 -0700 @@ -28,6 +28,8 @@ * Authors: Nathan Binkert */ +%rename(assign) *::operator=; + %include base/range.hh %include sim/host.hh ___ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev

[m5-dev] m5: Add hg commands for style check so you can check at times ot...

2008-06-14 Thread Nathan Binkert
changeset 4cff095bbf2b in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=4cff095bbf2b summary: Add hg commands for style check so you can check at times other than commit diffstat: 1 file changed, 1 insertion(+), 1 deletion(-) util/style.py |2 +- diffs (123 lines): diff

[m5-dev] m5: MemReq: Add option to reset the time on a request.

2008-06-14 Thread Nathan Binkert
changeset a1981d557252 in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=a1981d557252 summary: MemReq: Add option to reset the time on a request. diffs (11 lines): diff -r 4cff095bbf2b -r a1981d557252 src/mem/request.hh --- a/src/mem/request.hhSat Jun 14 19:37:26 2008

[m5-dev] m5: python: Move various utility classes into a new m5.util pack...

2008-06-14 Thread Nathan Binkert
: Nathan Binkert - -__all__ = [ 'attrdict' ] - -class attrdict(dict): -def __getattr__(self, attr): -if attr in self: -return self.__getitem__(attr) -return super(attrdict, self).__getattribute__(attr) - -def __setattr__(self, attr, value): -if attr in dir(self

Re: [m5-dev] m5-stable: 11 new changesets

2008-06-15 Thread nathan binkert
I think the bottom line is that as long as you want to do extensive non-automated testing before declaring something as stable then you have to have (1) some sort of freeze prior to that point so that your testers are all testing the same thing (modulo bug fixes) and (2) some group of people

Re: [m5-dev] m5-stable: 11 new changesets

2008-06-15 Thread nathan binkert
In the case of some bug fix that needs to be released immediately that fix could be pushed directly to m5-stable and pulled into m5. This is an intriguing idea. OpenBSD does this on a 6 month schedule and it works pretty well. Several other groups (ubuntu for example) have also started on

Re: [m5-dev] m5-stable: 11 new changesets

2008-06-15 Thread nathan binkert
I figured we'd make an exception for this month until all the pending changes get in. We can start the new schedule in July (so the earliest m5-stable update under the new plan would be ~Aug 1). Should we should freeze m5-stable where it is now, or if not, when? Ok, I like that. I think

[m5-dev] m5: add compile flags to m5

2008-06-15 Thread Nathan Binkert
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * Authors: Nathan Binkert + * Steve Reinhardt + */ + +#include string +#include

[m5-dev] m5: params: Prevent people from setting attributes on vector par...

2008-06-15 Thread Nathan Binkert
changeset 7c18f61da616 in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=7c18f61da616 summary: params: Prevent people from setting attributes on vector params. diffstat: 1 file changed, 2 insertions(+) src/python/m5/params.py |2 ++ diffs (14 lines): diff -r a9b2504432d1 -r

[m5-dev] m5: port: Clean up default port setup and port switchover code.

2008-06-15 Thread Nathan Binkert
changeset 758c2413765a in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=758c2413765a summary: port: Clean up default port setup and port switchover code. diffstat: 3 files changed, 4 insertions(+), 7 deletions(-) src/cpu/base.cc |8 +++- src/mem/port.cc |2 +-

[m5-dev] m5: physmem: Add a null option to physical memory so it doesn't...

2008-06-15 Thread Nathan Binkert
changeset dc04d655315a in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=dc04d655315a summary: physmem: Add a null option to physical memory so it doesn't store data. diffstat: 1 file changed, 3 insertions(+), 2 deletions(-) src/mem/physical.cc |5 +++-- diffs (113 lines):

Re: [m5-dev] m5: port: Clean up default port setup and port switchover code.

2008-06-16 Thread nathan binkert
I don't think this works, given that you've (still) got a single global static instance of DefaultPeerPort... right? I ask because this patch looks frighteningly familiar... I just did the same thing last week (including the identical class rename :-) ) but mine was more complicated because

Re: [m5-dev] m5: port: Clean up default port setup and port switchover code.

2008-06-16 Thread nathan binkert
I was specifically talking about the error message that I quoted in my earlier response. Since there's only one global static instance, the 'peer' field will point to the last initialized port, so the error message will reflect that regardless of which port is actually unconnected. Ah,

[m5-dev] [PATCH 3 of 3] imported patch rename_mips_console.diff

2008-06-16 Thread Nathan Binkert
# HG changeset patch # User Nathan Binkert [EMAIL PROTECTED] # Date 1213635026 25200 # Node ID a2e7f8c2bc7b1b44228303394797261f1f2b09d3 # Parent 4eebad63fad5463724fb64fdd1c6f923cd8df1f2 imported patch rename_mips_console.diff diff --git a/src/dev/mips/MipsConsole.py b/src/dev/mips

[m5-dev] [PATCH 2 of 3] rename AlphaConsole to AlphaBackdoor

2008-06-16 Thread Nathan Binkert
# HG changeset patch # User Nathan Binkert [EMAIL PROTECTED] # Date 1213635025 25200 # Node ID 4eebad63fad5463724fb64fdd1c6f923cd8df1f2 # Parent 5ffbff2e6cada183d53f894f6458e8ad0ec20700 rename AlphaConsole to AlphaBackdoor diff --git a/src/dev/alpha/AlphaConsole.py b/src/dev/alpha

[m5-dev] [PATCH 1 of 3] Rename SimConsole to Terminal since it makes more sense

2008-06-16 Thread Nathan Binkert
# HG changeset patch # User Nathan Binkert [EMAIL PROTECTED] # Date 1213635025 25200 # Node ID 5ffbff2e6cada183d53f894f6458e8ad0ec20700 # Parent dc04d655315a1145c381bedbebbcc93bffd78fed Rename SimConsole to Terminal since it makes more sense diff --git a/configs/common/FSConfig.py b/configs

[m5-dev] [PATCH 2 of 2] Fix tests script to deal with changes in default file names

2008-06-16 Thread Nathan Binkert
# HG changeset patch # User Nathan Binkert [EMAIL PROTECTED] # Date 1213638368 25200 # Node ID 148a05f7dfb91fc2084bdb9abc913070806c727b # Parent d98970506a49bae1b7d9186a3f479a272cfb3485 Fix tests script to deal with changes in default file names diff --git a/tests/SConscript b/tests/SConscript

[m5-dev] [PATCH 1 of 2] Change default output directory and files

2008-06-16 Thread Nathan Binkert
# HG changeset patch # User Nathan Binkert [EMAIL PROTECTED] # Date 1213635594 25200 # Node ID d98970506a49bae1b7d9186a3f479a272cfb3485 # Parent a2e7f8c2bc7b1b44228303394797261f1f2b09d3 Change default output directory and files diff --git a/src/dev/Terminal.py b/src/dev/Terminal.py --- a/src/dev

Re: [m5-dev] [PATCH 0 of 3] Sort out the name console

2008-06-16 Thread nathan binkert
I mentioned in a e-mail last night that I'd like to rename the various things that are called console so that the names are not as ambiguous. The following renames apply: SimConsole - Terminal AlphaConsole - AlphaBackdoor MipsConsole - MipsBackdoor Everyone OK with this? I'm fine with

Re: [m5-dev] [PATCH 0 of 2] Change default output directory and output files

2008-06-16 Thread nathan binkert
Long ago, we discussed changing the default output directory and the names of some default output files. I think I suggested m5out, but I'm not crazy about it. Is there something you like more? I'm fine with m5out. I kind of like extensions on the names. stats.out seems more satisfying to

[m5-dev] m5: 4 new changesets

2008-06-17 Thread Nathan Binkert
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# Authors: Nathan Binkert - -from m5.SimObject import SimObject -from m5.params import

[m5-dev] m5: PacketFifo: Get slack out of the EthPacketData structure. T...

2008-06-17 Thread Nathan Binkert
changeset 2830b6c18c9f in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=2830b6c18c9f summary: PacketFifo: Get slack out of the EthPacketData structure. This allows diffstat: 4 files changed, 36 insertions(+), 17 deletions(-) src/dev/etherpkt.hh |8

[m5-dev] m5: inet: initialization fixes.

2008-06-17 Thread Nathan Binkert
changeset dc6a459769a1 in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=dc6a459769a1 summary: inet: initialization fixes. diffstat: 2 files changed, 15 insertions(+), 15 deletions(-) src/base/inet.hh | 15 ++- src/dev/ns_gige.cc | 15 +-- diffs (204

[m5-dev] m5: 2 new changesets

2008-06-18 Thread Nathan Binkert
; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * Authors: Nathan Binkert

[m5-dev] m5: AtomicSimpleCPU: Separate data stalls from instruction stalls.

2008-06-18 Thread Nathan Binkert
changeset f0ac4112e128 in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=f0ac4112e128 summary: AtomicSimpleCPU: Separate data stalls from instruction stalls. diffstat: 3 files changed, 4 deletions(-) src/cpu/simple/AtomicSimpleCPU.py |1 - src/cpu/simple/atomic.cc |

[m5-dev] m5: imported patch sim_object_params.diff

2008-06-18 Thread Nathan Binkert
+ * Nathan Binkert + */ + +#ifndef __SIM_SIM_OBJECT_PARAMS_HH__ +#define __SIM_SIM_OBJECT_PARAMS_HH__ + +#ifndef PY_VERSION +struct PyObject; +#endif + +struct SimObjectParams +{ +virtual ~SimObjectParams() {} + +std::string name; +PyObject *pyobj; +}; + + +#endif

Re: [m5-dev] warn bug?

2008-06-22 Thread nathan binkert
You can also cast it to (const char *). I cant remember if this is hard to fix or not. I'll check it out. File a bug if you like. Nate On Sat, Jun 21, 2008 at 9:34 AM, Gabe Black [EMAIL PROTECTED] wrote: I've been dealing with a problem today where the warn macro seems to have trouble

Re: [m5-dev] Cron [EMAIL PROTECTED] /z/m5/regression/do-regression --scratch all

2008-06-23 Thread nathan binkert
That's just bad luck. I'll make it so listening sockets can easily be turned off soon. Nate On Sun, Jun 22, 2008 at 9:19 PM, Ali Saidi [EMAIL PROTECTED] wrote: 00:19:51 [saidi:zizzer /z/m5/regression/poolfs/m5] cat build/ALPHA_FS/

Re: [m5-dev] m5: 2 new changesets

2008-06-27 Thread nathan binkert
I thought about that and got rid of the ones in CopyString*(). However, without passing the tc object and creating a new port the getfile (m5 op that stucks in the config file) fails to work correctly. There must be something more going on there, but I couldn't figure out what was happening.

[m5-dev] Parallel M5

2008-06-29 Thread nathan binkert
I'm nearly done with the first step of getting parallel M5 working. -- Add an EventQueue pointer to every SimObject and add schedule()/deschedule()/reschedule() functions to the Base SimObject to use that event queue pointer. -- Change all calls to event scheduling to use that EventQueue

[m5-dev] Parallel M5 Wiki Page

2008-06-29 Thread nathan binkert
I've created a wiki page with my plan for parallel M5 http://m5sim.org/wiki/index.php/Parallel_M5 Nate ___ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev

Re: [m5-dev] m5: 2 new changesets

2008-06-29 Thread nathan binkert
I'd actually like to see this changset go back in. It seems that all that needs to happen is that setPeer should delete the peer if it is a defaultPort. There are a couple of ways to do this: 1) Have setPeer call disconnect(), though I'm not clear on how the deletePort() thing is supposed to

Re: [m5-dev] Parallel M5

2008-06-29 Thread nathan binkert
I vote for (1) until it can be shown that it matters. A single pointer doesn't seem like a big deal, especially since most of the things we create and destroy frequently aren't SimObjects but other classes. Showing that it matters is pretty hard unless you actually do it. A profile won't

Re: [m5-dev] [PATCH] After a checkpoint (and thus a stats reset), the not_idle_fraction/notIdleFraction statistic is really wrong

2008-06-29 Thread nathan binkert
there is a status() accessor method, but nothing uses. It seems unnecessary to to have a method to read the a variable that only the object that contains that variable uses. Why are you no longer serializing the status? Why is it confusing that both a port and a CPU have a status? There are

Re: [m5-dev] AtomicSimpleCPU putting all params into python

2008-06-29 Thread nathan binkert
The right thing to do is to either rely on the existing python framework, or move statements into the normal BaseCPU constructor. In this instance, I think the former is the correct answer since it's not exactly clear to me why those three variables must be set to null in C++. I think the issue

Re: [m5-dev] Parallel M5

2008-06-30 Thread nathan binkert
OK, that makes more sense now. Still seems like in the long term the right thing is to use a data structure that supports multiple readers with either per-bucket locks, a reader/writer lock, or some sort of non-blocking update (has x86 added a compare-and-swap yet?). They've had cmpxchg

Re: [m5-dev] cleaning up O3 multi-ISA support

2008-07-09 Thread nathan binkert
I looked at this a little in the car today and I found two useful bits of information. First, an easy way to reproduce the problem is to make a new repository with a directory and a file in the directory. Then initialize MQ, make a new patch, move the file from in the directory to the top of

[m5-dev] m5: eventq: Clean up the Event class so that it uses fewer bytes...

2008-07-11 Thread Nathan Binkert
changeset b1beee9351a4 in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=b1beee9351a4 summary: eventq: Clean up the Event class so that it uses fewer bytes. This diffstat: 2 files changed, 2 insertions(+), 4 deletions(-) src/sim/eventq.cc |3 +-- src/sim/eventq.hh |3 +--

[m5-dev] m5: eventq: new eventq data structure. The new data structure i...

2008-07-11 Thread Nathan Binkert
changeset f0f8a3ee5aad in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=f0f8a3ee5aad summary: eventq: new eventq data structure. The new data structure is singly diffstat: 2 files changed, 7 insertions(+), 1 deletion(-) src/sim/eventq.cc |1 + src/sim/eventq.hh |7

[m5-dev] m5: eventq: change the event datastructure back to LIFO.

2008-07-11 Thread Nathan Binkert
changeset cf464d02bc57 in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=cf464d02bc57 summary: eventq: change the event datastructure back to LIFO. diffstat: 2 files changed, 2 insertions(+), 4 deletions(-) src/sim/eventq.cc |5 ++--- src/sim/eventq.hh |1 - diffs (270

[m5-dev] changeset in m5: style: fix indentation and formatting of the ps...

2008-07-11 Thread Nathan Binkert
changeset 288b54c2fd8d in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=288b54c2fd8d description: style: fix indentation and formatting of the pseudo insts. diffstat: 2 files changed, 209 insertions(+), 37 deletions(-) src/sim/pseudo_inst.cc | 223

[m5-dev] changeset in m5: m5ops: clean up the m5ops stuff.

2008-07-11 Thread Nathan Binkert
changeset 90d6811d5ea6 in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=90d6811d5ea6 description: m5ops: clean up the m5ops stuff. - insert warnings for deprecated m5ops - reserve opcodes for Ali's stuff - remove code for stuff that has been

Re: [m5-dev] notify e-mails

2008-07-11 Thread nathan binkert
only one changeset in the changegroup... which seems silly since if we're concerned about space I'd rather lop off the diff than the extra few lines of the description. Steve On Fri, Jul 11, 2008 at 9:12 AM, nathan binkert [EMAIL PROTECTED] wrote: Ali recently updated mercurial and it broke

Re: [m5-dev] Two patch sets

2008-07-11 Thread nathan binkert
Did you ever get Michael's libm5 diff into the tree? I don't see any evidence of it. We actually have a need for it so it would be great to have the code ASAP... if there are issues with committing it, could you just send it to us? No. I'll get his stuff into my patch queue today and see how

Re: [m5-dev] new assertion flavor / object cprintf format

2008-07-14 Thread nathan binkert
My modest proposal is to add a new cprintf format character (maybe %O) that prints the associated argument directly using operator without assuming anything about the argument's type (other than that there's an operator defined for it). Then I can write assert_rel like the original version

Re: [m5-dev] new assertion flavor / object cprintf format

2008-07-14 Thread nathan binkert
I'm not disagreeing (yet!), I'm just trying to figure out exactly what you mean. My original intention was not to modify assert, but to provide a different macro that acts like assert only with these extra features. I figured as long as I don't call it assert then there shouldn't be any

Re: [m5-dev] caches, address ranges, etc.

2008-07-15 Thread nathan binkert
This seems to make sense to me. I have one question though, is this just for cachable addresses? On PCI and ISA busses, the default responder responds by driving all zeros or ones respectively. Are you going to be leaving this part alone? Nate On Mon, Jul 14, 2008 at 7:02 PM, Steve

Re: [m5-dev] Regression

2008-07-21 Thread nathan binkert
... why are their output file differences? All the regressions have been passing just fine. Ali On Jul 21, 2008, at 8:12 PM, nathan binkert wrote: I'm running a full regression on zizzer right now and I'm going to commit all of the changes since there are a bunch of output file differences right

Re: [m5-dev] Cron [EMAIL PROTECTED] /z/m5/regression/do-regression --scratch all

2008-07-22 Thread nathan binkert
So, x86/20.parser has failed for quite some time. There appear to be some slight stat differences because 5 more instructions are being simulated now. Do we want to keep this test failing Gabe? Does it pass somewhere else? I'm just wondering if the difference is simply because of your

  1   2   3   4   5   6   7   8   9   10   >