Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
git://git.collabora.co.uk/git/user/tomeu/linux.git on-demand-probes-v7
commit 4f7c8127d91e752c59ed46f8b894d834740eefac
Author: Tomeu Vizoso <tomeu.vizoso(a)collabora.com>
AuthorDate: Tue Aug 11 10:07:10 2015 +0200
Commit: Tomeu Vizoso <tomeu.vizoso(a)collabora.com>
CommitDate: Fri Sep 11 10:46:01 2015 +0200
of/platform: Point to struct device from device node
When adding platform and AMBA devices, set the device node's device
member to point to it.
This speeds lookups considerably and is safe because we only create one
of these devices for any given device node.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso(a)collabora.com>
Series-changes: 5
- Set the pointer to struct device also for AMBA devices
- Unset the pointer when the device is about to be unregistered
+------------------------------------------------------------+------------+------------+------------+
| | 2405e5d827 | 4f7c8127d9 |
0dd8ca95ba |
+------------------------------------------------------------+------------+------------+------------+
| boot_successes | 63 | 0 | 0
|
| boot_failures | 0 | 56 |
39 |
| WARNING:at_kernel/locking/mutex.c:#__mutex_lock_slowpath() | 0 | 56 |
39 |
| BUG:unable_to_handle_kernel | 0 | 56 |
39 |
| Oops | 0 | 56 |
39 |
| EIP_is_at__mutex_lock_slowpath | 0 | 56 |
39 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 56 |
39 |
| backtrace:of_unittest | 0 | 56 |
39 |
| backtrace:kernel_init_freeable | 0 | 56 |
39 |
+------------------------------------------------------------+------------+------------+------------+
[ 5.674028] /testcase-data/phandle-tests/consumer-a: arguments longer than property
[ 5.675552] irq: no irq domain found for /testcase-data/interrupts/intc0 !
[ 5.678686] ------------[ cut here ]------------
[ 5.679297] WARNING: CPU: 0 PID: 1 at kernel/locking/mutex.c:526
__mutex_lock_slowpath+0xa6/0x28d()
[ 5.680703] DEBUG_LOCKS_WARN_ON(l->magic != l)
[ 5.681326] Modules linked in:
[ 5.681854] CPU: 0 PID: 1 Comm: swapper Not tainted 4.2.0-next-20150911-00004-g4f7c812
#1
[ 5.682942] 00000000 c0057c90 c0057c64 c11197c9 c0057c80 c102c031 0000020e c1327581
[ 5.684028] d6001620 c0060000 c14da480 c0057c98 c102c06e 00000009 c0057c90 c140f4f4
[ 5.685154] c0057cac c0057cd4 c1327581 c1418698 0000020e c140f4f4 c14186d3 c14da480
[ 5.686367] Call Trace:
[ 5.686746] [<c11197c9>] dump_stack+0x16/0x18
[ 5.687408] [<c102c031>] warn_slowpath_common+0x79/0x90
[ 5.688139] [<c1327581>] ? __mutex_lock_slowpath+0xa6/0x28d
[ 5.688916] [<c102c06e>] warn_slowpath_fmt+0x26/0x2a
[ 5.689551] [<c1327581>] __mutex_lock_slowpath+0xa6/0x28d
[ 5.690208] [<c1040902>] ? __might_sleep+0x83/0x8b
[ 5.690821] [<c11c8311>] ? put_device+0xf/0x11
[ 5.691399] [<c1327786>] mutex_lock+0x1e/0x29
[ 5.691940] [<c11cb313>] device_release_driver+0x11/0x23
[ 5.692699] [<c11ca872>] bus_remove_device+0xb1/0xbe
[ 5.693316] [<c11c8aaa>] device_del+0x127/0x18d
[ 5.693891] [<c1328609>] ? _raw_spin_unlock+0x12/0x22
[ 5.694530] [<c1320c48>] ? klist_next+0x73/0x8d
[ 5.695084] [<c11c8313>] ? put_device+0x11/0x11
[ 5.695668] [<c11cc21d>] platform_device_del+0x13/0x52
[ 5.696300] [<c11cc267>] platform_device_unregister+0xb/0x15
[ 5.697009] [<c126d2b6>] of_platform_device_destroy+0x4b/0x67
[ 5.697743] [<c126d5d2>] of_platform_notify+0xa2/0xb6
[ 5.698384] [<c103e1b6>] notifier_call_chain+0x2d/0x46
[ 5.699014] [<c103e3d6>] __blocking_notifier_call_chain+0x2c/0x41
[ 5.699783] [<c103e3f7>] blocking_notifier_call_chain+0xc/0xe
[ 5.700507] [<c126da7d>] of_reconfig_notify+0x11/0x26
[ 5.701119] [<c126dab9>] of_property_notify+0x27/0x29
[ 5.708967] [<c126daf7>] __of_changeset_entry_notify+0x3c/0x8d
[ 5.709715] [<c126ca75>] ? __of_update_property_sysfs+0x2a/0x2e
[ 5.710467] [<c1327450>] ? __mutex_unlock_slowpath+0xc5/0xdb
[ 5.711155] [<c126e0e6>] of_changeset_apply+0x70/0x88
[ 5.711798] [<c1270bf3>] ? of_overlay_apply_one+0xc4/0x1a5
[ 5.712493] [<c1270fb3>] of_overlay_create+0x265/0x2db
[ 5.713125] [<c128f1e6>] of_unittest_apply_overlay+0x51/0xa8
[ 5.713911] [<c128f2fe>] of_unittest_apply_overlay_check+0x61/0xcb
[ 5.714686] [<c152c048>] of_unittest_overlay+0x141/0x792
[ 5.715349] [<c152d250>] of_unittest+0xbb7/0xbe0
[ 5.715927] [<c10aa6c1>] ? kfree+0xc3/0xcc
[ 5.716455] [<c10aa6c1>] ? kfree+0xc3/0xcc
[ 5.716960] [<c1000423>] ? do_one_initcall+0x79/0x145
[ 5.717600] [<c1000423>] ? do_one_initcall+0x79/0x145
[ 5.718216] [<c152c699>] ? of_unittest_overlay+0x792/0x792
[ 5.729154] [<c1000478>] do_one_initcall+0xce/0x145
[ 5.729797] [<c103d382>] ? parse_args+0x192/0x26e
[ 5.730405] [<c1507bd7>] ? kernel_init_freeable+0x11d/0x1b5
[ 5.731085] [<c1507bf7>] kernel_init_freeable+0x13d/0x1b5
[ 5.731768] [<c13224fe>] kernel_init+0x8/0xb0
[ 5.732313] [<c1328a40>] ret_from_kernel_thread+0x20/0x30
[ 5.732991] [<c13224f6>] ? rest_init+0x6f/0x6f
[ 5.733564] ---[ end trace d50f1d4221bfcf41 ]---
[ 5.734121] BUG: unable to handle kernel paging request at 6b6b6b6b
git bisect start 0dd8ca95ba44a0e5dc4b2db016f7acddbe03c0c5
64291f7db5bd8150a74ad2036f1037e6a0428df2 --
git bisect bad 74a7b91cd134ec253a69198c2ec71ce0f269d89b # 00:01 0- 16 Merge
'skn/build_test' into devel-spot-201509111851
git bisect bad ba832512ca50840d0f729bf3972cfd52edb2d0d5 # 00:01 0- 13 Merge
'krzk/defconfig-for-next' into devel-spot-201509111851
git bisect bad 4dcf2e574482399b84b3d934919abad8b832d748 # 00:02 0- 16 Merge
'efi/urgent' into devel-spot-201509111851
git bisect bad f1ef8ad54f2f325d271ff8caa10b160b0c9aeb9f # 00:02 0- 16 Merge
'platform-drivers-x86/testing' into devel-spot-201509111851
git bisect bad c87ebb1bb527d088298b6d114885bb5ef399641e # 00:02 0- 13 Merge
'tomeu/on-demand-probes-v7' into devel-spot-201509111851
git bisect good 191591d4ef5eefd9f2119844625cd97e6a76f005 # 00:04 20+ 0 0day
base guard for 'devel-spot-201509111851'
git bisect good 4c82ac3c37363e8c4ded6a5fe1ec5fa756b34df3 # 00:11 22+ 0
xen-netback: respect user provided max_queues
git bisect good 653ebd75e9e469e99a40ab14128d915386dc78c6 # 00:23 22+ 0 rtc:
pcf2127: use OFS flag to detect unreliable date and warn the user
git bisect good a794b4f3292160bb3fd0f1f90ec8df454e3b17b3 # 00:31 22+ 0 Merge
tag 'for-linus-4.3' of
git://git.code.sf.net/p/openipmi/linux-ipmi
git bisect good a8b6420a012c693415359b23e1f246fc11d30492 # 00:41 20+ 0 Merge
remote-tracking branch 'libata/for-next'
git bisect good 9f045b5f6bc0a97dbbfafedc6d9b49296251afe6 # 00:51 22+ 0 Merge
remote-tracking branch 'extcon/extcon-next'
git bisect good a7631f445c4b080b7873c5832d11a277223809fe # 01:01 22+ 2 Merge
remote-tracking branch 'scsi/for-next'
git bisect good 2b5b7f6899eda1c168de2731951b271d10be2605 # 01:01 21+ 0 Merge
remote-tracking branch 'livepatching/for-next'
git bisect good 3b1670dad7028f8a99cda6fda4dd8e565ff208a3 # 01:12 22+ 0
page-flags: introduce page flags policies wrt compound pages
git bisect good 9311c6028c0295c4b4c065fe7169fcb8226dd126 # 01:17 22+ 2
include/linux/poison.h: use POISON_POINTER_DELTA for poison pointers
git bisect good ce6cd5fd7ed87d6740a9af5fa62e7f0b758f6fb4 # 01:21 22+ 0 Merge
branch 'akpm-current/current'
git bisect bad 4f7c8127d91e752c59ed46f8b894d834740eefac # 01:27 0- 18
of/platform: Point to struct device from device node
git bisect good e9da37cd43049f5133e5953fe4bc9f469ada7153 # 01:35 22+ 0 Add
linux-next specific files for 20150911
git bisect good 577230c27d27539f29a35553f8824ce875da2956 # 01:40 22+ 0 driver
core: Add pre_probe callback to bus_type
git bisect good 2405e5d8273b1e8cfb17c26c2b3da6f9d46c7433 # 01:40 24+ 0 ARM:
amba: Move reading of periphid to pre_probe()
# first bad commit: [4f7c8127d91e752c59ed46f8b894d834740eefac] of/platform: Point to
struct device from device node
git bisect good 2405e5d8273b1e8cfb17c26c2b3da6f9d46c7433 # 01:43 63+ 0 ARM:
amba: Move reading of periphid to pre_probe()
# extra tests with DEBUG_INFO
git bisect bad 4f7c8127d91e752c59ed46f8b894d834740eefac # 01:47 0- 18
of/platform: Point to struct device from device node
# extra tests on HEAD of linux-devel/devel-spot-201509111851
git bisect bad 0dd8ca95ba44a0e5dc4b2db016f7acddbe03c0c5 # 01:47 0- 39 0day
head guard for 'devel-spot-201509111851'
# extra tests on tree/branch tomeu/on-demand-probes-v7
git bisect bad 75620956721d4f7a7261313053b9e4f6ceeee12a # 01:51 0- 52
of/platform: Defer probes of registered devices
# extra tests with first bad commit reverted
# extra tests on tree/branch linus/master
git bisect good 64d1def7d33856824d2c5c6fd6d4579d4d54bb87 # 02:04 62+ 0 Merge
tag 'sound-fix-4.3-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
# extra tests on tree/branch linux-next/master
git bisect good e9da37cd43049f5133e5953fe4bc9f469ada7153 # 02:06 62+ 0 Add
linux-next specific files for 20150911
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation