|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] x86/time: Identify the platform timer before attempting to probe it
When platform timer initialisation fails due to missing interrupts, hardware
tends to livelock without identifying the timer in use.
Leave a trace around to help debugging.
Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
CC: Jan Beulich <JBeulich@xxxxxxxx>
CC: Wei Liu <wei.liu2@xxxxxxxxxx>
CC: Roger Pau Monné <roger.pau@xxxxxxxxxx>
CC: Brian Woods <brian.woods@xxxxxxx>
---
xen/arch/x86/time.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/xen/arch/x86/time.c b/xen/arch/x86/time.c
index 24d4c27..992540a 100644
--- a/xen/arch/x86/time.c
+++ b/xen/arch/x86/time.c
@@ -795,6 +795,7 @@ static u64 __init init_platform_timer(void)
for ( i = 0; i < ARRAY_SIZE(plt_timers); i++ )
{
pts = plt_timers[i];
+ printk(XENLOG_DEBUG "Probing platform timer %s\n", pts->name);
if ( (rc = try_platform_timer(pts)) > 0 )
break;
}
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |