Displaying 16 results from an estimated 16 matches for "xen_suspend".
Did you mean:
can_suspend
2008 Aug 13
1
[PATCH] stop_machine: wean Xen off stop_machine_run
...m.au>
diff -r 332ec042cb4d drivers/xen/manage.c
--- a/drivers/xen/manage.c Wed Aug 13 10:48:27 2008 +1000
+++ b/drivers/xen/manage.c Wed Aug 13 15:50:02 2008 +1000
@@ -102,7 +102,7 @@ static void do_suspend(void)
/* XXX use normal device tree? */
xenbus_suspend();
- err = stop_machine_run(xen_suspend, &cancelled, 0);
+ err = stop_machine(xen_suspend, &cancelled, &cpumask_of_cpu(0));
if (err) {
printk(KERN_ERR "failed to start xen_suspend: %d\n", err);
goto out;
2011 Feb 16
4
[PATCH] xen: use freeze/restore/thaw PM events for suspend/resume/chkpt
...| 2 +-
drivers/xen/xenbus/xenbus_probe_frontend.c | 8 +++++---
3 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c
index db8c4c4..3f76dcf 100644
--- a/drivers/xen/manage.c
+++ b/drivers/xen/manage.c
@@ -63,7 +63,7 @@ static int xen_suspend(void *data)
BUG_ON(!irqs_disabled());
- err = sysdev_suspend(PMSG_SUSPEND);
+ err = sysdev_suspend(PMSG_FREEZE);
if (err) {
printk(KERN_ERR "xen_suspend: sysdev_suspend failed: %d\n",
err);
@@ -114,16 +114,16 @@ static void do_suspend(void)
}
#endif
- err = dpm_suspend...
2009 Dec 16
7
rebased openSUSE dom0 xen patches for 2.6.31
Hi,
I have uploaded a new set of rebased openSUSE dom0 xen patches and
Gentoo ebuild for 2.6.31 to
http://code.google.com/p/gentoo-xen-kernel/downloads/list, Jan Beulich
recently identified the cause of the null pointer crash and other
stability problems that affected previous versions and with the
necessary fixes applied the kernel has run for 2+ days with no issues
at all, I think you will find
2008 Jul 14
4
FE driver and log dirty
...ce (netfront implements when accelerator is
enabled). That seems to make sense, e.g. blkfront shadows pending
reqs, and requeue them after resume. However considering log dirty
mode, there''s an assumption for this style:
**There must be some CPU issued accesses to target data page
before xen_suspend is invoked, if that page is serviced by BE driver
and has been dequeued from FE queues within the loop copy
process. Or else log dirty mode is not triggered to re-transimit that
page in next loop. **
Does that assumption always hold true for existing FE drivers?
Thanks,
Kevin
_________________...
2008 Aug 26
0
[PATCH] xen: wrap load_cr3() in manage.c for ia64 support.
...3(swapper_pg_dir);
+}
+
void xen_pre_suspend(void)
{
xen_start_info->store_mfn = mfn_to_pfn(xen_start_info->store_mfn);
diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c
index a5bc91a..c7f2953 100644
--- a/drivers/xen/manage.c
+++ b/drivers/xen/manage.c
@@ -39,8 +39,7 @@ static int xen_suspend(void *data)
BUG_ON(!irqs_disabled());
- load_cr3(swapper_pg_dir);
-
+ xen_pre_device_suspend();
err = device_power_down(PMSG_SUSPEND);
if (err) {
printk(KERN_ERR "xen_suspend: device_power_down failed: %d\n",
diff --git a/include/xen/xen-ops.h b/include/xen/xen-ops.h
index 88...
2008 Jul 03
0
[PATCH] xen: remove load_cr3() from manage.c for ia64 support.
...Yamahata <yamahata at valinux.co.jp>
---
drivers/xen/manage.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c
index 2bb268e..e8db90c 100644
--- a/drivers/xen/manage.c
+++ b/drivers/xen/manage.c
@@ -39,8 +39,6 @@ static int xen_suspend(void *data)
BUG_ON(!irqs_disabled());
- load_cr3(swapper_pg_dir);
-
err = device_power_down(PMSG_SUSPEND);
if (err) {
printk(KERN_ERR "xen_suspend: device_power_down failed: %d\n",
--
1.5.3
2008 Jun 18
1
linux-next: Tree for June 18 (XEN build error)
linux-next-20080618/drivers/xen/manage.c: In function 'xen_suspend':
linux-next-20080618/drivers/xen/manage.c:66: error: too few arguments to function 'device_power_up'
linux-next-20080618/drivers/xen/manage.c: In function 'do_suspend':
linux-next-20080618/drivers/xen/manage.c:115: error: too few arguments to function 'device_resume'
ma...
2008 May 28
1
linux-next 20080528: XEN build error when no Power Mgt enabled
linux-next-20080528/drivers/xen/manage.c: In function 'xen_suspend':
linux-next-20080528/drivers/xen/manage.c:43: error: implicit declaration of function 'device_power_down'
linux-next-20080528/drivers/xen/manage.c:65: error: implicit declaration of function 'device_power_up'
linux-next-20080528/drivers/xen/manage.c: In function 'do_suspend...
2008 May 28
1
linux-next 20080528: XEN build error when no Power Mgt enabled
linux-next-20080528/drivers/xen/manage.c: In function 'xen_suspend':
linux-next-20080528/drivers/xen/manage.c:43: error: implicit declaration of function 'device_power_down'
linux-next-20080528/drivers/xen/manage.c:65: error: implicit declaration of function 'device_power_up'
linux-next-20080528/drivers/xen/manage.c: In function 'do_suspend...
2008 Jun 18
1
linux-next: Tree for June 18 (XEN build error)
linux-next-20080618/drivers/xen/manage.c: In function 'xen_suspend':
linux-next-20080618/drivers/xen/manage.c:66: error: too few arguments to function 'device_power_up'
linux-next-20080618/drivers/xen/manage.c: In function 'do_suspend':
linux-next-20080618/drivers/xen/manage.c:115: error: too few arguments to function 'device_resume'
ma...
2013 Jul 15
3
[PATCH] xen/control: protect functions with CONFIG_HIBERNATE_CALLBACKS to avoid warning
...shutting_down = SHUTDOWN_INVALID;
+#ifdef CONFIG_HIBERNATE_CALLBACKS
struct suspend_info {
int cancelled;
unsigned long arg; /* extra hypercall argument */
@@ -63,7 +64,6 @@ static void xen_post_suspend(int cancelled)
xen_mm_unpin_all();
}
-#ifdef CONFIG_HIBERNATE_CALLBACKS
static int xen_suspend(void *data)
{
struct suspend_info *si = data;
--
1.7.10.4
2008 Jun 10
0
[PATCH] xen: add xen_arch_resume()/xen_timer_resume hook for ia64 support.
...igned long long xen_sched_clock(void);
-void xen_timer_resume(void);
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_susp...
2008 Jun 10
0
[PATCH] xen: add xen_arch_resume()/xen_timer_resume hook for ia64 support.
...igned long long xen_sched_clock(void);
-void xen_timer_resume(void);
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_susp...
2008 Jun 10
0
[PATCH] xen: add xen_arch_resume()/xen_timer_resume hook for ia64 support.
...igned long long xen_sched_clock(void);
-void xen_timer_resume(void);
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_susp...
2014 Apr 16
0
Bug#744930: Failed migration from 4.3 to 4.1 crashes VM on sender
...ffffffff811f10f8>] ? gnttab_map+0x105/0x112
[69204.815336] [<ffffffff810e831c>] ? kfree+0xc6/0xcb
[69204.815336] [<ffffffff8100e63d>] ? xen_force_evtchn_callback+0x9/0xa
[69204.815336] [<ffffffff8100ecf2>] ? check_events+0x12/0x20
[69204.815336] [<ffffffff811f3980>] ? xen_suspend+0xaf/0xc4
[69204.815336] [<ffffffff8108bd2a>] ? stop_cpu+0x83/0xc6
[69204.815336] [<ffffffff81062887>] ? worker_thread+0x188/0x21d
[69204.815336] [<ffffffff8108bca7>] ? stop_cpu+0x0/0xc6
[69204.815336] [<ffffffff81065eb2>] ? autoremove_wake_function+0x0/0x2e
[69204.81533...
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)
...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>] ? irq_exit+0x61/0xb0
[ 21.851111] [<c134ba50>]...