[gem5-dev] Re: [gem5-users] Assistance Required - Assertion Failure in RegFile

2023-06-14 Thread Giacomo Travaglini via gem5-dev
Hi, I believe this has been fixed by the following patch [1] which is currently merged on the develop branch and will be part of v23.0. Let me know if it fixes your problem Kind Regards Giacomo [1]: https://gem5-review.googlesource.com/c/public/gem5/+/70697

[gem5-dev] Re: State of Arm SVE2 in gem5

2023-06-05 Thread Giacomo Travaglini via gem5-dev
Hi Jason, So far only a subset of SVE2 instructions have been pushed/merged to develop (some by me, some by Prajwal, here CCed) Kind Regards Giacomo From: Jason Lowe-Power Date: Friday, 2 June 2023 at 15:47 To: gem5 Developer List Cc: Giacomo Travaglini Subject: State of Arm SVE2 in gem5

[gem5-dev] Re: Request for comments/reviews: Multiple Ruby protocols in a single binary

2022-04-01 Thread Giacomo Travaglini via gem5-dev
Congrats to Jason and to everyone who’s making this possible! About the naming, I wonder if we could provide a different python module per ruby protocol. That would allow us to avoid prefixing in favour of something like: $from m5.objects.mi_example import L1Cache_Controller or $from

[gem5-dev] Re: Build failed in Jenkins: nightly #166

2022-03-22 Thread Giacomo Travaglini via gem5-dev
Hi Bobby, No sure, maybe something weird on the XML side? It is weird though; the plot plugin has been running for some days and this is the first time we are getting this kind of error. Let’s see if disabling it fixes the issue Giacomo From: Bobby Bruce Date: Monday, 21 March 2022 at 19:05

[gem5-dev] Re: All tests failing: Please don't commit anything!

2022-03-07 Thread Giacomo Travaglini via gem5-dev
Hi Jason, https://gem5-review.googlesource.com/c/public/gem5/+/57349 might fix the compiler-check failure (gcc-version-7) Kind Regards Giacomo From: Jason Lowe-Power via gem5-dev Date: Saturday, 5 March 2022 at 17:27 To: gem5 Developer List Cc: Jason Lowe-Power Subject: [gem5-dev] All

[gem5-dev] Re: resource downloader failure

2022-03-01 Thread Giacomo Travaglini via gem5-dev
Hi Gabe, A possible workaround could be to use the --bin-path option in testlib Kind Regards Giacomo From: Gabe Black via gem5-dev Date: Tuesday, 1 March 2022 at 04:10 To: gem5 Developer List Cc: Gabe Black Subject: [gem5-dev] resource downloader failure Hi folks. I've been trying to run

[gem5-dev] Re: Kokoro failures

2022-02-04 Thread Giacomo Travaglini via gem5-dev
Thanks Bobby, Here are some examples: https://gem5-review.googlesource.com/c/public/gem5/+/56426 https://gem5-review.googlesource.com/c/public/gem5/+/55964/6 https://gem5-review.googlesource.com/c/public/gem5/+/56303/1 (If you check the verification history of the last patch you can see it first

[gem5-dev] Kokoro failures

2022-02-03 Thread Giacomo Travaglini via gem5-dev
Hi all, I am seeing a lot of failures on kokoro due to timeouts. Have we recently added some extra tests to the quick/pre-submit regressions? 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

[gem5-dev] Re: Incorrect disassembly/register width in Aarch64 ?

2021-12-01 Thread Giacomo Travaglini via gem5-dev
Hi Arthur, this is a known issue in disassembling and arises when multiple register operands have different width. For example your load is likely using the 64-bit SP as base register and loading the value into 32-bit w1. Gem5 is not capturing this per-operand-width and it is reporting a single

[gem5-dev] Re: reduce the number of checkpoints in the ARM checkpoint test?

2021-10-12 Thread Giacomo Travaglini via gem5-dev
> -Original Message- > From: Gabe Black > Sent: 12 October 2021 10:28 > To: Giacomo Travaglini > Cc: gem5 Developer List > Subject: Re: [gem5-dev] reduce the number of checkpoints in the ARM > checkpoint test? > > Hi Giacomo. it's definitely minutes, probably between 5 and 10 per >

[gem5-dev] Re: reduce the number of checkpoints in the ARM checkpoint test?

2021-10-12 Thread Giacomo Travaglini via gem5-dev
Hi Gabe, are we talking about seconds or minutes (per run)? In the latter case I agree we could reduce the max_number to 3. If it is just saving us few seconds then it is probably not worth it IMHO Kind Regards Giacomo > -Original Message- > From: Gabe Black via gem5-dev > Sent: 12

