[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 4/5] xen/arm: use the physical number of gic lines for boot domains

Hi Stefano,

On 1/3/19 7:07 PM, Stefano Stabellini wrote:
On Mon, 24 Dec 2018, Julien Grall wrote:

On 12/5/18 5:28 PM, Stefano Stabellini wrote:
We don't have a clear way to know how many virtual SPIs we need for the
boot domains. For simplicity, allocate as many as natively supported,
just like for dom0.

This will potentially allocate a lot of unused interrupts and a waste of
memory. So is it the correct solution?

For instance, we would request the user to provide the number of interrupts.

Unfortunately, this has to happen much earlier than when we parse user
supplied device tree options. We could make it an hypervisor command
line parameter but it would be nasty.

Why does this value needs to be in the supplied device-tree. Can't it be part of the node in the host DT?

Given that this feature is aimed at partitioning scenarios where the
number of VMs is low, the increased memory overhead is not a big issue.

Please write it down in the commit message.

(If you recall we briefly discussed this topic at the last Linaro
Connect, this was the conclusion.)


Julien Grall

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.