[PATCH 8/8] UML - Cover stubs with a VMA

2007-11-16 Thread Jeff Dike
for the range after STUB_END. Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/include/as-layout.h | 19 +--- arch/um/include/common-offsets.h |3 - arch/um/kernel/exec.c|5 +- arch/um/kernel/skas/mmu.c| 86 ++- arch

[PATCH 3/8] UML - Style cleanup

2007-11-16 Thread Jeff Dike
Style fixes in elf-i386.h and arch/um/kernel/mem.c. update the copyright get rid of an emacs formatting comment some formatting fixes inclusion trimming whitespace fixes Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/kernel/mem.c | 86

[PATCH 6/8] UML - Clean up task size calculation

2007-11-16 Thread Jeff Dike
kernel and which may be larger than the address space usable by a UML process, since that has to end on a pgdir boundary, is replaced by CONFIG_TOP_ADDR. STACK_TOP is now TASK_SIZE minus the two stub pages. Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/include/as-layout.h| 15

[PATCH 7/8] UML - add virt_to_pte

2007-11-16 Thread Jeff Dike
Turn um_virt_to_phys into virt_to_pte, cleaning up a horrid interface. It's also made non-static and declared in pgtable.h because it'll be needed when the stubs get a vma. Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/kernel/skas/uaccess.c | 56

[PATCH 0/8] UML - Stub page updates for 2.6.25

2007-11-16 Thread Jeff Dike
These patches are for 2.6.25. They change the code that handles stub pages - a complete description of the patchset is included with the first patch. Jeff -- Work email - jdike at linux dot intel dot com - To unsubscribe from this list: send the line unsubscribe

[PATCH 1/8] UML - Move um_virt_to_phys

2007-11-16 Thread Jeff Dike
This patch: um_virt_to_phys only has one user, so it can be moved to the same file and made static. Its declarations in pgtable.h and ksyms.c are also gone. current_cmd was another apparent user, but it itself isn't used, so it is deleted. Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um

[PATCH 4/8] UML - current.h cleanup

2007-11-16 Thread Jeff Dike
cleanups. Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/kernel/process.c |8 arch/um/sys-i386/signal.c| 18 -- arch/um/sys-x86_64/signal.c |4 ++-- include/asm-um/current.h | 23 ++- include/asm-um/thread_info.h |8

[PATCH 2/8] UML - header untangling

2007-11-16 Thread Jeff Dike
PAGE_SIZE. ObCheckpatchViolationJustification - I'm not adding a typedef; I'm moving mm_segment_t from one place to another. Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/drivers/random.c |1 + arch/um/include/um_uaccess.h |3 ++- arch/um/kernel/mem.c

[PATCH 5/8] UML - Fix page table data sizes

2007-11-16 Thread Jeff Dike
is made when there are physical memory addresses floating around. ObCheckpatchViolationJustification - the new typedef is an alternate definition of pmd_t, which I can't really live without. Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/kernel/mem.c| 17

Re: mm creation/destruction hooks

2007-11-15 Thread Jeff Dike
On Thu, Nov 15, 2007 at 04:22:14PM -0800, Jeremy Fitzhardinge wrote: > activate_mm() does that. Yup, which I realized ~10 seconds after sending mail... Oh well. Jeff -- Work email - jdike at linux dot intel dot com - To unsubscribe from this list: send the line

Re: [PATCH 2/4] UML - Remove unused variables in the context switcher

2007-11-15 Thread Jeff Dike
On Thu, Nov 15, 2007 at 04:15:21PM -0800, Andrew Morton wrote: > I assumed from the above that Karol was the author of this patch. Please > let me know if that was wrong. He is - I forgot the From line... Jeff -- Work email - jdike at linux dot intel dot com -

mm creation/destruction hooks

2007-11-15 Thread Jeff Dike
The changelog for commit d6dd61c831226f9cd7750885da04d360d6455101 says arch_dup_mmap, which is called when a new mmap is created at fork Is there a reason that you're not tracking mm creation in exec? Jeff - To unsubscribe from this list: send the line

Re: EIP is at device_shutdown+0x32/0x60

2007-11-15 Thread Jeff Dike
On Thu, Nov 15, 2007 at 01:44:46AM -0800, Andrew Morton wrote: > Yes, all my test boxes did that - it's what I referred to in the releaee > notes. Greg is pondering the problem - seem he's the only person who > cannot reproduce it ;) UML does it reliably too, in case Greg is still looking for a