[gem5-dev] Re: failing ARM dual CPU tests?

2021-09-22 Thread Giacomo Travaglini via gem5-dev
Hi Gabe, >From an Arm perspective, could you make sure you are using the latest >bootloader? I remember there was a change some time ago which required the bootloader to be rebuilt You could either download latest tarball from

[gem5-dev] Re: overview/documentation/tests for vector register related stuff?

2021-08-09 Thread Giacomo Travaglini via gem5-dev
Hi Gabe, > -Original Message- > From: Gabe Black via gem5-dev > Sent: 09 August 2021 11:02 > To: gem5 Developer List > Cc: Gabe Black > Subject: [gem5-dev] Re: overview/documentation/tests for vector register > related stuff? > > I've done a bit of digging so far, and I think I've

[gem5-dev] Re: "epic" Jira issue to track multi-ISA gem5

2021-07-27 Thread Giacomo Travaglini via gem5-dev
This is great, thanks Gabe! > -Original Message- > From: Gabe Black via gem5-dev > Sent: 25 July 2021 12:45 > To: gem5 Developer List ; Earl Ou > > Cc: Gabe Black > Subject: [gem5-dev] "epic" Jira issue to track multi-ISA gem5 > > To help lay out a roadmap and scope for my ongoing

[gem5-dev] Re: DPRINTF_UNCONDITIONAL deprecation

2021-07-21 Thread Giacomo Travaglini via gem5-dev
Thanks Gabe, The performance benefit is difficult to measure as the macro is not currently used; it could provide negligible or no improvement at all depending on the compiler and on where it could be used. So the question is not whether it makes gem5 faster now, it is more about giving our

[gem5-dev] DPRINTF_UNCONDITIONAL deprecation

2021-07-15 Thread Giacomo Travaglini via gem5-dev
Hi Gabe, The DPRINTF_UNCONDITIONAL macro has been deprecated in develop [1] and the deprecation is going to be official in v21.1. As far as I understood, the reason why it has been deprecated is because it was not used in gem5. I am proposing to remove the deprecation. IMO that macro is

[gem5-dev] Re: gem5 namespace

2021-05-05 Thread Giacomo Travaglini via gem5-dev
Hi all, I agree with Daniel's analysis and solution, as enforcing snake_case for namespaces would probably make everyone happy. We could in theory adopt namespace aliases for backward compatibility, to transition smoothly from one "convention" (PascalCase for namespaces is not mentioned in our

[gem5-dev] Re: error from new test_convert.py?

2021-04-19 Thread Giacomo Travaglini via gem5-dev
Yes, This is why I usually run using tests/gem5 as root directory ./tests/main.py [...] \ tests/gem5 <- root directory Testlib is basically trying to load every python file it finds on its walk. We should definitely add python unit tests to our presubmit runs IMHO. The simplest way is via

[gem5-dev] Re: gem5 namespace

2021-04-15 Thread Giacomo Travaglini via gem5-dev
My vote goes to 1 and A as well My sole argument is consistency; in general I'd rather start a namespace with a lowercase. So that when we have something like a scope resolution we know we are dealing with a namespace and not a class. But that's off-topic. Namespace names are anyway not

[gem5-dev] Re: More unreproducible kokoro failures... testlib bug?

2021-03-31 Thread Giacomo Travaglini via gem5-dev
Hi Gabe, Apologies for the late reply; I was on vacation. That is not a "problem" in testlib. It happens when regressions are aborted by external forces (e.g. a timeout in Jenkins/kokoro); then the time field of metadata doesn't get populated. We should probably fix this by initializing time to

[gem5-dev] Re: gem5:stopping fetching and kernel panic

