Re: [uml-devel] [uml:linux-next 2/5] arch/um/os-Linux/skas/process.c:236:19: error: 'NR_CPUS' undeclared here (not in a function)

2017-05-03 Thread Richard Weinberger
Am 04.05.2017 um 03:19 schrieb kbuild test robot: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git linux-next > head: 5b4236e17cc1bd9fa14b2b0c7a4ae632d41f2e20 > commit: 8bba077066d6d0a135b7be1970691522075bf905 [2/5] um: Set number of CPUs > config: um-x86_64_defconfig (attache

[uml-devel] [uml:linux-next 2/5] arch/um/os-Linux/skas/process.c:236:19: error: 'NR_CPUS' undeclared here (not in a function)

2017-05-03 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git linux-next head: 5b4236e17cc1bd9fa14b2b0c7a4ae632d41f2e20 commit: 8bba077066d6d0a135b7be1970691522075bf905 [2/5] um: Set number of CPUs config: um-x86_64_defconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160

Re: [uml-devel] [uml-user] [PATCH] um: Fix _print_addr()

2017-05-03 Thread Richard Weinberger
On Sun, Dec 25, 2016 at 11:11 PM, Richard Weinberger wrote: > Recent changes to printk() broke UML's stack trace > output. Kill the root of the problem by using a single > printk() statement. > > Signed-off-by: Richard Weinberger > --- > arch/um/kernel/sysrq.c | 6 ++ > 1 file changed, 2 ins

Re: [uml-devel] [PATCH v2] um: Set number of CPUs

2017-05-03 Thread Richard Weinberger
On Fri, Mar 3, 2017 at 9:11 AM, Richard Weinberger wrote: > Nikola, > > Am 02.03.2017 um 14:16 schrieb Nikola Kotur: >> Define NR_CPUS required by the timer subsystem. >> >> Fixes this make warning: >> >> scripts/kconfig/conf --oldconfig arch/x86/um/Kconfig >> kernel/time/Kconfig:155:warn

Re: [uml-devel] [PATCH] um: Fix PTRACE_POKEUSER on x86_64

2017-05-03 Thread Richard Weinberger
On Sat, Apr 1, 2017 at 12:41 AM, Richard Weinberger wrote: > This is broken since ever but sadly nobody noticed. > Recent versions of GDB set DR_CONTROL unconditionally and > UML dies due to a heap corruption. It turns out that > the PTRACE_POKEUSER was copy&pasted from i386 and assumes > that add

Re: [uml-devel] [PATCH] um: Include kbuild.h instead of duplicating its macros

2017-05-03 Thread Richard Weinberger
On Mon, Apr 3, 2017 at 9:54 PM, Matthias Kaehlcke wrote: > Signed-off-by: Matthias Kaehlcke > --- > arch/x86/um/shared/sysdep/kernel-offsets.h | 9 + > 1 file changed, 1 insertion(+), 8 deletions(-) > > diff --git a/arch/x86/um/shared/sysdep/kernel-offsets.h > b/arch/x86/um/shared/sysde

Re: [uml-devel] [PATCH] um: Fix to call read_initrd after init_bootmem

2017-05-03 Thread Richard Weinberger
On Thu, Apr 27, 2017 at 5:15 AM, Masami Hiramatsu wrote: > Since read_initrd() invokes alloc_bootmem() for allocating > memory to load initrd image, it must be called after init_bootmem. > > This makes read_initrd() called directly from setup_arch() > after init_bootmem() and mem_total_pages(). >