Re: EIP is at device_shutdown+0x32/0x60

2007-11-15 Thread Jeff Dike
On Thu, Nov 15, 2007 at 01:44:46AM -0800, Andrew Morton wrote: Yes, all my test boxes did that - it's what I referred to in the releaee notes. Greg is pondering the problem - seem he's the only person who cannot reproduce it ;) UML does it reliably too, in case Greg is still looking for a way

mm creation/destruction hooks

2007-11-15 Thread Jeff Dike
The changelog for commit d6dd61c831226f9cd7750885da04d360d6455101 says arch_dup_mmap, which is called when a new mmap is created at fork Is there a reason that you're not tracking mm creation in exec? Jeff - To unsubscribe from this list: send the line

Re: mm creation/destruction hooks

2007-11-15 Thread Jeff Dike
On Thu, Nov 15, 2007 at 04:22:14PM -0800, Jeremy Fitzhardinge wrote: activate_mm() does that. Yup, which I realized ~10 seconds after sending mail... Oh well. Jeff -- Work email - jdike at linux dot intel dot com - To unsubscribe from this list: send the line

Re: [PATCH 2/4] UML - Remove unused variables in the context switcher

2007-11-15 Thread Jeff Dike
On Thu, Nov 15, 2007 at 04:15:21PM -0800, Andrew Morton wrote: I assumed from the above that Karol was the author of this patch. Please let me know if that was wrong. He is - I forgot the From line... Jeff -- Work email - jdike at linux dot intel dot com - To

[PATCH 2/4] UML - Remove unused variables in the context switcher

2007-11-14 Thread Jeff Dike
-off-by: Karol Swietlicki <[EMAIL PROTECTED]> Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/kernel/process.c | 19 --- arch/um/sys-i386/ptrace.c |6 +++--- arch/um/sys-i386/tls.c|2 +- arch/um/sys-x86_64/syscalls.c |2 +- 4 files

[PATCH 3/4] UML - Convert functions to void

2007-11-14 Thread Jeff Dike
This patch changes a few functions into returning void. The return values were not used anyway, so I think it should not be a problem. Also removed a little leftover bit from TT mode. Signed-off-by: Karol Swietlicki <[EMAIL PROTECTED]> Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>

[PATCH 1/4] UML - Fix build in 2.6.24-rc2-mm1

2007-11-14 Thread Jeff Dike
, and including compiler.h in the kernel case. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/include/common-offsets.h |1 + arch/um/include/init.h |9 + arch/um/sys-i386/bugs.c |4 ++-- include/asm-um/pgtable.h |2 ++ 4 files changed, 14 inse

[PATCH 4/4] UML - Host TLS diagnostics

2007-11-14 Thread Jeff Dike
Add some diagnostics when TLS operations on the host fail. Also spit out more information about the TLS environment on the host at boot time. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/sys-i386/tls.c | 30 +- 1 file changed, 21 insertions

[PATCH 0/4] UML - Four small patches for 2.6.25

2007-11-14 Thread Jeff Dike
More cleanups, plus one to make UML build and run in current -mm. This can all wait for 2.6.25. Jeff -- Work email - jdike at linux dot intel dot com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: uml doesn't work on 2.6.24-rc2

2007-11-14 Thread Jeff Dike
so in -mm. > Never seen anything like this until 2.6.24. Strange... It breaks ptrace on 6-argument system calls made by 32-bit sysenter. Jeff -- Work email - jdike at linux dot intel dot com commit f86f9e6d66027bdcdc9b40c06d431ee53ea0d509 Author: Jeff Dike <

Re: uml doesn't work on 2.6.24-rc2

2007-11-14 Thread Jeff Dike
On Wed, Nov 14, 2007 at 11:35:56AM +0100, Miklos Szeredi wrote: > Note, this is 32bit UML on 64bit host, to complicate matters. So I > think it's not PTRACE_ARCH_PRCTL, but PTRACE_SET_THREAD_AREA. Oh, that changes things. In this case, I believe this problem is fixed by

Re: uml doesn't work on 2.6.24-rc2

2007-11-14 Thread Jeff Dike
On Wed, Nov 14, 2007 at 11:35:56AM +0100, Miklos Szeredi wrote: Note, this is 32bit UML on 64bit host, to complicate matters. So I think it's not PTRACE_ARCH_PRCTL, but PTRACE_SET_THREAD_AREA. Oh, that changes things. In this case, I believe this problem is fixed by

