qemu-arm.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-arm] [RFC PATCH v2 0/2] Live migration optimization for Thunderx platform
@ 2016-08-16 12:02 vijay.kilari
  2016-08-16 12:02 ` [Qemu-devel] [RFC PATCH v2 1/2] utils: Add helper to read arm MIDR_EL1 register vijay.kilari
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: vijay.kilari @ 2016-08-16 12:02 UTC (permalink / raw)
  To: qemu-arm, peter.maydell, pbonzini, rth
  Cc: Prasun.Kapoor, p.fedin, qemu-devel, vijay.kilari, Vijaya Kumar K

From: Vijaya Kumar K <Vijaya.Kumar@cavium.com>

The CPU MIDR_EL1 register is exposed to userspace for arm64
with the below patch.
https://lkml.org/lkml/2016/7/8/467

Thunderx platform requires explicit prefetch instruction to
provide prefetch hint. Using MIDR_EL1 information, provided
by above kernel patch, prefetch is executed if the platform
is Thunderx.

The results of live migration time improvement is provided
in commit message of patch 2.

Note: Check for size of while prefetching beyond page is
not added. Making this check is counter productive on
performance of live migration.

v1 => v2:
   - Rename util/cpuinfo.c as util/aarch64-cpuid.c
   - Introduced header file include/qemu/aarch64-cpuid.h
   - Place all arch specific code under define __aarch64__ and
     CONFIG_LINUX.
   - Used builtin_prefetch() to add prefetch instruction.
   - Moved arch specific changes out of generic code
   - Dropped prefetching 5th cache line.

Vijaya Kumar K (2):
  utils: Add helper to read arm MIDR_EL1 register
  utils: Add prefetch for Thunderx platform

 include/qemu/aarch64-cpuid.h |  9 +++++
 util/Makefile.objs           |  1 +
 util/aarch64-cpuid.c         | 94 ++++++++++++++++++++++++++++++++++++++++++++
 util/cutils.c                | 31 +++++++++++++++
 4 files changed, 135 insertions(+)
 create mode 100644 include/qemu/aarch64-cpuid.h
 create mode 100644 util/aarch64-cpuid.c

-- 
1.9.1


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

end of thread, other threads:[~2016-08-19 14:57 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-16 12:02 [Qemu-arm] [RFC PATCH v2 0/2] Live migration optimization for Thunderx platform vijay.kilari
2016-08-16 12:02 ` [Qemu-devel] [RFC PATCH v2 1/2] utils: Add helper to read arm MIDR_EL1 register vijay.kilari
2016-08-17 13:39   ` [Qemu-arm] " Paolo Bonzini
2016-08-18  7:56     ` [Qemu-devel] " Vijay Kilari
2016-08-18  8:50       ` [Qemu-arm] " Paolo Bonzini
2016-08-18  9:01         ` Vijay Kilari
2016-08-18  9:39           ` Paolo Bonzini
2016-08-18 14:04             ` [Qemu-devel] " Richard Henderson
2016-08-18 14:14               ` [Qemu-arm] " Peter Maydell
2016-08-18 14:46                 ` [Qemu-devel] " Richard Henderson
2016-08-18 14:56                   ` [Qemu-arm] " Peter Maydell
2016-08-19  9:05                     ` Vijay Kilari
2016-08-19 14:57                       ` Richard Henderson
2016-08-16 12:02 ` [Qemu-arm] [RFC PATCH v2 2/2] utils: Add prefetch for Thunderx platform vijay.kilari
2016-08-16 18:02   ` Richard Henderson
2016-08-16 23:45     ` Vijay Kilari
2016-08-17 15:34       ` [Qemu-devel] " Richard Henderson
2016-08-16 16:02 ` [Qemu-arm] [Qemu-devel] [RFC PATCH v2 0/2] Live migration optimization " no-reply
2016-08-17 13:40   ` Paolo Bonzini

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).