search for: xen_console_resum

Displaying 8 results from an estimated 8 matches for "xen_console_resum".

Did you mean: xen_console_resume
2011 Jun 12
1
[PATCH 1/2] xen: Add __attribute__((format(printf... where appropriate
...ed state", dev->nodename); return; diff --git a/include/xen/hvc-console.h b/include/xen/hvc-console.h index c3adde3..901724d 100644 --- a/include/xen/hvc-console.h +++ b/include/xen/hvc-console.h @@ -6,11 +6,13 @@ extern struct console xenboot_console; #ifdef CONFIG_HVC_XEN void xen_console_resume(void); void xen_raw_console_write(const char *str); +__attribute__((format(printf, 1, 2))) void xen_raw_printk(const char *fmt, ...); #else static inline void xen_console_resume(void) { } static inline void xen_raw_console_write(const char *str) { } -static inline void xen_raw_printk(const ch...
2011 Jun 12
1
[PATCH 1/2] xen: Add __attribute__((format(printf... where appropriate
...ed state", dev->nodename); return; diff --git a/include/xen/hvc-console.h b/include/xen/hvc-console.h index c3adde3..901724d 100644 --- a/include/xen/hvc-console.h +++ b/include/xen/hvc-console.h @@ -6,11 +6,13 @@ extern struct console xenboot_console; #ifdef CONFIG_HVC_XEN void xen_console_resume(void); void xen_raw_console_write(const char *str); +__attribute__((format(printf, 1, 2))) void xen_raw_printk(const char *fmt, ...); #else static inline void xen_console_resume(void) { } static inline void xen_raw_console_write(const char *str) { } -static inline void xen_raw_printk(const ch...
2011 Jun 12
1
[PATCH 1/2] xen: Add __attribute__((format(printf... where appropriate
...ed state", dev->nodename); return; diff --git a/include/xen/hvc-console.h b/include/xen/hvc-console.h index c3adde3..901724d 100644 --- a/include/xen/hvc-console.h +++ b/include/xen/hvc-console.h @@ -6,11 +6,13 @@ extern struct console xenboot_console; #ifdef CONFIG_HVC_XEN void xen_console_resume(void); void xen_raw_console_write(const char *str); +__attribute__((format(printf, 1, 2))) void xen_raw_printk(const char *fmt, ...); #else static inline void xen_console_resume(void) { } static inline void xen_raw_console_write(const char *str) { } -static inline void xen_raw_printk(const ch...
2008 Jun 10
0
[PATCH] xen: add xen_arch_resume()/xen_timer_resume hook for ia64 support.
...irqreturn_t xen_debug_interrupt(int irq, void *dev_id); diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c index db3c4bd..e8db90c 100644 --- a/drivers/xen/manage.c +++ b/drivers/xen/manage.c @@ -66,6 +66,7 @@ static int xen_suspend(void *data) if (!*cancelled) { xen_irq_resume(); xen_console_resume(); + xen_timer_resume(); } return 0; @@ -105,9 +106,10 @@ static void do_suspend(void) goto out; } - if (!cancelled) + if (!cancelled) { + xen_arch_resume(); xenbus_resume(); - else + } else xenbus_suspend_cancel(); device_resume(); diff --git a/include/xen/xen-ops.h b/inc...
2008 Jun 10
0
[PATCH] xen: add xen_arch_resume()/xen_timer_resume hook for ia64 support.
...irqreturn_t xen_debug_interrupt(int irq, void *dev_id); diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c index db3c4bd..e8db90c 100644 --- a/drivers/xen/manage.c +++ b/drivers/xen/manage.c @@ -66,6 +66,7 @@ static int xen_suspend(void *data) if (!*cancelled) { xen_irq_resume(); xen_console_resume(); + xen_timer_resume(); } return 0; @@ -105,9 +106,10 @@ static void do_suspend(void) goto out; } - if (!cancelled) + if (!cancelled) { + xen_arch_resume(); xenbus_resume(); - else + } else xenbus_suspend_cancel(); device_resume(); diff --git a/include/xen/xen-ops.h b/inc...
2008 Jun 10
0
[PATCH] xen: add xen_arch_resume()/xen_timer_resume hook for ia64 support.
...irqreturn_t xen_debug_interrupt(int irq, void *dev_id); diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c index db3c4bd..e8db90c 100644 --- a/drivers/xen/manage.c +++ b/drivers/xen/manage.c @@ -66,6 +66,7 @@ static int xen_suspend(void *data) if (!*cancelled) { xen_irq_resume(); xen_console_resume(); + xen_timer_resume(); } return 0; @@ -105,9 +106,10 @@ static void do_suspend(void) goto out; } - if (!cancelled) + if (!cancelled) { + xen_arch_resume(); xenbus_resume(); - else + } else xenbus_suspend_cancel(); device_resume(); diff --git a/include/xen/xen-ops.h b/inc...
2012 May 23
17
[PATCH] bug-fixes to hvc-xen driver in v3.4 (and earlier).
..., and plugs them in: 532 info->irq = bind_evtchn_to_irq(info->evtchn); getting IRQ 28 as bind_evtchn_to_irq does a quick lookup: 818 irq = evtchn_to_irq[evtchn]; and gives an already used IRQ line. When we suspend the guest (xm save), then try to resume, we call xen_console_resume, which does: 301 if (info != NULL && info->irq) 302 rebind_evtchn_irq(info->evtchn, info->irq); and that triggers the BUG_ON mentioned above (b/c the type we want is IRQT_EVTCHN and the type info->type is IRQT_PIRQ). drivers/tty/hvc/hvc_xen.c | 24...
2013 Aug 27
4
Is: Xen 4.2 and using 'xl' to save/restore is buggy with PVHVM Linux guests (v3.10 and v3.11 and presumarily earlier as well). Works with Xen 4.3 and Xen 4.4. Was:Re: FAILURE 3.11.0-rc7upstream(x86_64) 3.11.0-rc7upstream(i386)\: 2013-08-26 (tst001)
...5b [ 21.851111] Call Trace: [ 21.851111] [<c15b78f0>] dump_stack+0x4c/0x68 [ 21.851111] [<c10afb9d>] __might_sleep+0xdd/0x110 [ 21.851111] [<c15b7fe0>] mutex_lock+0x20/0x40 [ 21.851111] [<c134c0a3>] rebind_evtchn_irq+0x33/0xa0 [ 21.851111] [<c1378c5b>] xen_console_resume+0x4b/0x50 [ 21.851111] [<c134e492>] xen_suspend+0x92/0xc0 [ 21.851111] [<c10ef5fb>] stop_machine_cpu_stop+0x8b/0xc0 [ 21.851111] [<c10ef30c>] cpu_stopper_thread+0x8c/0x140 [ 21.851111] [<c10ef570>] ? stop_one_cpu_nowait+0x30/0x30 [ 21.851111] [<c108b611&gt...