Displaying 11 results from an estimated 11 matches for "device_power_up".
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'
make[3]: *** [drivers/xen/manage.o] Error 1
---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portla...
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'
make[3]: *** [drivers/xen/manage.o] Error 1
---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portla...
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':
linux-next-20080528/drivers/xen/manage.c:114: error: implicit declaration of function 'device_resume'
make[3]: *** [drivers/xen/manage.o] Error 1
---
~Randy
"He closes his eyes and drops the goggles. You...
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':
linux-next-20080528/drivers/xen/manage.c:114: error: implicit declaration of function 'device_resume'
make[3]: *** [drivers/xen/manage.o] Error 1
---
~Randy
"He closes his eyes and drops the goggles. You...
2007 Jan 17
6
Ehancement to domU suspend/resume
...may still hold critical
resource. In this case, we need borrow some Linux PM stuff into
xen suspend path, something like:
Smp_suspend();
freeze_processes();
device_suspend();
device_power_down();
xenbus_suspend();
...
HYPERVISOR_suspend(virt_to_mfn(xen_start_info));
...
xenbus_resume();
device_power_up();
device_resume();
thaw_processes();
smp_resume();
It may be more difficult if we want to support wake-on-LAN when
that NIC is assigned to domU, which is more tightly related to ACPI.
So we will simply consider normal device suspend here.
One interesting question is, why doesn''t...
2012 Apr 02
6
[PATCH 0 of 3] Patches for Xen 4.2 (v2).
Patches that were posted last week - with review comments
addressed.
2007 Jun 27
0
[PATCH 1/10] Provide basic Xen PM infrastructure
...cpi_video_flags;
+unsigned long saved_videomode;
+
+/* XXX: Add suspend failure recover later */
+static int device_power_down(void)
+{
+ console_suspend();
+
+ time_suspend();
+
+ i8259A_suspend();
+
+ ioapic_suspend();
+
+ lapic_suspend();
+
+ return 0;
+}
+
+static void device_power_up(void)
+{
+ lapic_resume();
+
+ ioapic_resume();
+
+ i8259A_resume();
+
+ time_resume();
+
+ console_resume();
+}
+
+/* Main interface to do xen specific suspend/resume */
+int enter_state(u32 state)
+{
+ struct domain *d;
+ unsigned long flags;
+ int error;
+
+ if...
2007 Jun 27
1
[PATCH 7/10] SMP support to Xen PM
.../xen/arch/x86/acpi/power.c Tue Jun 26 19:44:36 2007 -0400
@@ -25,6 +25,7 @@
#include <xen/sched.h>
#include <xen/domain.h>
#include <xen/console.h>
+#include <xen/softirq.h>
u8 sleep_states[ACPI_S_STATE_COUNT];
DEFINE_SPINLOCK(pm_lock);
@@ -80,37 +81,77 @@ static void device_power_up(void)
console_resume();
}
-/* Main interface to do xen specific suspend/resume */
-int enter_state(u32 state)
-{
- struct domain *d, *pd = NULL;
- unsigned long flags;
- int error;
-
- if (state <= ACPI_STATE_S0 || state > ACPI_S_STATES_MAX)
- return -EINVAL;
-
-...
2007 Feb 14
4
[PATCH 3/12] Provide basic Xen PM infrastructure
...m",
+ [ACPI_STATE_S4] = "disk",
+};
+
+/* Add suspend failure recover later */
+static int device_power_down(void)
+{
+ console_suspend();
+
+ time_suspend();
+
+ i8259A_suspend();
+
+ ioapic_suspend();
+
+ lapic_suspend();
+
+ return 0;
+}
+
+static void device_power_up(void)
+{
+ lapic_resume();
+
+ ioapic_resume();
+
+ i8259A_resume();
+
+ time_resume();
+
+ console_resume();
+}
+
+int enter_state(u32 state)
+{
+ struct domain *d;
+ unsigned long flags;
+ int error;
+
+ if (state <= ACPI_STATE_S0 || state > ACPI_S_STATES_...
2007 Apr 18
5
[patch 0/4] Revised softlockup watchdog improvement patches
Hi Ingo,
This series of patches implements a number of improvements to the
softlockup watchdog and its users.
They are:
1. Make the watchdog ignore stolen time
When running under a hypervisor, the kernel may lose an arbitrary amount
of time as "stolen time". This may cause the softlockup watchdog to
trigger spruiously. Xen and VMI implement sched_clock() as measuring
unstolen time,
2007 Apr 18
5
[patch 0/4] Revised softlockup watchdog improvement patches
Hi Ingo,
This series of patches implements a number of improvements to the
softlockup watchdog and its users.
They are:
1. Make the watchdog ignore stolen time
When running under a hypervisor, the kernel may lose an arbitrary amount
of time as "stolen time". This may cause the softlockup watchdog to
trigger spruiously. Xen and VMI implement sched_clock() as measuring
unstolen time,