Re: [Xen-devel] [RFC] ARM: New (Xen) VGIC design document

2017-10-12 Thread Christoffer Dall
Hi Andre, On Wed, Oct 11, 2017 at 03:33:03PM +0100, Andre Przywara wrote: > Hi, > > (CC:ing some KVM/ARM folks involved in the VGIC) Very nice writeup! I added a bunch of comments, mostly for the writing and clarity, I hope it helps. > > starting with the addition of the ITS support we were s

Re: [Xen-devel] [RFC] ARM: New (Xen) VGIC design document

2017-10-31 Thread Christoffer Dall
On Wed, Nov 1, 2017 at 9:58 AM, Stefano Stabellini wrote: [] > >> ### List register management >> >> A list register (LR) holds the state of a virtual interrupt, which will >> be used by the GIC hardware to simulate an IRQ life cycle for a guest. >> Each GIC hardware implementation can choos

Re: [Xen-devel] [RFC] ARM: New (Xen) VGIC design document

2017-11-02 Thread Christoffer Dall
On Wed, Nov 1, 2017 at 10:15 AM, Andre Przywara wrote: > Hi, > > On 01/11/17 04:31, Christoffer Dall wrote: >> On Wed, Nov 1, 2017 at 9:58 AM, Stefano Stabellini >> wrote: >> >> [] > > Christoffer, many thanks for answering this! > I think we have

Re: [Xen-devel] [RFC] ARM: New (Xen) VGIC design document

2017-11-02 Thread Christoffer Dall
On Wed, Nov 1, 2017 at 10:54 PM, Stefano Stabellini wrote: [...] > >> > The suggestion of using this model in Xen was made in the past already. >> > I always objected for the reason that we don't actually know how many >> > LRs the hardware provides, potentially very many, and it is expensive >>

Re: [Xen-devel] Xen ARM - Exposing a PL011 to the guest

2016-11-30 Thread Christoffer Dall
On Wed, Nov 30, 2016 at 03:29:32PM +, Julien Grall wrote: > Hi all, > > Few months ago, Linaro has published the version 2 of the VM > specification [1]. > > For those who don't know, the specification provides guidelines to > guarantee a compliant OS images could run on various hypervisor (e

Re: [Xen-devel] Xen ARM - Exposing a PL011 to the guest

2016-12-01 Thread Christoffer Dall
On Wed, Nov 30, 2016 at 02:26:50PM -0800, Stefano Stabellini wrote: > On Wed, 30 Nov 2016, Julien Grall wrote: > > Hi all, > > > > Few months ago, Linaro has published the version 2 of the VM specification > > [1]. > > > > For those who don't know, the specification provides guidelines to > > gu

Re: [Xen-devel] Xen ARM - Exposing a PL011 to the guest

2017-01-29 Thread Christoffer Dall
Wed, 21 Dec 2016, Julien Grall wrote: > >> > > > > > > >> > > > > > On 20/12/2016 20:53, Stefano Stabellini wrote: > >> > > > > > > > >> > > > > > > On Tue, 20 Dec 2016, Julien Grall wrote: > >> &g

Re: [Xen-devel] Xen ARM - Exposing a PL011 to the guest

2017-02-03 Thread Christoffer Dall
On Fri, Feb 3, 2017 at 2:53 PM, Bhupinder Thakur wrote: > Hi, > >>> Hi, >>> >>> I have done the changes for emulating pl011 in Xen. Currently, I have >>> verified the emulation code by manually reading/writing data to >>> /dev/ttyAMA0 which is the device file for pl011 device. The data is >>> flow

Re: [Xen-devel] Xen ARM - Exposing a PL011 to the guest

2016-12-19 Thread Christoffer Dall
On Fri, Dec 16, 2016 at 05:03:13PM +, Julien Grall wrote: > (CC rest maintainers for event channel questions) > > On 16/12/16 10:06, Bhupinder Thakur wrote: > >Hi, > > Hi Bhupinder, > > >The idea is for Xen to act as an intermediary as shown below: > > > > ring buffers > >

