All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@linaro.org>
To: Eric Trudeau <etrudeau@broadcom.com>
Cc: Ian Campbell <Ian.Campbell@citrix.com>,
	xen-devel <xen-devel@lists.xen.org>
Subject: Re: [XenARM] XEN tools for ARM with Virtualization Extensions
Date: Thu, 27 Jun 2013 20:33:44 +0100	[thread overview]
Message-ID: <51CC9398.4060301@linaro.org> (raw)
In-Reply-To: <FF3E5629F9FF6745ADE4EE690CEC81AD2ACF0F9A@SJEXCHMB09.corp.ad.broadcom.com>

On 06/27/2013 08:01 PM, Eric Trudeau wrote:

>> -----Original Message-----
>> From: Ian Campbell [mailto:Ian.Campbell@citrix.com]
>> Sent: Thursday, June 27, 2013 12:34 PM
>> To: Eric Trudeau
>> Cc: xen-devel
>> Subject: Re: [XenARM] XEN tools for ARM with Virtualization Extensions
>>
>> On Thu, 2013-06-27 at 16:21 +0000, Eric Trudeau wrote:
>>>> -----Original Message-----
>>>> From: Ian Campbell [mailto:Ian.Campbell@citrix.com]
>>>> Sent: Wednesday, June 26, 2013 12:45 PM
>>>> To: Eric Trudeau
>>>> Cc: xen-devel
>>>> Subject: Re: [XenARM] XEN tools for ARM with Virtualization Extensions
>>>>
>>
> 
>>> I rebased to the XSA-55 commit and now I can create the guest.  I am
>>> able to debug a kernel init panic.
>>
> 
> My panic seems related to memory regions in device tree.  I am appended
> my DTB to the kernel zImage.
> How does the memory assigned by XEN for the guest domain get inserted
> into the device tree?
> Does Hypervisor or the toolchain manipulate the appended DTB and modify
> the hypervisor node's reg and irq properties? What about the memory node?


For the moment, the toolstack isn't not able to parse/modify the guest
DTB. Memory and IRQ properties are hardcoded in the hypervisor and the
toolstack. The different values need to match the following constraints:
  - The memory region start from 0x80000000. The size needs to be the
same in the configuration file and the DTS, otherwise the domain will
crash. I believe the default size is 128MB.
  - IRQ properties are:
      * event channel: 31, except if you have modified the IRQ number in
Xen for dom0;
      * timer: same IRQs number as the dom0 DTS;
  - GIC range: same range as the dom0 DTS.

Cheers,

-- 
Julien

  reply	other threads:[~2013-06-27 19:33 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <FF3E5629F9FF6745ADE4EE690CEC81AD2ACE05F0@SJEXCHMB09.corp.ad.broadcom.com>
2013-06-26  9:10 ` [XenARM] XEN tools for ARM with Virtualization Extensions Ian Campbell
2013-06-26 15:09   ` Eric Trudeau
2013-06-26 16:45     ` Ian Campbell
2013-06-27 16:21       ` Eric Trudeau
2013-06-27 16:34         ` Ian Campbell
2013-06-27 19:01           ` Eric Trudeau
2013-06-27 19:33             ` Julien Grall [this message]
2013-06-27 20:19               ` Eric Trudeau
2013-06-28  7:47                 ` Ian Campbell
2013-06-27 22:40               ` Julien Grall
2013-07-09 17:10                 ` Eric Trudeau
2013-07-10 12:50                   ` Ian Campbell
2013-07-10 19:38                     ` Eric Trudeau
2013-07-10 22:04                       ` Julien Grall
2013-07-10 22:13                         ` Ian Campbell
2013-07-11 16:46                           ` Eric Trudeau
2013-07-11 17:18                             ` Ian Campbell
2013-07-12  0:25                               ` Eric Trudeau
2013-07-12 10:41                                 ` Julien Grall
2013-07-12 17:45                                   ` Eric Trudeau
2013-07-15 17:45                                     ` Stefano Stabellini
2013-07-19 14:20                                       ` Ian Campbell
2013-07-10 13:37                   ` Stefano Stabellini
2013-07-10 15:33                     ` Eric Trudeau
2013-07-10 15:37                       ` Stefano Stabellini

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=51CC9398.4060301@linaro.org \
    --to=julien.grall@linaro.org \
    --cc=Ian.Campbell@citrix.com \
    --cc=etrudeau@broadcom.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.