Re: [PATCH 0/3] RISC-V: A few build/warning fixes and cleanup

2018-10-31 Thread Fengguang Wu
CC Philip, current kbuild test robot maintainer. On Wed, Oct 31, 2018 at 12:12:21PM -0600, Logan Gunthorpe wrote: On 2018-10-31 11:52 a.m., Olof Johansson wrote: I've migrated machines to a new system and that CI is up and running. Right now the emails don't go anywhere but me, but let me

Re: [PATCH] mm: simplify get_next_ra_size

2018-10-28 Thread Fengguang Wu
Looks good to me, thanks! Reviewed-by: Fengguang Wu On Sun, Oct 28, 2018 at 02:13:26PM +0800, Gao Xiang wrote: It's a trivial simplification for get_next_ra_size and clear enough for humans to understand. It also fixes potential overflow if ra->size(< ra_pages) is too large. Cc: Fen

Re: [PATCH v4.19-rc7] treewide: Replace more open-coded allocation size multiplications

2018-10-06 Thread Fengguang Wu
On Sat, Oct 06, 2018 at 08:51:16AM -0700, Kees Cook wrote: On Sat, Oct 6, 2018 at 1:49 AM, Fengguang Wu wrote: On Fri, Oct 05, 2018 at 08:14:34PM -0700, Joel Fernandes wrote: On Fri, Oct 05, 2018 at 05:22:35PM -0700, Greg KH wrote: And do we have a way to add a rule to 0-day to catch

Re: [PATCH v4.19-rc7] treewide: Replace more open-coded allocation size multiplications

2018-10-06 Thread Fengguang Wu
On Fri, Oct 05, 2018 at 08:14:34PM -0700, Joel Fernandes wrote: On Fri, Oct 05, 2018 at 05:22:35PM -0700, Greg KH wrote: On Fri, Oct 05, 2018 at 05:04:16PM -0700, Kees Cook wrote: > On Fri, Oct 5, 2018 at 4:51 PM, Greg KH wrote: > > On Fri, Oct 05, 2018 at 04:35:59PM -0700, Kees Cook wrote: >

[PATCH] mm: fix __get_user_pages_fast() comment

2018-09-27 Thread Fengguang Wu
mmu_gather_tlb no longer exist. Replace with mmu_table_batch. CC: triv...@kernel.org Signed-off-by: Fengguang Wu --- mm/gup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/gup.c b/mm/gup.c index fc5f98069f4e..69194043ddd4 100644 --- a/mm/gup.c +++ b/mm/gup.c

[PATCH] mm: fix comment typo in inc_tlb_flush_pending()

2018-09-22 Thread Fengguang Wu
CC: triv...@kernel.org Signed-off-by: Fengguang Wu --- include/linux/mm_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h index 27c5446f3deb..d4f99f5f677c 100644 --- a/include/linux/mm_types.h +++ b/include/linux

Re: [RFC][PATCH 1/5] [PATCH 1/5] kvm: register in task_struct

2018-09-04 Thread Fengguang Wu
On Tue, Sep 04, 2018 at 09:43:50AM +0200, Christian Borntraeger wrote: On 09/04/2018 09:15 AM, Fengguang Wu wrote: On Tue, Sep 04, 2018 at 08:37:03AM +0200, Nikita Leshenko wrote: On 4 Sep 2018, at 2:46, Fengguang Wu wrote: Here it goes: diff --git a/include/linux/mm_types.h b/include

Re: [RFC][PATCH 3/5] [PATCH 3/5] kvm-ept-idle: HVA indexed EPT read

