Skip to content

xen: cache control improvements

Roger Pau Monne xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 15 repliesIn review
  2. v10 of 8 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6x86/pv: fix emulation of wb{,no}invd to flush all pCPU cachesxen/arch/x86/pv/emul-priv-op.c+3 -31 reply
2/6x86/gnttab: do not implement GNTTABOP_cache_flushCHANGELOG.md xen/arch/x86/include/asm/flushtlb.h xen/common/Kconfig +1 more+14 -195 replies
3/6xen/x86: rename cache_flush_permitted() to has_arch_io_resources()xen/arch/x86/include/asm/iocap.h xen/arch/x86/mm/p2m-pod.c xen/common/memory.c +1 more+9 -51 reply
4/6xen/x86: account for assigned PCI devices in cache_flush_permitted()xen/arch/x86/include/asm/iocap.h xen/arch/x86/mm.c+3 -40 replies
5/6x86/hvm: limit memory type cache flush to running domainsxen/arch/x86/hvm/mtrr.c+7 -12 replies
6/6x86/hvm: reduce the need to flush caches in memory_type_changed()xen/arch/x86/hvm/mtrr.c+9 -26 replies

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchJan BeulichOleksii Kurochko
1/6R-b
2/6R-b
3/6R-b
4/6
5/6R-b
6/6R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/6] xen: cache control improvements

Hello,

Following series contain some fixes for cache control operations, the main focus is to reduce the load on big systems when cache control operations are executed.

Patches 1-4 are bugfixes, while patches 5 and 6 are improvements to the current code.

Thanks, Roger.

Roger Pau Monne (6):
x86/pv: fix emulation of wb{,no}invd to flush all pCPU caches x86/gnttab: do not implement GNTTABOP_cache_flush xen/x86: rename cache_flush_permitted() to has_arch_io_resources() xen/x86: account for assigned PCI devices in cache_flush_permitted() x86/hvm: limit memory type cache flush to running domains x86/hvm: reduce the need to flush caches in memory_type_changed()

 CHANGELOG.md                        |  3 +++
 xen/arch/x86/hvm/mtrr.c             | 17 +++++++++++++++--
 xen/arch/x86/include/asm/flushtlb.h | 19 -------------------
 xen/arch/x86/include/asm/iocap.h    |  5 ++++-
 xen/arch/x86/mm.c                   |  4 +---
 xen/arch/x86/mm/p2m-pod.c           |  4 ++--
 xen/arch/x86/pv/emul-priv-op.c      |  6 +++---
 xen/common/Kconfig                  |  5 +++++
 xen/common/grant_table.c            |  6 ++++++
 xen/common/memory.c                 |  2 +-
 xen/include/asm-generic/iocap.h     |  4 +++-
 11 files changed, 43 insertions(+), 32 deletions(-)
Signature · 1 line
2.48.1