search for: map_pt_hook

Displaying 15 results from an estimated 15 matches for "map_pt_hook".

2007 Apr 18
1
[PATCH 4/9] Vmi fix highpte
...el/paravirt.c --- a/arch/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 @@...
2007 Apr 18
1
[PATCH 4/9] Vmi fix highpte
...el/paravirt.c --- a/arch/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 @@...
2007 Apr 18
0
[PATCH 8/9] Vmi apic ops.diff
...get_function(VMI_CALL_AllocatePage); + if (vmi_ops.allocate_page) { + paravirt_ops.alloc_pt = vmi_allocate_pt; + paravirt_ops.alloc_pd = vmi_allocate_pd; + paravirt_ops.alloc_pd_clone = vmi_allocate_pd_clone; + } + vmi_ops.release_page = vmi_get_function(VMI_CALL_ReleasePage); - - paravirt_ops.map_pt_hook = vmi_map_pt_hook; - paravirt_ops.alloc_pt = vmi_allocate_pt; - paravirt_ops.alloc_pd = vmi_allocate_pd; - paravirt_ops.alloc_pd_clone = vmi_allocate_pd_clone; - paravirt_ops.release_pt = vmi_release_pt; - paravirt_ops.release_pd = vmi_release_pd; - paravirt_ops.set_pte = vmi_set_pte; - paravirt_op...
2007 Apr 18
0
[PATCH 8/9] Vmi apic ops.diff
...get_function(VMI_CALL_AllocatePage); + if (vmi_ops.allocate_page) { + paravirt_ops.alloc_pt = vmi_allocate_pt; + paravirt_ops.alloc_pd = vmi_allocate_pd; + paravirt_ops.alloc_pd_clone = vmi_allocate_pd_clone; + } + vmi_ops.release_page = vmi_get_function(VMI_CALL_ReleasePage); - - paravirt_ops.map_pt_hook = vmi_map_pt_hook; - paravirt_ops.alloc_pt = vmi_allocate_pt; - paravirt_ops.alloc_pd = vmi_allocate_pd; - paravirt_ops.alloc_pd_clone = vmi_allocate_pd_clone; - paravirt_ops.release_pt = vmi_release_pt; - paravirt_ops.release_pd = vmi_release_pd; - paravirt_ops.set_pte = vmi_set_pte; - paravirt_op...
2007 Apr 18
17
[patch 00/17] paravirt_ops updates
...ived from offset paravirt-fix-clobbers.patch - fix register clobbers for patch sites paravirt-patchable-call-wrappers.patch - wrap paravirt calls for patching paravirt-patch-machinery.patch - common patch machinery paravirt-flush_tlb_others.patch - paravirt hook for cross-cpu tlb flushing revert-map_pt_hook.patch - back out map_pt_hook paravirt-kmap_atomic_pte.patch - add kmap_atomic_pte for highpte paravirt-sched-clock.patch - hook to measure schedulable time Thanks, J --
2007 Apr 18
17
[patch 00/17] paravirt_ops updates
...ived from offset paravirt-fix-clobbers.patch - fix register clobbers for patch sites paravirt-patchable-call-wrappers.patch - wrap paravirt calls for patching paravirt-patch-machinery.patch - common patch machinery paravirt-flush_tlb_others.patch - paravirt hook for cross-cpu tlb flushing revert-map_pt_hook.patch - back out map_pt_hook paravirt-kmap_atomic_pte.patch - add kmap_atomic_pte for highpte paravirt-sched-clock.patch - hook to measure schedulable time Thanks, J --
2007 Apr 18
23
[patch 00/20] paravirt_ops updates
...nt-paravirt_ops.patch Document the paravirt_ops structure itself, the patching mechanism, and other cleanups. paravirt-patch-machinery.patch General patch machinery for use by pv_ops backends to implment patching. paravirt-flush_tlb_others.patch Add a hook for cross-cpu tlb flushing. revert-map_pt_hook.patch Back out the map_pt_hook change. paravirt-kmap_atomic_pte.patch Replace map_pt_hook with kmap_atomic_pte. cleanup-tsc-sched-clock.patch Clean up the tsc-based sched_clock. (I think you already have this.) paravirt-sched-clock.patch Add a hook for sched_clock, so that paravirt_ops bac...
2007 Apr 18
23
[patch 00/20] paravirt_ops updates
...nt-paravirt_ops.patch Document the paravirt_ops structure itself, the patching mechanism, and other cleanups. paravirt-patch-machinery.patch General patch machinery for use by pv_ops backends to implment patching. paravirt-flush_tlb_others.patch Add a hook for cross-cpu tlb flushing. revert-map_pt_hook.patch Back out the map_pt_hook change. paravirt-kmap_atomic_pte.patch Replace map_pt_hook with kmap_atomic_pte. cleanup-tsc-sched-clock.patch Clean up the tsc-based sched_clock. (I think you already have this.) paravirt-sched-clock.patch Add a hook for sched_clock, so that paravirt_ops bac...
2007 Apr 18
0
[PATCH 8/10] Vmi kmap_atomic_pte fix.patch
...TLB | VMI_FLUSH_GLOBAL); + vmi_ops._flush_tlb(VMI_FLUSH_TLB | VMI_FLUSH_GLOBAL); } /* Stub to do nothing at all; used for delays and unimplemented calls */ @@ -345,8 +346,11 @@ static void vmi_check_page_type(u32 pfn, #define vmi_check_page_type(p,t) do { } while (0) #endif -static void vmi_map_pt_hook(int type, pte_t *va, u32 pfn) -{ +#ifdef CONFIG_HIGHPTE +static void *vmi_kmap_atomic_pte(struct page *page, enum km_type type) +{ + void *va = kmap_atomic(page, type); + /* * Internally, the VMI ROM must map virtual addresses to physical * addresses for processing MMU updates. By the time...
2007 Apr 18
0
[PATCH 8/10] Vmi kmap_atomic_pte fix.patch
...TLB | VMI_FLUSH_GLOBAL); + vmi_ops._flush_tlb(VMI_FLUSH_TLB | VMI_FLUSH_GLOBAL); } /* Stub to do nothing at all; used for delays and unimplemented calls */ @@ -345,8 +346,11 @@ static void vmi_check_page_type(u32 pfn, #define vmi_check_page_type(p,t) do { } while (0) #endif -static void vmi_map_pt_hook(int type, pte_t *va, u32 pfn) -{ +#ifdef CONFIG_HIGHPTE +static void *vmi_kmap_atomic_pte(struct page *page, enum km_type type) +{ + void *va = kmap_atomic(page, type); + /* * Internally, the VMI ROM must map virtual addresses to physical * addresses for processing MMU updates. By the time...
2007 Apr 18
34
[patch 00/34] Xen-pv_ops: Xen guest implementation for paravirt_ops interface
Hi Andi, This patch series implements the Linux Xen guest as a paravirt_ops backend. The features in implemented this patch series are: * domU only * UP and SMP guest support (NEW!) * dynamic ticks (NEW!) * writable pagetables, with late pinning/early unpinning (no shadow pagetable support) * supports both PAE and non-PAE modes (non-PAE may be broken at the moment) * xen hvc console
2007 Apr 18
34
[patch 00/34] Xen-pv_ops: Xen guest implementation for paravirt_ops interface
Hi Andi, This patch series implements the Linux Xen guest as a paravirt_ops backend. The features in implemented this patch series are: * domU only * UP and SMP guest support (NEW!) * dynamic ticks (NEW!) * writable pagetables, with late pinning/early unpinning (no shadow pagetable support) * supports both PAE and non-PAE modes (non-PAE may be broken at the moment) * xen hvc console
2007 Apr 18
34
[patch 00/34] Xen-pv_ops: Xen guest implementation for paravirt_ops interface
Hi Andi, This patch series implements the Linux Xen guest as a paravirt_ops backend. The features in implemented this patch series are: * domU only * UP and SMP guest support (NEW!) * dynamic ticks (NEW!) * writable pagetables, with late pinning/early unpinning (no shadow pagetable support) * supports both PAE and non-PAE modes (non-PAE may be broken at the moment) * xen hvc console
2007 Apr 18
31
[PATCH 00/28] Updates for firstfloor paravirt-ops patches
Hi Andi, This is a set of updates for the firstfloor patch queue. Quick rundown: revert-mm-x86_64-mm-account-for-module-percpu-space-separately-from-kernel-percpu.patch separate-module-percpu-space.patch Update the module percpu accounting patch fix-ff-allow-percpu-variables-to-be-page-aligned.patch Make sure the percpu memory allocation is page-aligned
2007 Apr 18
31
[PATCH 00/28] Updates for firstfloor paravirt-ops patches
Hi Andi, This is a set of updates for the firstfloor patch queue. Quick rundown: revert-mm-x86_64-mm-account-for-module-percpu-space-separately-from-kernel-percpu.patch separate-module-percpu-space.patch Update the module percpu accounting patch fix-ff-allow-percpu-variables-to-be-page-aligned.patch Make sure the percpu memory allocation is page-aligned