Re: [Xen-devel] Xen ARM - Exposing a PL011 to the guest

2016-12-20 Thread Christoffer Dall
Hi Stefano, On Mon, Dec 19, 2016 at 12:24:18PM -0800, Stefano Stabellini wrote: > On Mon, 19 Dec 2016, Christoffer Dall wrote: > > On Fri, Dec 16, 2016 at 05:03:13PM +, Julien Grall wrote: > > > (CC rest maintainers for event channel questions) > > > > > >

Re: [Xen-devel] Xen ARM - Exposing a PL011 to the guest

2016-12-21 Thread Christoffer Dall
On Tue, Dec 20, 2016 at 01:33:39PM -0800, Stefano Stabellini wrote: > On Tue, 20 Dec 2016, Christoffer Dall wrote: > > Hi Stefano, > > > > On Mon, Dec 19, 2016 at 12:24:18PM -0800, Stefano Stabellini wrote: > > > On Mon, 19 Dec 2016, Christoffer Dall wrote: > &g

Re: [Xen-devel] [PATCH 1/4] Support for building in a Xen binary

2016-07-15 Thread Christoffer Dall
On Tue, Jul 12, 2016 at 11:40:28AM +0100, Julien Grall wrote: > Hi Andre, > > On 20/06/16 16:09, Andre Przywara wrote: > >diff --git a/Makefile.am b/Makefile.am > >index 692d2cc..1a801c0 100644 > >--- a/Makefile.am > >+++ b/Makefile.am > >@@ -85,7 +85,6 @@ TEXT_LIMIT := 0x8008 > > endif > > >

[Xen-devel] Xen unstability on HP Moonshot m400

2015-03-23 Thread Christoffer Dall
Hi, I have been experiencing a problematic crash running Xen on m400 over the last few days. I already spoke to Ian and Stefano about this, but thought I'd summarize what I've seen so far and loop in a wider audience. The basic setup is this: - Two m400 nodes, one running Linux bare-metal, the

Re: [Xen-devel] Xen unstability on HP Moonshot m400

2015-03-23 Thread Christoffer Dall
On Mon, Mar 23, 2015 at 1:36 PM, Ian Campbell wrote: > On Sat, 2015-03-21 at 13:34 +0100, Christoffer Dall wrote: > > Hi, > > > > I have been experiencing a problematic crash running Xen on m400 over > > the last few days. I already spoke to Ian and Stefano abou

Re: [Xen-devel] Xen unstability on HP Moonshot m400

2015-03-24 Thread Christoffer Dall
On Tue, Mar 24, 2015 at 3:00 PM, Mark Salter wrote: > On Tue, 2015-03-24 at 09:54 -0400, Mark Salter wrote: > > On Mon, 2015-03-23 at 23:58 +, Stefano Stabellini wrote: > > > On Mon, 23 Mar 2015, Christoffer Dall wrote: > > > > On Mon, Mar 23, 2015 at 1:36

Re: [Xen-devel] Dom0 crash with apache bench (ab)

2015-09-14 Thread Christoffer Dall
On Fri, Jul 31, 2015 at 03:17:56PM +0200, Christoffer Dall wrote: > On Fri, Jul 31, 2015 at 12:28 PM, David Vrabel > wrote: > > > On 31/07/15 11:24, Stefano Stabellini wrote: > > > This is a Linux Dom0 crash on x86 (Dell PowerEdge R320, Xeon E5-2450), > > > CC&#x

Re: [Xen-devel] Dom0 crash with apache bench (ab)

2015-09-14 Thread Christoffer Dall
On Mon, Sep 14, 2015 at 5:20 PM, Ian Campbell wrote: > On Mon, 2015-09-14 at 14:40 +0200, Christoffer Dall wrote: > > On Fri, Jul 31, 2015 at 03:17:56PM +0200, Christoffer Dall wrote: > > > On Fri, Jul 31, 2015 at 12:28 PM, David Vrabel < > david.vra...@citrix

