search for: arch_hook

Displaying 20 results from an estimated 56 matches for "arch_hook".

Did you mean: arch_hooks
2008 Aug 27
2
[PATCH] libxc: Use vcpu_guest_context_any_t instead of two pages
...t rc; xc_dom_printf("%s: called\n", __function__); @@ -245,12 +245,11 @@ int xc_dom_boot_image(struct xc_dom_imag return rc; /* let the vm run */ - ctxt = xc_dom_malloc(dom, page_size * 2 /* fixme */ ); - memset(ctxt, 0, page_size * 2); - if ( (rc = dom->arch_hooks->vcpu(dom, ctxt)) != 0 ) + memset(&ctxt, 0, sizeof(ctxt)); + if ( (rc = dom->arch_hooks->vcpu(dom, &ctxt)) != 0 ) return rc; xc_dom_unmap_all(dom); - rc = launch_vm(dom->guest_xc, dom->guest_domid, ctxt); + rc = launch_vm(dom->guest_xc, dom->g...
2007 Feb 26
0
[Xen-ia64-devel] [PATCH]: domain-builder: add new arch_hook
Hi, attached is a small patch to the domain builder therewidth starting of big endian images on xen-ia64 is possible. Please send comments or apply the patch! Thanks. Dietmar. _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel
2007 Apr 18
0
[PATCH 2/5] Interrupts subarch cleanup.patch
...et_board_type_and_rev "unknown")), visws_board_rev); } -void __init pre_intr_init_hook(void) +void __init intr_init_hook(void) { init_VISWS_APIC_irqs(); -} - -void __init intr_init_hook(void) -{ -#ifdef CONFIG_X86_LOCAL_APIC - apic_intr_init(); -#endif } void __init pre_setup_arch_hook() =================================================================== --- a/arch/i386/mach-visws/visws_apic.c +++ b/arch/i386/mach-visws/visws_apic.c @@ -261,12 +261,6 @@ static struct irqaction master_action = .name = "PIIX4-8259", }; -static struct irqaction cascade_action = { -...
2007 Apr 18
0
[PATCH 2/5] Interrupts subarch cleanup.patch
...et_board_type_and_rev "unknown")), visws_board_rev); } -void __init pre_intr_init_hook(void) +void __init intr_init_hook(void) { init_VISWS_APIC_irqs(); -} - -void __init intr_init_hook(void) -{ -#ifdef CONFIG_X86_LOCAL_APIC - apic_intr_init(); -#endif } void __init pre_setup_arch_hook() =================================================================== --- a/arch/i386/mach-visws/visws_apic.c +++ b/arch/i386/mach-visws/visws_apic.c @@ -261,12 +261,6 @@ static struct irqaction master_action = .name = "PIIX4-8259", }; -static struct irqaction cascade_action = { -...
2007 Apr 18
0
[PATCH 6/9] Pit override.patch
...ation of the hrtimers code. The problem is that now the call path for time initialization is: time_init : late_time_init = hpet_time_init; late_time_init -> hpet_time_init: setup_pit_timer (BAD) do_time_init --> (via paravirt.h) time_init_hook --> (via arch_hooks.h) time_init_hook (in SUBARCH/setup.c) If this isn't confusing enough, the paravirt case goes through an indirect function pointer in the paravirt-ops table. The problem is, by the time the paravirt hook is called, the pit timer is already enabled. But paravirt guests have the...
2007 Apr 18
0
[PATCH 6/9] Pit override.patch
...ation of the hrtimers code. The problem is that now the call path for time initialization is: time_init : late_time_init = hpet_time_init; late_time_init -> hpet_time_init: setup_pit_timer (BAD) do_time_init --> (via paravirt.h) time_init_hook --> (via arch_hooks.h) time_init_hook (in SUBARCH/setup.c) If this isn't confusing enough, the paravirt case goes through an indirect function pointer in the paravirt-ops table. The problem is, by the time the paravirt hook is called, the pit timer is already enabled. But paravirt guests have the...
2007 Apr 18
2
[RFC, PATCH 14/24] i386 Vmi reboot fixes
...:37:59.000000000 -0800 +++ linux-2.6.16-rc5/arch/i386/mach-vmi/setup.c 2006-03-08 11:38:32.000000000 -0800 @@ -31,6 +31,7 @@ #include <linux/interrupt.h> #include <linux/bootmem.h> #include <linux/mm.h> +#include <linux/pm.h> #include <asm/acpi.h> #include <asm/arch_hooks.h> #include <asm/processor.h> @@ -205,7 +206,6 @@ void __init intr_init_hook(void) setup_irq(2, &irq2); } - /* * Probe for the VMI option ROM */ @@ -238,6 +238,13 @@ void __init probe_vmi_rom(void) } } +/* Simple shutdown routine to power down in a VM */ +void +vmi_pow...
2007 Apr 18
2
[RFC, PATCH 14/24] i386 Vmi reboot fixes
...:37:59.000000000 -0800 +++ linux-2.6.16-rc5/arch/i386/mach-vmi/setup.c 2006-03-08 11:38:32.000000000 -0800 @@ -31,6 +31,7 @@ #include <linux/interrupt.h> #include <linux/bootmem.h> #include <linux/mm.h> +#include <linux/pm.h> #include <asm/acpi.h> #include <asm/arch_hooks.h> #include <asm/processor.h> @@ -205,7 +206,6 @@ void __init intr_init_hook(void) setup_irq(2, &irq2); } - /* * Probe for the VMI option ROM */ @@ -238,6 +238,13 @@ void __init probe_vmi_rom(void) } } +/* Simple shutdown routine to power down in a VM */ +void +vmi_pow...
2007 Apr 18
1
[PATCH 9/10] Vmi timer update.patch
...s Ave, Cambridge, MA 02139, USA. + * + */ + +#include <linux/smp.h> +#include <linux/interrupt.h> +#include <linux/cpumask.h> +#include <linux/clocksource.h> +#include <linux/clockchips.h> + +#include <asm/vmi.h> +#include <asm/vmi_time.h> +#include <asm/arch_hooks.h> +#include <asm/apicdef.h> +#include <asm/apic.h> +#include <asm/timer.h> + +#include <irq_vectors.h> +#include "io_ports.h" + +#define VMI_ONESHOT (VMI_ALARM_IS_ONESHOT | VMI_CYCLES_REAL | vmi_get_alarm_wiring()) +#define VMI_PERIODIC (VMI_ALARM_IS_PERIODI...
2007 Apr 18
1
[PATCH 9/10] Vmi timer update.patch
...s Ave, Cambridge, MA 02139, USA. + * + */ + +#include <linux/smp.h> +#include <linux/interrupt.h> +#include <linux/cpumask.h> +#include <linux/clocksource.h> +#include <linux/clockchips.h> + +#include <asm/vmi.h> +#include <asm/vmi_time.h> +#include <asm/arch_hooks.h> +#include <asm/apicdef.h> +#include <asm/apic.h> +#include <asm/timer.h> + +#include <irq_vectors.h> +#include "io_ports.h" + +#define VMI_ONESHOT (VMI_ALARM_IS_ONESHOT | VMI_CYCLES_REAL | vmi_get_alarm_wiring()) +#define VMI_PERIODIC (VMI_ALARM_IS_PERIODI...
2007 Apr 28
3
[PATCH] i386: introduce voyager smp_ops, fix voyager build
...+} +EXPORT_SYMBOL(smp_call_function_single); =================================================================== --- a/arch/i386/mach-voyager/voyager_smp.c +++ b/arch/i386/mach-voyager/voyager_smp.c @@ -28,7 +28,6 @@ #include <asm/pgalloc.h> #include <asm/tlbflush.h> #include <asm/arch_hooks.h> -#include <asm/pda.h> /* TLB state -- visible externally, indexed physically */ DEFINE_PER_CPU(struct tlb_state, cpu_tlbstate) ____cacheline_aligned = { &init_mm, 0 }; @@ -423,7 +422,7 @@ find_smp_config(void) VOYAGER_SUS_IN_CONTROL_PORT); current_thread_info()->c...
2007 Apr 28
3
[PATCH] i386: introduce voyager smp_ops, fix voyager build
...+} +EXPORT_SYMBOL(smp_call_function_single); =================================================================== --- a/arch/i386/mach-voyager/voyager_smp.c +++ b/arch/i386/mach-voyager/voyager_smp.c @@ -28,7 +28,6 @@ #include <asm/pgalloc.h> #include <asm/tlbflush.h> #include <asm/arch_hooks.h> -#include <asm/pda.h> /* TLB state -- visible externally, indexed physically */ DEFINE_PER_CPU(struct tlb_state, cpu_tlbstate) ____cacheline_aligned = { &init_mm, 0 }; @@ -423,7 +422,7 @@ find_smp_config(void) VOYAGER_SUS_IN_CONTROL_PORT); current_thread_info()->c...
2007 Dec 20
6
[PATCH 0/15] adjust pvops to accomodate its x86_64 variant
Hi folks, With this series, the bulk of the work of pvops64 is done. Here, I integrate most of the paravirt.c and paravirt.h files, making them applicable to both architectures. CONFIG_PARAVIRT is _not_ present yet. Basically, this code is missing page table integration (patches currently being worked on by Jeremy). Enjoy
2007 Dec 20
6
[PATCH 0/15] adjust pvops to accomodate its x86_64 variant
Hi folks, With this series, the bulk of the work of pvops64 is done. Here, I integrate most of the paravirt.c and paravirt.h files, making them applicable to both architectures. CONFIG_PARAVIRT is _not_ present yet. Basically, this code is missing page table integration (patches currently being worked on by Jeremy). Enjoy
2007 Apr 18
2
[RFC, PATCH 9/24] i386 Vmi smp support
...to zach@vmware.com + * + */ + +#include <linux/config.h> +#include <linux/smp.h> +#include <linux/init.h> +#include <linux/irq.h> +#include <linux/interrupt.h> +#include <linux/bootmem.h> +#include <linux/mm.h> +#include <asm/acpi.h> +#include <asm/arch_hooks.h> +#include <asm/processor.h> +#include <asm/desc.h> +#include <asm/io.h> +#include <asm/highmem.h> +#include <asm/pgtable.h> +#include <vmi.h> + +extern long boot_gdt_table; +extern struct desc_struct idt_table[256]; +extern unsigned char *trampoline_base;...
2007 Apr 18
2
[RFC, PATCH 9/24] i386 Vmi smp support
...to zach@vmware.com + * + */ + +#include <linux/config.h> +#include <linux/smp.h> +#include <linux/init.h> +#include <linux/irq.h> +#include <linux/interrupt.h> +#include <linux/bootmem.h> +#include <linux/mm.h> +#include <asm/acpi.h> +#include <asm/arch_hooks.h> +#include <asm/processor.h> +#include <asm/desc.h> +#include <asm/io.h> +#include <asm/highmem.h> +#include <asm/pgtable.h> +#include <vmi.h> + +extern long boot_gdt_table; +extern struct desc_struct idt_table[256]; +extern unsigned char *trampoline_base;...
2008 May 08
4
[PATCH 0/4] paravirt clock series.
Respin of the paravirt clock patch series. On the host side the kvm paravirt clock is made compatible with the xen clock. On the guest side some xen code has been factored out into a separate source file shared by both kvm and xen clock implementations. This time it should work ok for kvm smp guests ;) cheers, Gerd
2008 May 08
4
[PATCH 0/4] paravirt clock series.
Respin of the paravirt clock patch series. On the host side the kvm paravirt clock is made compatible with the xen clock. On the guest side some xen code has been factored out into a separate source file shared by both kvm and xen clock implementations. This time it should work ok for kvm smp guests ;) cheers, Gerd
2008 May 16
5
[PATCH 0/4] paravirt clock source patches, #3
paravirt clock source patches, next round, with a bunch of changes in the host code according to Avi's review comments and some minor code tweaks. cheers, Gerd
2008 May 16
5
[PATCH 0/4] paravirt clock source patches, #3
paravirt clock source patches, next round, with a bunch of changes in the host code according to Avi's review comments and some minor code tweaks. cheers, Gerd