Re: uml doesn't work on 2.6.24-rc2

2007-11-14 Thread Jeff Dike
this until 2.6.24. Strange... It breaks ptrace on 6-argument system calls made by 32-bit sysenter. Jeff -- Work email - jdike at linux dot intel dot com commit f86f9e6d66027bdcdc9b40c06d431ee53ea0d509 Author: Jeff Dike [EMAIL PROTECTED] Date: Wed Nov 7 10:40

[PATCH 4/4] UML - Host TLS diagnostics

2007-11-14 Thread Jeff Dike
Add some diagnostics when TLS operations on the host fail. Also spit out more information about the TLS environment on the host at boot time. Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/sys-i386/tls.c | 30 +- 1 file changed, 21 insertions(+), 9

[PATCH 0/4] UML - Four small patches for 2.6.25

2007-11-14 Thread Jeff Dike
More cleanups, plus one to make UML build and run in current -mm. This can all wait for 2.6.25. Jeff -- Work email - jdike at linux dot intel dot com - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

[PATCH 1/4] UML - Fix build in 2.6.24-rc2-mm1

2007-11-14 Thread Jeff Dike
, and including compiler.h in the kernel case. Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/include/common-offsets.h |1 + arch/um/include/init.h |9 + arch/um/sys-i386/bugs.c |4 ++-- include/asm-um/pgtable.h |2 ++ 4 files changed, 14 insertions

[PATCH 2/4] UML - Remove unused variables in the context switcher

2007-11-14 Thread Jeff Dike
-off-by: Karol Swietlicki [EMAIL PROTECTED] Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/kernel/process.c | 19 --- arch/um/sys-i386/ptrace.c |6 +++--- arch/um/sys-i386/tls.c|2 +- arch/um/sys-x86_64/syscalls.c |2 +- 4 files changed, 13

[PATCH 3/4] UML - Convert functions to void

2007-11-14 Thread Jeff Dike
This patch changes a few functions into returning void. The return values were not used anyway, so I think it should not be a problem. Also removed a little leftover bit from TT mode. Signed-off-by: Karol Swietlicki [EMAIL PROTECTED] Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/include

Re: uml doesn't work on 2.6.24-rc2

2007-11-13 Thread Jeff Dike
On Wed, Nov 14, 2007 at 12:32:43AM +0100, Miklos Szeredi wrote: > UML doesn't run on 2.6.24-rc2 as host (config attached). Guest is > 2.6.23-mm1, but I guess it's irrelevant. 2.6.23 as host was OK. > > When booting there are zillions of lines like this: > > "arch_switch_tls failed, errno =

Re: uml doesn't work on 2.6.24-rc2

2007-11-13 Thread Jeff Dike
On Wed, Nov 14, 2007 at 12:32:43AM +0100, Miklos Szeredi wrote: UML doesn't run on 2.6.24-rc2 as host (config attached). Guest is 2.6.23-mm1, but I guess it's irrelevant. 2.6.23 as host was OK. When booting there are zillions of lines like this: arch_switch_tls failed, errno = EINVAL

[PATCH 0/2] UML - Two for 2.6.24

2007-11-12 Thread Jeff Dike
These two patches are bug fixes which need to get into 2.6.24. Jeff -- Work email - jdike at linux dot intel dot com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

[PATCH 1/2] UML - Fix recvmsg return value checking

2007-11-12 Thread Jeff Dike
Stupid bug - we need to compare the return value of recvmsg to the value of iov_len, not its size. This caused port_helper processes not to be killed on shutdown on x86_64 because the pids weren't being passed out properly. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/os

[PATCH 2/2] UML - Update address space affected by pud_clear

2007-11-12 Thread Jeff Dike
on the host because accesses to it cause no page faults. As a result, ldconfig sees the old config file data. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- include/asm-um/pgtable-3level.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.22/include/asm-um/p

[PATCH 1/2] UML - Fix recvmsg return value checking

2007-11-12 Thread Jeff Dike
Stupid bug - we need to compare the return value of recvmsg to the value of iov_len, not its size. This caused port_helper processes not to be killed on shutdown on x86_64 because the pids weren't being passed out properly. Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/os-Linux/file.c

[PATCH 2/2] UML - Update address space affected by pud_clear

2007-11-12 Thread Jeff Dike
on the host because accesses to it cause no page faults. As a result, ldconfig sees the old config file data. Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- include/asm-um/pgtable-3level.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.22/include/asm-um/pgtable-3level.h

[PATCH 0/2] UML - Two for 2.6.24

2007-11-12 Thread Jeff Dike
These two patches are bug fixes which need to get into 2.6.24. Jeff -- Work email - jdike at linux dot intel dot com - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

[PATCH] UML - Fix symlink loops

2007-11-09 Thread Jeff Dike
[ This should go into 2.6.24 - it's simple enough and people are complaining about this ] symlinks to directories in the non-O= case were lacking -n, which meant that, when the link already existed, a new link pointing at itself was created in the target directory. Signed-off-by: Jeff Dike

[PATCH] UML - Fix symlink loops

2007-11-09 Thread Jeff Dike
[ This should go into 2.6.24 - it's simple enough and people are complaining about this ] symlinks to directories in the non-O= case were lacking -n, which meant that, when the link already existed, a new link pointing at itself was created in the target directory. Signed-off-by: Jeff Dike

Re: [PATCH] x86 - 32-bit ptrace emulation mishandles 6th arg

2007-11-07 Thread Jeff Dike
On Wed, Nov 07, 2007 at 01:12:22PM -0800, Roland McGrath wrote: > Sure has my ACK. > I never really understood why my old patch was not taken 2.5 years ago. Nor I. It's needed. As is your PTRACE_SET_THREAD_INFO patch from yesterday - with these two fixes, I can boot a 32-bit UML on a 64-bit

[PATCH 1/5] UML - Delete some unused headers

2007-11-07 Thread Jeff Dike
Robert Day noticed a few unused headers in UML, so this gets rid of them. Cc: "Robert P. J. Day" <[EMAIL PROTECTED]> Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/include/misc_constants.h |6 -- arch/um/include/signal_kern.h| 22 -

[PATCH 5/5] UML - reconst a parameter

2007-11-07 Thread Jeff Dike
-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/drivers/ubd_kern.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/arch/um/drivers/ubd_kern.c === --- linux-2.6.orig/arch/um/drivers/ubd_kern.c 2007-11

[PATCH 2/5] UML - Allow LFLAGS on command line

2007-11-07 Thread Jeff Dike
Allow LFLAGS to be given to make and have the expected effect. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/Makefile |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: linux-2.6/arch/um/Ma

[PATCH 4/5] UML - Tidy pgtable.h

2007-11-07 Thread Jeff Dike
Large pieces of include/asm/pgtable.h were unused cruft. This uncovered arch/um/kernel/trap.c needing skas.h in order to get ptrace_faultinfo. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/kernel/trap.c|1 include/asm-um/pgtable.h

[PATCH 3/5] UML - Tidy kern_util.h

2007-11-07 Thread Jeff Dike
/tty.c had its inclusions changed, and it needed some style attention, so it got tidied. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/drivers/line.c |1 arch/um/drivers/ssl.c |1 arch/um/drivers/stdio_console.c|1 arch/um/d

[PATCH 0/5] UML - Cleanups for 2.6.25

2007-11-07 Thread Jeff Dike
These are code cleanups for 2.6.25, plus reverting a chunk of an earlier patch which caused a warning I didn't notice at the time. Jeff -- Work email - jdike at linux dot intel dot com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

[PATCH] x86 - 32-bit ptrace emulation mishandles 6th arg

2007-11-07 Thread Jeff Dike
]> Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> Original-Patch-By: Roland McGrath <[EMAIL PROTECTED]> --- arch/x86_64/ia32/ia32entry.S | 19 ++- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/arch/x86/ia32/ia32entry.S b/arch/x86/ia32/ia32entry.S index

[PATCH 1/5] UML - Delete some unused headers

2007-11-07 Thread Jeff Dike
Robert Day noticed a few unused headers in UML, so this gets rid of them. Cc: Robert P. J. Day [EMAIL PROTECTED] Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/include/misc_constants.h |6 -- arch/um/include/signal_kern.h| 22 -- arch/um/include/skas

[PATCH 3/5] UML - Tidy kern_util.h

2007-11-07 Thread Jeff Dike
/tty.c had its inclusions changed, and it needed some style attention, so it got tidied. Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/drivers/line.c |1 arch/um/drivers/ssl.c |1 arch/um/drivers/stdio_console.c|1 arch/um/drivers

[PATCH] x86 - 32-bit ptrace emulation mishandles 6th arg

2007-11-07 Thread Jeff Dike
-by: Jeff Dike [EMAIL PROTECTED] Original-Patch-By: Roland McGrath [EMAIL PROTECTED] --- arch/x86_64/ia32/ia32entry.S | 19 ++- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/arch/x86/ia32/ia32entry.S b/arch/x86/ia32/ia32entry.S index 18b2318..df588f0 100644

[PATCH 0/5] UML - Cleanups for 2.6.25

2007-11-07 Thread Jeff Dike
These are code cleanups for 2.6.25, plus reverting a chunk of an earlier patch which caused a warning I didn't notice at the time. Jeff -- Work email - jdike at linux dot intel dot com - To unsubscribe from this list: send the line unsubscribe linux-kernel in the

[PATCH 5/5] UML - reconst a parameter

2007-11-07 Thread Jeff Dike
-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/drivers/ubd_kern.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/arch/um/drivers/ubd_kern.c === --- linux-2.6.orig/arch/um/drivers/ubd_kern.c 2007-11-07 13:20

[PATCH 4/5] UML - Tidy pgtable.h

2007-11-07 Thread Jeff Dike
Large pieces of include/asm/pgtable.h were unused cruft. This uncovered arch/um/kernel/trap.c needing skas.h in order to get ptrace_faultinfo. Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/kernel/trap.c|1 include/asm-um/pgtable.h | 86

[PATCH 2/5] UML - Allow LFLAGS on command line

2007-11-07 Thread Jeff Dike
Allow LFLAGS to be given to make and have the expected effect. Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/Makefile |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: linux-2.6/arch/um/Makefile

Re: [PATCH] x86 - 32-bit ptrace emulation mishandles 6th arg

2007-11-07 Thread Jeff Dike
On Wed, Nov 07, 2007 at 01:12:22PM -0800, Roland McGrath wrote: Sure has my ACK. I never really understood why my old patch was not taken 2.5 years ago. Nor I. It's needed. As is your PTRACE_SET_THREAD_INFO patch from yesterday - with these two fixes, I can boot a 32-bit UML on a 64-bit

Re: UML defconfig building failed again

2007-11-06 Thread Jeff Dike
On Tue, Nov 06, 2007 at 02:11:43PM +, Al Viro wrote: > Sigh... Kbuild breakage this time... See if %s/\<[AC]FLAGS\>/KBUILD_&/g > in arch/um/Makefile-i386 helps. Yup, this fixes it: [AC]FLAGS -> KBUILD_[AC]FLAGS conversion in Makefile-i386. Signed-off-by: Jeff Dik

Re: UML defconfig building failed again

2007-11-06 Thread Jeff Dike
On Tue, Nov 06, 2007 at 02:11:43PM +, Al Viro wrote: Sigh... Kbuild breakage this time... See if %s/\[AC]FLAGS\/KBUILD_/g in arch/um/Makefile-i386 helps. Yup, this fixes it: [AC]FLAGS - KBUILD_[AC]FLAGS conversion in Makefile-i386. Signed-off-by: Jeff Dike [EMAIL PROTECTED

[PATCH 4/6] UML - Console driver cleanups

2007-11-05 Thread Jeff Dike
Console driver cleanups - Changed an instance of foo = bar + foo to foo += bar Removed checks of tty->stopped - I don't think the low-level driver has any business looking at that Removed an annoying warning Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/u

[PATCH 6/6] UML - Borrow const.h techniques

2007-11-05 Thread Jeff Dike
tants here have to be typed by casting them. So, the relevant parts of const.h are copied here and modified in order to allow the constants to be uncasted in assembly and casted in C. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/include/as-layout.h | 34 +--

[PATCH 0/6] UML - Six for 2.6.25

2007-11-05 Thread Jeff Dike
These six patches are cleanups and can wait until 2.6.25. Jeff -- Work email - jdike at linux dot intel dot com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

[PATCH 3/6] UML - GPROF needs to depend on FRAME_POINTER

2007-11-05 Thread Jeff Dike
From: Karol Swietlicki <[EMAIL PROTECTED]> This is a short Kconfig fix for a problem in User Mode Linux. Frame pointers are required for gprof support to work. Signed-off-by: Karol Swietlicki <[EMAIL PROTECTED]> Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/Kconfig.

[PATCH 2/6] UML - SMP needs to depend on BROKEN for now

2007-11-05 Thread Jeff Dike
SMP still needs to depend on BROKEN for now. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/Kconfig |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Index: linux-2.6/arch/um/Kconfig === --- linux-2.6.ori

[PATCH 1/6] UML - const and other tidying

2007-11-05 Thread Jeff Dike
From: WANG Cong <[EMAIL PROTECTED]> This patch also does some improvements for uml code. Improvements include dropping unnecessary cast, killing some unnecessary code and still some constifying for pointers etc.. Signed-off-by: WANG Cong <[EMAIL PROTECTED]> Signed-off-by: Jeff

[PATCH 5/6] UML - clone.c tidying

2007-11-05 Thread Jeff Dike
clone.c needed some style attention - updated copyright include trimming coding style Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/kernel/skas/clone.c | 32 ++-- 1 file changed, 18 insertions(+), 14 deletions(-) Index: lin

Re: [git Patch] UML: More varied improvements

2007-11-05 Thread Jeff Dike
On Mon, Nov 05, 2007 at 10:14:42PM +0800, WANG Cong wrote: > This patch also does some improvements for uml code. Improvements include > dropping unnecessary cast, killing some unnecessary code and still some > constifying for pointers etc.. Looks good - I'll forward it along.

Re: [git Patch] UML: More varied improvements

2007-11-05 Thread Jeff Dike
On Mon, Nov 05, 2007 at 10:14:42PM +0800, WANG Cong wrote: This patch also does some improvements for uml code. Improvements include dropping unnecessary cast, killing some unnecessary code and still some constifying for pointers etc.. Looks good - I'll forward it along.

[PATCH 5/6] UML - clone.c tidying

2007-11-05 Thread Jeff Dike
clone.c needed some style attention - updated copyright include trimming coding style Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/kernel/skas/clone.c | 32 ++-- 1 file changed, 18 insertions(+), 14 deletions(-) Index: linux-2.6

[PATCH 1/6] UML - const and other tidying

2007-11-05 Thread Jeff Dike
From: WANG Cong [EMAIL PROTECTED] This patch also does some improvements for uml code. Improvements include dropping unnecessary cast, killing some unnecessary code and still some constifying for pointers etc.. Signed-off-by: WANG Cong [EMAIL PROTECTED] Signed-off-by: Jeff Dike [EMAIL PROTECTED

[PATCH 2/6] UML - SMP needs to depend on BROKEN for now

2007-11-05 Thread Jeff Dike
SMP still needs to depend on BROKEN for now. Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/Kconfig |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Index: linux-2.6/arch/um/Kconfig === --- linux-2.6.orig/arch/um

[PATCH 0/6] UML - Six for 2.6.25

2007-11-05 Thread Jeff Dike
These six patches are cleanups and can wait until 2.6.25. Jeff -- Work email - jdike at linux dot intel dot com - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

[PATCH 3/6] UML - GPROF needs to depend on FRAME_POINTER

2007-11-05 Thread Jeff Dike
From: Karol Swietlicki [EMAIL PROTECTED] This is a short Kconfig fix for a problem in User Mode Linux. Frame pointers are required for gprof support to work. Signed-off-by: Karol Swietlicki [EMAIL PROTECTED] Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/Kconfig.debug |2 +- 1 file

[PATCH 4/6] UML - Console driver cleanups

2007-11-05 Thread Jeff Dike
Console driver cleanups - Changed an instance of foo = bar + foo to foo += bar Removed checks of tty-stopped - I don't think the low-level driver has any business looking at that Removed an annoying warning Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/drivers

[PATCH 6/6] UML - Borrow const.h techniques

2007-11-05 Thread Jeff Dike
to be typed by casting them. So, the relevant parts of const.h are copied here and modified in order to allow the constants to be uncasted in assembly and casted in C. Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/include/as-layout.h | 34 +- arch/um/sys

[PATCH 1/6] UML - Fix URLs in Kconfig and help strings

2007-11-02 Thread Jeff Dike
From: Karol Swietlicki <[EMAIL PROTECTED]> This patch updates links which broke during the transition to the new UML website. Signed-off-by: Karol Swietlicki <[EMAIL PROTECTED]> Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/Kconfig |2 +- ar

Re: build failure, missing libvdeplug.h?

2007-11-02 Thread Jeff Dike
On Fri, Nov 02, 2007 at 01:05:59PM +0100, [EMAIL PROTECTED] wrote: > I tried 2.6.24-rc1-git11 with "allmodconfig ARCH=um" today. > > this gave at least two errors - i needed to set CONFIG_SMP=n SMP should depend on BROKEN for now, and I thought it did. > and CONFIG_UML_NET_VDE=n to make it

[PATCH 6/6] UML - get_wchan fixes

2007-11-02 Thread Jeff Dike
and looking for the next non-sched symbol, it now looks for at least one scheduler frame, then returns the first symbol seen above that. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/kernel/process.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) Index:

[PATCH 2/6] UML - Document new ubd flag

2007-11-02 Thread Jeff Dike
The ubd help message didn't document the 'c' flag. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/drivers/ubd_kern.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) Index: linux-2.6/arch/um/drivers/ubd_

[PATCH 5/6] UML - Further bugs.c tidying

2007-11-02 Thread Jeff Dike
because it doesn't handle anything. The caller of arch_handle_signal, relay_signal, does things in a different order. The kernel-mode signal check is now first, which puts everything else together, making things a bit clearer conceptually. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> ---

[PATCH 3/6] UML - Improve detection of host cmov

2007-11-02 Thread Jeff Dike
v void ] Signed-off-by: Karol Swietlicki <[EMAIL PROTECTED]> Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/sys-i386/bugs.c | 41 - 1 file changed, 32 insertions(+), 9 deletions(-) Index: linux-2.6.22/arch/

[PATCH 4/6] UML - Remove now unused code

2007-11-02 Thread Jeff Dike
From: Karol Swietlicki <[EMAIL PROTECTED]> This patch finishes what the previous one started. The code was not used after my first patch, and now can be removed with ease. [ jdike - also deleted the #if 0 lcall stuff ] Signed-off-by: Karol Swietlicki <[EMAIL PROTECTED]> Signed-off-b

[PATCH 0/6] UML - Assorted cleanups and fixes for 2.6.25

2007-11-02 Thread Jeff Dike
These patches are for 2.6.25. There are a couple of documentation fixes, three patches cleaning up the code around host cmov detection, and a fix to the earlier get_wchan patch. Jeff -- Work email - jdike at linux dot intel dot com - To unsubscribe from this

[PATCH 6/6] UML - get_wchan fixes

2007-11-02 Thread Jeff Dike
and looking for the next non-sched symbol, it now looks for at least one scheduler frame, then returns the first symbol seen above that. Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/kernel/process.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) Index: linux-2.6.22

[PATCH 4/6] UML - Remove now unused code

2007-11-02 Thread Jeff Dike
From: Karol Swietlicki [EMAIL PROTECTED] This patch finishes what the previous one started. The code was not used after my first patch, and now can be removed with ease. [ jdike - also deleted the #if 0 lcall stuff ] Signed-off-by: Karol Swietlicki [EMAIL PROTECTED] Signed-off-by: Jeff Dike

[PATCH 0/6] UML - Assorted cleanups and fixes for 2.6.25

2007-11-02 Thread Jeff Dike
These patches are for 2.6.25. There are a couple of documentation fixes, three patches cleaning up the code around host cmov detection, and a fix to the earlier get_wchan patch. Jeff -- Work email - jdike at linux dot intel dot com - To unsubscribe from this

[PATCH 1/6] UML - Fix URLs in Kconfig and help strings

2007-11-02 Thread Jeff Dike
From: Karol Swietlicki [EMAIL PROTECTED] This patch updates links which broke during the transition to the new UML website. Signed-off-by: Karol Swietlicki [EMAIL PROTECTED] Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/Kconfig |2 +- arch/um/Kconfig.char|2

[PATCH 2/6] UML - Document new ubd flag

2007-11-02 Thread Jeff Dike
The ubd help message didn't document the 'c' flag. Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/drivers/ubd_kern.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) Index: linux-2.6/arch/um/drivers/ubd_kern.c

[PATCH 5/6] UML - Further bugs.c tidying

2007-11-02 Thread Jeff Dike
because it doesn't handle anything. The caller of arch_handle_signal, relay_signal, does things in a different order. The kernel-mode signal check is now first, which puts everything else together, making things a bit clearer conceptually. Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um

[PATCH 3/6] UML - Improve detection of host cmov

2007-11-02 Thread Jeff Dike
] Signed-off-by: Karol Swietlicki [EMAIL PROTECTED] Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/sys-i386/bugs.c | 41 - 1 file changed, 32 insertions(+), 9 deletions(-) Index: linux-2.6.22/arch/um/sys-i386/bugs.c

Re: build failure, missing libvdeplug.h?

2007-11-02 Thread Jeff Dike
On Fri, Nov 02, 2007 at 01:05:59PM +0100, [EMAIL PROTECTED] wrote: I tried 2.6.24-rc1-git11 with allmodconfig ARCH=um today. this gave at least two errors - i needed to set CONFIG_SMP=n SMP should depend on BROKEN for now, and I thought it did. and CONFIG_UML_NET_VDE=n to make it compile.

[PATCH 2/4] UML - Fix kernel vs libc symbols clash

2007-11-01 Thread Jeff Dike
commit 2a772652c3971745228a2e40e6575ae594c88365 Author: Jeff Dike <[EMAIL PROTECTED]> Date: Tue Oct 16 01:26:45 2007 -0700 uml: fix an IPV6 libc vs kernel symbol clash On some systems, with IPV6 configured, there is a clash between the kernel's in6addr_any and the one i

[PATCH 1/4] UML - Stop using libc asm/page.h

2007-11-01 Thread Jeff Dike
commit cd56e0945db8a5cd3176dcff2319f9e0c96bcb50 Author: Jeff Dike <[EMAIL PROTECTED]> Date: Tue Oct 16 01:26:44 2007 -0700 uml: stop using libc asm/page.h Remove includes of asm/page.h from libc code. This header seems to be disappearing, and UML doesn't make mu

[PATCH 3/4] UML - stop using libc asm/user.h

2007-11-01 Thread Jeff Dike
commit 08b37a8744252a58766905f29b354a0e611dbdf4 Author: Jeff Dike <[EMAIL PROTECTED]> Date: Tue Oct 16 01:27:14 2007 -0700 uml: don't use glibc asm/user.h Stop including asm/user.h from libc - it seems to be disappearing from distros. It's replaced with sys/user.h

[PATCH 4/4] UML - kill subprocesses on exit

2007-11-01 Thread Jeff Dike
n user mode linux kernel abort. [ jdike - the kernel process needs to ignore SIGTERM, plus the waitpid/kill loop is needed to make sure that all of our children are dead before the kernel exits ] Signed-off-by: Lepton Wu <[EMAIL PROTECTED]> Signed-off-by: Jeff

[PATCH 3/4] UML - stop using libc asm/user.h

2007-11-01 Thread Jeff Dike
commit 08b37a8744252a58766905f29b354a0e611dbdf4 Author: Jeff Dike [EMAIL PROTECTED] Date: Tue Oct 16 01:27:14 2007 -0700 uml: don't use glibc asm/user.h Stop including asm/user.h from libc - it seems to be disappearing from distros. It's replaced with sys/user.h which defines

[PATCH 4/4] UML - kill subprocesses on exit

2007-11-01 Thread Jeff Dike
mode linux kernel abort. [ jdike - the kernel process needs to ignore SIGTERM, plus the waitpid/kill loop is needed to make sure that all of our children are dead before the kernel exits ] Signed-off-by: Lepton Wu [EMAIL PROTECTED] Signed-off-by: Jeff Dike [EMAIL

[PATCH 1/4] UML - Stop using libc asm/page.h

2007-11-01 Thread Jeff Dike
commit cd56e0945db8a5cd3176dcff2319f9e0c96bcb50 Author: Jeff Dike [EMAIL PROTECTED] Date: Tue Oct 16 01:26:44 2007 -0700 uml: stop using libc asm/page.h Remove includes of asm/page.h from libc code. This header seems to be disappearing, and UML doesn't make much use

[PATCH 2/4] UML - Fix kernel vs libc symbols clash

2007-11-01 Thread Jeff Dike
commit 2a772652c3971745228a2e40e6575ae594c88365 Author: Jeff Dike [EMAIL PROTECTED] Date: Tue Oct 16 01:26:45 2007 -0700 uml: fix an IPV6 libc vs kernel symbol clash On some systems, with IPV6 configured, there is a clash between the kernel's in6addr_any and the one in libc

[PATCH 1/4] UML - Fix spurious IRQ testing

2007-10-31 Thread Jeff Dike
and the request_irq call. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/kernel/irq.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) Index: linux-2.6.22/arch/um/kernel/irq.c === --- linux-2.6.22.orig/a

<    1   2   3   4   5   6   7   8   9   10   >