From: Pavel Fedin <p.fedin@samsung.com>
To: qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>,
Peter Crosthwaite <peter.crosthwaite@xilinx.com>,
Pavel Fedin <p.fedin@samsung.com>, Alexander Graf <agraf@suse.de>
Subject: [Qemu-devel] [PATCH 0/2] Remove CP15 timer from the device tree if KVM is used without in-kernel irqchip
Date: Wed, 24 Jun 2015 14:58:07 +0300 [thread overview]
Message-ID: <cover.1435146494.git.p.fedin@samsung.com> (raw)
Certain machines do not have working vGIC hardware. Linux kernel (at least
up to v4) has configuration options which would still allow to use KVM,
but GIC and timer have to be emulated in userspace. Unfortunately, ARM CPUs
do not have an option to trap access to CP15 virtual timer registers.
Consequently, timer operations cannot be trapped and emulated.
The only possibility to work around is to use another timer hardware which
is memory-mapped and can be emulated by qemu. In order to make guest kernel
ignoring CP15 timer, we remove it from machine's device tree.
Of course this works only with machine models which actually have these
timers (like vexpress).
Pavel Fedin (2):
Introduce qemu_fdt_remove_compatible()
Remove CP15 timer from the device tree if KVM is used without
in-kernel irqchip
device_tree.c | 10 ++++++++++
hw/arm/boot.c | 5 +++++
include/sysemu/device_tree.h | 10 ++++++++++
3 files changed, 25 insertions(+)
--
1.9.5.msysgit.0
next reply other threads:[~2015-06-24 11:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-24 11:58 Pavel Fedin [this message]
2015-06-24 11:58 ` [Qemu-devel] [PATCH 1/2] Introduce qemu_fdt_remove_compatible() Pavel Fedin
2015-06-24 11:58 ` [Qemu-devel] [PATCH 2/2] Remove CP15 timer from the device tree if KVM is used without in-kernel irqchip Pavel Fedin
2015-06-25 6:22 ` [Qemu-devel] [PATCH 0/2] " Peter Crosthwaite
2015-06-25 10:50 ` Pavel Fedin
2015-06-25 10:59 ` Peter Maydell
2015-06-25 12:14 ` Pavel Fedin
2015-06-25 12:27 ` Peter Maydell
2015-06-25 13:21 ` Pavel Fedin
2015-06-25 14:17 ` Peter Maydell
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=cover.1435146494.git.p.fedin@samsung.com \
--to=p.fedin@samsung.com \
--cc=agraf@suse.de \
--cc=peter.crosthwaite@xilinx.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.