mbox

[Xen-devel,PATCH=v3,1/8] xen: arm: map memory as inner shareable.

Message ID 1395151486.12847.57.camel@kazak.uk.xensource.com
State New
Headers show

Pull-request

git://xenbits.xen.org/people/ianc/xen.git inner-shareable-v3

Message

Ian Campbell March 18, 2014, 2:04 p.m. UTC
On Tue, 2014-03-18 at 13:47 +0000, Julien Grall wrote:
> On 03/17/2014 05:36 PM, Ian Campbell wrote:
> > On Mon, 2014-03-17 at 15:17 +0000, Julien Grall wrote:
> >> AFAIU, you are also modifying P2M attributes.
> > 
> > True. This patch (#9/8) works for me:
> > 
> > ---------8<---------------------
> > 
> > From 573bb9d531e47b50f02767ed363ad3e5df6be2a7 Mon Sep 17 00:00:00 2001
> > From: Ian Campbell <ian.campbell@citrix.com>
> > Date: Mon, 17 Mar 2014 17:27:40 +0000
> > Subject: [PATCH] xen: arm: make stage 2 page tables walks inner-shareable
> > 
> > The comment was previously incorrect and indicated that these mappings were
> > unshared (00) when in reality the register was set for outer-shareable (01).
> > 
> > Clarify ORGN0/IRGN0 in the comments while at it.
> > 
> > Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
> Acked-by: Julien Grall <julien.grall@linaro.org>
> 
> BTW, do you have a git branch with this patch series applied? I'd like
> to rebase my SMMU drivers code on top of it.

See below, although I won't be pulling this but applying the patches.

I've also attached my skanky get-msgid script which I use when
committing as:

~/get-msgid -g '1 8' '<1395068010-23344-1-git-send-email-ian.campbell@citrix.com>' | git am

(-g is "git send email the following range, per seq(1)")
Ian.

----------------

The following changes since commit 9d073bf65c8b70d23de7e4b8d67182f18131499e:

  xen/arm: Remove asm-arm/processor-ca{15, 7}.h headers (2014-03-14 14:56:23 +0000)

are available in the git repository at:

  git://xenbits.xen.org/people/ianc/xen.git inner-shareable-v3

for you to fetch changes up to 573bb9d531e47b50f02767ed363ad3e5df6be2a7:

  xen: arm: make stage 2 page tables walks inner-shareable (2014-03-17 17:36:11 +0000)

----------------------------------------------------------------
Ian Campbell (9):
      xen: arm: map memory as inner shareable.
      xen: arm: Only upgrade guest barriers to inner shareable.
      xen: arm: consolidate barrier definitions
      xen: arm: Use SMP barriers when that is all which is required.
      xen: arm: Use dmb for smp barriers
      xen: arm: add scope to dsb and dmb macros
      xen: arm: weaken SMP barriers to inner shareable.
      xen: arm: use more specific barriers for read and write barriers.
      xen: arm: make stage 2 page tables walks inner-shareable

 xen/arch/arm/arm32/head.S            |    8 +++---
 xen/arch/arm/arm64/head.S            |    8 +++---
 xen/arch/arm/domain.c                |    2 +-
 xen/arch/arm/gic.c                   |   10 ++++----
 xen/arch/arm/mm.c                    |   43 ++++++++++++++++++--------------
 xen/arch/arm/p2m.c                   |   18 ++++++++++++--
 xen/arch/arm/platforms/vexpress.c    |    6 ++---
 xen/arch/arm/smpboot.c               |   12 ++++-----
 xen/arch/arm/time.c                  |    2 +-
 xen/arch/arm/traps.c                 |    2 +-
 xen/drivers/video/arm_hdlcd.c        |    2 +-
 xen/include/asm-arm/arm32/flushtlb.h |   16 ++++++------
 xen/include/asm-arm/arm32/page.h     |    4 +--
 xen/include/asm-arm/arm32/system.h   |   16 ------------
 xen/include/asm-arm/arm64/page.h     |    4 +--
 xen/include/asm-arm/arm64/system.h   |   17 -------------
 xen/include/asm-arm/page.h           |   45 ++++++++++++++++++++++++++++------
 xen/include/asm-arm/system.h         |   25 +++++++++++++++++++
 18 files changed, 141 insertions(+), 99 deletions(-)


> 
> Regards,