x86/time: Identify the platform timer before attempting to probe it
PATCH 1/1 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.
---
CC: Jan Beulich <[email protected]>
CC: Wei Liu <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Brian Woods <[email protected]>
--- xen/arch/x86/time.c | 1 + 1 file changed, 1 insertion(+)
xen/arch/x86/time.c +1 -0
@@ -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 ; }
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 3 lines
Quoted 1 line
Quoted 1 line · On 15.11.18 at 17:22, <[email protected]> wrote:
When platform timer initialisation fails due to missing interrupts, hardware tends to livelock without identifying the timer in use.
Have you observed this on non-flawed hardware? Is there anything that needs fixing?
Quoted 3 lines
Leave a trace around to help debugging.
Signed-off-by Andrew Cooper <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel