[RFC PATCH 0/3] Cache modelling TCG plugin

Mahmoud Mandour posted 3 patches 2 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/next-importer-push tags/patchew/20210529152203.40358-1-ma.mandourr@gmail.com
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>
There is a newer version of this series
contrib/plugins/Makefile |   1 +
contrib/plugins/cache.c  | 595 +++++++++++++++++++++++++++++++++++++++
2 files changed, 596 insertions(+)
create mode 100644 contrib/plugins/cache.c
[RFC PATCH 0/3] Cache modelling TCG plugin
Posted by Mahmoud Mandour 2 years, 10 months ago
In this RFC patch series, I propose an initial cache modelling TCG
plugin. As of now, it models separate L1 data cache and L1 instruction
cache. It supports three eviction policies: LRU, random, and FIFO. Once
a policy is chosen, it's used for both instruction and data caches.

Mahmoud Mandour (3):
  plugins: Added a new cache modelling plugin
  plugins: cache: Enabled parameterization and added trace printing
  plugins: cache: Added FIFO and LRU eviction policies.

 contrib/plugins/Makefile |   1 +
 contrib/plugins/cache.c  | 595 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 596 insertions(+)
 create mode 100644 contrib/plugins/cache.c

-- 
2.25.1


Re: [RFC PATCH 0/3] Cache modelling TCG plugin
Posted by Philippe Mathieu-Daudé 2 years, 10 months ago
Cc'ing Emilio too.

On 5/29/21 5:22 PM, Mahmoud Mandour wrote:
> In this RFC patch series, I propose an initial cache modelling TCG
> plugin. As of now, it models separate L1 data cache and L1 instruction
> cache. It supports three eviction policies: LRU, random, and FIFO. Once
> a policy is chosen, it's used for both instruction and data caches.
> 
> Mahmoud Mandour (3):
>   plugins: Added a new cache modelling plugin
>   plugins: cache: Enabled parameterization and added trace printing
>   plugins: cache: Added FIFO and LRU eviction policies.
> 
>  contrib/plugins/Makefile |   1 +
>  contrib/plugins/cache.c  | 595 +++++++++++++++++++++++++++++++++++++++
>  2 files changed, 596 insertions(+)
>  create mode 100644 contrib/plugins/cache.c
> 


Re: [RFC PATCH 0/3] Cache modelling TCG plugin
Posted by Mahmoud Mandour 2 years, 10 months ago
Thank you, I'll also CC Emilio in the v2 of this series.

On Sun, May 30, 2021 at 8:36 AM Philippe Mathieu-Daudé <f4bug@amsat.org>
wrote:

> Cc'ing Emilio too.
>
> On 5/29/21 5:22 PM, Mahmoud Mandour wrote:
> > In this RFC patch series, I propose an initial cache modelling TCG
> > plugin. As of now, it models separate L1 data cache and L1 instruction
> > cache. It supports three eviction policies: LRU, random, and FIFO. Once
> > a policy is chosen, it's used for both instruction and data caches.
> >
> > Mahmoud Mandour (3):
> >   plugins: Added a new cache modelling plugin
> >   plugins: cache: Enabled parameterization and added trace printing
> >   plugins: cache: Added FIFO and LRU eviction policies.
> >
> >  contrib/plugins/Makefile |   1 +
> >  contrib/plugins/cache.c  | 595 +++++++++++++++++++++++++++++++++++++++
> >  2 files changed, 596 insertions(+)
> >  create mode 100644 contrib/plugins/cache.c
> >
>
>