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

Re: [Xen-devel] [PATCH 5/5] xen/arm: Add OMAP5 architected timer initialization codes.




> I would propose another approach here: just let cpu_khz be set up by
> architecture code.

Linux uses the same approach as Chen.
From linux/Documentation/devicetree/bindings/arm/arch_timer.txt:

** Timer node properties:
- clock-frequency : The frequency of the main counter, in Hz. Optional.

As Xen uses the arch timer, which is common for all ARMv7 platform, why
does the platform code need to set up cpu_khz?

Well, your argument is fair.
It would be better to keep all the stuff together while timer freq is acquired from dt or CNTFRQ_EL0 only.

SIncerely,
Andrii Anisov.
_______________________________________________
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®.