qemu-devel
[Top][All Lists]
Advanced

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

Re: Help: How do I make a machine with 2 separate ARM SoC's?


From: Peter Maydell
Subject: Re: Help: How do I make a machine with 2 separate ARM SoC's?
Date: Mon, 6 Jun 2022 18:02:36 +0100

On Mon, 6 Jun 2022 at 16:37, Cédric Le Goater <clg@kaod.org> wrote:
> On the CPU topic, I think we will need to change the GIC device
> to stop using qemu_get_cpu() in the CPU interface init routine
> and in the GIC realize routine, since this is global to the machine.
> I am having the same problem when trying to model a multi SoC board
> with a GIC device on each chip.
>
> What would be a good approach to loop only on the CPUs related
> to a GIC device ? Could we tag the CPUs and the GIC in some way
> to filter the unrelated CPUs ? Or pass a CPU list to the GIC
> device ?

GICv2 or GICv3 ?

Guessing GICv3, I think probably the right approach is to
have the GICv3 device have an array of QOM link properties,
and then the SoC or board code links up the CPUs to the
GIC device object.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]