2018-09-04 Thread Fengguang Wu
3/5] kvm-ept-idle: HVA indexed EPT read On 1 Sep 2018, at 13:28, Fengguang Wu wrote: +static ssize_t ept_idle_read(struct file *file, char *buf, +size_t count, loff_t *ppos) +{ + struct task_struct *task = file->private_data; + struct ept_idle_ctrl *

Re: [RFC][PATCH 1/5] [PATCH 1/5] kvm: register in task_struct

2018-09-04 Thread Fengguang Wu
On Tue, Sep 04, 2018 at 08:37:03AM +0200, Nikita Leshenko wrote: On 4 Sep 2018, at 2:46, Fengguang Wu wrote: Here it goes: diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h index 99ce070e7dcb..27c5446f3deb 100644 --- a/include/linux/mm_types.h +++ b/include/linux/mm_types.h

Re: [RFC][PATCH 1/5] [PATCH 1/5] kvm: register in task_struct

2018-09-03 Thread Fengguang Wu
On Tue, Sep 04, 2018 at 08:28:18AM +0800, Fengguang Wu wrote: Hi Christian and Nikita, On Mon, Sep 03, 2018 at 06:03:49PM +0200, Christian Borntraeger wrote: On 09/03/2018 04:10 PM, Nikita Leshenko wrote: On September 2, 2018 5:21:15 AM, fengguang...@intel.com wrote: diff --git a/virt/kvm

Re: [RFC][PATCH 1/5] [PATCH 1/5] kvm: register in task_struct

2018-09-03 Thread Fengguang Wu
Hi Christian and Nikita, On Mon, Sep 03, 2018 at 06:03:49PM +0200, Christian Borntraeger wrote: On 09/03/2018 04:10 PM, Nikita Leshenko wrote: On September 2, 2018 5:21:15 AM, fengguang...@intel.com wrote: diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index

Re: [RFC][PATCH 0/5] introduce /proc/PID/idle_bitmap

2018-09-02 Thread Fengguang Wu
Here are the diffstat: arch/x86/kvm/Kconfig| 11 + arch/x86/kvm/Makefile |4 arch/x86/kvm/ept_idle.c | 329 ++ arch/x86/kvm/ept_idle.h | 79 + fs/proc/base.c |2 fs/proc/internal.h |1 fs/proc/task_mmu.c | 63

[RFC][PATCH 2/5] [PATCH 2/5] proc: introduce /proc/PID/idle_bitmap

2018-09-01 Thread Fengguang Wu
: Brendan Gregg Signed-off-by: Fengguang Wu --- fs/proc/base.c | 2 ++ fs/proc/internal.h | 1 + fs/proc/task_mmu.c | 63 ++ 3 files changed, 66 insertions(+) diff --git a/fs/proc/base.c b/fs/proc/base.c index aaffc0c30216..d81322b5b8d2 100644

[RFC][PATCH 3/5] [PATCH 3/5] kvm-ept-idle: HVA indexed EPT read

2018-09-01 Thread Fengguang Wu
able walks. In this manner, we provide uniform interface for both virtual machines and normal processes. The use scenario would be per task/VM working set tracking and migration. Very convenient for applying task/vma and VM granularity policies. Signed-off-by: Peng DongX Signed-off-by: Fengguang Wu ---

[RFC][PATCH 5/5] [PATCH 5/5] kvm-ept-idle: enable module

2018-09-01 Thread Fengguang Wu
Signed-off-by: Fengguang Wu --- arch/x86/kvm/Kconfig | 11 +++ arch/x86/kvm/Makefile | 4 2 files changed, 15 insertions(+) diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig index 1bbec387d289..4c6dec47fac6 100644 --- a/arch/x86/kvm/Kconfig +++ b/arch/x86/kvm/Kconfig

[RFC][PATCH 0/5] introduce /proc/PID/idle_bitmap

2018-09-01 Thread Fengguang Wu
This new /proc/PID/idle_bitmap interface aims to complement the current global /sys/kernel/mm/page_idle/bitmap. To enable efficient user space driven migrations. The pros and cons will be discussed in changelog of "[PATCH] proc: introduce /proc/PID/idle_bitmap". The driving force is to improve

[RFC][PATCH 1/5] [PATCH 1/5] kvm: register in task_struct

2018-09-01 Thread Fengguang Wu
be wasteful for the majority normal tasks. The alternative is to add a flag only, and let it find the corresponding VM in kvm vm_list. Signed-off-by: Fengguang Wu --- include/linux/sched.h | 10 ++ virt/kvm/kvm_main.c | 1 + 2 files changed, 11 insertions(+) diff --git a/include/linux/sched.h

[RFC][PATCH 4/5] [PATCH 4/5] kvm-ept-idle: EPT page table walk for A bits

2018-09-01 Thread Fengguang Wu
on read return value. If that's really a concern, we may use ioctl() instead.. CC: Dave Hansen Signed-off-by: Fengguang Wu --- arch/x86/kvm/ept_idle.c | 211 arch/x86/kvm/ept_idle.h | 55 + 2 files changed, 266 insertions(+) diff --git

Re: [PATCH] printk: inject caller information into the body of message

2018-06-20 Thread Fengguang Wu
On Wed, Jun 20, 2018 at 02:45:25PM +0200, Dmitry Vyukov wrote: On Wed, Jun 20, 2018 at 2:41 PM, Fengguang Wu wrote: On Wed, Jun 20, 2018 at 02:31:51PM +0200, Dmitry Vyukov wrote: On Wed, Jun 20, 2018 at 1:37 PM, Fengguang Wu wrote: On Wed, Jun 20, 2018 at 11:30:05AM +0200, Dmitry Vyukov

Re: [PATCH] printk: inject caller information into the body of message

2018-06-20 Thread Fengguang Wu
On Wed, Jun 20, 2018 at 02:31:51PM +0200, Dmitry Vyukov wrote: On Wed, Jun 20, 2018 at 1:37 PM, Fengguang Wu wrote: On Wed, Jun 20, 2018 at 11:30:05AM +0200, Dmitry Vyukov wrote: On Wed, Jun 20, 2018 at 11:06 AM, Sergey Senozhatsky wrote: Hi Dmitry, On (06/20/18 10:45), Dmitry Vyukov

Re: [PATCH] printk: inject caller information into the body of message

2018-06-20 Thread Fengguang Wu
On Wed, Jun 20, 2018 at 11:30:05AM +0200, Dmitry Vyukov wrote: On Wed, Jun 20, 2018 at 11:06 AM, Sergey Senozhatsky wrote: Hi Dmitry, On (06/20/18 10:45), Dmitry Vyukov wrote: Hi Sergey, What are the visible differences between this patch and Tetsuo's patch? I guess none, and looking at

Re: [Ksummit-discuss] bug-introducing patches

2018-05-14 Thread Fengguang Wu
On Mon, May 14, 2018 at 10:48:03AM +0200, Boris Brezillon wrote: +Fengguang On Mon, 14 May 2018 10:40:10 +0200 Geert Uytterhoeven wrote: Hi Boris, On Mon, May 14, 2018 at 10:34 AM, Boris Brezillon wrote: > On Mon, 14 May 2018 10:29:04

Re: cross-compiling a 64-bit kernel on a 32-bit host

2018-05-10 Thread Fengguang Wu
Hi Josh, CC LKP team. On Thu, May 10, 2018 at 05:36:19PM -0500, Josh Poimboeuf wrote: Hi Fengguang, I occasionally get compilation bug reports from people who are cross-compiling an x86-64 kernel target on an x86-32 host. Any chance the 0-day build bot could test that configuration? I think

Re: [v2] mm: access to uninitialized struct page

2018-05-04 Thread Fengguang Wu
Hi Pavel, FYI here is 0day's bisect result. The attached dmesg has reproduce script at the bottom. [27e2ce5dba4c30db031744c8140675d03d2ae7aa] mm: access to uninitialized struct page git://git.cmpxchg.org/linux-mmotm.git devel-catchup-201805041701 git bisect start

[async_page_fault] PANIC: double fault, error_code: 0x0

2018-05-02 Thread Fengguang Wu
Hello, FYI this happens in mainline kernel 4.17.0-rc3. It at least dates back to v4.16 . It occurs in 2 out of 2 boots. It happens only with CONFIG_IA32_EMULATION enabled. [0.001000] Good, all 261 testcases passed! | [0.001000] - [0.001000] ACPI: Core

Re: [per_cpu_ptr_to_phys] PANIC: early exception 0x0d IP 10:ffffffffa892f15f error 0 cr2 0xffff88001fbff000

2018-05-02 Thread Fengguang Wu
Hi all, On Wed, Apr 18, 2018 at 06:38:25PM -0500, Dennis Zhou wrote: Hi, On Wed, Apr 18, 2018 at 09:55:53PM +0800, Fengguang Wu wrote: Hello, FYI here is a slightly different boot error in mainline kernel 4.17.0-rc1. It also dates back to v4.16 . Now I find 2 more occurrances in v4.15

Re: [crng_reseed] WARNING: inconsistent lock state

2018-04-29 Thread Fengguang Wu
On Sun, Apr 29, 2018 at 03:07:06AM +, Linus Torvalds wrote: On Sat, Apr 28, 2018 at 7:26 PM Fengguang Wu <fengguang...@intel.com> wrote: FYI this happens in mainline kernel 4.17.0-rc2. It looks like a new regression. It occurs in 3 out of 3 boots. There is another "[ 294.

Re: [llc_ui_release] BUG: unable to handle kernel NULL pointer dereference at 0000000000000004

2018-04-29 Thread Fengguang Wu
On Sun, Apr 29, 2018 at 03:30:48AM +, Linus Torvalds wrote: On Sat, Apr 28, 2018 at 7:12 PM Fengguang Wu <fengguang...@intel.com> wrote: FYI this happens in mainline kernel 4.17.0-rc2. It looks like a new regression. It occurs in 5 out of 5 boots. [main] 375 sockets created

Re: ed74ae0342 ("blk-mq: Avoid that a completion can be ignored .."): BUG: kernel hang in test stage

2018-04-28 Thread Fengguang Wu
TIMER Any chance you can try with the newer version? https://github.com/bvanassche/linux/commit/4acd555fa13087 That works! Tested-by: Fengguang Wu <fengguang...@intel.com>

Re: Makefile:636: arch/score/Makefile: No such file or directory

2018-04-26 Thread Fengguang Wu
CC Shun Hao. On Thu, Apr 26, 2018 at 09:15:01AM +0200, Arnd Bergmann wrote: On Thu, Apr 26, 2018 at 4:23 AM, kbuild test robot wrote: Hi Arnd, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head:

Re: [gcov_module_notifier] WARNING: CPU: 0 PID: 155 at mm/slab_common.c:996 kmalloc_slab+0x1f/0x79

2018-04-20 Thread Fengguang Wu
Hi Peter, On Fri, Apr 20, 2018 at 01:08:07PM +0200, Peter Oberparleiter wrote: On 19.04.2018 04:58, Fengguang Wu wrote: FYI this happens in mainline kernel 4.17.0-rc1. It at least dates back to v4.5 . This is likely the result of compiling the kernel with GCC 7 while specifying that gcov

Re: [console_unlock] BUG: KASAN: use-after-scope in console_unlock+0x9cd/0xd10

2018-04-19 Thread Fengguang Wu
On Thu, Apr 19, 2018 at 03:20:50PM +0900, Sergey Senozhatsky wrote: On (04/19/18 08:04), Dmitry Vyukov wrote: [..] We could also make them mutually exclusive in config to prevent people from hitting these false positives again and again. Let's do it. Ard and Kees agreed on making them

Re: [string_selftest_init] watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [swapper/0:1]

2018-04-19 Thread Fengguang Wu
On Thu, Apr 19, 2018 at 08:22:24AM +0200, Geert Uytterhoeven wrote: Hi Fengguang, On Thu, Apr 19, 2018 at 4:50 AM, Fengguang Wu <fengguang...@intel.com> wrote: FYI this happens in mainline kernel 4.17.0-rc1. It dates back to v4.14-rc1 , perhaps since the test was introduced. It occur

Re: WARNING: stack going in the wrong direction? ip=__schedule+0x489/0x830

2018-04-18 Thread Fengguang Wu
On Thu, Apr 19, 2018 at 01:49:41PM +0800, Fengguang Wu wrote: Hello, FYI this warning dates back to v4.16-rc5 . It's rather rare and often happen together with other errors. Sorry, that should be 0day didn't catch this particular WARNING. So it just occasionally show up in the context

d17a1d97dc ("x86/mm/kasan: don't use vmemmap_populate() to initialize shadow"): [ 0.001000] BUG: KASAN: use-after-scope in console_unlock

2018-04-18 Thread Fengguang Wu
On Thu, Apr 19, 2018 at 10:17:57AM +0800, Fengguang Wu wrote: >Hello, > >FYI this happens in mainline kernel 4.17.0-rc1. >It at least dates back to v4.15-rc1 . > >The regression was reported before > > https://lkml.org/lkml/2017/11/30/33 > >Where the las

c9e97a1997 BUG: kernel reboot-without-warning in early-boot stage, last printk: early console in setup code

2018-04-18 Thread Fengguang Wu
On Wed, Apr 18, 2018 at 06:38:25PM -0500, Dennis Zhou wrote: >Hi, > >On Wed, Apr 18, 2018 at 09:55:53PM +0800, Fengguang Wu wrote: >> >> Hello, >> >> FYI here is a slightly different boot error in mainline kernel 4.17.0-rc1. >> It also dates back to v4.1

Re: [cfs_trace_lock_tcd] BUG: unable to handle kernel NULL pointer dereference at 00000050

2018-04-18 Thread Fengguang Wu
Hi James, On Wed, Apr 18, 2018 at 02:59:15PM +0100, James Simmons wrote: Hello, FYI this happens in mainline kernel 4.17.0-rc1. It looks like a new regression. [7.587002] lnet_selftest_init+0x2c4/0x5d9: lnet_selftest_init at

[__cpa_process_fault] CPA: called for zero pte.

2018-04-18 Thread Fengguang Wu
Hello, FYI this happens in mainline kernel 4.17.0-rc1. It's a new regression. [0.00] Memory: 210548K/523752K available (16392K kernel code, 2355K rwdata, 5536K rodata, 2996K init, 21012K bss, 66128K reserved, 0K cma-reserved) [0.00] SLUB: HWalign=64, Order=0-3, MinObjects=0,

[per_cpu_ptr_to_phys] PANIC: early exception 0x0d IP 10:ffffffffa892f15f error 0 cr2 0xffff88001fbff000

2018-04-18 Thread Fengguang Wu
Hello, FYI here is a slightly different boot error in mainline kernel 4.17.0-rc1. It also dates back to v4.16 . It occurs in 4 out of 4 boots. [0.00] Built 1 zonelists, mobility grouping on. Total pages: 128873 [0.00] Kernel command line: root=/dev/ram0 hung_task_panic=1 debug

[per_cpu_ptr_to_phys] BUG: unable to handle kernel NULL pointer dereference at 0000000000000000

2018-04-18 Thread Fengguang Wu
Hello, FYI this happens in mainline kernel 4.17.0-rc1. It at least dates back to v4.16 . It occurs in 2 out of 6 boots. [0.00] Built 1 zonelists, mobility grouping on. Total pages: 128869 [0.00] Kernel command line: ip=vm-intel12-yocto-x86_64-2::dhcp root=/dev/ram0

[cfs_trace_lock_tcd] BUG: unable to handle kernel NULL pointer dereference at 00000050

2018-04-18 Thread Fengguang Wu
Hello, FYI this happens in mainline kernel 4.17.0-rc1. It looks like a new regression. It occurs in 5 out of 5 boots. [6.524361] ledtrig-cpu: registered to indicate activity on CPUs [6.527658] NET: Registered protocol family 4 [6.528191] comedi: version 0.7.76 -

Re: [lkp-robot] [bisect done] e71e836f46 [ 17.567570] WARNING: CPU: 0 PID: 1 at arch/x86/include/asm/pgtable.h:540 __change_page_attr_set_clr

2018-04-10 Thread Fengguang Wu
Hi Dave, On Tue, Apr 10, 2018 at 01:59:21PM -0700, Dave Hansen wrote: On 04/09/2018 06:12 PM, kernel test robot wrote: +---+++++ |

Re: [PATCH 05/45] C++: Set compilation as C++ for .c files

2018-04-10 Thread Fengguang Wu
Hi David, On Tue, Apr 10, 2018 at 09:44:14AM +0100, David Howells wrote: Hi Fengguang, There's another kbuild test that's probably worth adding if you don't do it already: create a c++ source file that just #includes all the exported UAPI headers and then try to build it. This should catch

Re: [PATCH 05/45] C++: Set compilation as C++ for .c files

2018-04-03 Thread Fengguang Wu
On Tue, Apr 03, 2018 at 02:16:50PM +0100, David Howells wrote: kbuild test robot wrote: scripts/Makefile.kasan:17: Cannot use CONFIG_KASAN: -fsanitize=kernel-address is not supported by compiler cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but

Re: [PATCH v3] ANDROID: binder: change down_write to down_read

2018-03-29 Thread Fengguang Wu
On Fri, Mar 30, 2018 at 09:37:36AM +0900, Minchan Kim wrote: On Fri, Mar 30, 2018 at 07:42:37AM +0800, kbuild test robot wrote: Hi Minchan, I love your patch! Yet something to improve: Glad to hear. It's first time someone loves my patch. ;-) FYI, that message originates from Linus. :-)

Re: [asm-generic:asm-generic] BUILD SUCCESS 18fd258e74835b40a4f89f11ae933267866cc7af

2018-03-17 Thread Fengguang Wu
Hi Arnd, CC Shun, who maintains the kbuild test code now. On Wed, Mar 14, 2018 at 09:00:59PM +0100, Arnd Bergmann wrote: On Wed, Mar 14, 2018 at 8:34 PM, kbuild test robot wrote: tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git

Re: [linux-stable-rc:linux-4.9.y 6083/6211] warning: __mcount_loc already exists: drivers/net/wireless/intel/iwlwifi/mvm/rx.o

2018-03-04 Thread Fengguang Wu
On Sun, Mar 04, 2018 at 09:29:17AM +0100, Arnd Bergmann wrote: On Sun, Mar 4, 2018 at 7:21 AM, kbuild test robot wrote: tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.9.y head: 85afb4e51ccfdb10f2969b24439ae2887fe0fcff

Re: ERROR: "ia64_delay_loop" [drivers/spi/spi-thunderx.ko] undefined!

2018-03-02 Thread Fengguang Wu
On Thu, Mar 01, 2018 at 04:25:45PM +, Robin Murphy wrote: On 01/03/18 03:18, kbuild test robot wrote: Hi Robin, First bad commit (maybe != root cause): I have to admit I'm slightly intrigued how this commit could possibly appear relevant to the IA64 build at all, let alone to this error

Re: [RFC PATCH tip] x86/acpi: u64_x86_init_noop() can be static

2018-02-21 Thread Fengguang Wu
On Wed, Feb 21, 2018 at 09:51:48AM +0100, Ingo Molnar wrote: * kbuild test robot <fengguang...@intel.com> wrote: Fixes: 62d8b7fba8d3 ("x86/acpi: Add a new x86_init_acpi structure to x86_init_ops") Signed-off-by: Fengguang Wu <fengguang...@intel.com> --- 0 files cha

Re: Kconfig:12: can't open file "arch/powerpc64/Kconfig"

2018-02-11 Thread Fengguang Wu
Hi Masahiro, Sorry it looks like a regression in the robot. CC Shun for looking into this. Thanks, Fengguang On Sun, Feb 11, 2018 at 01:07:32PM +0900, Masahiro Yamada wrote: Hi test robot, 2018-02-11 12:41 GMT+09:00 kbuild test robot : tree:

Re: what trees/branches to test on syzbot

2018-01-18 Thread Fengguang Wu
Hi Dmitry, On Tue, Jan 16, 2018 at 10:58:51AM +0100, Dmitry Vyukov wrote: On Tue, Jan 16, 2018 at 10:45 AM, Guenter Roeck wrote: On Mon, Jan 15, 2018 at 11:51 PM, Dmitry Vyukov wrote: Hello, Several people proposed that linux-next should not be tested

Re: LKML admins (syzbot emails are not delivered)

2018-01-16 Thread Fengguang Wu
On Tue, Jan 16, 2018 at 08:59:36AM +0100, Dmitry Vyukov wrote: On Tue, Jan 16, 2018 at 8:12 AM, Theodore Ts'o wrote: On Mon, Jan 15, 2018 at 10:38:42AM -0600, Eric W. Biederman wrote: Sometimes the branches on linux-next are experimental crap. If someone adds an experimental

arch/c6x/platforms/plldata.c:279:33: error: implicit declaration of function 'get_coreid'; did you mean 'get_order'?

2017-12-25 Thread Fengguang Wu
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 328b4ed93b69a6f2083d52f31a240a09e5de386a commit: 71af2ed5eeea639339e3a1497a0196bab7de4b57 kasan, sched/headers: Remove from date: 9 months ago config: c6x-evmc6472_defconfig (attached as .config)

Re: [linus:master] BUILD REGRESSION d1f854ac240ea3928a99294390048e9b2aa6fa0e

2017-12-25 Thread Fengguang Wu
On Sat, Dec 23, 2017 at 07:33:37PM -0800, Linus Torvalds wrote: On Sat, Dec 23, 2017 at 4:28 PM, kbuild test robot wrote: Regressions in current branch: This looks more like some odd compiler regression than a kernel one. Yeah sorry. We probably should avoid

[PATCH kernel-tests] ignore compiler errors

2017-12-25 Thread Fengguang Wu
ws-bit-field ├── standard-input:Error:displacement-to-undefined-symbol-.L359-overflows-bit-field ├── standard-input:Error:displacement-to-undefined-symbol-.L360-overflows-bit-field ├── standard-input:Error:invalid-operands-for-opcode └── standard-input:Error:missing-operand Signed-off-by:

Re: running leaking_addresses.pl

2017-12-04 Thread Fengguang Wu
Hi Tobin, On Tue, Dec 05, 2017 at 10:36:13AM +1100, Tobin C. Harding wrote: Hi, Recently scripts/leaking_addresses.pl was merged into the mainline with the hope of catching leaking kernel addresses. Would it be in scope for this script to be run by the kbuild test robot? Excuse my very little

Re: [tip:WIP.x86/kpti 50/65] include/linux/compiler.h:319:38: error: call to '__compiletime_assert_321' declared with attribute error: BUILD_BUG_ON failed: MODULES_LEN + KERNEL_IMAGE_SIZE > 2*PUD_SIZE

2017-12-04 Thread Fengguang Wu
On Mon, Dec 04, 2017 at 06:19:34PM +0100, Thomas Gleixner wrote: On Mon, 4 Dec 2017, kbuild test robot wrote: tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/kpti head: c7ddf30cab554658b154ee16ae5e5d577ff530bf commit: 9ebd9d9cdbc90021a5e320fb054cf48c027e6d34

Re: [e1000_shutdown] e1000 0000:00:03.0: disabling already-disabled device

2017-12-04 Thread Fengguang Wu
Hi Tushar, On Tue, Nov 28, 2017 at 01:01:23AM +0530, Tushar Dave wrote: On 11/23/2017 04:43 AM, Fengguang Wu wrote: On Wed, Nov 22, 2017 at 03:40:52AM +0530, Tushar Dave wrote: On 11/21/2017 06:11 PM, Fengguang Wu wrote: Hello, FYI this happens in mainline kernel 4.14.0-01330-g3c07399

Re: [ 0.003333] BUG: KASAN: use-after-scope in console_unlock+0x605/0xcc0

2017-11-30 Thread Fengguang Wu
On Thu, Nov 30, 2017 at 05:29:09PM +0900, Sergey Senozhatsky wrote: On (11/30/17 09:16), Dmitry Vyukov wrote: [..] > to be honest, this backtrace hardly makes any sense to me. > > vprintk_emit() > reserve_standard_io_resources() > __flush_tlb_all() >vprintk_emit() >

Re: dd: page allocation failure: order:0, mode:0x1080020(GFP_ATOMIC), nodemask=(null)

2017-11-30 Thread Fengguang Wu
On Thu, Nov 30, 2017 at 10:08:04PM +0800, Fengguang Wu wrote: [ 78.848629] dd: page allocation failure: order:0, mode:0x1080020(GFP_ATOMIC), nodemask=(null) [ 78.857841] dd cpuset=/ mems_allowed=0-1 [ 78.862502] CPU: 0 PID: 6131 Comm: dd Tainted: G O 4.15.0-rc1 #1

Re: dd: page allocation failure: order:0, mode:0x1080020(GFP_ATOMIC), nodemask=(null)

2017-11-30 Thread Fengguang Wu
[ 78.848629] dd: page allocation failure: order:0, mode:0x1080020(GFP_ATOMIC), nodemask=(null) [ 78.857841] dd cpuset=/ mems_allowed=0-1 [ 78.862502] CPU: 0 PID: 6131 Comm: dd Tainted: G O 4.15.0-rc1 #1 [ 78.870437] Call Trace: [ 78.873610] [ 78.876342]

Re: dd: page allocation failure: order:0, mode:0x1080020(GFP_ATOMIC), nodemask=(null)

2017-11-30 Thread Fengguang Wu
On Thu, Nov 30, 2017 at 02:50:16PM +0100, Michal Hocko wrote: On Thu 30-11-17 21:38:40, Wu Fengguang wrote: Hello, It looks like a regression in 4.15.0-rc1 -- the test case simply run a set of parallel dd's and there seems no reason to run into memory problem. It occurs in 1 out of 4 tests.

[string_selftest_init] watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [swapper:1]

2017-11-30 Thread Fengguang Wu
Hello, FYI this happens in mainline kernel 4.15.0-rc1. It at least dates back to v4.14-rc1 . It occurs in 2 out of 3 boots. [ 107.032959] Asymmetric key parser 'x509' registered [ 107.058214] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) [ 107.078095] io scheduler

