xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@arm.com>
To: xen-devel@lists.xen.org
Cc: Julien Grall <julien.grall@arm.com>, sstabellini@kernel.org
Subject: [PATCH v3 0/6] xen/arm: Simplify do_trap_*_abort_guest
Date: Thu,  4 Aug 2016 18:50:01 +0100	[thread overview]
Message-ID: <1470333007-25178-1-git-send-email-julien.grall@arm.com> (raw)

The current data/instruction abort paths contain unnecessary code and
translate too often a VA to a IPA. This series aim to simplify this path.

Now that the register HPFAR_EL2 is read in some case that can be affected
by the erratum 834220 on Cortex-A57, we need to implement a workaround
for it (see patch #6).

A branch with this series applied can be found on xenbits:
git://xenbits.xen.org/people/julieng/xen-unstable.git branch abort-handlers-v3

Yours sincerely,

Julien Grall (6):
  xen/arm: traps: Simplify the switch in do_trap_*_abort_guest
  xen/arm: Provide macros to help creating workaround helpers
  xen/arm: Use check_workaround to handle the erratum 766422
  xen/arm: traps: MMIO should only be emulated for fault translation
  xen/arm: traps: Avoid unnecessary VA -> IPA translation in abort
    handlers
  xen/arm: arm64: Add Cortex-A57 erratum 834220 workaround

 docs/misc/arm/silicon-errata.txt      |  1 +
 xen/arch/arm/Kconfig                  | 21 +++++++++
 xen/arch/arm/cpuerrata.c              | 15 +++++++
 xen/arch/arm/traps.c                  | 81 ++++++++++++++++++++++-------------
 xen/include/asm-arm/arm32/processor.h |  4 --
 xen/include/asm-arm/arm64/processor.h |  2 -
 xen/include/asm-arm/cpuerrata.h       | 42 ++++++++++++++++++
 xen/include/asm-arm/cpufeature.h      |  4 +-
 xen/include/asm-arm/processor.h       |  2 +
 9 files changed, 136 insertions(+), 36 deletions(-)

-- 
1.9.1


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

             reply	other threads:[~2016-08-04 17:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-04 17:50 Julien Grall [this message]
2016-08-04 17:50 ` [PATCH v3 1/6] xen/arm: traps: Simplify the switch in do_trap_*_abort_guest Julien Grall
2016-08-04 17:52   ` Julien Grall
2016-08-04 17:50 ` [PATCH v3 2/6] xen/arm: Provide macros to help creating workaround helpers Julien Grall
2016-08-04 17:52   ` Julien Grall
2016-08-04 17:50 ` [PATCH v3 3/6] xen/arm: Use check_workaround to handle the erratum 766422 Julien Grall
2016-08-04 17:53   ` Julien Grall
2016-08-04 17:50 ` [PATCH v3 4/6] xen/arm: traps: MMIO should only be emulated for fault translation Julien Grall
2016-08-04 17:50 ` [PATCH v3 5/6] xen/arm: traps: Avoid unnecessary VA -> IPA translation in abort handlers Julien Grall
2016-08-04 17:50 ` [PATCH v3 6/6] xen/arm: arm64: Add Cortex-A57 erratum 834220 workaround Julien Grall
2016-08-04 17:59 ` [PATCH v3 0/6] xen/arm: Simplify do_trap_*_abort_guest Stefano Stabellini

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=1470333007-25178-1-git-send-email-julien.grall@arm.com \
    --to=julien.grall@arm.com \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xen.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).