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

Re: [Xen-devel] ARM: EXYNOS 5410 - DOM0 not being scheduled



On Mon, 2014-03-17 at 22:15 +0000, Julien Grall wrote:
> > 2. arch_timer_rate coming up as 0 in dom0 inspite of the dtb defining
> > clock-frequency.
> 
> The clock-frequency properties is not given to dom0. It should be able 
> to retrieve the frequency from the timer (CNTFRQ). That would mean that 
> u-boot is not correctly set up the frequency (it's the only one able to 
> do it as it need to be done in secure world).

If the clock-frequency property is present in the host DT then that
would imply that secure world is not setting CNTFRQ or is setting it
wrong (since the property is effectively a workaround for that exact
bug). Perhaps we should propagate it if it is present?

Perhaps make_timer_node should insert the property iff the host dt has
it? Will one of you role a patch? (Suriyan, see
http://wiki.xen.org/wiki/Submitting_Xen_Patches for advice if you device
to do it).

While grepping about this I noticed that make_timer_node doesn't use
DT_MATCH_TIMER, which I guess is just an accidental oversight, perhaps
if someone is fixing the clock-frequency issue they could throw in a
second patch for this too?

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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