2021-03-26 Thread Giacomo Travaglini via gem5-dev
I see, The VExpress_EMM(64) is an old platform and we are slowly removing its support. It might be the problem is the prebuilt kernel not fully supporting the PCI IDE controller, but this is just speculation. May I suggest you to use a more up to date platform (VExpress_GEM5_V1 or

[gem5-dev] Re: Build failed in Jenkins: Weekly #14

2021-03-26 Thread Giacomo Travaglini via gem5-dev
Thanks Jason, this will be fixed by: https://gem5-review.googlesource.com/c/public/gem5/+/43746 Kind Regards Giacomo > -Original Message- > From: Jason Lowe-Power > Sent: 26 March 2021 15:51 > To: gem5 Developer List > Cc: Giacomo Travaglini > Subject: Re: [gem5-dev] Build failed in

[gem5-dev] Re: gem5:stopping fetching and kernel panic

2021-03-25 Thread Giacomo Travaglini via gem5-dev
Hi, The stdout is not enough I am afraid to understand what went wrong. Could you provide the content of the m5out/system.workload.dmesg file ? Kind Regards Giacomo > -Original Message- > From: Csq via gem5-dev > Sent: 25 March 2021 03:40 > To: gem5-dev@gem5.org > Cc:

[gem5-dev] Re: de-templating the O3 CPU

2021-03-22 Thread Giacomo Travaglini via gem5-dev
gt; mailto:ja...@lowepower.com> > wrote: > > > Hey Gabe, > > I love this idea! It would be nice if you could document the > code as you go, too. It could serve as a good learning tool in the future. > > Cheers, > Jason > > > On Mon, Mar 1, 2021 at 7:56 AM

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

2021-03-09 Thread Giacomo Travaglini via gem5-dev
This is fixed by: https://gem5-review.googlesource.com/c/public/gem5/+/42623 > -Original Message- > From: jenkins-no-reply=gem5@mg.gem5.org reply=gem5@mg.gem5.org> On Behalf Of jenkins-no-reply--- via gem5-dev > Sent: 09 March 2021 08:31 > To: gem5-dev@gem5.org > Cc:

[gem5-dev] RFC: Support for multiple non consecutive ranges in the AbstractMemory class

2021-03-05 Thread Giacomo Travaglini via gem5-dev
Hi devs, In the past days I have been thinking about providing support for multiple non consecutive ranges to the memory object (AbstractMemory). I already have a working implementation; I just need to come up with a good python interface for it. I have opened a JIRA ticket [1] with my

[gem5-dev] Re: RFC: run python Black on gem5 python code

2021-03-04 Thread Giacomo Travaglini via gem5-dev
kins script. > On Thu, Mar 4, 2021 at 6:49 AM Giacomo Travaglini via gem5-dev d...@gem5.org <mailto:gem5-dev@gem5.org> > wrote: > > > Hi Jason, > > This is great news. When you say it is not configurable, do you mean it > is not possible to suppress warning/errors or d

[gem5-dev] Re: vector register indexing modes and renaming?

2021-03-04 Thread Giacomo Travaglini via gem5-dev
> -Original Message- > From: Gabe Black > Sent: 04 March 2021 04:04 > To: Giacomo Travaglini > Cc: gem5 Developer List > Subject: Re: [gem5-dev] vector register indexing modes and renaming? > > > > On Mon, Mar 1, 2021 at 6:48 AM Giacomo Travaglini > mailto:giacomo.travagl...@arm.com>

[gem5-dev] Re: RFC: run python Black on gem5 python code

2021-03-04 Thread Giacomo Travaglini via gem5-dev
Hi Jason, This is great news. When you say it is not configurable, do you mean it is not possible to suppress warning/errors or do you mean it is not possible to come up with custom rules? As I presume it's the first case, I am wondering if a different linter might provide such capabilities:

[gem5-dev] Re: de-templating the O3 CPU

2021-03-01 Thread Giacomo Travaglini via gem5-dev
+2, +1, Merged  Giacomo > -Original Message- > From: Gabe Black via gem5-dev > Sent: 27 February 2021 10:13 > To: gem5 Developer List > Cc: Gabe Black > Subject: [gem5-dev] de-templating the O3 CPU > > Hi folks. The O3 CPU uses templates pretty heavily, I think nominally to make >

[gem5-dev] Re: vector register indexing modes and renaming?

2021-03-01 Thread Giacomo Travaglini via gem5-dev
> -Original Message- > From: Gabe Black > Sent: 27 February 2021 05:47 > To: Giacomo Travaglini > Cc: gem5 Developer List > Subject: Re: [gem5-dev] vector register indexing modes and renaming? > > Another question/clarification: > > Does any data actually get shared between the two

[gem5-dev] Re: vector register indexing modes and renaming?

2021-02-24 Thread Giacomo Travaglini via gem5-dev
> -Original Message- > From: Gabe Black > Sent: 24 February 2021 15:24 > To: Giacomo Travaglini > Cc: gem5 Developer List > Subject: Re: [gem5-dev] vector register indexing modes and renaming? > > So, I started really diving into the interfaces in ThreadContext and > ExecContext >

[gem5-dev] Re: vector register indexing modes and renaming?

2021-02-23 Thread Giacomo Travaglini via gem5-dev
Hi Gabe > -Original Message- > From: Gabe Black via gem5-dev > Sent: 23 February 2021 08:54 > To: gem5 Developer List > Cc: Gabe Black > Subject: [gem5-dev] vector register indexing modes and renaming? > > Hey ARM folks. Could someone please explain to me what the deal is with the >

[gem5-dev] Re: gem5 21.0 Release blockers

2021-02-17 Thread Giacomo Travaglini via gem5-dev
Hi Bobby, It would be nice if we could get this in as well: https://gem5-review.googlesource.com/c/public/gem5/+/39898/2 Kind Regards Giacomo > -Original Message- > From: Bobby Bruce via gem5-dev > Sent: 17 February 2021 08:12 > To: gem5 Developer List > Cc: Bobby Bruce > Subject:

[gem5-dev] Re: test library error

2021-02-11 Thread Giacomo Travaglini via gem5-dev
In my experience the mentioned problem: > AttributeError: 'TestCaseMetadata' object has no attribute 'time' It's a simple reflection of a regression not being able to complete its execution (note, this is different than failing), and it is not strictly related to testlib. If the regression is

[gem5-dev] Re: version of pybind11 without everything in the headers

2021-02-04 Thread Giacomo Travaglini via gem5-dev
Hi Gabe, I believe you are referring to the following ticket: https://gem5.atlassian.net/browse/GEM5-277 Ciro is currently on vacation and he will be back next week so he will be able to update you on his progresses. IIRC pybind folks are reviewing his contribution but I cannot provide you a

[gem5-dev] Re: Some evidence build times have substantially increased on Jenkins

2021-01-27 Thread Giacomo Travaglini via gem5-dev
a day to complete Kind Regards Giacomo > -Original Message- > From: Giacomo Travaglini via gem5-dev > Sent: 27 January 2021 22:23 > To: gem5 Developer List > Cc: Giacomo Travaglini > Subject: [gem5-dev] Re: Some evidence build times have substantially > increa

[gem5-dev] Re: Some evidence build times have substantially increased on Jenkins

2021-01-27 Thread Giacomo Travaglini via gem5-dev
Hi Bobby, While I agree there might be something wrong with it, It can be partly explained with the sheer amount of patches which is being reviewed and merged in these days. This is affecting compilation time in the following ways: a) Overloading Jenkins with the gem5-develop job -> this is

