search for: config_x86_local_apic

Displaying 20 results from an estimated 240 matches for "config_x86_local_apic".

2007 Apr 18
0
[PATCH 5/5] XEN: fixup APIC accessors when !CONFIG_X86_LOCAL_APIC
...bell@xensource.com> diff -r 6fdbec59813e arch/i386/paravirt-xen/enlighten.c --- a/arch/i386/paravirt-xen/enlighten.c Wed Aug 23 15:08:37 2006 +0100 +++ b/arch/i386/paravirt-xen/enlighten.c Wed Aug 23 15:08:37 2006 +0100 @@ -310,6 +310,7 @@ static fastcall void xen_io_delay(void) { } +#ifdef CONFIG_X86_LOCAL_APIC static fastcall void xen_apic_write(unsigned long reg, unsigned long v) { } @@ -322,6 +323,7 @@ static fastcall unsigned long xen_apic_r { return 0; } +#endif static fastcall void xen_flush_tlb(void) { @@ -422,9 +424,11 @@ static const struct paravirt_ops xen_par .set_wallclock = xen_s...
2007 Apr 18
0
[RFC, PATCH 15/24] i386 Vmi apic header
...include/asm-i386/apic.h 2006-03-10 13:03:37.000000000 -0800 @@ -7,6 +7,7 @@ #include <asm/apicdef.h> #include <asm/processor.h> #include <asm/system.h> +#include <mach_apicops.h> #define Dprintk(x...) @@ -45,25 +46,6 @@ static inline void lapic_enable(void) #ifdef CONFIG_X86_LOCAL_APIC -/* - * Basic functions accessing APICs. - */ - -static __inline void apic_write(unsigned long reg, unsigned long v) -{ - *((volatile unsigned long *)(APIC_BASE+reg)) = v; -} - -static __inline void apic_write_atomic(unsigned long reg, unsigned long v) -{ - xchg((volatile unsigned long *)(APIC_BA...
2007 Apr 18
0
[RFC, PATCH 15/24] i386 Vmi apic header
...include/asm-i386/apic.h 2006-03-10 13:03:37.000000000 -0800 @@ -7,6 +7,7 @@ #include <asm/apicdef.h> #include <asm/processor.h> #include <asm/system.h> +#include <mach_apicops.h> #define Dprintk(x...) @@ -45,25 +46,6 @@ static inline void lapic_enable(void) #ifdef CONFIG_X86_LOCAL_APIC -/* - * Basic functions accessing APICs. - */ - -static __inline void apic_write(unsigned long reg, unsigned long v) -{ - *((volatile unsigned long *)(APIC_BASE+reg)) = v; -} - -static __inline void apic_write_atomic(unsigned long reg, unsigned long v) -{ - xchg((volatile unsigned long *)(APIC_BA...
2008 Apr 30
1
[PATCH] make setup_secondary_clock definition dependent on local apic
since the pv_apic_ops are only present if CONFIG_X86_LOCAL_APIC is compiled in, kvmclock failed to build without this option. This patch fixes this Signed-off-by: Glauber Costa <gcosta at redhat.com> --- arch/x86/kernel/kvmclock.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/kvmclock.c b/arch/x86/kernel/kvm...
2008 Jul 15
4
Patch from LKML
...============================== > >> --- linux-2.6.orig/arch/x86/kernel/paravirt.c > >> +++ linux-2.6/arch/x86/kernel/paravirt.c > >> @@ -373,11 +373,6 @@ struct pv_cpu_ops pv_cpu_ops = { > >> > >> struct pv_apic_ops pv_apic_ops = { > >> #ifdef CONFIG_X86_LOCAL_APIC > >> -#ifndef CONFIG_X86_64 > >> - .apic_write = native_apic_mem_write, > >> - .apic_write_atomic = native_apic_mem_write_atomic, > >> - .apic_read = native_apic_mem_read, > >> -#endif > >> .setup_boot_clock = setup_boo...
2008 Jul 15
4
Patch from LKML
...============================== > >> --- linux-2.6.orig/arch/x86/kernel/paravirt.c > >> +++ linux-2.6/arch/x86/kernel/paravirt.c > >> @@ -373,11 +373,6 @@ struct pv_cpu_ops pv_cpu_ops = { > >> > >> struct pv_apic_ops pv_apic_ops = { > >> #ifdef CONFIG_X86_LOCAL_APIC > >> -#ifndef CONFIG_X86_64 > >> - .apic_write = native_apic_mem_write, > >> - .apic_write_atomic = native_apic_mem_write_atomic, > >> - .apic_read = native_apic_mem_read, > >> -#endif > >> .setup_boot_clock = setup_boo...
2007 Apr 18
1
[PATCH 9/10] Vmi timer update.patch
...e = (void *)rel->eip; \ } \ } while (0) - /* * Activate the VMI interface and switch into paravirtualized mode @@ -894,8 +884,8 @@ static inline int __init activate_vmi(vo paravirt_ops.get_wallclock = vmi_get_wallclock; paravirt_ops.set_wallclock = vmi_set_wallclock; #ifdef CONFIG_X86_LOCAL_APIC - paravirt_ops.setup_boot_clock = vmi_timer_setup_boot_alarm; - paravirt_ops.setup_secondary_clock = vmi_timer_setup_secondary_alarm; + paravirt_ops.setup_boot_clock = vmi_time_bsp_init; + paravirt_ops.setup_secondary_clock = vmi_time_ap_init; #endif paravirt_ops.get_scheduled_cycles = vmi...
2007 Apr 18
1
[PATCH 9/10] Vmi timer update.patch
...e = (void *)rel->eip; \ } \ } while (0) - /* * Activate the VMI interface and switch into paravirtualized mode @@ -894,8 +884,8 @@ static inline int __init activate_vmi(vo paravirt_ops.get_wallclock = vmi_get_wallclock; paravirt_ops.set_wallclock = vmi_set_wallclock; #ifdef CONFIG_X86_LOCAL_APIC - paravirt_ops.setup_boot_clock = vmi_timer_setup_boot_alarm; - paravirt_ops.setup_secondary_clock = vmi_timer_setup_secondary_alarm; + paravirt_ops.setup_boot_clock = vmi_time_bsp_init; + paravirt_ops.setup_secondary_clock = vmi_time_ap_init; #endif paravirt_ops.get_scheduled_cycles = vmi...
2007 Apr 18
0
[PATCH 6/6] VMI timer patches
...el/entry.S Thu Dec 14 16:40:16 2006 -0800 @@ -622,6 +622,11 @@ ENTRY(name) \ /* The include is where all of the SMP etc. interrupts come from */ #include "entry_arch.h" +/* This alternate entry is needed because we hijack the apic LVTT */ +#if defined(CONFIG_VMI) && defined(CONFIG_X86_LOCAL_APIC) +BUILD_INTERRUPT(apic_vmi_timer_interrupt,LOCAL_TIMER_VECTOR) +#endif + KPROBE_ENTRY(page_fault) RING0_EC_FRAME pushl $do_page_fault diff -r 77e4058e936b arch/i386/kernel/paravirt.c --- a/arch/i386/kernel/paravirt.c Thu Dec 14 16:40:14 2006 -0800 +++ b/arch/i386/kernel/paravirt.c Thu Dec 14 1...
2007 Apr 18
0
[PATCH 6/6] VMI timer patches
...el/entry.S Thu Dec 14 16:40:16 2006 -0800 @@ -622,6 +622,11 @@ ENTRY(name) \ /* The include is where all of the SMP etc. interrupts come from */ #include "entry_arch.h" +/* This alternate entry is needed because we hijack the apic LVTT */ +#if defined(CONFIG_VMI) && defined(CONFIG_X86_LOCAL_APIC) +BUILD_INTERRUPT(apic_vmi_timer_interrupt,LOCAL_TIMER_VECTOR) +#endif + KPROBE_ENTRY(page_fault) RING0_EC_FRAME pushl $do_page_fault diff -r 77e4058e936b arch/i386/kernel/paravirt.c --- a/arch/i386/kernel/paravirt.c Thu Dec 14 16:40:14 2006 -0800 +++ b/arch/i386/kernel/paravirt.c Thu Dec 14 1...
2007 Apr 18
0
[PATCH 5/5] Vmi timer.patch
...el/entry.S Tue Dec 12 13:53:15 2006 -0800 @@ -622,6 +622,11 @@ ENTRY(name) \ /* The include is where all of the SMP etc. interrupts come from */ #include "entry_arch.h" +/* This alternate entry is needed because we hijack the apic LVTT */ +#if defined(CONFIG_VMI) && defined(CONFIG_X86_LOCAL_APIC) +BUILD_INTERRUPT(apic_vmi_timer_interrupt,LOCAL_TIMER_VECTOR) +#endif + KPROBE_ENTRY(page_fault) RING0_EC_FRAME pushl $do_page_fault diff -r d1ec5a6e3e8c arch/i386/kernel/paravirt.c --- a/arch/i386/kernel/paravirt.c Tue Dec 12 13:53:09 2006 -0800 +++ b/arch/i386/kernel/paravirt.c Tue Dec 12 1...
2007 Apr 18
0
[PATCH 5/5] Vmi timer.patch
...el/entry.S Tue Dec 12 13:53:15 2006 -0800 @@ -622,6 +622,11 @@ ENTRY(name) \ /* The include is where all of the SMP etc. interrupts come from */ #include "entry_arch.h" +/* This alternate entry is needed because we hijack the apic LVTT */ +#if defined(CONFIG_VMI) && defined(CONFIG_X86_LOCAL_APIC) +BUILD_INTERRUPT(apic_vmi_timer_interrupt,LOCAL_TIMER_VECTOR) +#endif + KPROBE_ENTRY(page_fault) RING0_EC_FRAME pushl $do_page_fault diff -r d1ec5a6e3e8c arch/i386/kernel/paravirt.c --- a/arch/i386/kernel/paravirt.c Tue Dec 12 13:53:09 2006 -0800 +++ b/arch/i386/kernel/paravirt.c Tue Dec 12 1...
2015 Nov 17
1
[PATCH] paravirt: remove unused pv_apic_ops structure
...t) { diff --git a/arch/x86/include/asm/paravirt_types.h b/arch/x86/include/asm/paravirt_types.h index 31247b5..b0e603b 100644 --- a/arch/x86/include/asm/paravirt_types.h +++ b/arch/x86/include/asm/paravirt_types.h @@ -215,14 +215,6 @@ struct pv_irq_ops { #endif }; -struct pv_apic_ops { -#ifdef CONFIG_X86_LOCAL_APIC - void (*startup_ipi_hook)(int phys_apicid, - unsigned long start_eip, - unsigned long start_esp); -#endif -}; - struct pv_mmu_ops { unsigned long (*read_cr2)(void); void (*write_cr2)(unsigned long); @@ -354,7 +346,6 @@ struct paravirt_patch_template { struct pv_time_ops pv_time_ops;...
2015 Nov 17
1
[PATCH] paravirt: remove unused pv_apic_ops structure
...t) { diff --git a/arch/x86/include/asm/paravirt_types.h b/arch/x86/include/asm/paravirt_types.h index 31247b5..b0e603b 100644 --- a/arch/x86/include/asm/paravirt_types.h +++ b/arch/x86/include/asm/paravirt_types.h @@ -215,14 +215,6 @@ struct pv_irq_ops { #endif }; -struct pv_apic_ops { -#ifdef CONFIG_X86_LOCAL_APIC - void (*startup_ipi_hook)(int phys_apicid, - unsigned long start_eip, - unsigned long start_esp); -#endif -}; - struct pv_mmu_ops { unsigned long (*read_cr2)(void); void (*write_cr2)(unsigned long); @@ -354,7 +346,6 @@ struct paravirt_patch_template { struct pv_time_ops pv_time_ops;...
2007 Apr 18
0
[PATCH 2/5] Interrupts subarch cleanup.patch
...ate(vector, interrupt[i]); } - /* setup after call gates are initialised (usually add in - * the architecture specific gates) + /* + * setup after interrupt gates are initialised (usually add in + * the architecture specific gates) and initialize controllers */ intr_init_hook(); +#ifdef CONFIG_X86_LOCAL_APIC + apic_intr_init(); +#endif + if (!acpi_ioapic) + setup_irq(2, &cascade_action); /* * Set the clock to HZ Hz, we already have a valid =================================================================== --- a/arch/i386/mach-default/setup.c +++ b/arch/i386/mach-default/setup.c @@ -18,24 +...
2007 Apr 18
0
[PATCH 2/5] Interrupts subarch cleanup.patch
...ate(vector, interrupt[i]); } - /* setup after call gates are initialised (usually add in - * the architecture specific gates) + /* + * setup after interrupt gates are initialised (usually add in + * the architecture specific gates) and initialize controllers */ intr_init_hook(); +#ifdef CONFIG_X86_LOCAL_APIC + apic_intr_init(); +#endif + if (!acpi_ioapic) + setup_irq(2, &cascade_action); /* * Set the clock to HZ Hz, we already have a valid =================================================================== --- a/arch/i386/mach-default/setup.c +++ b/arch/i386/mach-default/setup.c @@ -18,24 +...
2005 Jun 13
2
[PATCH] fix x86_64 initrd support
...} else { + printk(KERN_ERR "initrd extends beyond end of memory " + "(0x%08lx > 0x%08lx)\ndisabling initrd\n", + (unsigned long)(INITRD_START + INITRD_SIZE), + (unsigned long)(end_pfn << PAGE_SHIFT)); + initrd_start = 0; + } + } #endif paging_init(); #ifdef CONFIG_X86_LOCAL_APIC _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2007 Apr 18
0
[RFC, PATCH 23/24] i386 Vmi timer patch
...ate.h> + +#include <asm/timer.h> +#include <asm/io.h> +#include <asm/apic.h> +#include <asm/div64.h> + +#include <vmi_time.h> +#include <mach_timer.h> +#include <mach_apictimer.h> +#include <mach_schedclock.h> +#include <io_ports.h> + +#ifdef CONFIG_X86_LOCAL_APIC +#define VMI_ALARM_WIRING VMI_ALARM_WIRED_LVTT +#else +#define VMI_ALARM_WIRING VMI_ALARM_WIRED_IRQ0 +#endif + +/* Number of alarms per second. By default this is CONFIG_VMI_ALARM_HZ. */ +static int alarm_hz = CONFIG_VMI_ALARM_HZ; + +/* Cache of the value vmi_get_cycle_frequency / HZ. */ +static...
2007 Apr 18
0
[RFC, PATCH 23/24] i386 Vmi timer patch
...ate.h> + +#include <asm/timer.h> +#include <asm/io.h> +#include <asm/apic.h> +#include <asm/div64.h> + +#include <vmi_time.h> +#include <mach_timer.h> +#include <mach_apictimer.h> +#include <mach_schedclock.h> +#include <io_ports.h> + +#ifdef CONFIG_X86_LOCAL_APIC +#define VMI_ALARM_WIRING VMI_ALARM_WIRED_LVTT +#else +#define VMI_ALARM_WIRING VMI_ALARM_WIRED_IRQ0 +#endif + +/* Number of alarms per second. By default this is CONFIG_VMI_ALARM_HZ. */ +static int alarm_hz = CONFIG_VMI_ALARM_HZ; + +/* Cache of the value vmi_get_cycle_frequency / HZ. */ +static...
2007 Apr 18
0
[PATCH 5/9] Paravirt drop udelay op
.../arch/i386/kernel/paravirt.c Tue Feb 27 16:23:56 2007 -0800 +++ b/arch/i386/kernel/paravirt.c Tue Feb 27 16:25:26 2007 -0800 @@ -538,7 +538,6 @@ struct paravirt_ops paravirt_ops = { .set_iopl_mask = native_set_iopl_mask, .io_delay = native_io_delay, - .const_udelay = __const_udelay, #ifdef CONFIG_X86_LOCAL_APIC .apic_write = native_apic_write, diff -r 135d1b73c878 arch/i386/kernel/smpboot.c --- a/arch/i386/kernel/smpboot.c Tue Feb 27 16:23:56 2007 -0800 +++ b/arch/i386/kernel/smpboot.c Tue Feb 27 16:27:16 2007 -0800 @@ -33,11 +33,6 @@ * Dave Jones : Report invalid combinations of Athlon CPUs. * Rus...