Re: [ 0.003333] BUG: KASAN: use-after-scope in console_unlock+0x605/0xcc0

2017-11-30 Thread Fengguang Wu
On Thu, Nov 30, 2017 at 05:29:09PM +0900, Sergey Senozhatsky wrote: On (11/30/17 09:16), Dmitry Vyukov wrote: [..] > to be honest, this backtrace hardly makes any sense to me. > > vprintk_emit() > reserve_standard_io_resources() > __flush_tlb_all() >vprintk_emit() >

02a5c550b2 ("rcu: Abstract extended quiescent state determination"): BUG: kernel reboot-without-warning in test stage

2017-11-29 Thread Fengguang Wu
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 02a5c550b2738f2bfea8e1e00aa75944d71c9e18 Author: Paul E. McKenney AuthorDate: Wed Nov 2 17:25:06

Re: [btrfs_mount] general protection fault: 0000 [#1] SMP

2017-11-29 Thread Fengguang Wu
On Wed, Nov 29, 2017 at 06:44:43PM -0800, Linus Torvalds wrote: On Wed, Nov 29, 2017 at 6:38 PM, Nick Terrell wrote: The stack trace looks like the bug fixed by Qu Wenruo: btrfs: Fix wild memory access in compression level parser [1] That fix looks to be included in the

[ 0.003333] BUG: KASAN: use-after-scope in console_unlock+0x605/0xcc0

2017-11-29 Thread Fengguang Wu
Hello, FYI this happens in mainline kernel v4.15-rc1 . It shows up after v4.14 . Bisect is on the way. It occurs in 4 out of 4 boots. [0.00] RCU callback double-/use-after-free debug enabled. [0.00] RCU CPU stall warnings timeout set to 100 (rcu_cpu_stall_timeout). [

Re: [PATCH] PCI: Tone down resource mmap warning

2017-11-29 Thread Fengguang Wu
ktrace. The mmap fails anyway, so the backtrace is mainly for debugging. It seems like overkill now, so reduce this to a dev_info() and remove the backtrace. This was added by b5ff7df3df9e ("Check mapped ranges on sysfs resource files"). Reported-by: Fengguang Wu <fengguang...@in

d17a1d97dc ("x86/mm/kasan: don't use vmemmap_populate() to initialize shadow"): BUG: KASAN: use-after-scope in __drm_mm_interval_first

2017-11-28 Thread Fengguang Wu
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit d17a1d97dc208d664c91cc387ffb752c7f85dc61 Author: Andrey Ryabinin AuthorDate: Wed Nov 15 17:36:35

48a3b0cedb ("x86/entry/64: Create a percpu SYSCALL entry trampoline"): WARNING:at_kernel/locking/lockdep.c:#check_flags

2017-11-28 Thread Fengguang Wu
FYI, we noticed the following commit (built with gcc-6): commit: 48a3b0cedbb099efea7bb977b6cd3728d0b58b38 ("x86/entry/64: Create a percpu SYSCALL entry trampoline") https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git x86/entry_stack in testcase: boot on test machine:

Re: [pcpu] BUG: KASAN: use-after-scope in pcpu_setup_first_chunk+0x1e3b/0x29e2

2017-11-28 Thread Fengguang Wu
Hi Dennis, On Mon, Nov 27, 2017 at 03:03:01PM -0600, Dennis Zhou wrote: Hi Fangguang, On Sun, Nov 26, 2017 at 02:31:17PM +0800, Fengguang Wu wrote: Hello, FYI this happens in mainline kernel 4.14.0-13151-g5a78775. This looks like a new regression after 4.14. I have reproduced

Re: [trinity] WARNING: CPU: 0 PID: 515 at drivers/pci/pci-sysfs.c:1224 pci_mmap_resource+0xd6/0x10e

2017-11-28 Thread Fengguang Wu
Hi Dave, On Mon, Nov 27, 2017 at 04:30:01PM -0500, Dave Jones wrote: On Fri, Nov 24, 2017 at 08:11:39AM +0800, Fengguang Wu wrote: > Hello, > > FYI this happens in mainline kernel 4.14.0-12995-g0c86a6b. > It at least dates back to v4.9 . > > I wonder where can we

[x86/mm/kasan] d17a1d97dc: WARNING:at_lib/stackdepot.c:#depot_save_stack

2017-11-26 Thread Fengguang Wu
Hi Andrey, FYI, we noticed the following commit (built with gcc-7): commit: d17a1d97dc208d664c91cc387ffb752c7f85dc61 ("x86/mm/kasan: don't use vmemmap_populate() to initialize shadow") https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master in testcase: trinity

f7dd250789 ("gcc-plugins: structleak: add option to init all vars used as byref args"): BUG: KASAN: use-after-scope in pcpu_setup_first_chunk

2017-11-26 Thread Fengguang Wu
Hi Ard, FYI this commit triggers one new KASAN bug. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit f7dd2507893cc3425d3ffc2369559619960befb0 Author: Ard Biesheuvel AuthorDate: Sun Aug 6 12:06:27 2017 +0100 Commit: Kees Cook

d7be102f29 ("cfg80211: initialize regulatory keys/database later"): kernel BUG at crypto/asymmetric_keys/public_key.c:80!

2017-11-25 Thread Fengguang Wu
FYI, we noticed the following commit (built with gcc-4.8): commit: d7be102f2945a626f55e0501e52bb31ba3e77b81 ("cfg80211: initialize regulatory keys/database later") https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master in testcase: boot on test machine: qemu-system-x86_64

[lib/rbtree,drm/mm] 653c9f9a4d: BUG:kernel_hang_in_boot_stage

2017-11-25 Thread Fengguang Wu
FYI, we noticed the following commit (built with gcc-5): commit: 653c9f9a4dd8037ffc5afbb1040d15566aa8f533 ("lib/rbtree,drm/mm: Add rbtree_replace_node_cached()") git://anongit.freedesktop.org/drm-intel topic/core-for-CI in testcase: boot on test machine: qemu-system-i386 -enable-kvm -smp 2 -m

21729f81ce ("x86/mm: Provide general kernel support for memory encryption"): BUG: kernel reboot-without-warning in early-boot stage, last printk: early console in setup code

2017-11-25 Thread Fengguang Wu
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 21729f81ce8ae76a6995681d40e16f7ce8075db4 Author: Tom Lendacky AuthorDate: Mon Jul 17 16:10:07 2017

06222d856e ("x86/mm/kaiser: Use PCID feature to make user and kernel switches faster"): BUG: kernel hang in boot stage

2017-11-25 Thread Fengguang Wu
Hi Dave, Here are two more error messages for commit https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/mm commit 06222d856e45d727c18665ed37419d653f1dbef5 Author: Dave Hansen AuthorDate: Wed Nov 22 16:35:09 2017 -0800 Commit: Ingo Molnar

Re: [x86/mm/kaiser] a6c70b8b30: WARNING:at_kernel/locking/lockdep.c:#trace_hardirqs_off_caller

2017-11-24 Thread Fengguang Wu
On Fri, Nov 24, 2017 at 03:02:33PM +0100, Ingo Molnar wrote: * kernel test robot wrote: FYI, we noticed the following commit (built with gcc-6): commit: a6c70b8b30bf35045d14e352bfd1eb16aaee906f ("x86/mm/kaiser: Prepare assembly for entry/exit CR3 switching")

Re: [hrtimer_active ^W ata_port_wait_eh] INFO: trying to register non-static key.

2017-11-24 Thread Fengguang Wu
Hi Tejun, On Fri, Nov 24, 2017 at 04:49:52AM -0800, Tejun Heo wrote: Hello, On Wed, Nov 22, 2017 at 03:37:45PM +0100, Thomas Gleixner wrote: [ 33.027134] ata3: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc040 irq 14 [ 33.027138] ata4: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc048 irq

Re: kernel CI: printk loglevels in kernel boot logs?

2017-11-22 Thread Fengguang Wu
On Thu, Nov 23, 2017 at 11:59:57AM +0900, Sergey Senozhatsky wrote: On (11/22/17 20:52), Fengguang Wu wrote: [..] > well, I think that that "consoles_format=syslog" command line parameter > will be enabled only by those who actually want to have it - Fengguang's > build

Re: 492b95e597 ("rcuperf: Set more user-friendly defaults"): WARNING: CPU: 0 PID: 1 at arch/x86/kernel/smp.c:128 native_smp_send_reschedule

2017-11-22 Thread Fengguang Wu
Hi Paul, On Wed, Nov 22, 2017 at 08:37:32PM +0800, Fengguang Wu wrote: Hi Paul, On Tue, Oct 24, 2017 at 06:25:13AM -0700, Paul E. McKenney wrote: On Tue, Oct 24, 2017 at 04:49:52AM +0200, Fengguang Wu wrote: Greetings, 0day kernel testing robot got the below dmesg and the first bad commit

Re: [serial8250_interrupt] RIP: 0010:arch_local_irq_restore+0x2/0x8

2017-11-22 Thread Fengguang Wu
On Thu, Nov 23, 2017 at 07:36:23AM +0800, Fengguang Wu wrote: On Tue, Nov 21, 2017 at 04:39:14PM +0200, Andy Shevchenko wrote: On Tue, 2017-11-21 at 21:31 +0800, Fengguang Wu wrote: On Tue, Nov 21, 2017 at 08:33:57PM +0800, Fengguang Wu wrote: > Hello, > > FYI this happens in mainli

Re: [serial8250_interrupt] RIP: 0010:arch_local_irq_restore+0x2/0x8

2017-11-22 Thread Fengguang Wu
On Tue, Nov 21, 2017 at 04:39:14PM +0200, Andy Shevchenko wrote: On Tue, 2017-11-21 at 21:31 +0800, Fengguang Wu wrote: On Tue, Nov 21, 2017 at 08:33:57PM +0800, Fengguang Wu wrote: > Hello, > > FYI this happens in mainline kernel 4.14.0-02748-gabc36be. > It shows up since v4

Re: [e1000_shutdown] e1000 0000:00:03.0: disabling already-disabled device

2017-11-22 Thread Fengguang Wu
On Wed, Nov 22, 2017 at 03:40:52AM +0530, Tushar Dave wrote: On 11/21/2017 06:11 PM, Fengguang Wu wrote: Hello, FYI this happens in mainline kernel 4.14.0-01330-g3c07399. It happens since 4.13 . It occurs in 3 out of 162 boots. [ 44.637743] advantechwdt: Unexpected close, not stopping

Re: kernel CI: printk loglevels in kernel boot logs?

2017-11-22 Thread Fengguang Wu
On Wed, Nov 22, 2017 at 12:34:48PM +0100, Petr Mladek wrote: On Wed 2017-11-22 11:27:02, Fengguang Wu wrote: [CC LKML for possible printk improvements] On Wed, Nov 22, 2017 at 09:56:10AM +0800, Fengguang Wu wrote: > Hi Kevin, > > On Tue, Nov 21, 2017 at 12:27:48PM -0800, Kevin Hil

Re: kernel CI: printk loglevels in kernel boot logs?

2017-11-22 Thread Fengguang Wu
On Wed, Nov 22, 2017 at 09:38:21PM +0900, Sergey Senozhatsky wrote: On (11/22/17 12:34), Petr Mladek wrote: [..] > > > This is espeically useful when ingesting kernel logs into advanced > > > search/analytics frameworks (I'm playing with and ELK stack: Elastic > > > Search, Logstash, Kibana).

Re: 492b95e597 ("rcuperf: Set more user-friendly defaults"): WARNING: CPU: 0 PID: 1 at arch/x86/kernel/smp.c:128 native_smp_send_reschedule

2017-11-22 Thread Fengguang Wu
Hi Paul, On Tue, Oct 24, 2017 at 06:25:13AM -0700, Paul E. McKenney wrote: On Tue, Oct 24, 2017 at 04:49:52AM +0200, Fengguang Wu wrote: Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

Re: [migration_cpu_stop] WARNING: CPU: 0 PID: 11 at kernel/sched/core.c:1187 set_task_cpu+0x257/0x6b6

2017-11-22 Thread Fengguang Wu
Hi Paul, On Tue, Nov 21, 2017 at 08:13:35AM -0800, Paul E. McKenney wrote: On Tue, Nov 21, 2017 at 09:51:01PM +0800, Fengguang Wu wrote: On Tue, Nov 21, 2017 at 02:34:03PM +0100, Peter Zijlstra wrote: >On Tue, Nov 21, 2017 at 08:04:20PM +0800, Fengguang Wu wrote: >>Hello, >> >

Re: kernel CI: printk loglevels in kernel boot logs?

2017-11-21 Thread Fengguang Wu
[CC LKML for possible printk improvements] On Wed, Nov 22, 2017 at 09:56:10AM +0800, Fengguang Wu wrote: Hi Kevin, On Tue, Nov 21, 2017 at 12:27:48PM -0800, Kevin Hilman wrote: Hi Fenguang, In automated testing, for ease of parsing kernel boot logs (especially separating warnings and errors

Re: [rbtree_test_init] watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [swapper:1]

2017-11-21 Thread Fengguang Wu
On Tue, Nov 21, 2017 at 01:59:13PM -0800, Andrew Morton wrote: On Tue, 21 Nov 2017 19:10:22 +0800 Fengguang Wu <fengguang...@intel.com> wrote: Hello, FYI this happens in mainline kernel 4.14.0-03453-ge37e0ee. It at least dates back to v4.1 . It occurs in 2 out of 2 boots. [ 140.

Re: [migration_cpu_stop] WARNING: CPU: 0 PID: 11 at kernel/sched/core.c:1187 set_task_cpu+0x257/0x6b6

2017-11-21 Thread Fengguang Wu
On Tue, Nov 21, 2017 at 02:34:03PM +0100, Peter Zijlstra wrote: On Tue, Nov 21, 2017 at 08:04:20PM +0800, Fengguang Wu wrote: Hello, FYI this happens in mainline kernel 4.14.0-00902-g43ff2f4. It happens since 4.13. It occurs in 7 out of 36 boots. [ 58.171538] no ifx modem active

Re: [serial8250_interrupt] RIP: 0010:arch_local_irq_restore+0x2/0x8

2017-11-21 Thread Fengguang Wu
On Tue, Nov 21, 2017 at 08:33:57PM +0800, Fengguang Wu wrote: Hello, FYI this happens in mainline kernel 4.14.0-02748-gabc36be. It shows up since v4.13 . Sorry it actually also shows up in 4.10: /pkg/linux/x86_64-rhel-7.2+CONFIG_DEBUG_INFO_REDUCED/gcc-6

Re: [RING_BUFFER_BENCHMARK] INFO: task rb_producer:73 blocked for more than 120 seconds.

2017-11-21 Thread Fengguang Wu
On Tue, Nov 21, 2017 at 08:12:33PM +0800, Fengguang Wu wrote: Hello, FYI this happens in mainline kernel 4.14.0-10087-g8c60969. It happens since 4.11. Sorry it occurs once in 4.10, too. /pkg/linux/i386-randconfig-sb0-10121726/gcc-5/c470abd4fde40ea6a0846a2beab642a578c0b8cd/dmesg-vm-lkp-wsx03

Re: [tracer_init_tracefs] watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [swapper/0:1]

2017-11-21 Thread Fengguang Wu
On Tue, Nov 21, 2017 at 07:07:36PM +0800, Fengguang Wu wrote: Hello, FYI this happens in mainline kernel 4.14.0-03308-g670ffcc. It looks like a new regression after 4.14. Sorry it actually shows up since 4.12. Fengguang

Re: [ata_port_probe] BUG: unable to handle kernel NULL pointer dereference at 0000000000000350

2017-11-21 Thread Fengguang Wu
On Tue, Nov 21, 2017 at 08:09:35PM +0800, Fengguang Wu wrote: Hello, FYI this happens in mainline kernel 4.14.0-00902-g43ff2f4. It looks happen since 4.11. It occurs in 12 out of 108 boots. [ 20.057810] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc0c8 irq 15 [ 20.219346] ata2.01

[rht_deferred_worker] BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 stuck for 62s!

2017-11-21 Thread Fengguang Wu
Hello, FYI this happens in mainline kernel 4.14.0-10859-gcf9b077. It at least dates back to v4.5 . It occurs in 2 out of 2 boots. [ 204.036012] Average test time: 28300548370 [ 204.045272] Testing concurrent rhashtable access from 10 threads [ 206.134970] Writes: Total: 2 Max/Min: 0/0

active bugs in the first week of 4.15 merge window

2017-11-21 Thread Fengguang Wu
Hi Linus, We see the below boot error IDs in 0day testing on your pre-RC1 merge commits. Most of them are not new regressions, and some are known problems that have fixup patches planned for the upcoming -RC1. In this thread, I'll show details and reproduce information for some of them, hoping

Re: [GIT PULL 2/3] ARM: SoC driver updates for 4.15

2017-11-16 Thread Fengguang Wu
On Fri, Nov 17, 2017 at 12:25:12AM +0100, Arnd Bergmann wrote: On Thu, Nov 16, 2017 at 11:29 PM, Linus Torvalds wrote: On Thu, Nov 16, 2017 at 2:02 PM, Arnd Bergmann wrote: ARM: SoC driver updates for v4.15 No. This is completely broken, and I

Re: Adding rseq tree to 0day test bot

2017-11-14 Thread Fengguang Wu
Hi Mathieu, On Tue, Nov 14, 2017 at 11:56:57PM +, Mathieu Desnoyers wrote: Hi Fengguang, Would it be possible to add the "rseq" tree to the 0day bot testing ? Sure, my pleasure! The tree is at: https://git.kernel.org/pub/scm/linux/kernel/git/rseq/linux-rseq.git I don't have any

  1   2   3   4   5   6   7   8   9   10   >