All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xen/arm: remove check for generic timer support for arm64
@ 2014-06-02  8:37 vijay.kilari
  2014-06-02 11:06 ` Julien Grall
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: vijay.kilari @ 2014-06-02  8:37 UTC (permalink / raw)
  To: Ian.Campbell, julien.grall, stefano.stabellini,
	stefano.stabellini, xen-devel
  Cc: Prasun.Kapoor, Vijaya Kumar K, vijay.kilari

From: Vijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>

arm64 always supports generic timer. So check is not required
for arm64. For platforms which supports only aarch64 mode this
check always passes and panics

Signed-off-by: Vijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
---
 xen/arch/arm/time.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/xen/arch/arm/time.c b/xen/arch/arm/time.c
index 4c3e1a6..801c130 100644
--- a/xen/arch/arm/time.c
+++ b/xen/arch/arm/time.c
@@ -138,8 +138,10 @@ int __init init_xen_time(void)
         panic("Timer: Cannot initialize platform timer");
 
     /* Check that this CPU supports the Generic Timer interface */
+#ifdef CONFIG_ARM_32
     if ( !cpu_has_gentimer )
         panic("CPU does not support the Generic Timer v1 interface");
+#endif
 
     res = dt_property_read_u32(dev, "clock-frequency", &rate);
     if ( res )
-- 
1.7.9.5

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

end of thread, other threads:[~2014-06-02 14:53 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-02  8:37 [PATCH] xen/arm: remove check for generic timer support for arm64 vijay.kilari
2014-06-02 11:06 ` Julien Grall
2014-06-02 11:09 ` Ian Campbell
2014-06-02 11:13   ` Julien Grall
2014-06-02 13:03     ` Ian Campbell
2014-06-02 13:23       ` Julien Grall
2014-06-02 13:30         ` Ian Campbell
2014-06-02 13:39           ` Julien Grall
2014-06-02 13:59             ` Vijay Kilari
2014-06-02 14:02               ` Ian Campbell
2014-06-02 14:08                 ` Vijay Kilari
2014-06-02 14:11                   ` Ian Campbell
2014-06-02 14:13                     ` Julien Grall
2014-06-02 14:21                       ` Ian Campbell
2014-06-02 14:10                 ` Julien Grall
2014-06-02 14:12                   ` Ian Campbell
2014-06-02 14:01             ` Ian Campbell
2014-06-02 14:48 ` Ian Campbell
2014-06-02 14:50   ` Julien Grall
2014-06-02 14:53     ` Ian Campbell

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.