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

Re: [Xen-devel] Does XEN ARM support RTC in domu?



Hi Julien,

> -----Original Message-----
> From: Xen-devel [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of
> Peng Fan
> Sent: 2018年11月5日 10:11
> To: Julien Grall <julien.grall@xxxxxxx>; xen-devel@xxxxxxxxxxxxxxxxxxxx;
> Stefano Stabellini <sstabellini@xxxxxxxxxx>
> Subject: Re: [Xen-devel] Does XEN ARM support RTC in domu?
> 
> Hi Julien,
> 
> > >>
> > >>>
> > >>> Just have a question, does XEN ARM support RTC in domu? To support
> > >>> Android
> > >> in DomU, RTC is needed for alarm, but I did not find information
> > >> about RTC on xen for domu. So this need a new RTC paravirtualization
> driver?
> > Any suggestions?
> > >>
> > >> By RTC, do you mean Real-Time Clock? Something like PL031? Or do
> > >> you have something else in mind?
> > >
> > > Yes, Real Time Clock like PL031 in DomU. I do not have a good idea
> > > support RTC in ARM DomU, KVM and XEN x86 seems use emulated RTC in
> > > qemu. Thinking of paravirtual RTC, and dom0 control the expire time
> > > for
> > alarm.
> >
> > The PL031 is quite small (based on the QEMU version). So I think it
> > would be fine to provide an emulation in the hypervisor.
> 
> Ok. Just like the hvm x86, implement emulate PL031 inside XEN. I'll give a 
> try.

Just a follow up question, emulating PL031 in xen, do you have idea how to 
inject virtual interrupt to domu?
The interrupt should be only cpu interface interrupt, I think.

Thanks,
Peng.
> 
> Thanks,
> Peng.
> 
> >
> > Cheers,
> >
> > --
> > Julien Grall
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxx
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.xe
> nproject.org%2Fmailman%2Flistinfo%2Fxen-devel&amp;data=02%7C01%7Cpen
> g.fan%40nxp.com%7Cebdd8890e51a4cc7bdd208d642c40879%7C686ea1d3bc2
> b4c6fa92cd99c5c301635%7C0%7C0%7C636769807056922708&amp;sdata=vhT
> Z7lIEJXdmkW5R88zk9eUrk%2BfmuozgtCTIUzt7smk%3D&amp;reserved=0
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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