From: Ian Campbell <Ian.Campbell@citrix.com>
To: Julien Grall <julien.grall@linaro.org>
Cc: xen-devel@lists.xenproject.org, tim@xen.org,
stefano.stabellini@citrix.com
Subject: Re: [PATCH] xen/arm: Blacklist the memory mapped timer (armv7-timer-mem)
Date: Wed, 14 Jan 2015 16:06:55 +0000 [thread overview]
Message-ID: <1421251615.19103.289.camel@citrix.com> (raw)
In-Reply-To: <54B69369.6000707@linaro.org>
On Wed, 2015-01-14 at 16:03 +0000, Julien Grall wrote:
> Hi Ian,
>
> On 14/01/15 11:02, Ian Campbell wrote:
> > On Tue, 2015-01-13 at 20:07 +0000, Julien Grall wrote:
> >> Some platform (such as the VFP Base AEMv8 model) has a memory mapped
> >> timer. We don't want DOM0 use this timer rather than the generic ARM
> >> timer. So blacklist it for all platforms.
> >
> > It seems that these registers contain things like the ability to stop
> > the counter or change its frequency. So we certainly don't want dom0
> > getting at those!
> >
> > It's not clear to me if accesses to these registers are trapped
> > according to the controls available for the CP registers, or if we would
> > have to resort to trapping the entire MMIO page if we wanted to support
> > access to these registers (I don't think we would want to anyway).
>
> I didn't find any spec for the memory mapped timer. But looking to the
> driver, it looks like they also have the concept of physical/virtual. So
> we may not need to trap.
>
> Anyway, before implementing anything I'd like to find the corresponding
> spec.
It's in the ARM ARM, Appendix E of v7, plus references from Chapter B8.
I'd imagine it was in the v8 ARM ARM too, but I've not looked.
Ian.
prev parent reply other threads:[~2015-01-14 16:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-13 20:07 [PATCH] xen/arm: Blacklist the memory mapped timer (armv7-timer-mem) Julien Grall
2015-01-14 11:02 ` Ian Campbell
2015-01-14 16:03 ` Julien Grall
2015-01-14 16:06 ` Ian Campbell [this message]
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=1421251615.19103.289.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=julien.grall@linaro.org \
--cc=stefano.stabellini@citrix.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xenproject.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.