search for: reserve_top_address

Displaying 20 results from an estimated 89 matches for "reserve_top_address".

2007 Apr 18
1
[PATCH] Unified lguest launcher
This is a new version of the unified lguest launcher that applies to the current tree. According to rusty's suggestion, I'm bothering less to be able to load 32 bit kernels on 64-bit machines: changing the launcher for such case would be the easy part! In the absence of further objections, I'll commit it. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> -- =
2007 Apr 18
1
[PATCH] Unified lguest launcher
This is a new version of the unified lguest launcher that applies to the current tree. According to rusty's suggestion, I'm bothering less to be able to load 32 bit kernels on 64-bit machines: changing the launcher for such case would be the easy part! In the absence of further objections, I'll commit it. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> -- =
2007 Apr 18
0
[PATCH 2/2] Arch-specific includes
...ree as in Freedom" -------------- next part -------------- --- /dev/null 2007-04-02 15:35:49.510433377 -0300 +++ i386/lguest_defs.h 2007-04-02 16:19:27.000000000 -0300 @@ -0,0 +1,7 @@ +#ifndef _LGUEST_DEFS_H_ +#define _LGUEST_DEFS_H_ + +/* LGUEST_TOP_ADDRESS comes from the Makefile */ +#define RESERVE_TOP_ADDRESS LGUEST_GUEST_TOP - 1024*1024 + +#endif --- /dev/null 2007-04-02 15:35:49.510433377 -0300 +++ x86_64/lguest_defs.h 2007-04-02 16:19:27.000000000 -0300 @@ -0,0 +1,11 @@ +#ifndef _LGUEST_DEFS_H_ +#define _LGUEST_DEFS_H_ + +#include <asm/vsyscall.h> + +/* LGUEST_TOP_ADDRESS comes from the Makefil...
2007 Apr 18
0
[PATCH 2/2] Arch-specific includes
...ree as in Freedom" -------------- next part -------------- --- /dev/null 2007-04-02 15:35:49.510433377 -0300 +++ i386/lguest_defs.h 2007-04-02 16:19:27.000000000 -0300 @@ -0,0 +1,7 @@ +#ifndef _LGUEST_DEFS_H_ +#define _LGUEST_DEFS_H_ + +/* LGUEST_TOP_ADDRESS comes from the Makefile */ +#define RESERVE_TOP_ADDRESS LGUEST_GUEST_TOP - 1024*1024 + +#endif --- /dev/null 2007-04-02 15:35:49.510433377 -0300 +++ x86_64/lguest_defs.h 2007-04-02 16:19:27.000000000 -0300 @@ -0,0 +1,11 @@ +#ifndef _LGUEST_DEFS_H_ +#define _LGUEST_DEFS_H_ + +#include <asm/vsyscall.h> + +/* LGUEST_TOP_ADDRESS comes from the Makefil...
2007 Apr 18
3
[patch] paravirt: VDSO page is essential
...nd disagree with this patch. VDSO is only a problem if (1) the hypervisor wants to reserve the top virtual address space (CONFIG_PARAVIRT=y), and (2) the glibc is old and can't handle a VDSO mapped anywhere but 0xFFFFE000 (CONFIG_COMPAT_VDSO=y). Now, KVM wants to use CONFIG_PARAVIRT=y but not reserve_top_address(), so we should split the config option. Let's not get too excited because we kept it simple. Patch (untested, but fairly simple) below. BTW, I had a patch to do a runtime test (old glibc causes init to assert, then disable vdso and try again): everyone hated it. Signed-off-by: Rusty Russel...
2007 Apr 18
3
[patch] paravirt: VDSO page is essential
...nd disagree with this patch. VDSO is only a problem if (1) the hypervisor wants to reserve the top virtual address space (CONFIG_PARAVIRT=y), and (2) the glibc is old and can't handle a VDSO mapped anywhere but 0xFFFFE000 (CONFIG_COMPAT_VDSO=y). Now, KVM wants to use CONFIG_PARAVIRT=y but not reserve_top_address(), so we should split the config option. Let's not get too excited because we kept it simple. Patch (untested, but fairly simple) below. BTW, I had a patch to do a runtime test (old glibc causes init to assert, then disable vdso and try again): everyone hated it. Signed-off-by: Rusty Russel...
2007 Jun 01
2
lguest problem on boot of guest kernel
...r hardcodeing SIOCBRADDIF - but on the first boot attempt of a guest linux I get: root@darkstar:/usr/src/linux-2.6.21# Documentation/lguest/lguest 64m vmlinux --tunnet=192.168.2.1 --block=../root_fs root=/dev/lgba lguest: unhandled trap 6 at 0xc0117903 (0x0) this should be in "c01178db T reserve_top_address" - any idea what could be wrong ? thx ! hofrat
2007 Jun 01
2
lguest problem on boot of guest kernel
...r hardcodeing SIOCBRADDIF - but on the first boot attempt of a guest linux I get: root@darkstar:/usr/src/linux-2.6.21# Documentation/lguest/lguest 64m vmlinux --tunnet=192.168.2.1 --block=../root_fs root=/dev/lgba lguest: unhandled trap 6 at 0xc0117903 (0x0) this should be in "c01178db T reserve_top_address" - any idea what could be wrong ? thx ! hofrat
2007 Apr 29
1
[PATCH 1/2] lguest: fix up after pda->percpu conversion
...pda(); - load_gdt(&early_gdt_descr); -// asm volatile ("mov %0, %%fs" : : "r" (__KERNEL_PDA) : "memory"); + /* Set up per-cpu descriptor (pointing to master area) */ + asm volatile ("mov %0, %%fs" : : "r" (__KERNEL_DS) : "memory"); reserve_top_address(lguest_data.reserve_mem);
2007 Apr 29
1
[PATCH 1/2] lguest: fix up after pda->percpu conversion
...pda(); - load_gdt(&early_gdt_descr); -// asm volatile ("mov %0, %%fs" : : "r" (__KERNEL_PDA) : "memory"); + /* Set up per-cpu descriptor (pointing to master area) */ + asm volatile ("mov %0, %%fs" : : "r" (__KERNEL_DS) : "memory"); reserve_top_address(lguest_data.reserve_mem);
2007 Apr 18
8
[patch 0/8] Basic infrastructure patches for a paravirtualized kernel
Hi Andrew, This series of patches lays the basic ground work for the paravirtualized kernel patches coming later on. I think this lot is ready for the rough-and-tumble world of the -mm tree. The main change from the last posting is that all the page-table related patches have been moved out, and will be posted separately. Also, the off-by-one in reserving the top of address space has been
2007 Apr 18
8
[patch 0/8] Basic infrastructure patches for a paravirtualized kernel
Hi Andrew, This series of patches lays the basic ground work for the paravirtualized kernel patches coming later on. I think this lot is ready for the rough-and-tumble world of the -mm tree. The main change from the last posting is that all the page-table related patches have been moved out, and will be posted separately. Also, the off-by-one in reserving the top of address space has been
2007 May 06
1
[PATCH 1/3] lguest: 2.6.21-mm1 update: lguest-remove-unnecessary-gdt-load.patch
...nit void lguest_init(void) { @@ -468,7 +465,6 @@ __init void lguest_init(void) /* We use top of mem for initial pagetables. */ init_pg_tables_end = __pa(pg0); - load_gdt(&early_gdt_descr); asm volatile ("mov %0, %%fs" : : "r" (__KERNEL_DS) : "memory"); reserve_top_address(lguest_data.reserve_mem);
2007 May 06
1
[PATCH 1/3] lguest: 2.6.21-mm1 update: lguest-remove-unnecessary-gdt-load.patch
...nit void lguest_init(void) { @@ -468,7 +465,6 @@ __init void lguest_init(void) /* We use top of mem for initial pagetables. */ init_pg_tables_end = __pa(pg0); - load_gdt(&early_gdt_descr); asm volatile ("mov %0, %%fs" : : "r" (__KERNEL_DS) : "memory"); reserve_top_address(lguest_data.reserve_mem);
2007 Apr 18
0
[PATCH 4/5] Vmi.patch
...*/ +#ifdef CONFIG_VMI + vmi_bringup(); +#endif secondary_cpu_init(); preempt_disable(); smp_callin(); diff -r d8711b11c1eb arch/i386/mm/pgtable.c --- a/arch/i386/mm/pgtable.c Tue Dec 12 13:51:06 2006 -0800 +++ b/arch/i386/mm/pgtable.c Tue Dec 12 13:51:13 2006 -0800 @@ -171,6 +171,8 @@ void reserve_top_address(unsigned long r void reserve_top_address(unsigned long reserve) { BUG_ON(fixmaps > 0); + printk(KERN_INFO "Reserving virtual address space above 0x%08x\n", + (int)-reserve); #ifdef CONFIG_COMPAT_VDSO BUG_ON(reserve != 0); #else diff -r d8711b11c1eb include/asm-i386/timer...
2007 Apr 18
0
[PATCH 4/5] Vmi.patch
...*/ +#ifdef CONFIG_VMI + vmi_bringup(); +#endif secondary_cpu_init(); preempt_disable(); smp_callin(); diff -r d8711b11c1eb arch/i386/mm/pgtable.c --- a/arch/i386/mm/pgtable.c Tue Dec 12 13:51:06 2006 -0800 +++ b/arch/i386/mm/pgtable.c Tue Dec 12 13:51:13 2006 -0800 @@ -171,6 +171,8 @@ void reserve_top_address(unsigned long r void reserve_top_address(unsigned long reserve) { BUG_ON(fixmaps > 0); + printk(KERN_INFO "Reserving virtual address space above 0x%08x\n", + (int)-reserve); #ifdef CONFIG_COMPAT_VDSO BUG_ON(reserve != 0); #else diff -r d8711b11c1eb include/asm-i386/timer...
2007 Apr 18
0
[PATCH 5/6] VMI backend for paravirt-ops
...*/ +#ifdef CONFIG_VMI + vmi_bringup(); +#endif secondary_cpu_init(); preempt_disable(); smp_callin(); diff -r d8711b11c1eb arch/i386/mm/pgtable.c --- a/arch/i386/mm/pgtable.c Tue Dec 12 13:51:06 2006 -0800 +++ b/arch/i386/mm/pgtable.c Tue Dec 12 13:51:13 2006 -0800 @@ -171,6 +171,8 @@ void reserve_top_address(unsigned long r void reserve_top_address(unsigned long reserve) { BUG_ON(fixmaps > 0); + printk(KERN_INFO "Reserving virtual address space above 0x%08x\n", + (int)-reserve); #ifdef CONFIG_COMPAT_VDSO BUG_ON(reserve != 0); #else diff -r d8711b11c1eb include/asm-i386/timer...
2007 Apr 18
0
[PATCH 5/6] VMI backend for paravirt-ops
...*/ +#ifdef CONFIG_VMI + vmi_bringup(); +#endif secondary_cpu_init(); preempt_disable(); smp_callin(); diff -r d8711b11c1eb arch/i386/mm/pgtable.c --- a/arch/i386/mm/pgtable.c Tue Dec 12 13:51:06 2006 -0800 +++ b/arch/i386/mm/pgtable.c Tue Dec 12 13:51:13 2006 -0800 @@ -171,6 +171,8 @@ void reserve_top_address(unsigned long r void reserve_top_address(unsigned long reserve) { BUG_ON(fixmaps > 0); + printk(KERN_INFO "Reserving virtual address space above 0x%08x\n", + (int)-reserve); #ifdef CONFIG_COMPAT_VDSO BUG_ON(reserve != 0); #else diff -r d8711b11c1eb include/asm-i386/timer...
2007 Oct 12
10
[PATCH 00/10] REVIEW: Xen patches for 2.6.24
This is my current set of updates to Xen for 2.6.24. This is largely a bugfix set, and a couple of them are also relevent to 2.6.23. These are in the pre-x86 merge form; I'll update them once the merge goes into git. Quick overview: - remove some dead code in arch/i386/mm/init.c - clean up some duplicate includes - when sending an IPI, yield the vcpu if the destination doesn't have
2007 Oct 12
10
[PATCH 00/10] REVIEW: Xen patches for 2.6.24
This is my current set of updates to Xen for 2.6.24. This is largely a bugfix set, and a couple of them are also relevent to 2.6.23. These are in the pre-x86 merge form; I'll update them once the merge goes into git. Quick overview: - remove some dead code in arch/i386/mm/init.c - clean up some duplicate includes - when sending an IPI, yield the vcpu if the destination doesn't have