From: catalin.marinas@arm.com (Catalin Marinas)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v10 4/6] ARM: add vdso user-space code
Date: Wed, 25 Feb 2015 17:17:04 +0000 [thread overview]
Message-ID: <20150225171703.GG1105@localhost> (raw)
In-Reply-To: <54EDFEC4.7060600@codeaurora.org>
On Wed, Feb 25, 2015 at 11:56:36AM -0500, Christopher Covington wrote:
> On 02/24/2015 05:17 AM, Catalin Marinas wrote:
> > Writing CNTFRQ from non-secure mode would trap as well.
>
> Are you saying it could A) cause an exception targeting the current EL/mode
> but not others, or B) cause an exception targeting the current or another EL/mode?
IIRC, it only traps at the current mode (if non-secure EL1 or EL2).
> > The detection mechanism would have to involve trapping of an undefined
> > instruction but it doesn't need to be done early during boot.
>
> I put detection during early boot because I wanted to potentially change
> ELs/modes during early boot.
Yes, but it is simpler to install an undef hook later in the boot
process.
--
Catalin
next prev parent reply other threads:[~2015-02-25 17:17 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-22 19:17 [PATCH v10 0/6] ARM: VDSO Nathan Lynch
2014-09-22 19:18 ` [PATCH v10 1/6] ARM: use _install_special_mapping for sigpage Nathan Lynch
2014-09-22 19:18 ` [PATCH v10 2/6] ARM: place sigpage at a random offset above stack Nathan Lynch
2014-09-22 19:18 ` [PATCH v10 3/6] ARM: miscellaneous vdso infrastructure, preparation Nathan Lynch
2014-09-22 19:18 ` [PATCH v10 4/6] ARM: add vdso user-space code Nathan Lynch
2015-02-13 4:36 ` Venkappa Mala
2015-02-13 10:54 ` Catalin Marinas
2015-02-13 12:01 ` Venkappa Mala
2015-02-13 14:14 ` Catalin Marinas
2015-02-13 14:56 ` Venkappa Mala
2015-02-13 15:32 ` Catalin Marinas
2015-02-18 12:12 ` Venkappa Mala
2015-02-20 21:52 ` Christopher Covington
2015-02-24 10:17 ` Catalin Marinas
2015-02-25 16:56 ` Christopher Covington
2015-02-25 17:17 ` Catalin Marinas [this message]
2015-02-16 20:05 ` Nathan Lynch
2015-02-19 12:26 ` Venkappa Mala
2014-09-22 19:18 ` [PATCH v10 5/6] ARM: vdso initialization, mapping, and synchronization Nathan Lynch
2014-09-22 19:18 ` [PATCH v10 6/6] ARM: add CONFIG_VDSO Kconfig and Makefile bits Nathan Lynch
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=20150225171703.GG1105@localhost \
--to=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.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 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).