Re: [Xen-devel] [PATCH] KVM: arm64: add workaround for Cortex-A57 erratum #852523

2015-09-15 Thread Christoffer Dall
On Mon, Sep 14, 2015 at 04:46:28PM +0100, Marc Zyngier wrote: > On 14/09/15 16:06, Will Deacon wrote: > > When restoring the system register state for an AArch32 guest at EL2, > > writes to DACR32_EL2 may not be correctly synchronised by Cortex-A57, > > which can lead to the guest effectively runni

Re: [Xen-devel] Dom0 crash with apache bench (ab)

2015-09-28 Thread Christoffer Dall
On Mon, Sep 14, 2015 at 5:20 PM, Ian Campbell wrote: > On Mon, 2015-09-14 at 14:40 +0200, Christoffer Dall wrote: > > On Fri, Jul 31, 2015 at 03:17:56PM +0200, Christoffer Dall wrote: > > > On Fri, Jul 31, 2015 at 12:28 PM, David Vrabel < > david.vra...@citrix

Re: [Xen-devel] Dom0 crash with apache bench (ab)

2015-08-03 Thread Christoffer Dall
On Fri, Jul 31, 2015 at 12:28 PM, David Vrabel wrote: > On 31/07/15 11:24, Stefano Stabellini wrote: > > This is a Linux Dom0 crash on x86 (Dell PowerEdge R320, Xeon E5-2450), > > CC'ing relevant people. As you can see from the links below the crash > > is: > > > > [ 253.619326] Call Trace: > > [

Re: [Xen-devel] [PATCH v2 32/41] arm : acpi dynamically map mmio regions

2015-08-03 Thread Christoffer Dall
On Fri, Jul 31, 2015 at 4:09 PM, Stefano Stabellini wrote: [...] > > > One option going forward is to map MMIO regions in Dom0 on demand when > trapping in Xen with a data abort. Specifically in > xen/arch/arm/traps.c:do_trap_data_abort_guest we could check that the > guest is dom0 and that the

Re: [Xen-devel] Design doc of adding ACPI support for arm64 on Xen

2015-08-04 Thread Christoffer Dall
Hi Shannon, On Tue, Aug 4, 2015 at 3:43 PM, Shannon Zhao wrote: > This document is going to explain the design details of Xen booting with > ACPI on ARM. Maybe parts of it may not be appropriate. Any comments are > welcome. > > To Xen itself booting with ACPI, this is similar to Linux kernel exce

Re: [Xen-devel] Design doc of adding ACPI support for arm64 on Xen - version 2

2015-08-07 Thread Christoffer Dall
On Fri, Aug 7, 2015 at 12:33 PM, Julien Grall wrote: > Hi Shannon, > > Just some clarification questions. > > On 07/08/15 03:11, Shannon Zhao wrote: >> 3. Dom0 gets grant table and event channel irq information >> --- >> As said above, we ass

Re: [Xen-devel] Design doc of adding ACPI support for arm64 on Xen - version 2

2015-08-12 Thread Christoffer Dall
On Wed, Aug 12, 2015 at 5:45 PM, Jan Beulich wrote: On 07.08.15 at 04:11, wrote: >> 1. Copy and change some EFI and ACPI tables >> --- > > A key thing I'm missing here is reasoning of why this copying approach > is needed in the first place. Remember t

Re: [Xen-devel] Design doc of adding ACPI support for arm64 on Xen - version 2

2015-08-13 Thread Christoffer Dall
On Thu, Aug 13, 2015 at 8:41 AM, Jan Beulich wrote: On 12.08.15 at 18:18, wrote: >> On 12/08/15 16:58, Jan Beulich wrote: >> On 12.08.15 at 17:51, wrote: On Wed, Aug 12, 2015 at 5:45 PM, Jan Beulich wrote: On 07.08.15 at 04:11, wrote: >> All these tables will be copi

Re: [Xen-devel] Design doc of adding ACPI support for arm64 on Xen - version 2

