All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@arm.com>
To: Denis Obrezkov <denisobrezkov@gmail.com>,
	Hunyue Yau <hy-gsoc@hy-research.com>
Cc: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
	Stefano Stabellini <sstabellini@kernel.org>,
	Iain Hunter <drhunter95@gmail.com>
Subject: Re: [Xen-devel] [GSoC-2019] About the crossbar and xen
Date: Thu, 11 Jul 2019 18:32:22 +0100	[thread overview]
Message-ID: <d1d8514d-05e6-66f3-ef8d-95f1b48ccfd4@arm.com> (raw)
In-Reply-To: <28955848-fdc0-5311-580b-23fd8ce7bea2@gmail.com>



On 7/11/19 1:50 PM, Denis Obrezkov wrote:
> Hi,

Hi,

>>>
>>> I am interested whether we should do something with omap5-wugen-mpu. I
>>> found that crossbar is connected to GIC. And on some schemes in trm it
>>> is connected via omap5-wugen-mpu. So, it is not clear for me whether it
>>> should be handled in xen.

I don't know much about omap5-wugen-mpu, so I will leave Hunyue and Iain 
to provide feedback here.


>>
> 
> Also, I am interested in how to add the crossbar. I can see two options
> as we discussed earlier. The first option is to remove the crossbar but
> for me it might cause some problems since a guest might want to use it.
> The second option is to expose the crossbar and intercept all the calls
> to it. But the problem is that now xen supports only one
> interrupt-controller. And at the same time most of the SPI IRQs are
> mapped to the crossbar. So, when xen checks whether the main
> interrupt-controller is the same as the one to who external interrupts
> are mapped it fails.
> (xen/common/device_tree.c:dt_irq_translate()).
> And I don't think that I should change interrupt-parent option of
> devices to map them to the GIC because it is essentially the first
> option mentioned above. So, it seems that probably interrupt-parent
> finding decision logic should be changed a bit? Like to find a GIC node
> not in a direct interrupt-parent but transitively in one of ancestors:
> 
> UART -> crossbar -> wugen -> GIC
> 
> What do you think?

Have you looked at the series I pointed out earlier on? It extends Xen 
to support other interrupt controller parent.

Cheers,

-- 
Julien Grall

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

  reply	other threads:[~2019-07-11 17:32 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-10 18:54 [Xen-devel] [GSoC-2019] About the crossbar and xen Denis Obrezkov
2019-07-10 19:49 ` Stefano Stabellini
2019-07-10 19:54   ` Denis Obrezkov
2019-07-10 20:17     ` Stefano Stabellini
2019-07-10 20:43       ` Denis Obrezkov
2019-07-10 23:20         ` Hunyue Yau
2019-07-11 12:50           ` Denis Obrezkov
2019-07-11 17:32             ` Julien Grall [this message]
2019-07-11 18:29               ` Hunyue Yau
2019-07-12 15:13                 ` Julien Grall
2019-07-12 18:32                   ` Hunyue Yau z
2019-07-15 11:36                     ` Julien Grall
2019-07-11 18:29               ` Denis Obrezkov
2019-07-12 15:00                 ` 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=d1d8514d-05e6-66f3-ef8d-95f1b48ccfd4@arm.com \
    --to=julien.grall@arm.com \
    --cc=denisobrezkov@gmail.com \
    --cc=drhunter95@gmail.com \
    --cc=hy-gsoc@hy-research.com \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xenproject.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.