Hey Srikrishna,

I had a look into this for you. Turns out we still had an old gem5
mercurial repo hanging around for us to see where this patch goes. To apply
this patch on our git repo you'll need to checkout revision
6498ccddb2f13a6fac6a210372b1aa86873507b9, then use `git apply` with the
`--whitespace=fix` and `--reject` flags.

Going completely from beginning to end:

```
git clone https://gem5.googlesource.com/public/gem5
git checkout 6498ccddb2f13a6fac6a210372b1aa86873507b9
cd gem5
wget
https://raw.githubusercontent.com/farzadfch/gem5-cache-partitioning/master/cache-part.patch
git apply --reject --whitespace=fix cache-part.patch
```

Though, i wish to warn here -- this revision of the repository is *very*
old. It's from 2014, and therefore incredibly out-of-date. There will be
definitely be bugs and missing features, not mention almost zero
documentation if you get stuck. Proceed with caution.

Kind regards,
Bobby
--
Dr. Bobby R. Bruce
Room 2235,
Kemper Hall, UC Davis
Davis,
CA, 95616

web: https://www.bobbybruce.net

Please consider making a submission to GI@ICSE '21:
http://geneticimprovementofsoftware.com/gi2021icse.html


On Thu, Nov 19, 2020 at 4:37 AM Gabe Black via gem5-users <
[email protected]> wrote:
>
> gem5 does not use mercurial any more and hasn't for a while, and so using
hg commands probably won't work. You should be able to apply the patches
using the normal "patch" command, or even with git using the "git am"
command, but if your patches are really old (likely if they're geared
towards mercurial) then they likely won't apply cleanly.
>
> Gabe
>
> On Wed, Nov 18, 2020 at 6:59 PM Srikrishna Vasudev via gem5-users <
[email protected]> wrote:
>>
>> Hello everyone!
>> I am trying to implement a patch, but for some reason I am unable to do
it. I feel like I might be missing a step in between somewhere.
>> I am using the instructions given in this site to import the patch:
https://synergy.ece.gatech.edu/tools/garnet/mercurial-patches-for-gem5garnet/
>> I want to implement this patch:
https://github.com/farzadfch/gem5-cache-partitioning
>> In the patches folder I have made a txt file name series and and I have
also copied the patch there. I use the echo command to write the name of
the patch in the series txt file as it is written in the instructions. But
when I use the hg qpush command it shows the message "no patch in series".
>> I have tried using a different patch as well, but it also shows the same
message.
>> I am new to gem5 and all the stuff related to it, so I might be making
some mistake.
>> Kindly help me out guys!
>> Thank you.
>>
>> With regards
>> Srikrishna Vasudev
>>
>>
>>
>> _______________________________________________
>> gem5-users mailing list -- [email protected]
>> To unsubscribe send an email to [email protected]
>> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>
> _______________________________________________
> gem5-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to