From: James Hogan <james.hogan@imgtec.com>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <james.hogan@imgtec.com>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
Thomas Gleixner <tglx@linutronix.de>, <linux-mips@linux-mips.org>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH 0/4] MIPS: Guest timekeeping improvements
Date: Fri, 22 Apr 2016 18:19:13 +0100 [thread overview]
Message-ID: <1461345557-2763-1-git-send-email-james.hogan@imgtec.com> (raw)
These patches improve timekeeping of MIPS/Malta kernels running in a KVM
guest.
Patch 2 fixes malta frequency calculation under virtualisation,
especially on very slow targets (FPGA / emulators). Patch 1 is a minor
fix for something I noticed while writing patch 2.
Patch 3 drops the use of the PIT timer for Malta, which is slow to
emulate with KVM + QEMU.
Finally patch 4 calculates min_delta_ns of cevt-r4k dynamically to
handle virtualised environments with software emulated Count/Compare,
and where Count frequency may not be directly related to actual CPU
speed (and so the static value of 0x300 may be no good).
James Hogan (4):
MIPS: malta-time: Start GIC count before syncing to RTC
MIPS: malta-time: Take seconds into account
MIPS: malta-time: Don't use PIT timer for cevt/csrc
MIPS: cevt-r4k: Dynamically calculate min_delta_ns
arch/mips/Kconfig | 1 -
arch/mips/kernel/cevt-r4k.c | 82 +++++++++++++++++++++++++++++++++++++++-
arch/mips/mti-malta/malta-time.c | 50 +++++++++++++++---------
3 files changed, 113 insertions(+), 20 deletions(-)
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
--
2.4.10
next reply other threads:[~2016-04-22 17:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-22 17:19 James Hogan [this message]
2016-04-22 17:19 ` [PATCH 4/4] MIPS: cevt-r4k: Dynamically calculate min_delta_ns James Hogan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1461345557-2763-1-git-send-email-james.hogan@imgtec.com \
--to=james.hogan@imgtec.com \
--cc=daniel.lezcano@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®