search for: pm_power_off

Displaying 20 results from an estimated 46 matches for "pm_power_off".

2005 Jul 26
1
Shutdown and IPMI
...lug it is the IPMI available. I have tried both not enabling and enabling IPMI in dom0 configuration, but this does not change anything (I don''t use IPMI from local machine, only from other machines). Also if I try to compile power down via IPMI, compilation will complain about missing pm_power_off. So the main problem is: I cannot shutdown the server nicely. I can always command chassis power off from IPMI, but then the dom0 will be forcibly shut down, which is not what I want. I can also shut down the dom0, but the machine will stay powered on and I cannot reset or power off via IPMI....
2007 May 06
1
[PATCH 1/3] lguest: 2.6.21-mm1 update: lguest-remove-unnecessary-gdt-load.patch
Andrew did a great job of merging in the PDA->percpu changes and lguest code for 2.6.21-mm1, but the load_gdt is now unnecessary. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> --- drivers/lguest/lguest.c | 4 ---- 1 file changed, 4 deletions(-) =================================================================== --- a/drivers/lguest/lguest.c +++ b/drivers/lguest/lguest.c @@
2007 May 06
1
[PATCH 1/3] lguest: 2.6.21-mm1 update: lguest-remove-unnecessary-gdt-load.patch
Andrew did a great job of merging in the PDA->percpu changes and lguest code for 2.6.21-mm1, but the load_gdt is now unnecessary. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> --- drivers/lguest/lguest.c | 4 ---- 1 file changed, 4 deletions(-) =================================================================== --- a/drivers/lguest/lguest.c +++ b/drivers/lguest/lguest.c @@
2007 Apr 18
2
[RFC, PATCH 14/24] i386 Vmi reboot fixes
...down_halt(); +} /* * Activate the VMI interfaces @@ -267,6 +274,9 @@ void __init vmi_init(void) "(kernel requires version >= %d.%d) " " - falling back to native mode\n", VMI_API_REV_MAJOR, MIN_VMI_API_REV_MINOR); + + if (hypervisor_found) + pm_power_off = vmi_power_off; }
2007 Apr 18
2
[RFC, PATCH 14/24] i386 Vmi reboot fixes
...down_halt(); +} /* * Activate the VMI interfaces @@ -267,6 +274,9 @@ void __init vmi_init(void) "(kernel requires version >= %d.%d) " " - falling back to native mode\n", VMI_API_REV_MAJOR, MIN_VMI_API_REV_MINOR); + + if (hypervisor_found) + pm_power_off = vmi_power_off; }
2007 May 09
1
[patch 2/9] lguest: the guest code
...sabled = 1; + acpi_ht = 0; +#endif + + add_preferred_console("hvc", 0, NULL); + + if (boot->initrd_size) { + /* We stash this at top of memory. */ + INITRD_START = boot->max_pfn*PAGE_SIZE - boot->initrd_size; + INITRD_SIZE = boot->initrd_size; + LOADER_TYPE = 0xFF; + } + + pm_power_off = lguest_power_off; + start_kernel(); +} diff -puN /dev/null drivers/lguest/lguest_asm.S --- /dev/null +++ a/drivers/lguest/lguest_asm.S @@ -0,0 +1,53 @@ +#include <linux/linkage.h> +#include <linux/lguest.h> +#include <asm/asm-offsets.h> +#include <asm/thread_info.h> + +/*...
2007 May 09
1
[patch 2/9] lguest: the guest code
...sabled = 1; + acpi_ht = 0; +#endif + + add_preferred_console("hvc", 0, NULL); + + if (boot->initrd_size) { + /* We stash this at top of memory. */ + INITRD_START = boot->max_pfn*PAGE_SIZE - boot->initrd_size; + INITRD_SIZE = boot->initrd_size; + LOADER_TYPE = 0xFF; + } + + pm_power_off = lguest_power_off; + start_kernel(); +} diff -puN /dev/null drivers/lguest/lguest_asm.S --- /dev/null +++ a/drivers/lguest/lguest_asm.S @@ -0,0 +1,53 @@ +#include <linux/linkage.h> +#include <linux/lguest.h> +#include <asm/asm-offsets.h> +#include <asm/thread_info.h> + +/*...
2007 Apr 18
1
[PATCH 0/8] lguest
As promised to Andrew, and with much thanks to Andi Kleen for feedback, this is the new series of lguest patches. Main change is the move to drivers/lguest (for future non-i386 expansion), but lots of cleanups driven by Andi's feedback and the documentation effort (which made me examine every line of code). It's not perfect, but it's definitely useful. Cheers, Rusty. List of
2007 Apr 18
1
[PATCH 0/8] lguest
As promised to Andrew, and with much thanks to Andi Kleen for feedback, this is the new series of lguest patches. Main change is the move to drivers/lguest (for future non-i386 expansion), but lots of cleanups driven by Andi's feedback and the documentation effort (which made me examine every line of code). It's not perfect, but it's definitely useful. Cheers, Rusty. List of
2007 Apr 18
0
[RFC, PATCH 23/24] i386 Vmi timer patch
...ate(LOCAL_TIMER_VECTOR, apic_vmi_timer_interrupt); #endif setup_irq(2, &irq2); @@ -275,8 +284,10 @@ void __init vmi_init(void) " - falling back to native mode\n", VMI_API_REV_MAJOR, MIN_VMI_API_REV_MINOR); - if (hypervisor_found) + if (hypervisor_found) { pm_power_off = vmi_power_off; + probe_vmi_timer(); + } } @@ -306,6 +317,8 @@ void __init trap_init_hook(void) static struct irqaction irq0 = { timer_interrupt, SA_INTERRUPT, CPU_MASK_NONE, "timer", NULL, NULL}; +static struct irqaction vmi_irq0 = { vmi_timer_interrupt, SA_INTERRUPT, CPU_M...
2007 Apr 18
0
[RFC, PATCH 23/24] i386 Vmi timer patch
...ate(LOCAL_TIMER_VECTOR, apic_vmi_timer_interrupt); #endif setup_irq(2, &irq2); @@ -275,8 +284,10 @@ void __init vmi_init(void) " - falling back to native mode\n", VMI_API_REV_MAJOR, MIN_VMI_API_REV_MINOR); - if (hypervisor_found) + if (hypervisor_found) { pm_power_off = vmi_power_off; + probe_vmi_timer(); + } } @@ -306,6 +317,8 @@ void __init trap_init_hook(void) static struct irqaction irq0 = { timer_interrupt, SA_INTERRUPT, CPU_MASK_NONE, "timer", NULL, NULL}; +static struct irqaction vmi_irq0 = { vmi_timer_interrupt, SA_INTERRUPT, CPU_M...
2007 Jul 20
2
[PATCH 1/7] lguest: documentation pt I: Preparation
The netfilter code had very good documentation: the Netfilter Hacking HOWTO. Noone ever read it. So this time I'm trying something different, using a bit of Knuthiness. Start with drivers/lguest/README. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> --- Documentation/lguest/extract | 58 +++++++++++++++++++++++++++++++++ Documentation/lguest/lguest.c | 9
2007 Jul 20
2
[PATCH 1/7] lguest: documentation pt I: Preparation
The netfilter code had very good documentation: the Netfilter Hacking HOWTO. Noone ever read it. So this time I'm trying something different, using a bit of Knuthiness. Start with drivers/lguest/README. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> --- Documentation/lguest/extract | 58 +++++++++++++++++++++++++++++++++ Documentation/lguest/lguest.c | 9
2007 Jun 07
2
[PATCH 1/7] lguest documentation: infrastructure and Chapter I
The netfilter code had very good documentation: the Netfilter Hacking HOWTO. Noone ever read it. So this time I'm trying something different, using a bit of Knuthiness. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> --- Documentation/lguest/extract | 58 +++++++++++++++++++++++++++++++++ Documentation/lguest/lguest.c | 9 +++-- drivers/lguest/Makefile
2007 Jun 07
2
[PATCH 1/7] lguest documentation: infrastructure and Chapter I
The netfilter code had very good documentation: the Netfilter Hacking HOWTO. Noone ever read it. So this time I'm trying something different, using a bit of Knuthiness. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> --- Documentation/lguest/extract | 58 +++++++++++++++++++++++++++++++++ Documentation/lguest/lguest.c | 9 +++-- drivers/lguest/Makefile
2007 May 09
1
[patch 3/9] lguest: the host code
...6 @@ __init void lguest_init(void) add_preferred_console("hvc", 0, NULL); - if (boot->initrd_size) { - /* We stash this at top of memory. */ - INITRD_START = boot->max_pfn*PAGE_SIZE - boot->initrd_size; - INITRD_SIZE = boot->initrd_size; - LOADER_TYPE = 0xFF; - } - pm_power_off = lguest_power_off; start_kernel(); } diff -puN drivers/lguest/lguest_asm.S~lguest-the-host-code drivers/lguest/lguest_asm.S --- a/drivers/lguest/lguest_asm.S~lguest-the-host-code +++ a/drivers/lguest/lguest_asm.S @@ -10,7 +10,8 @@ * This is where we begin: we have a magic signature which the...
2007 May 09
1
[patch 3/9] lguest: the host code
...6 @@ __init void lguest_init(void) add_preferred_console("hvc", 0, NULL); - if (boot->initrd_size) { - /* We stash this at top of memory. */ - INITRD_START = boot->max_pfn*PAGE_SIZE - boot->initrd_size; - INITRD_SIZE = boot->initrd_size; - LOADER_TYPE = 0xFF; - } - pm_power_off = lguest_power_off; start_kernel(); } diff -puN drivers/lguest/lguest_asm.S~lguest-the-host-code drivers/lguest/lguest_asm.S --- a/drivers/lguest/lguest_asm.S~lguest-the-host-code +++ a/drivers/lguest/lguest_asm.S @@ -10,7 +10,8 @@ * This is where we begin: we have a magic signature which the...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
..._disable(NULL); +#endif +*/ +#ifdef CONFIG_ACPI + acpi_disabled = 1; + acpi_ht = 0; +#endif + if (boot->initrd_size) { + /* We stash this at top of memory. */ + INITRD_START = boot->max_pfn*PAGE_SIZE - boot->initrd_size; + INITRD_SIZE = boot->initrd_size; + LOADER_TYPE = 0xFF; + } + pm_power_off = lguest_power_off; + + start_kernel(); +} + +asm("lguest_maybe_init:\n" + " cmpq $"__stringify(LGUEST_MAGIC_R13)", %r13\n" + " jne 1f\n" + " cmpq $"__stringify(LGUEST_MAGIC_R14)", %r14\n" + " jne 1f\n" + " cm...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
..._disable(NULL); +#endif +*/ +#ifdef CONFIG_ACPI + acpi_disabled = 1; + acpi_ht = 0; +#endif + if (boot->initrd_size) { + /* We stash this at top of memory. */ + INITRD_START = boot->max_pfn*PAGE_SIZE - boot->initrd_size; + INITRD_SIZE = boot->initrd_size; + LOADER_TYPE = 0xFF; + } + pm_power_off = lguest_power_off; + + start_kernel(); +} + +asm("lguest_maybe_init:\n" + " cmpq $"__stringify(LGUEST_MAGIC_R13)", %r13\n" + " jne 1f\n" + " cmpq $"__stringify(LGUEST_MAGIC_R14)", %r14\n" + " jne 1f\n" + " cm...
2008 Apr 30
23
[PATCH 00/23] ia64/xen domU take 5
Hi. This patchset implements ia64/xen domU support based on ia64/pv_ops frame work which was sent as another patchest. This patchset does the followings. - Some preparation work. Mainly importing header files to define related structures. - Then, define functions related to hypercall which is the way to communicate with Xen hypervisor. - Add some helper functions which is necessary to