search for: vmi_init

Displaying 20 results from an estimated 24 matches for "vmi_init".

2007 Apr 18
0
[PATCH 4/5] Vmi.patch
...t;asm/vmi.h> #include <setup_arch.h> #include <bios_ebda.h> @@ -581,6 +582,14 @@ void __init setup_arch(char **cmdline_p) max_low_pfn = setup_memory(); +#ifdef CONFIG_VMI + /* + * Must be after max_low_pfn is determined, and before kernel + * pagetables are setup. + */ + vmi_init(); +#endif + /* * NOTE: before this point _nobody_ is allowed to allocate * any memory using the bootmem allocator. Although the diff -r d8711b11c1eb arch/i386/kernel/smpboot.c --- a/arch/i386/kernel/smpboot.c Tue Dec 12 13:51:06 2006 -0800 +++ b/arch/i386/kernel/smpboot.c Tue Dec 12 13:51...
2007 Apr 18
0
[PATCH 4/5] Vmi.patch
...t;asm/vmi.h> #include <setup_arch.h> #include <bios_ebda.h> @@ -581,6 +582,14 @@ void __init setup_arch(char **cmdline_p) max_low_pfn = setup_memory(); +#ifdef CONFIG_VMI + /* + * Must be after max_low_pfn is determined, and before kernel + * pagetables are setup. + */ + vmi_init(); +#endif + /* * NOTE: before this point _nobody_ is allowed to allocate * any memory using the bootmem allocator. Although the diff -r d8711b11c1eb arch/i386/kernel/smpboot.c --- a/arch/i386/kernel/smpboot.c Tue Dec 12 13:51:06 2006 -0800 +++ b/arch/i386/kernel/smpboot.c Tue Dec 12 13:51...
2007 Apr 18
0
[PATCH 5/6] VMI backend for paravirt-ops
...t;asm/vmi.h> #include <setup_arch.h> #include <bios_ebda.h> @@ -581,6 +582,14 @@ void __init setup_arch(char **cmdline_p) max_low_pfn = setup_memory(); +#ifdef CONFIG_VMI + /* + * Must be after max_low_pfn is determined, and before kernel + * pagetables are setup. + */ + vmi_init(); +#endif + /* * NOTE: before this point _nobody_ is allowed to allocate * any memory using the bootmem allocator. Although the diff -r d8711b11c1eb arch/i386/kernel/smpboot.c --- a/arch/i386/kernel/smpboot.c Tue Dec 12 13:51:06 2006 -0800 +++ b/arch/i386/kernel/smpboot.c Tue Dec 12 13:51...
2007 Apr 18
0
[PATCH 5/6] VMI backend for paravirt-ops
...t;asm/vmi.h> #include <setup_arch.h> #include <bios_ebda.h> @@ -581,6 +582,14 @@ void __init setup_arch(char **cmdline_p) max_low_pfn = setup_memory(); +#ifdef CONFIG_VMI + /* + * Must be after max_low_pfn is determined, and before kernel + * pagetables are setup. + */ + vmi_init(); +#endif + /* * NOTE: before this point _nobody_ is allowed to allocate * any memory using the bootmem allocator. Although the diff -r d8711b11c1eb arch/i386/kernel/smpboot.c --- a/arch/i386/kernel/smpboot.c Tue Dec 12 13:51:06 2006 -0800 +++ b/arch/i386/kernel/smpboot.c Tue Dec 12 13:51...
2007 Apr 18
7
[RFC, PATCH 5/24] i386 Vmi code patching
...lt; MIN_VMI_API_REV_MINOR+1) + continue; + if (romstart->romLength * 512 > + &__VMI_END - &__VMI_START) + panic("VMI OPROM size exceeds mappable space\n"); + hypervisor_found = 1; + break; + } + } +} + + +/* + * Activate the VMI interfaces + */ +void __init vmi_init(void) +{ + int romsize; + + /* + * Setup optional callback functions if we found the VMI ROM + */ + if (hypervisor_found) { + romsize = vmi_rom->romLength * 512; + if (VROMFunc(vmi_rom, VMI_CALL_Init)) { + printk(KERN_WARNING "VMI ROM failed to initialize\n"); + hypervisor_foun...
2007 Apr 18
7
[RFC, PATCH 5/24] i386 Vmi code patching
...lt; MIN_VMI_API_REV_MINOR+1) + continue; + if (romstart->romLength * 512 > + &__VMI_END - &__VMI_START) + panic("VMI OPROM size exceeds mappable space\n"); + hypervisor_found = 1; + break; + } + } +} + + +/* + * Activate the VMI interfaces + */ +void __init vmi_init(void) +{ + int romsize; + + /* + * Setup optional callback functions if we found the VMI ROM + */ + if (hypervisor_found) { + romsize = vmi_rom->romLength * 512; + if (VROMFunc(vmi_rom, VMI_CALL_Init)) { + printk(KERN_WARNING "VMI ROM failed to initialize\n"); + hypervisor_foun...
2010 Aug 23
1
Removing VMI kernel support from 2.6.37
...ion */ - u16 license_offs; /* Offset to License string */ - u16 pci_header_offs;/* Offset to PCI OPROM header */ - u16 pnp_header_offs;/* Offset to PnP OPROM header */ - u32 rom_pad3; /* PnP reserverd / VMI reserved */ - u8 reserved[96]; /* Reserved for headers */ - char vmi_init[8]; /* VMI_Init jump point */ - char get_reloc[8]; /* VMI_GetRelocationInfo jump point */ -} __attribute__((packed)); - -struct pnp_header { - char sig[4]; - char rev; - char size; - short next; - short res; - long devID; - unsigned short manufacturer_offset; - unsigned short product_offset...
2010 Aug 23
1
Removing VMI kernel support from 2.6.37
...ion */ - u16 license_offs; /* Offset to License string */ - u16 pci_header_offs;/* Offset to PCI OPROM header */ - u16 pnp_header_offs;/* Offset to PnP OPROM header */ - u32 rom_pad3; /* PnP reserverd / VMI reserved */ - u8 reserved[96]; /* Reserved for headers */ - char vmi_init[8]; /* VMI_Init jump point */ - char get_reloc[8]; /* VMI_GetRelocationInfo jump point */ -} __attribute__((packed)); - -struct pnp_header { - char sig[4]; - char rev; - char size; - short next; - short res; - long devID; - unsigned short manufacturer_offset; - unsigned short product_offset...
2007 Apr 18
0
[PATCH 7/9] Fix nohz compile.patch
...nds on PARAVIRT default y help VMI provides a paravirtualized interface to multiple hypervisors diff -r 5d41588419ab arch/i386/kernel/vmi.c --- a/arch/i386/kernel/vmi.c Tue Feb 27 17:24:55 2007 -0800 +++ b/arch/i386/kernel/vmi.c Tue Feb 27 18:46:26 2007 -0800 @@ -934,6 +934,7 @@ void __init vmi_init(void) #ifdef CONFIG_X86_IO_APIC no_timer_check = 1; #endif + no_sync_cmos_clock = 1; local_irq_restore(flags & X86_EFLAGS_IF); } diff -r 5d41588419ab arch/i386/kernel/vmitime.c --- a/arch/i386/kernel/vmitime.c Tue Feb 27 17:24:55 2007 -0800 +++ b/arch/i386/kernel/vmitime.c Tue Feb 27 1...
2007 Apr 18
0
[PATCH 1/3] Vmi compile fix
...; don't try to set it in the vmi init code. Signed-off-by: Zachary Amsden <zach@vmware.com> diff -r 21d7686ee318 arch/i386/kernel/vmi.c --- a/arch/i386/kernel/vmi.c Thu Jan 04 15:23:30 2007 -0800 +++ b/arch/i386/kernel/vmi.c Thu Jan 04 15:55:39 2007 -0800 @@ -913,7 +913,9 @@ void __init vmi_init(void) local_irq_save(flags); activate_vmi(); +#ifdef CONFIG_SMP no_timer_check = 1; +#endif local_irq_restore(flags & X86_EFLAGS_IF); }
2007 Apr 18
0
[PATCH 1/3] Vmi compile fix
...; don't try to set it in the vmi init code. Signed-off-by: Zachary Amsden <zach@vmware.com> diff -r 21d7686ee318 arch/i386/kernel/vmi.c --- a/arch/i386/kernel/vmi.c Thu Jan 04 15:23:30 2007 -0800 +++ b/arch/i386/kernel/vmi.c Thu Jan 04 15:55:39 2007 -0800 @@ -913,7 +913,9 @@ void __init vmi_init(void) local_irq_save(flags); activate_vmi(); +#ifdef CONFIG_SMP no_timer_check = 1; +#endif local_irq_restore(flags & X86_EFLAGS_IF); }
2007 Apr 18
0
[PATCH 7/9] Fix nohz compile.patch
...nds on PARAVIRT default y help VMI provides a paravirtualized interface to multiple hypervisors diff -r 5d41588419ab arch/i386/kernel/vmi.c --- a/arch/i386/kernel/vmi.c Tue Feb 27 17:24:55 2007 -0800 +++ b/arch/i386/kernel/vmi.c Tue Feb 27 18:46:26 2007 -0800 @@ -934,6 +934,7 @@ void __init vmi_init(void) #ifdef CONFIG_X86_IO_APIC no_timer_check = 1; #endif + no_sync_cmos_clock = 1; local_irq_restore(flags & X86_EFLAGS_IF); } diff -r 5d41588419ab arch/i386/kernel/vmitime.c --- a/arch/i386/kernel/vmitime.c Tue Feb 27 17:24:55 2007 -0800 +++ b/arch/i386/kernel/vmitime.c Tue Feb 27 1...
2007 Apr 18
0
[PATCH 1/9] Vmi timer fixes round two.patch
...clock = vmi_sched_clock; } + if (!disable_noidle) + para_fill(safe_halt, Halt); + else { + vmi_ops.halt = vmi_get_function(VMI_CALL_Halt); + paravirt_ops.safe_halt = vmi_safe_halt; + } /* * Alternative instruction rewriting doesn't happen soon enough @@ -914,9 +914,11 @@ void __init vmi_init(void) local_irq_save(flags); activate_vmi(); -#ifdef CONFIG_SMP + +#ifdef CONFIG_X86_IO_APIC no_timer_check = 1; #endif + local_irq_restore(flags & X86_EFLAGS_IF); } @@ -942,7 +944,8 @@ static int __init parse_vmi(char *arg) } else if (!strcmp(arg, "disable_mtrr")) {...
2007 Apr 18
0
[PATCH 1/9] Vmi timer fixes round two.patch
...clock = vmi_sched_clock; } + if (!disable_noidle) + para_fill(safe_halt, Halt); + else { + vmi_ops.halt = vmi_get_function(VMI_CALL_Halt); + paravirt_ops.safe_halt = vmi_safe_halt; + } /* * Alternative instruction rewriting doesn't happen soon enough @@ -914,9 +914,11 @@ void __init vmi_init(void) local_irq_save(flags); activate_vmi(); -#ifdef CONFIG_SMP + +#ifdef CONFIG_X86_IO_APIC no_timer_check = 1; #endif + local_irq_restore(flags & X86_EFLAGS_IF); } @@ -942,7 +944,8 @@ static int __init parse_vmi(char *arg) } else if (!strcmp(arg, "disable_mtrr")) {...
2007 Apr 18
2
[RFC, PATCH 14/24] i386 Vmi reboot fixes
...e VMI option ROM */ @@ -238,6 +238,13 @@ void __init probe_vmi_rom(void) } } +/* Simple shutdown routine to power down in a VM */ +void +vmi_power_off(void) +{ + /* Shutdown halt powers off the CPU */ + shutdown_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
...e VMI option ROM */ @@ -238,6 +238,13 @@ void __init probe_vmi_rom(void) } } +/* Simple shutdown routine to power down in a VM */ +void +vmi_power_off(void) +{ + /* Shutdown halt powers off the CPU */ + shutdown_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
0
[PATCH 8/9] Vmi apic ops.diff
..._fill(safe_halt, Halt); - else { - vmi_ops.halt = vmi_get_function(VMI_CALL_Halt); - paravirt_ops.safe_halt = vmi_safe_halt; - } + else + para_wrap(safe_halt, vmi_safe_halt, halt, Halt); /* * Alternative instruction rewriting doesn't happen soon enough @@ -933,10 +949,9 @@ void __init vmi_init(void) activate_vmi(); #ifdef CONFIG_X86_IO_APIC + /* This is virtual hardware; timer routing is wired correctly */ no_timer_check = 1; #endif - no_sync_cmos_clock = 1; - local_irq_restore(flags & X86_EFLAGS_IF); } @@ -960,6 +975,9 @@ static int __init parse_vmi(char *arg) } else...
2007 Apr 18
0
[PATCH 8/9] Vmi apic ops.diff
..._fill(safe_halt, Halt); - else { - vmi_ops.halt = vmi_get_function(VMI_CALL_Halt); - paravirt_ops.safe_halt = vmi_safe_halt; - } + else + para_wrap(safe_halt, vmi_safe_halt, halt, Halt); /* * Alternative instruction rewriting doesn't happen soon enough @@ -933,10 +949,9 @@ void __init vmi_init(void) activate_vmi(); #ifdef CONFIG_X86_IO_APIC + /* This is virtual hardware; timer routing is wired correctly */ no_timer_check = 1; #endif - no_sync_cmos_clock = 1; - local_irq_restore(flags & X86_EFLAGS_IF); } @@ -960,6 +975,9 @@ static int __init parse_vmi(char *arg) } else...
2007 Jul 06
2
[PATCH] I386: Deactivate the test for the dead CONFIG_DEBUG_PAGE_TYPE variable.
Robert P. J. Day wrote: > Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> > > --- > > diff --git a/arch/i386/kernel/vmi.c b/arch/i386/kernel/vmi.c Maintainers are apparently those under "PARAVIRT_OPS INTERFACE". CCs added. > index c12720d..e3ce5c8 100644 > --- a/arch/i386/kernel/vmi.c > +++ b/arch/i386/kernel/vmi.c > @@ -235,7 +235,7 @@ static
2007 Jul 06
2
[PATCH] I386: Deactivate the test for the dead CONFIG_DEBUG_PAGE_TYPE variable.
Robert P. J. Day wrote: > Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> > > --- > > diff --git a/arch/i386/kernel/vmi.c b/arch/i386/kernel/vmi.c Maintainers are apparently those under "PARAVIRT_OPS INTERFACE". CCs added. > index c12720d..e3ce5c8 100644 > --- a/arch/i386/kernel/vmi.c > +++ b/arch/i386/kernel/vmi.c > @@ -235,7 +235,7 @@ static