2015-08-13 Thread Christoffer Dall
On Thu, Aug 13, 2015 at 11:22:19AM +0100, Ian Campbell wrote: > On Thu, 2015-08-13 at 11:13 +0100, Stefano Stabellini wrote: > > > > > > For example it is only natural for the kernel to try to use the GIC > > > > hyp > > > > functionalities if they are described, while actually they are not > > >

Re: [Xen-devel] Design doc of adding ACPI support for arm64 on Xen - version 5

2015-09-02 Thread Christoffer Dall
Hi Jan, On Wed, Sep 02, 2015 at 02:41:36AM -0600, Jan Beulich wrote: > >>> Shannon Zhao 09/02/15 8:03 AM >>> > >There are some descriptions in Documentation/arm64/booting.txt of Linux: > > > >"The Image must be placed text_offset bytes from a 2MB aligned base > >address near the start of usable s

Re: [Xen-devel] Design doc of adding ACPI support for arm64 on Xen - version 5

2015-09-02 Thread Christoffer Dall
On Wed, Sep 2, 2015 at 3:54 PM, Ian Campbell wrote: > On Wed, 2015-09-02 at 14:48 +0100, Julien Grall wrote: >> On 02/09/15 14:26, Ian Campbell wrote: >> > > > > I think the problem is how you reserved this region in the EFI >> > > > > memory >> > > > > table. From what I saw, you marked this new

[Xen-devel] Dom0 crash with apache bench (ab)

2015-07-28 Thread Christoffer Dall
Hi, I've been doing some performance comparisons lately, and wanted to compare the performance overhead of using Xen with apache bench, but unfortunately the Dom0 kernel crashes when hitting it with ab from a remote machine. Most other workloads seem to be stable, however, I do see similar crashes

Re: [Xen-devel] Dom0 crash with apache bench (ab)

2015-07-28 Thread Christoffer Dall
On Tue, Jul 28, 2015 at 4:55 PM, Ian Campbell wrote: > On Tue, 2015-07-28 at 10:50 -0400, Konrad Rzeszutek Wilk wrote: > > On Tue, Jul 28, 2015 at 03:09:31PM +0200, Christoffer Dall wrote: > > > Hi, > > > > > > I've been doing some performance compar

Re: [Xen-devel] [PATCH] xen: arm: X-Gene Storm check GIC DIST address for EOI quirk

2015-04-08 Thread Christoffer Dall
ab trashing the machine: Tested-by: Christoffer Dall ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] xen/arm: Bootwrapper update to support PSCI and GICv3

2014-11-10 Thread Christoffer Dall
On Mon, Nov 10, 2014 at 12:34 PM, Ian Campbell wrote: > On Thu, 2014-11-06 at 12:48 +, Julien Grall wrote: >> Hello all, >> >> I've been working on updating our aarch64 bootwrapper >> to support new feature such as PSCI and GICv3. >> >> Rather than porting the feature from the Linux bootwrappe

Re: [Xen-devel] [PATCH 1/4] xen: Correction to module@1 (dom0 kernel) DT node.

2014-11-16 Thread Christoffer Dall
Hi Ian, On Mon, Nov 10, 2014 at 02:09:58PM +, Ian Campbell wrote: > - Include bootargs (kernel command line) property. Why? The logic I was going for was to reduce duplicate code/entries in the DT, and if I read docs/misc/arm/device-tree/booting.txt, the fact that we have xen,xen-bootargs bu

Re: [Xen-devel] [PATCH 2/4] Fix build when Xen is not enabled

2014-11-16 Thread Christoffer Dall
On Mon, Nov 10, 2014 at 02:09:59PM +, Ian Campbell wrote: > If Xen isn't enabled then XEN_IMAGE ends up as "no.o", which obviously doesn't > exist. Handle the dependency explicitly. > > Signed-off-by: Ian Campbell > --- > Makefile.am |5 - > 1 file changed, 4 insertions(+), 1 deletio