qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/5] plugins: New TCG plugin for cache modelling
@ 2021-06-23 12:54 Mahmoud Mandour
  2021-06-23 12:54 ` [PATCH v4 1/5] plugins: Added a new cache modelling plugin Mahmoud Mandour
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Mahmoud Mandour @ 2021-06-23 12:54 UTC (permalink / raw)
  To: qemu-devel; +Cc: Mahmoud Mandour

This series introduces a new cache TCG plugin that models separate
L1 data cache and L1 instruction cache and uses one shared cache for
all the cores. This is a part of my work for GSoC 2021 under the
mentorship of Alex Bennée.

v3 -> v4:
    Removed unnecessary includes.

    Removed an unused variable `insn_addr` in `vcpu_mem_access()`.

    Had a `default` label for switch statement spelt wrong. Fixed that.
    
    typedef'd all structs to reduce the clutter of using the word
    `struct` on every declaration (was causing many lines to be +80
    characters...)

    Separated cache parameters to multiple arguments: iblksize,
    dcachesize, ..., etc.

    Produced a more descriptive error message when cache parameters are
    not appropriate.

    Included a patch to update the documentation of the plugins to
    include cache plugin.

    Included a patch to add myself as a reviewer for TCG plugins.
    (Ignore if not appropriate of course)
    

Mahmoud Mandour (5):
  plugins: Added a new cache modelling plugin
  plugins/cache: Enable cache parameterization
  plugins/cache: Added FIFO and LRU eviction policies
  docs/devel: Added cache plugin to the plugins docs
  MAINTAINTERS: Added myself as a reviewer for TCG Plugins

 MAINTAINERS                |   1 +
 contrib/plugins/Makefile   |   1 +
 contrib/plugins/cache.c    | 641 +++++++++++++++++++++++++++++++++++++
 docs/devel/tcg-plugins.rst |  60 ++++
 4 files changed, 703 insertions(+)
 create mode 100644 contrib/plugins/cache.c

-- 
2.25.1



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-07-07  9:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-23 12:54 [PATCH v4 0/5] plugins: New TCG plugin for cache modelling Mahmoud Mandour
2021-06-23 12:54 ` [PATCH v4 1/5] plugins: Added a new cache modelling plugin Mahmoud Mandour
2021-06-23 12:54 ` [PATCH v4 2/5] plugins/cache: Enable cache parameterization Mahmoud Mandour
2021-06-23 12:54 ` [PATCH v4 3/5] plugins/cache: Added FIFO and LRU eviction policies Mahmoud Mandour
2021-06-23 12:54 ` [PATCH v4 4/5] docs/devel: Added cache plugin to the plugins docs Mahmoud Mandour
2021-06-23 14:00   ` Mahmoud Mandour
2021-06-28  5:38   ` [PATCH v5] " Mahmoud Mandour
2021-06-23 12:54 ` [PATCH v4 5/5] MAINTAINTERS: Added myself as a reviewer for TCG Plugins Mahmoud Mandour
2021-07-07  9:27   ` [PATCH v5] MAINTAINERS: " Mahmoud Mandour
2021-07-05 16:11 ` [PATCH v4 0/5] plugins: New TCG plugin for cache modelling Alex Bennée

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).