search for: native_nop

Displaying 20 results from an estimated 49 matches for "native_nop".

2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 01/17] paravirt_ops - core changes
...h> +#include <asm/fixmap.h> +#include <asm/apic.h> +#include <asm/tlbflush.h> +#include <asm/msr.h> +#include <asm/page.h> +#include <asm/pgtable.h> +#include <asm/proto.h> +#include <asm/time.h> +#include <asm/e820.h> + +/* nop stub */ +void native_nop(void) +{ +} + +static void __init default_banner(void) +{ + printk(KERN_INFO "Booting paravirtualized kernel on %s\n", + paravirt_ops.name); +} + +void memory_setup(void) +{ + paravirt_ops.memory_setup(); +} + +void syscall_init(void) +{ + paravirt_ops.syscall_init(); +} + +/* Simp...
2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 01/17] paravirt_ops - core changes
...h> +#include <asm/fixmap.h> +#include <asm/apic.h> +#include <asm/tlbflush.h> +#include <asm/msr.h> +#include <asm/page.h> +#include <asm/pgtable.h> +#include <asm/proto.h> +#include <asm/time.h> +#include <asm/e820.h> + +/* nop stub */ +void native_nop(void) +{ +} + +static void __init default_banner(void) +{ + printk(KERN_INFO "Booting paravirtualized kernel on %s\n", + paravirt_ops.name); +} + +void memory_setup(void) +{ + paravirt_ops.memory_setup(); +} + +void syscall_init(void) +{ + paravirt_ops.syscall_init(); +} + +/* Simp...
2007 Apr 18
0
[PATCH 1/5] Paravirt page alloc.patch
...======================================================= --- a/arch/i386/kernel/paravirt.c +++ b/arch/i386/kernel/paravirt.c @@ -545,6 +545,12 @@ struct paravirt_ops paravirt_ops = { .flush_tlb_kernel = native_flush_tlb_global, .flush_tlb_single = native_flush_tlb_single, + .alloc_pt = (void *)native_nop, + .alloc_pd = (void *)native_nop, + .alloc_pd_clone = (void *)native_nop, + .release_pt = (void *)native_nop, + .release_pd = (void *)native_nop, + .set_pte = native_set_pte, .set_pte_at = native_set_pte_at, .set_pmd = native_set_pmd, =========================================================...
2007 Apr 18
0
[PATCH 1/5] Paravirt page alloc.patch
...======================================================= --- a/arch/i386/kernel/paravirt.c +++ b/arch/i386/kernel/paravirt.c @@ -545,6 +545,12 @@ struct paravirt_ops paravirt_ops = { .flush_tlb_kernel = native_flush_tlb_global, .flush_tlb_single = native_flush_tlb_single, + .alloc_pt = (void *)native_nop, + .alloc_pd = (void *)native_nop, + .alloc_pd_clone = (void *)native_nop, + .release_pt = (void *)native_nop, + .release_pd = (void *)native_nop, + .set_pte = native_set_pte, .set_pte_at = native_set_pte_at, .set_pmd = native_set_pmd, =========================================================...
2007 Apr 18
0
[PATCH 1/6] Page allocation hooks for VMI backend
...======================================================= --- a/arch/i386/kernel/paravirt.c +++ b/arch/i386/kernel/paravirt.c @@ -545,6 +545,12 @@ struct paravirt_ops paravirt_ops = { .flush_tlb_kernel = native_flush_tlb_global, .flush_tlb_single = native_flush_tlb_single, + .alloc_pt = (void *)native_nop, + .alloc_pd = (void *)native_nop, + .alloc_pd_clone = (void *)native_nop, + .release_pt = (void *)native_nop, + .release_pd = (void *)native_nop, + .set_pte = native_set_pte, .set_pte_at = native_set_pte_at, .set_pmd = native_set_pmd, =========================================================...
2007 Apr 18
0
[PATCH 1/6] Page allocation hooks for VMI backend
...======================================================= --- a/arch/i386/kernel/paravirt.c +++ b/arch/i386/kernel/paravirt.c @@ -545,6 +545,12 @@ struct paravirt_ops paravirt_ops = { .flush_tlb_kernel = native_flush_tlb_global, .flush_tlb_single = native_flush_tlb_single, + .alloc_pt = (void *)native_nop, + .alloc_pd = (void *)native_nop, + .alloc_pd_clone = (void *)native_nop, + .release_pt = (void *)native_nop, + .release_pd = (void *)native_nop, + .set_pte = native_set_pte, .set_pte_at = native_set_pte_at, .set_pmd = native_set_pmd, =========================================================...
2007 Apr 18
1
[PATCH 4/9] Vmi fix highpte
...ch/i386/kernel/paravirt.c Tue Feb 27 14:14:34 2007 -0800 +++ b/arch/i386/kernel/paravirt.c Tue Feb 27 14:14:36 2007 -0800 @@ -553,6 +553,8 @@ struct paravirt_ops paravirt_ops = { .flush_tlb_kernel = native_flush_tlb_global, .flush_tlb_single = native_flush_tlb_single, + .map_pt_hook = (void *)native_nop, + .alloc_pt = (void *)native_nop, .alloc_pd = (void *)native_nop, .alloc_pd_clone = (void *)native_nop, diff -r 87bf6b2d338d arch/i386/kernel/vmi.c --- a/arch/i386/kernel/vmi.c Tue Feb 27 14:14:34 2007 -0800 +++ b/arch/i386/kernel/vmi.c Tue Feb 27 16:23:37 2007 -0800 @@ -370,6 +370,24 @@ sta...
2007 Apr 18
1
[PATCH 4/9] Vmi fix highpte
...ch/i386/kernel/paravirt.c Tue Feb 27 14:14:34 2007 -0800 +++ b/arch/i386/kernel/paravirt.c Tue Feb 27 14:14:36 2007 -0800 @@ -553,6 +553,8 @@ struct paravirt_ops paravirt_ops = { .flush_tlb_kernel = native_flush_tlb_global, .flush_tlb_single = native_flush_tlb_single, + .map_pt_hook = (void *)native_nop, + .alloc_pt = (void *)native_nop, .alloc_pd = (void *)native_nop, .alloc_pd_clone = (void *)native_nop, diff -r 87bf6b2d338d arch/i386/kernel/vmi.c --- a/arch/i386/kernel/vmi.c Tue Feb 27 14:14:34 2007 -0800 +++ b/arch/i386/kernel/vmi.c Tue Feb 27 16:23:37 2007 -0800 @@ -370,6 +370,24 @@ sta...
2007 Apr 18
2
[PATCH] x86_64 paravirt_ops port
...h> +#include <asm/delay.h> +#include <asm/fixmap.h> +#include <asm/apic.h> +#include <asm/tlbflush.h> +#include <asm/msr.h> +#include <asm/page.h> +#include <asm/pgtable.h> +#include <asm/time.h> +#include <asm/e820.h> + +/* nop stub */ +void native_nop(void) +{ +} + +static void __init default_banner(void) +{ + printk(KERN_INFO "Booting paravirtualized kernel on %s\n", + paravirt_ops.name); +} + +void memory_setup(void) +{ + paravirt_ops.memory_setup(); +} + +/* Simple instruction patching code. */ +#define DEF_NATIVE(name, code)...
2007 Apr 18
2
[PATCH] x86_64 paravirt_ops port
...h> +#include <asm/delay.h> +#include <asm/fixmap.h> +#include <asm/apic.h> +#include <asm/tlbflush.h> +#include <asm/msr.h> +#include <asm/page.h> +#include <asm/pgtable.h> +#include <asm/time.h> +#include <asm/e820.h> + +/* nop stub */ +void native_nop(void) +{ +} + +static void __init default_banner(void) +{ + printk(KERN_INFO "Booting paravirtualized kernel on %s\n", + paravirt_ops.name); +} + +void memory_setup(void) +{ + paravirt_ops.memory_setup(); +} + +/* Simple instruction patching code. */ +#define DEF_NATIVE(name, code)...
2007 Apr 18
0
[PATCH] paravirt_ops x86_64 , take 2
...{ .name = "bare hardware", .paravirt_enabled = 0, .kernel_rpl = 0, .pgd_alignment = sizeof(pgd_t) * PTRS_PER_PGD, + .swapgs = { + .ret = 0, + .fn = native_swapgs, + }, + .vsyscall_page = &__vsyscall_0, .patch = native_patch, .banner = default_banner, .arch_setup = native_nop, @@ -512,6 +529,7 @@ struct paravirt_ops paravirt_ops = { .read_msr = native_read_msr, .write_msr = native_write_msr, .read_tsc = native_read_tsc, + .read_tscp = native_read_tscp, .read_pmc = native_read_pmc, .load_tr_desc = native_load_tr_desc, .set_ldt = native_set_ldt, @@ -571,7 +589...
2007 Apr 18
0
[PATCH] paravirt_ops x86_64 , take 2
...{ .name = "bare hardware", .paravirt_enabled = 0, .kernel_rpl = 0, .pgd_alignment = sizeof(pgd_t) * PTRS_PER_PGD, + .swapgs = { + .ret = 0, + .fn = native_swapgs, + }, + .vsyscall_page = &__vsyscall_0, .patch = native_patch, .banner = default_banner, .arch_setup = native_nop, @@ -512,6 +529,7 @@ struct paravirt_ops paravirt_ops = { .read_msr = native_read_msr, .write_msr = native_write_msr, .read_tsc = native_read_tsc, + .read_tscp = native_read_tscp, .read_pmc = native_read_pmc, .load_tr_desc = native_load_tr_desc, .set_ldt = native_set_ldt, @@ -571,7 +589...
2007 Apr 18
1
rough sketch of revised patching infrastructure
...a is to make the incremental cost of patching a new hook as small as possible. If a backend wants pure default patch handling, then it can simply call paravirt_patcher with a NULL patch table; this will end up patching calls to be direct calls to the paravirt op, unless the op is NULL or points to native_nop. Otherwise, a backend can set up a patch table to set specific handling for entrypoints, though the default is still to generate a direct call to the op. The patch type is now derived from offsetof(paravirt_ops, op), so that there's no need to maintain a specific enumeration. J ---------...
2007 Apr 18
0
[PATCH 3/5] Paravirt smp.patch
...================================================================== --- a/arch/i386/kernel/paravirt.c +++ b/arch/i386/kernel/paravirt.c @@ -698,5 +698,7 @@ struct paravirt_ops paravirt_ops = { .irq_enable_sysexit = native_irq_enable_sysexit, .iret = native_iret, + + .startup_ipi_hook = (void *)native_nop, }; EXPORT_SYMBOL(paravirt_ops); =================================================================== --- a/arch/i386/kernel/smpboot.c +++ b/arch/i386/kernel/smpboot.c @@ -820,6 +823,11 @@ wakeup_secondary_cpu(int phys_apicid, un num_starts = 2; else num_starts = 0; + +#ifdef CONFIG_PARAVI...
2007 Apr 18
0
[PATCH 3/5] Paravirt smp.patch
...================================================================== --- a/arch/i386/kernel/paravirt.c +++ b/arch/i386/kernel/paravirt.c @@ -698,5 +698,7 @@ struct paravirt_ops paravirt_ops = { .irq_enable_sysexit = native_irq_enable_sysexit, .iret = native_iret, + + .startup_ipi_hook = (void *)native_nop, }; EXPORT_SYMBOL(paravirt_ops); =================================================================== --- a/arch/i386/kernel/smpboot.c +++ b/arch/i386/kernel/smpboot.c @@ -820,6 +823,11 @@ wakeup_secondary_cpu(int phys_apicid, un num_starts = 2; else num_starts = 0; + +#ifdef CONFIG_PARAVI...
2007 Apr 18
1
rough sketch of revised patching infrastructure
...a is to make the incremental cost of patching a new hook as small as possible. If a backend wants pure default patch handling, then it can simply call paravirt_patcher with a NULL patch table; this will end up patching calls to be direct calls to the paravirt op, unless the op is NULL or points to native_nop. Otherwise, a backend can set up a patch table to set specific handling for entrypoints, though the default is still to generate a direct call to the op. The patch type is now derived from offsetof(paravirt_ops, op), so that there's no need to maintain a specific enumeration. J ---------...
2007 Apr 18
0
[PATCH 4/6] SMP boot hook for paravirt
...rt.c --- a/arch/i386/kernel/paravirt.c Thu Dec 14 16:22:03 2006 -0800 +++ b/arch/i386/kernel/paravirt.c Thu Dec 14 16:51:48 2006 -0800 @@ -572,5 +572,7 @@ struct paravirt_ops paravirt_ops = { .irq_enable_sysexit = native_irq_enable_sysexit, .iret = native_iret, + + .startup_ipi_hook = (void *)native_nop, }; EXPORT_SYMBOL(paravirt_ops); diff -r acfb7a15715f arch/i386/kernel/smpboot.c --- a/arch/i386/kernel/smpboot.c Thu Dec 14 16:22:03 2006 -0800 +++ b/arch/i386/kernel/smpboot.c Thu Dec 14 16:51:52 2006 -0800 @@ -831,6 +831,13 @@ wakeup_secondary_cpu(int phys_apicid, un num_starts = 0; /*...
2007 Apr 18
0
[PATCH 4/6] SMP boot hook for paravirt
...rt.c --- a/arch/i386/kernel/paravirt.c Thu Dec 14 16:22:03 2006 -0800 +++ b/arch/i386/kernel/paravirt.c Thu Dec 14 16:51:48 2006 -0800 @@ -572,5 +572,7 @@ struct paravirt_ops paravirt_ops = { .irq_enable_sysexit = native_irq_enable_sysexit, .iret = native_iret, + + .startup_ipi_hook = (void *)native_nop, }; EXPORT_SYMBOL(paravirt_ops); diff -r acfb7a15715f arch/i386/kernel/smpboot.c --- a/arch/i386/kernel/smpboot.c Thu Dec 14 16:22:03 2006 -0800 +++ b/arch/i386/kernel/smpboot.c Thu Dec 14 16:51:52 2006 -0800 @@ -831,6 +831,13 @@ wakeup_secondary_cpu(int phys_apicid, un num_starts = 0; /*...
2007 Apr 18
17
[patch 00/17] paravirt_ops updates
Hi Andi, This series of patches updates paravirt_ops in various ways. Some of the changes are plain cleanups and improvements, and some add some interfaces necessary for Xen. The brief overview: add-MAINTAINERS.patch - obvious remove-CONFIG_DEBUG_PARAVIRT.patch - no longer needed paravirt-nop.patch - mark nop operations consistently paravirt-pte-accessors.patch - operations to pack/unpack
2007 Apr 18
17
[patch 00/17] paravirt_ops updates
Hi Andi, This series of patches updates paravirt_ops in various ways. Some of the changes are plain cleanups and improvements, and some add some interfaces necessary for Xen. The brief overview: add-MAINTAINERS.patch - obvious remove-CONFIG_DEBUG_PARAVIRT.patch - no longer needed paravirt-nop.patch - mark nop operations consistently paravirt-pte-accessors.patch - operations to pack/unpack