[gem5-dev] Re: Nightly stuck

2021-01-18 Thread Giacomo Travaglini via gem5-dev
Hi all, This has been fixed and it's going to be merged today. This made me realize we might want to introduce a timeout for our regressions. A global, Jenkins level one is easy to add and doesn't require any code modifications. However a per-test timeout is probably the best approach. In

[gem5-dev] Nightly stuck

2021-01-18 Thread Giacomo Travaglini via gem5-dev
Hi devs, It seems like the following Nightly run #191 is stuck: https://jenkins.gem5.org/job/Nightly/191/ I am running those tests locally to understand if it is a tool problem or broken long regressions are currently broken Will keep you posted Kind Regards Giacomo IMPORTANT NOTICE: The

[gem5-dev] Re: IWYU tool and include checking from scons

2021-01-13 Thread Giacomo Travaglini via gem5-dev
We could add it to scons as an extra flag which is defaulting to False, and properly set in our regression scripts (I am also in favour of adding IWYU) Kind Regards Giacomo > -Original Message- > From: Nikos Nikoleris via gem5-dev > Sent: 13 January 2021 15:57 > To: gem5-dev@gem5.org

[gem5-dev] Re: CPU/thread context capabilitiy/feature bits

2020-12-15 Thread Giacomo Travaglini via gem5-dev
Hi Gabe, Let me first say that I like what you are trying to do. Are you thinking about changing the querying interface only, or are you thinking about restructuring the back-end as well? Like where ISA specific parameters are actually stored? For example in Arm we have system level

[gem5-dev] Re: Kernel ``init'' in Ubuntu 18.04 for ARM

2020-12-11 Thread Giacomo Travaglini via gem5-dev
Hi Samuel, Thanks for reporting this. There is an init file, it is in the root directory: /init.gem5. You can manually select that by using the --kernel-init option in fs_bigLITTLE.py I will amend the distributed disk image providing a symlink to /init.gem5 in /sbin/init for consistency With

[gem5-dev] Re: seL4 on gem5

2020-11-12 Thread Giacomo Travaglini via gem5-dev
Hi, In general terms I agree; We are relying on the https://github.com/gem5/gem5/blob/develop/configs/example/arm/baremetal.py platform for its capability of loading several binaries as extras without needing to know what those binaries actually are (ish). We use it in different scenarios

[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