From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
To: Greg Bellows <greg.bellows@linaro.org>
Cc: peter.maydell@linaro.org, alex.bennee@linaro.org,
qemu-devel@nongnu.org, serge.fdrv@gmail.com
Subject: Re: [Qemu-devel] [PATCH v2 0/9] target-arm: EL3 trap support
Date: Thu, 23 Apr 2015 13:37:37 +1000 [thread overview]
Message-ID: <20150423033737.GD17116@toto> (raw)
In-Reply-To: <1429722561-12651-1-git-send-email-greg.bellows@linaro.org>
On Wed, Apr 22, 2015 at 12:09:12PM -0500, Greg Bellows wrote:
> Initial patchset adding support for trapping to an EL other than EL1. Support
> includes changes to interfaces to allow specification of the target EL. Also
> includes the addition of the ARMv8 CPTR system registers used for controlling
> the trapping of features.
Hi Greg,
I'm not sure I see the value with the target_el member, it felt OK
to call the route function from the do_interrupt functions but I may
be missing something.
I had a comment on the trapping of WFX, I recall not checking for
has_work was causing a lot of exception round-trips when running
XEN. To the point were things almost stopped working.
I didn't check other registers and bit details from the ARM spec but
in general the series looks good.
Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Thanks,
Edgar
>
> ---
>
> v1 -> v2
> - Removed use of MAX through out the patch when setting target_el
> - Updated FP trap support to pass a target exception EL rather than just an
> enable boolean.
> - Added utility functions for determining the target exception EL
> - Broke up cptr and cpacr access functions
> - Added HCPTR CP register entry and HCPTR/CPTR_EL2 zero entries
> - Broke out TCR changes into their own patch and added support for handling the
> lack of TTBR1
> - Simplified wfx checking
> - General comment cleanup
>
> Greg Bellows (9):
> target-arm: Add exception target el infrastructure
> target-arm: Extend helpers to route exceptions
> target-arm: Update interrupt handling to use target EL
> target-arm: Add AArch64 CPTR registers
> target-arm: Extend FP checks to use an EL
> target-arm: Add TTBR regime function and use
> target-arm: Add EL3 and EL2 TCR checking
> target-arm: Add WFx syndrome function
> target-arm: Add WFx instruction trap support
>
> target-arm/cpu.c | 61 +++++++++++------
> target-arm/cpu.h | 76 ++++++++++++++++-----
> target-arm/helper-a64.c | 2 +-
> target-arm/helper.c | 160 +++++++++++++++++++++++++++++----------------
> target-arm/helper.h | 2 +-
> target-arm/internals.h | 6 ++
> target-arm/op_helper.c | 98 +++++++++++++++++++++++++--
> target-arm/translate-a64.c | 40 +++++++-----
> target-arm/translate.c | 70 ++++++++++++--------
> target-arm/translate.h | 17 ++++-
> 10 files changed, 390 insertions(+), 142 deletions(-)
>
> --
> 1.8.3.2
>
>
next prev parent reply other threads:[~2015-04-23 3:40 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-22 17:09 [Qemu-devel] [PATCH v2 0/9] target-arm: EL3 trap support Greg Bellows
2015-04-22 17:09 ` [Qemu-devel] [PATCH v2 1/9] target-arm: Add exception target el infrastructure Greg Bellows
2015-04-22 17:09 ` [Qemu-devel] [PATCH v2 2/9] target-arm: Extend helpers to route exceptions Greg Bellows
2015-04-22 17:09 ` [Qemu-devel] [PATCH v2 3/9] target-arm: Update interrupt handling to use target EL Greg Bellows
2015-04-22 17:09 ` [Qemu-devel] [PATCH v2 4/9] target-arm: Add AArch64 CPTR registers Greg Bellows
2015-05-18 17:32 ` Peter Maydell
2015-04-22 17:09 ` [Qemu-devel] [PATCH v2 5/9] target-arm: Extend FP checks to use an EL Greg Bellows
2015-05-18 17:40 ` Peter Maydell
2015-04-22 17:09 ` [Qemu-devel] [PATCH v2 6/9] target-arm: Add TTBR regime function and use Greg Bellows
2015-04-22 18:16 ` Sergey Fedorov
2015-04-22 18:23 ` Greg Bellows
2015-04-22 17:09 ` [Qemu-devel] [PATCH v2 7/9] target-arm: Add EL3 and EL2 TCR checking Greg Bellows
2015-04-22 17:09 ` [Qemu-devel] [PATCH v2 8/9] target-arm: Add WFx syndrome function Greg Bellows
2015-04-22 17:09 ` [Qemu-devel] [PATCH v2 9/9] target-arm: Add WFx instruction trap support Greg Bellows
2015-04-23 2:49 ` Edgar E. Iglesias
2015-04-23 7:59 ` Peter Maydell
2015-04-23 10:39 ` Edgar E. Iglesias
2015-04-23 10:57 ` Peter Maydell
2015-04-23 11:24 ` Edgar E. Iglesias
2015-04-23 11:28 ` Peter Maydell
2015-04-23 11:34 ` Edgar E. Iglesias
2015-04-23 14:26 ` Greg Bellows
2015-04-23 14:30 ` Peter Maydell
2015-04-23 14:41 ` Greg Bellows
2015-04-23 14:51 ` Peter Maydell
2015-04-23 15:00 ` Greg Bellows
2015-04-23 15:11 ` Peter Maydell
2015-04-23 3:37 ` Edgar E. Iglesias [this message]
2015-04-23 8:06 ` [Qemu-devel] [PATCH v2 0/9] target-arm: EL3 " Peter Maydell
2015-04-23 10:10 ` Peter Maydell
2015-04-23 10:27 ` Edgar E. Iglesias
2015-04-23 14:05 ` Greg Bellows
2015-05-18 17:53 ` 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=20150423033737.GD17116@toto \
--to=edgar.iglesias@gmail.com \
--cc=alex.bennee@linaro.org \
--cc=greg.bellows@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=serge.fdrv@gmail.com \
/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).