[gem5-dev] Re: SimObject params() method

2020-10-22 Thread Giacomo Travaglini via gem5-dev
Let me add to the plate a simple proposal though still a bit verbose and probably not that different from a manual cast Defining a template method in SimObject: template Obj params() { return static_cast(_params); Or more secure: param = dynamic_cast(_params); assert(param);

[gem5-dev] Re: Build failed in Jenkins: Nightly #91

2020-10-13 Thread Giacomo Travaglini via gem5-dev
t me know if you have a better idea. Cheers, Jason On Tue, Oct 13, 2020 at 8:41 AM Giacomo Travaglini via gem5-dev mailto:gem5-dev@gem5.org>> wrote: Forgot to mention: I am choosing the latter Giacomo From: Giacomo Travaglini Sent: 13 October 2020 16:40 To: gem5 Developer List mailto:ge

[gem5-dev] Re: Build failed in Jenkins: Nightly #91

2020-10-13 Thread Giacomo Travaglini via gem5-dev
Forgot to mention: I am choosing the latter Giacomo From: Giacomo Travaglini Sent: 13 October 2020 16:40 To: gem5 Developer List ; Poremba, Matthew Cc: Jieming Yin Subject: RE: [gem5-dev] Re: Build failed in Jenkins: Nightly #91 Hi all, I had the same issue. The problem in my case was in

[gem5-dev] Re: Build failed in Jenkins: Nightly #91

2020-10-13 Thread Giacomo Travaglini via gem5-dev
Hi all, I had the same issue. The problem in my case was in scons, which was selecting python2 when building gem5 disregarding my python3 virtualenv $less `which scons` #! /usr/bin/python And /usr/bin/python was linked to python2.7. So the available solutions are: * Installing a newer

[gem5-dev] Re: Register bank abstraction

2020-10-08 Thread Giacomo Travaglini via gem5-dev
This looks great Gabe! Just so you know, there is already something (old) on review: https://gem5-review.googlesource.com/c/public/gem5/+/10805/3 Giacomo From: Gabe Black via gem5-dev Sent: 08 October 2020 13:59 To: gem5 Developer List Cc: Gabe Black Subject: [gem5-dev] Register bank

[gem5-dev] Re: MMU object vs. DTB and ITB

2020-09-22 Thread Giacomo Travaglini via gem5-dev
Hey Jason, I have just posted the patchset: https://gem5-review.googlesource.com/c/public/gem5/+/34975/1 Supporting a multi-level TLB design was actually the reason why I started implementing this. I am not at that point yet, but I believe we are getting closer now, having a MMU hiding the

[gem5-dev] Re: MMU object vs. DTB and ITB

2020-09-21 Thread Giacomo Travaglini via gem5-dev
Hi Gabe, I am actually about to post the same patchset (which is: removing the TLB from the CPU interface and make it interface with an MMU instead) Giacomo From: Gabe Black via gem5-dev Sent: 20 September 2020 04:44 To: gem5 Developer List Cc: Gabe Black Subject: [gem5-dev] Re: MMU object

[gem5-dev] testlib dumping execution time for every testcase

2020-08-16 Thread Giacomo Travaglini via gem5-dev
Hi devs, We've posted a patchset which allows us to dump the execution time of every testcase during kokoro runs. https://gem5-review.googlesource.com/c/public/gem5/+/32653/1 This will make it possible for us to track performance regressions before a commit is merged, hence preventing

[gem5-dev] Re: The Nightly Build system is now Live (Compiler tests too!)

2020-07-30 Thread Giacomo Travaglini via gem5-dev
Thanks Bobby and Mike! These are amazing news Giacomo From: Bobby Bruce via gem5-dev Sent: 27 July 2020 19:55 To: gem5 Developer List Cc: Bobby Bruce Subject: [gem5-dev] The Nightly Build system is now Live (Compiler tests too!) Dear all, After some tinkering, we now have a nightly build

[gem5-dev] Re: bug squashing renamed pinned registers in o3?

2020-06-26 Thread Giacomo Travaglini via gem5-dev
Thanks Gabe, Please let me know if you can reproduce the problem with the mentioned patch. If that’s the case, we should open a JIRA ticket so that I can have a look at that Giacomo From: Gabe Black Sent: 25 June 2020 05:28 To: Giacomo Travaglini Cc: gem5 Developer List ; Weiping Liao ;

[gem5-dev] Re: bug squashing renamed pinned registers in o3?

2020-06-24 Thread Giacomo Travaglini via gem5-dev
Hi Gabe, We are encountering the same problem on top of develop but it’s still worth asking: 1. Do you have https://gem5-review.googlesource.com/c/public/gem5/+/25743 ? 2. Are you encountering this in a simulation which is using a CPU switch or checkpoint save/restore Kind Regards

[gem5-dev] Re: [Suggestion] Replace gem5-users mailing-list with Discourse

2020-06-10 Thread Giacomo Travaglini via gem5-dev
I agree with Daniel and Ciro; it's difficult/annoying to navigate through old unanswered emails and I presume nobody does that at the moment. Most of the time if your email doesn't get a quick response as soon as it gets posted, you can forget about getting some help as time passes; there is a

[gem5-dev] Re: New ARM patches on staging branch

2020-05-28 Thread Giacomo Travaglini via gem5-dev
Hi Jason, As you can see from the ticket below: https://gem5.atlassian.net/browse/GEM5-611 It won’t be possible otherwise to run gem5-ARM in KVM mode with the in source bootloader. It is not a compiler fix. Considering the are several people using KVM, I consider this critical and would

[gem5-dev] Re: New ARM patches on staging branch

2020-05-28 Thread Giacomo Travaglini via gem5-dev
Thanks Jason, I will ping other Arm people Giacomo From: Jason Lowe-Power Sent: 28 May 2020 16:14 To: Giacomo Travaglini Cc: gem5 Developer List ; Bobby Bruce Subject: Re: New ARM patches on staging branch Hi Giacomo, Thanks for letting us know. I've gone ahead and hit maintainer +1 on them

[gem5-dev] GCB status

2020-05-12 Thread Giacomo Travaglini via gem5-dev
Hi Bobby, It seems like we are just using kokoro now as CI platform. Is this intended? (What happened with GCB?) Kind Regards Giacomo IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please