[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 0/9] xen/arm: Simplify do_trap_*_abort_guest



Hello all,

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

Now that the register HPFAR_EL2 is read in case which can be affected
by the erratum 834220 on Cortex-A57, we need to implement a workaround
for it (see patch #9). This patch replaces the documentation one [1] in
the patch series that is part of "xen/arm: Introduce alternative runtime
paching for ARM64" [2].

This series is based on version 4 of "xen/arm: Introduce alternative runtime
patching for ARM64" [3]. A branch with the two series can be found on xenbits:

git://xenbits.xen.org/people/julieng/xen-unstable.git branch abort-handlers-v1

Yours sincerely,

[1] http://lists.xenproject.org/archives/html/xen-devel/2016-06/msg00944.html
[2] http://lists.xenproject.org/archives/html/xen-devel/2016-06/msg00932.html
[3] http://lists.xenproject.org/archives/html/xen-devel/2016-06/msg02788.html

Julien Grall (9):
  xen/arm: Simply the definition of PAGE_SIZE by using the macro _AC
  xen/arm: traps: Second attempt to correctly use the content of
    HPFAR_EL2
  xen/arm: traps: Data Abort are always unconditional
  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                  | 99 +++++++++++++++++++++--------------
 xen/include/asm-arm/arm32/processor.h |  4 --
 xen/include/asm-arm/arm64/processor.h |  2 -
 xen/include/asm-arm/config.h          |  7 +--
 xen/include/asm-arm/cpuerrata.h       | 42 +++++++++++++++
 xen/include/asm-arm/cpufeature.h      |  4 +-
 xen/include/asm-arm/processor.h       |  2 +
 10 files changed, 145 insertions(+), 52 deletions(-)

-- 
1.9.1


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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.