Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1232868

Re: [PATCH v1 0/8] xen/arm: vgic: Support 32-bit access for 64-bit register

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Julien Grall <julien.grall@citrix.com>
Newsgroups linux.kernel
Subject Re: [PATCH v1 0/8] xen/arm: vgic: Support 32-bit access for 64-bit register
Date Fri, 25 Sep 2015 17:00:03 +0200
Message-ID <qcCDF-4wT-37@gated-at.bofh.it> (permalink)
References <qcCDD-4wT-3@gated-at.bofh.it>
X-Original-To <xen-devel@lists.xenproject.org>
X-Ironport-Av E=Sophos;i="5.17,587,1437436800"; d="scan'208";a="302441830"
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0
MIME-Version 1.0
Content-Type text/plain; charset="windows-1252"
Content-Transfer-Encoding 7bit
X-Dlp MIA1
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 59
Organization linux.* mail to news gateway
X-Original-Cc <linux-arm-kernel@lists.infradead.org>, <ian.campbell@citrix.com>, <stefano.stabellini@eu.citrix.com>, <linux-kernel@vger.kernel.org>
X-Original-Date Fri, 25 Sep 2015 15:52:30 +0100
X-Original-Message-ID <56055FAE.70704@citrix.com>
X-Original-References <1443192667-16112-1-git-send-email-julien.grall@citrix.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1232868

Show key headers only | View raw


Please ignore this version, I've sent it to the wrong mailing list.

Sorry for the noise.

On 25/09/15 15:50, Julien Grall wrote:
> Hi all,
> 
> This series aims to fix the 32-bit access on 64-bit register. Some guest
> OS such as FreeBSD and Linux (only in the ITS) use 32-bit access and will
> crash at boot time.
> 
> I took the opportunity to go further and optimize the way Xen is storing
> registers such as GICD_IPRIORITYR, GICD_ITARGETR and GICD_IROUTER.
> 
> Major changes in v2:
>     - Use the helpers in GICv2
>     - Optimize the assembly input for vgic_regN_* helpers on arm32
>     - Add support for sign-extension generically
>     - Store GICD_{IPRIORITYR, ITARGETSR, IROUTER} in a better way
> 
> For all the changes see in each patch.
> 
> A branch has been pushed based on the lastest staging:
> 
> git://xenbits.xen.org/people/julieng/xen-unstable.git branch gicv3-32bit-v1
> 
> Sincerely yours,
> 
> Julien Grall (8):
>   xen/arm: io: remove mmio_check_t typedef
>   xen/arm: io: Extend write/read handler to pass the register in
>     parameter
>   xen/arm: Support sign-extension for every read access
>   xen/arm: vgic: ctlr stores a 32-bit hardware register so use uint32_t
>   xen/arm: vgic: Optimize the way to store GICD_IPRIORITYR in the rank
>   xen/arm: vgic: Optimize the way to store the target vCPU in the rank
>   xen/arm: vgic: Introduce helpers to read/write/clear/set vGIC register
>     ...
>   xen/arm: vgic-v3: Support 32-bit access for 64-bit registers
> 
>  xen/arch/arm/io.c            |  42 +++++-
>  xen/arch/arm/vgic-v2.c       | 295 +++++++++++++++++++++---------------
>  xen/arch/arm/vgic-v3.c       | 352 +++++++++++++++++++++++++------------------
>  xen/arch/arm/vgic.c          |  72 ++++++++-
>  xen/arch/arm/vuart.c         |  16 +-
>  xen/include/asm-arm/domain.h |   2 +-
>  xen/include/asm-arm/mmio.h   |   5 +-
>  xen/include/asm-arm/vgic.h   | 148 +++++++++++++++---
>  8 files changed, 617 insertions(+), 315 deletions(-)
> 


-- 
Julien Grall
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH v1 0/8] xen/arm: vgic: Support 32-bit access for 64-bit register Julien Grall <julien.grall@citrix.com> - 2015-09-25 17:00 +0200
  [PATCH v1 3/8] xen/arm: Support sign-extension for every read access Julien Grall <julien.grall@citrix.com> - 2015-09-25 17:00 +0200
  Re: [PATCH v1 0/8] xen/arm: vgic: Support 32-bit access for 64-bit  register Julien Grall <julien.grall@citrix.com> - 2015-09-25 17:00 +0200

csiph-web