Re: [uml-devel] [PATCH] um: Fix gcc-plugins dependency

2017-07-07 Thread Richard Weinberger
Thomas, Am 07.07.2017 um 23:10 schrieb Thomas Meyer: > Ensure to build the gcc-plugins for user-offsets.s > > Signed-off-by: Thomas Meyer Please describe the problem what this commit solves. IOW the compiler error. Thanks, //richard

[uml-devel] [PATCH] um: v2: Fix gcc 7 sys/sysmacros.h warning

2017-07-07 Thread Thomas Meyer
Original warning was: arch/um/os-Linux/file.c: In Funktion »os_major«: arch/um/os-Linux/file.c:600:13: Warnung: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly.

[uml-devel] [PATCH] um: v2: Fix FP register size for XSTATE/XSAVE

2017-07-07 Thread Thomas Meyer
Hard code max size. Taken from https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=gdb/common/x86-xstate.h Signed-off-by: Thomas Meyer --- arch/um/os-Linux/skas/process.c | 22 ++ arch/x86/um/os-Linux/registers.c | 16 +++-

Re: [uml-devel] [PATCH] um: v2: Fix FP register size for XSTATE/XSAVE

2017-07-07 Thread Richard Weinberger
Thomas, On Fri, Jul 7, 2017 at 11:01 PM, Thomas Meyer wrote: > Hard code max size. Taken from > https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=gdb/common/x86-xstate.h > > Signed-off-by: Thomas Meyer > --- > arch/um/os-Linux/skas/process.c | 22

Re: [uml-devel] [PATCH 3/3] um: Add kerneldoc for userspace_tramp() and start_userspace()

2017-07-07 Thread Richard Weinberger
On Thu, Jul 6, 2017 at 12:34 AM, Thomas Meyer wrote: > Also use correct function name spelling (stub_segv_handler) for better > grepping > > Signed-off-by: Thomas Meyer > --- > arch/um/os-Linux/skas/process.c | 31 ++- > 1 file

[uml-devel] [PATCH] um: v2: Use generic NOTES macro

2017-07-07 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- arch/um/include/asm/common.lds.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/um/include/asm/common.lds.S b/arch/um/include/asm/common.lds.S index 133055311dce..9e6d5997cfc4 100644 --- a/arch/um/include/asm/common.lds.S

Re: [uml-devel] [PATCH] um: Fix FP register size for XSTATE/XSAVE

2017-07-07 Thread Richard Weinberger
On Thu, Jul 6, 2017 at 11:04 PM, Thomas Meyer wrote: > Hard code max size. Taken from > https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=gdb/common/x86-xstate.h > > Signed-off-by: Thomas Meyer > --- > arch/x86/um/os-Linux/registers.c | 9 - >

Re: [uml-devel] [PATCH] um: Fix FP register size for XSTATE/XSAVE

2017-07-07 Thread Richard Weinberger
On Fri, Jul 7, 2017 at 11:26 AM, Richard Weinberger wrote: > On Thu, Jul 6, 2017 at 11:04 PM, Thomas Meyer wrote: >> Hard code max size. Taken from >> https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=gdb/common/x86-xstate.h >> >>

Re: [uml-devel] [PATCH] um: Fix gcc 7 sys/sysmacros.h warning

2017-07-07 Thread Richard Weinberger
On Thu, Jul 6, 2017 at 10:47 PM, Thomas Meyer wrote: > Signed-off-by: Thomas Meyer When fixing such a problem, always include die compiler warning. This has to wait for -rc2. -- Thanks, //richard

Re: [uml-devel] [PATCH] um: Fix gcc 7 sys/sysmacros.h warning

2017-07-07 Thread Richard Weinberger
Am 07.07.2017 um 12:01 schrieb Thomas Meyer: > Should I resend with warning as v2? Yes, please. Thanks, //richard -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org!

Re: [uml-devel] [PATCH] um: userspace - be more verbose in ptrace set regs error

2017-07-07 Thread Richard Weinberger
On Thu, Jul 6, 2017 at 12:31 AM, Thomas Meyer wrote: > When ptrace fails to set GP/FP regs for the target process, > log the error before crashing the UML kernel. > > Signed-off-by: Thomas Meyer > --- > arch/um/os-Linux/skas/process.c | 10 -- > 1 file

Re: [uml-devel] [PATCH] um: v2: Use generic NOTES macro

2017-07-07 Thread Richard Weinberger
On Fri, Jul 7, 2017 at 11:17 AM, Thomas Meyer wrote: > Signed-off-by: Thomas Meyer > --- > arch/um/include/asm/common.lds.S | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied. -- Thanks, //richard

Re: [uml-devel] [PATCH] um: Fix gcc 7 sys/sysmacros.h warning

2017-07-07 Thread Thomas Meyer
Should I resend with warning as v2?-- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___