Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/0day-ci/linux/commits/Jiri-Pirko/devlink-add-warning-i...
commit 7d172b8be57c2150fa5ce9642b677859aba7aec0
Author: Jiri Pirko <jiri(a)mellanox.com>
AuthorDate: Fri May 3 13:31:53 2019 +0200
Commit: 0day robot <lkp(a)intel.com>
CommitDate: Sat May 4 08:20:50 2019 +0800
devlink: add warning in case driver does not set port type
Prevent misbehavior of drivers who would not set port type for longer
period of time. Drivers should always set port type. Do WARN if that
happens.
Note that it is perfectly fine to temporarily not have the type set,
during initialization and port type change.
Signed-off-by: Jiri Pirko <jiri(a)mellanox.com>
8ef988b914 Merge branch 'NXP-SJA1105-DSA-driver'
7d172b8be5 devlink: add warning in case driver does not set port type
+-------------------------------------------------------+------------+------------+
| | 8ef988b914 | 7d172b8be5 |
+-------------------------------------------------------+------------+------------+
| boot_successes | 208 | 52 |
| boot_failures | 0 | 22 |
| WARNING:at_net/core/devlink.c:#devlink_port_type_warn | 0 | 22 |
| EIP:devlink_port_type_warn | 0 | 22 |
+-------------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp(a)intel.com>
[ 1362.653807] random: get_random_u32 called from arch_rnd+0x43/0x70 with crng_init=0
[ 1362.712594] random: get_random_u32 called from load_elf_binary+0x5d5/0x1bb0 with
crng_init=0
[ 1362.737961] random: get_random_u32 called from arch_align_stack+0x3b/0x50 with
crng_init=0
[ 1363.554081] ------------[ cut here ]------------
[ 1363.591666] Type was not set for devlink port.
[ 1363.592092] WARNING: CPU: 1 PID: 22 at net/core/devlink.c:5396
devlink_port_type_warn+0x35/0x60
[ 1363.655098] CPU: 1 PID: 22 Comm: kworker/1:1 Not tainted 5.1.0-rc7-01593-g7d172b8 #1
[ 1363.685204] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 1363.717647] Workqueue: events devlink_port_type_warn
[ 1363.737700] EIP: devlink_port_type_warn+0x35/0x60
[ 1363.756594] Code: 31 c9 ba 01 00 00 00 b8 68 fe 21 c4 c7 04 24 01 00 00 00 e8 5d 2f 80
fe ff 05 34 fe 77 c4 c7 04 24 2c cb ec c3 e8 ab 1a 6a fe <0f> 0b 31 c9 ba 01 00 00
00 c7 04 24 01 00 00 00 b8 50 fe 21 c4 e8
[ 1363.825423] EAX: 00000022 EBX: 00000000 ECX: 00000000 EDX: 00000000
[ 1363.849565] ESI: db5656d0 EDI: de836780 EBP: de859eec ESP: de859ee8
[ 1363.873774] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 EFLAGS: 00010286
[ 1363.899799] CR0: 80050033 CR2: b7ff5000 CR3: 1ac75000 CR4: 00000690
[ 1363.924128] Call Trace:
[ 1363.935408] process_one_work+0x547/0xb10
[ 1363.952142] ? process_one_work+0x300/0xb10
[ 1363.969801] worker_thread+0x41b/0x790
[ 1363.989184] ? process_one_work+0xb10/0xb10
[ 1364.010823] kthread+0x19d/0x1b0
[ 1364.028625] ? process_one_work+0xb10/0xb10
[ 1364.048304] ? kthread_insert_work_sanity_check+0x190/0x190
[ 1364.071889] ret_from_fork+0x19/0x24
[ 1364.088193] irq event stamp: 29212
[ 1364.103590] hardirqs last enabled at (29211): [<c113b1d5>]
vprintk_emit+0x155/0x430
[ 1364.135574] hardirqs last disabled at (29212): [<c1001d3f>]
trace_hardirqs_off_thunk+0xc/0x10
[ 1364.170605] softirqs last enabled at (29204): [<c308257f>]
__do_softirq+0x68f/0x7f0
[ 1364.204483] softirqs last disabled at (29191): [<c1032cc7>]
do_softirq_own_stack+0x37/0x50
[ 1364.240453] ---[ end trace 96d738dd7cfa4d7d ]---
[ 1364.326527] _warn_unseeded_randomness: 51 callbacks suppressed
# HH:MM RESULT GOOD BAD
GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 17edcb408b8dbef56f640771325d0657c5a59835
37624b58542fb9f2d9a70e6ea006ef8a5f66c30b --
git bisect bad 4d53ea7240d8051ed8a91f453af1e50e154ffc82 # 13:04 B 0 3 19 2
Merge 'linux-review/Bj-rn-T-pel/libbpf-fix-invalid-munmap-call/20190503-030514'
into devel-hourly-2019050416
git bisect good a9587113c61e451a8b589da564b6802f90fa835c # 14:29 G 66 0 3 3
Merge
'linux-review/Kai-Huang/kvm-x86-Fix-L1TF-mitigation-for-shadow-MMU/20190504-020125'
into devel-hourly-2019050416
git bisect bad a970f83bfc7769eb219ee7e38ac6956c43798fbe # 15:20 B 0 2 16 0
Merge
'linux-review/UPDATE-20190430-160954/YueHaibing/net-ethernet-ti-cpsw-Fix-inconsistent-IS_ERR-and-PTR_ERR-in-cpsw_probe/20190430-102018'
into devel-hourly-2019050416
git bisect good 267e87a16af4e68f47cc51041cebc72e0f464388 # 16:47 G 67 0 0 0
Merge 'xfs-linux/for-next' into devel-hourly-2019050416
git bisect bad 194059aff9168c8e00d96bb599b19908bacc1d0f # 17:42 B 0 3 17 0
Merge 'pinctrl/for-next' into devel-hourly-2019050416
git bisect good 516463b981fe67f7a00c4106413aeea6ba93731d # 19:05 G 66 0 0 0
Merge
'linux-review/Dan-Carpenter/net-ll_temac-Fix-an-NULL-vs-IS_ERR-check-in-temac_open/20190504-074417'
into devel-hourly-2019050416
git bisect good 9c115b5c8ffe49a1375ebc1a0fd1b8a590ebdbda # 20:21 G 67 0 0 0
Merge
'linux-review/Jorge-E-Moreira/vsock-virtio-Initialize-core-virtio-vsock-before-registering-the-driver/20190501-123012'
into devel-hourly-2019050416
git bisect good 09fef901ae142362d28d81f6c2f65f89a741d0f5 # 22:54 G 72 0 0 0
Merge 'soc/samsung/dt-2' into devel-hourly-2019050416
git bisect bad b974f5969b18723dfdb66ef8c682cb819e11b844 # 23:41 B 0 1 15 0
Merge
'linux-review/Jiri-Pirko/devlink-add-warning-in-case-driver-does-not-set-port-type/20190504-082048'
into devel-hourly-2019050416
git bisect bad 7d172b8be57c2150fa5ce9642b677859aba7aec0 # 00:25 B 0 2 16 0
devlink: add warning in case driver does not set port type
# first bad commit: [7d172b8be57c2150fa5ce9642b677859aba7aec0] devlink: add warning in
case driver does not set port type
git bisect good 8ef988b914bd449458eb2174febb67b0f137b33c # 02:43 G 200 0 0 0
Merge branch 'NXP-SJA1105-DSA-driver'
# extra tests with debug options
git bisect bad 7d172b8be57c2150fa5ce9642b677859aba7aec0 # 03:35 B 0 1 16 1
devlink: add warning in case driver does not set port type
# extra tests on HEAD of linux-devel/devel-hourly-2019050416
git bisect bad 17edcb408b8dbef56f640771325d0657c5a59835 # 03:35 B 43 7 0 0
0day head guard for 'devel-hourly-2019050416'
# extra tests on tree/branch
linux-review/Jiri-Pirko/devlink-add-warning-in-case-driver-does-not-set-port-type/20190504-082048
git bisect bad 7d172b8be57c2150fa5ce9642b677859aba7aec0 # 03:44 B 52 20 0 0
devlink: add warning in case driver does not set port type
# extra tests with first bad commit reverted
git bisect good f89d0170d51bb86414c84c46a0572e12323b74fc # 05:16 G 82 0 1 1
Revert "devlink: add warning in case driver does not set port type"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation