Re: [uml-devel] [PATCH] UML - Add a .note.SuSE section

2007-08-23 Thread Blaisorblade
On mercoledì 22 agosto 2007, Jeff Dike wrote: > On Tue, Aug 21, 2007 at 07:05:53PM +0200, Blaisorblade wrote: > > It's not the first time we hit effects of such bugs, is it? > > I don't remember seeing this before. > > > The .note.ABI-tag fix, time ago, may be about the same problem. > > Are you re

Re: [uml-devel] [PATCH 6/6] UML - Fix hostfs style

2007-08-23 Thread Blaisorblade
On sabato 18 agosto 2007, Satyam Sharma wrote: > On Fri, 17 Aug 2007, Jeff Dike wrote: > > Style fixes in hostfs. > > @@ -328,17 +326,17 @@ int hostfs_readdir(struct file *file, vo > > [...] > > - if(error) break; > > + if (error) break; > > if (error) >

[uml-devel] [PATCH 3/7] UML - ptrace floating point fixes

2007-08-23 Thread Jeff Dike
Handle floating point state better in ptrace. The code now correctly distinguishes between PTRACE_[GS]ETFPREGS and PTRACE_[GS]ETFPXREGS. The FPX requests get handed off to arch-specific code because that's not generic. get_fpregs, set_fpregs, set_fpregs, and set_fpxregs needed real implementation

[uml-devel] [PATCH 2/7] UML - Floating point signal delivery fixes

2007-08-23 Thread Jeff Dike
Handle floating point state in across signals correctly. UML/i386 needs to know whether the host does PTRACE_[GS]ETFPXREGS, so an arch_init_registers hook is added, which on x86_64 does nothing. UML doesn't save and restore floating point registers on kernel entry and exit, so they need to be cop

[uml-devel] [PATCH 7/7] UML - Eliminate floating point state from register file

2007-08-23 Thread Jeff Dike
The floating point fields in the pt_regs register file aren't used, so they are deleted. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> -- arch/um/include/sysdep-i386/ptrace.h |2 -- arch/um/include/sysdep-x86_64/ptrace.h |1 - 2 files changed, 3 deletions(-) Index: linux-2.6.22/arch/um/

[uml-devel] [PATCH 4/7] UML - coredumping floating point fixes

2007-08-23 Thread Jeff Dike
Fix core dumping of floating point state. ELF_CORE_COPY_FPREGS gets a definitions, and as a result, dump_fpu no longer needs to exist. Also, elf_fpregset_t needed a real definition. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> -- arch/um/sys-i386/ptrace.c | 22 -- includ

[uml-devel] [PATCH 0/7] UML - Fixes for 2.6.24

2007-08-23 Thread Jeff Dike
These are for 2.6.24. They are all fixes and cleanups - signal handling, ptrace, and core dump floating point fixes mconsole and sysrq fixes build fixes code cleanup Jeff -- Work email - jdike at linux dot intel dot com ---

[uml-devel] [PATCH 6/7] UML - Style fixes in FP code

2007-08-23 Thread Jeff Dike
Tidy the code affected by the floating point fixes. A bunch of unused stuff is gone, including two sigcontext.c files, which turned out to be entirely unneeded. There are the usual fixes - whitespace and style cleanups copyright updates emacs formatting comments gone

[uml-devel] [PATCH 5/7] UML - Sysrq and mconsole fixes

2007-08-23 Thread Jeff Dike
Fix the passing of printk output back to the mconsole client. The existing code was somewhat confused, accumulating output in a buffer, but writing it out entirely whenever a new chunk was added. This is fixed. The earlier include cleanups caused linux/sysrq.h to not be included - this is fixed

[uml-devel] [PATCH 1/7] UML - Don't use glibc asm/user.h

2007-08-23 Thread Jeff Dike
Stop including asm/user.h from libc - it seems to be disappearing from distros. It's replaced with sys/user.h which defines user_fpregs_struct and user_fpxregs_struct instead of user_i387_struct and struct user_fxsr_struct on i386. As a bonus, on x86_64, I get to dump some stupid typedefs which w

Re: [uml-devel] [PATCH 03/30] um: Don't unnecessarily cast allocation return value in ubd_kern.c

2007-08-23 Thread Jeff Dike
On Fri, Aug 24, 2007 at 01:43:49AM +0200, Jesper Juhl wrote: > vmalloc() returns a void pointer, so casting to (void *) is pretty pointless. Righto, I'll take care of this. Jeff -- Work email - jdike at linux dot intel dot com ---

[uml-devel] [PATCH 03/30] um: Don't unnecessarily cast allocation return value in ubd_kern.c

2007-08-23 Thread Jesper Juhl
vmalloc() returns a void pointer, so casting to (void *) is pretty pointless. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- arch/um/drivers/ubd_kern.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c index 0eabe