All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xen/arm: Set up Versatile Express timer frequency to 24 Mhz
@ 2013-06-24 13:10 Julien Grall
  2013-06-24 13:51 ` Tim Deegan
  0 siblings, 1 reply; 16+ messages in thread
From: Julien Grall @ 2013-06-24 13:10 UTC (permalink / raw)
  To: xen-devel; +Cc: patches, ian.campbell, Julien Grall, Stefano.Stabellini

On TC2, the timer frequency was set to 100 Mhz which slows down the whole
platform.
When Linux is running on bare metal, the frequency is 24 Mhz.

"sleep 60" in dom0 takes:
  - 4 mins with a frequency equals to 100 Mhz
  - 1 min with a frequency equals to 24 Mhz

Signed-off-by: Julien Grall <julien.grall@linaro.org>
---
 xen/include/asm-arm/platforms/vexpress.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/include/asm-arm/platforms/vexpress.h b/xen/include/asm-arm/platforms/vexpress.h
index 982a293..014509b 100644
--- a/xen/include/asm-arm/platforms/vexpress.h
+++ b/xen/include/asm-arm/platforms/vexpress.h
@@ -39,7 +39,7 @@ int vexpress_syscfg(int write, int function, int device, uint32_t *data);
 #define V2M_GIC_BASE_ADDRESS        0x2c000000
 
 /* Timer's frequency */
-#define V2M_TIMER_FREQUENCY         0x5f5e100 /* 100 Mhz */
+#define V2M_TIMER_FREQUENCY         (24 * 1000 * 1000) /* 24 Mhz */
 
 #endif /* __ASSEMBLY__ */
 
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2013-06-26 12:41 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-24 13:10 [PATCH] xen/arm: Set up Versatile Express timer frequency to 24 Mhz Julien Grall
2013-06-24 13:51 ` Tim Deegan
2013-06-24 14:52   ` Stefano Stabellini
2013-06-24 15:58     ` Julien Grall
2013-06-24 16:26       ` Stefano Stabellini
2013-06-25 15:31   ` Ian Campbell
2013-06-25 15:46     ` Julien Grall
2013-06-25 16:30       ` Ian Campbell
2013-06-26  0:05       ` Sengul Thomas
2013-06-26  8:31         ` Tim Deegan
2013-06-26 10:24           ` Stefano Stabellini
2013-06-26 10:52             ` Tim Deegan
2013-06-26 11:10               ` Julien Grall
2013-06-26 11:39                 ` Ian Campbell
2013-06-26 12:38                   ` Julien Grall
2013-06-26 12:41                     ` Tim Deegan

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.