* Question about ARM GIC
@ 2013-08-16 9:46 Josh Zhao
2013-08-16 10:17 ` Julien Grall
0 siblings, 1 reply; 3+ messages in thread
From: Josh Zhao @ 2013-08-16 9:46 UTC (permalink / raw)
To: xen-devel
Hi,
Anyone can help me understand that the Dom0 and DomU will initialize
GICD in booting stage, but I don't see any code to remap GICD for
guest OS. I am wondering how it works?
Thanks,
Josh
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question about ARM GIC
2013-08-16 9:46 Question about ARM GIC Josh Zhao
@ 2013-08-16 10:17 ` Julien Grall
2013-08-16 10:59 ` Josh Zhao
0 siblings, 1 reply; 3+ messages in thread
From: Julien Grall @ 2013-08-16 10:17 UTC (permalink / raw)
To: joshsystem; +Cc: xen-devel
On 08/16/2013 10:46 AM, Josh Zhao wrote:
> Hi,
Hi,
> Anyone can help me understand that the Dom0 and DomU will initialize
> GICD in booting stage, but I don't see any code to remap GICD for
> guest OS. I am wondering how it works?
The GIC doesn't handle the virtualization for the distributor, so it's
emulated by Xen. All accesses to the GICD will trap and redirect to
xen/arch/arm/vgic.c.
You can look at vgic_distr_mmio_{read,write} in the previous file.
Cheers,
--
Julien Grall
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question about ARM GIC
2013-08-16 10:17 ` Julien Grall
@ 2013-08-16 10:59 ` Josh Zhao
0 siblings, 0 replies; 3+ messages in thread
From: Josh Zhao @ 2013-08-16 10:59 UTC (permalink / raw)
To: Julien Grall; +Cc: xen-devel
I got it, thanks!
2013/8/16 Julien Grall <julien.grall@linaro.org>:
> On 08/16/2013 10:46 AM, Josh Zhao wrote:
>> Hi,
>
> Hi,
>
>> Anyone can help me understand that the Dom0 and DomU will initialize
>> GICD in booting stage, but I don't see any code to remap GICD for
>> guest OS. I am wondering how it works?
>
> The GIC doesn't handle the virtualization for the distributor, so it's
> emulated by Xen. All accesses to the GICD will trap and redirect to
> xen/arch/arm/vgic.c.
> You can look at vgic_distr_mmio_{read,write} in the previous file.
>
> Cheers,
>
> --
> Julien Grall
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-08-16 10:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-16 9:46 Question about ARM GIC Josh Zhao
2013-08-16 10:17 ` Julien Grall
2013-08-16 10:59 ` Josh Zhao
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.