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 v6 0/7] xen/arm: Introduce alternative runtime patching on ARM64
Date: Wed, 27 Jul 2016 17:37:04 +0100	[thread overview]
Message-ID: <1469637431-1069-1-git-send-email-julien.grall@arm.com> (raw)

Hello,

Some of the processor errata will require to modify code sequence. As those
modifications may impact the performance, they should only be enabled on
affected cores. Furthermore, Xen may also want to take advantage of
new hardware features coming up with v8.1 and v8.2.

The first part of the series adds the alternative infrastructure, most of
the code is based on Linux v4.6-rc3. The rest of the series implements
errata for Cortex-A57 and Cortex-A53.

A branch with all the patches can be found here:

git://xenbits.xen.org/people/julieng/xen-unstable.git branch alternative-v6

For all the changes, see in each patch.

Yours sincerely,

Julien Grall (7):
  xen/arm: Introduce alternative runtime patching
  xen/arm: cpufeature: Provide an helper to check if a capability is
    supported
  xen/arm: Detect silicon revision and set cap bits accordingly
  xen/arm: Document the errata implemented in Xen
  xen/arm: arm64: Add Cortex-A53 cache errata workaround
  xen/arm: arm64: Add cortex-A57 erratum 832075 workaround
  xen/arm: traps: Don't inject a fault if the translation VA -> IPA
    fails

 docs/misc/arm/silicon-errata.txt  |  49 +++++++++
 xen/arch/arm/Kconfig              |  96 ++++++++++++++++
 xen/arch/arm/Makefile             |   2 +
 xen/arch/arm/alternative.c        | 224 ++++++++++++++++++++++++++++++++++++++
 xen/arch/arm/arm64/cache.S        |   2 +
 xen/arch/arm/cpuerrata.c          |  60 ++++++++++
 xen/arch/arm/cpufeature.c         |  16 +++
 xen/arch/arm/setup.c              |  10 ++
 xen/arch/arm/smpboot.c            |   3 +
 xen/arch/arm/traps.c              |   5 +-
 xen/arch/arm/xen.lds.S            |   9 ++
 xen/include/asm-arm/alternative.h | 165 ++++++++++++++++++++++++++++
 xen/include/asm-arm/arm64/insn.h  |  16 +++
 xen/include/asm-arm/arm64/io.h    |  21 +++-
 xen/include/asm-arm/arm64/page.h  |   7 +-
 xen/include/asm-arm/cpuerrata.h   |  14 +++
 xen/include/asm-arm/cpufeature.h  |  20 +++-
 xen/include/asm-arm/processor.h   |   8 ++
 18 files changed, 718 insertions(+), 9 deletions(-)
 create mode 100644 docs/misc/arm/silicon-errata.txt
 create mode 100644 xen/arch/arm/alternative.c
 create mode 100644 xen/arch/arm/cpuerrata.c
 create mode 100644 xen/include/asm-arm/alternative.h
 create mode 100644 xen/include/asm-arm/cpuerrata.h

-- 
1.9.1


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

             reply	other threads:[~2016-07-27 16:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-27 16:37 Julien Grall [this message]
2016-07-27 16:37 ` [PATCH v6 1/7] xen/arm: Introduce alternative runtime patching Julien Grall
2016-08-03 19:45   ` Konrad Rzeszutek Wilk
2016-07-27 16:37 ` [PATCH v6 2/7] xen/arm: cpufeature: Provide an helper to check if a capability is supported Julien Grall
2016-07-27 16:37 ` [PATCH v6 3/7] xen/arm: Detect silicon revision and set cap bits accordingly Julien Grall
2016-07-27 16:37 ` [PATCH v6 4/7] xen/arm: Document the errata implemented in Xen Julien Grall
2016-07-27 16:37 ` [PATCH v6 5/7] xen/arm: arm64: Add Cortex-A53 cache errata workaround Julien Grall
2016-07-27 16:37 ` [PATCH v6 6/7] xen/arm: arm64: Add cortex-A57 erratum 832075 workaround Julien Grall
2016-07-27 16:37 ` [PATCH v6 7/7] xen/arm: traps: Don't inject a fault if the translation VA -> IPA fails Julien Grall

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=1469637431-1069-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).