Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/bbrezillon/linux-0day nand/cleanup
commit 0babe16c6c4b5563ea0f6377363c220d4b3aa177
Author: Boris Brezillon <boris.brezillon(a)bootlin.com>
AuthorDate: Thu Oct 25 17:10:37 2018 +0200
Commit: Boris Brezillon <boris.brezillon(a)bootlin.com>
CommitDate: Tue Oct 30 09:26:53 2018 +0100
mtd: rawnand: Fill memorg during detection
If we want to use the generic NAND layer, we need to have the memorg
struct appropriately filled. Patch the detection code to fill this
struct.
Signed-off-by: Boris Brezillon <boris.brezillon(a)bootlin.com>
8080d39ecf mtd: rawnand: Prepare things to reuse the generic NAND layer
0babe16c6c mtd: rawnand: Fill memorg during detection
af58f3a427 mtd: rawnand: Get rid of chip->phys_erase_shift
+------------------------------------------+------------+------------+------------+
| | 8080d39ecf | 0babe16c6c | af58f3a427 |
+------------------------------------------+------------+------------+------------+
| boot_successes | 1 | 0 | 0 |
| boot_failures | 12 | 11 | 11 |
| Mem-Info | 12 | | |
| divide_error:#[##] | 0 | 11 | 11 |
| EIP:nand_detect | 0 | 11 | 11 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 11 | 11 |
+------------------------------------------+------------+------------+------------+
[ 10.547860] [nandsim] warning: read_byte: unexpected data output cycle, state is
STATE_READY return 0x0
[ 10.548983] [nandsim] warning: read_byte: unexpected data output cycle, state is
STATE_READY return 0x0
[ 10.550148] [nandsim] warning: read_byte: unexpected data output cycle, state is
STATE_READY return 0x0
[ 10.551462] [nandsim] warning: read_byte: unexpected data output cycle, state is
STATE_READY return 0x0
[ 10.552632] [nandsim] warning: read_byte: unexpected data output cycle, state is
STATE_READY return 0x0
[ 10.553865] divide error: 0000 [#1] DEBUG_PAGEALLOC PTI
[ 10.554517] CPU: 0 PID: 1 Comm: swapper Tainted: G S
4.19.0-rc2-00111-g0babe16 #1
[ 10.554775] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 10.554775] EIP: nand_detect+0x2ce/0x598
[ 10.554775] Code: d2 31 db 0f af 86 98 03 00 00 89 c1 8b 47 10 0f a4 c2 14 c1 e0 14 85
d2 89 44 24 10 74 08 89 d0 31 d2 f7 f1 89 c3 8b 44 24 10 <f7> f1 89 da 31 db 89 86
9c 03 00 00 89 da 8b 4f 10 89 c8 0f a4 ca
[ 10.554775] EAX: 08000000 EBX: 00000000 ECX: 00000000 EDX: 00000000
[ 10.554775] ESI: cb533000 EDI: c28ab030 EBP: c20e7ae8 ESP: cf06bedc
[ 10.554775] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068 EFLAGS: 00210246
[ 10.554775] CR0: 80050033 CR2: 00000000 CR3: 02a90000 CR4: 00140690
[ 10.554775] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 10.554775] DR6: fffe0ff0 DR7: 00000400
[ 10.554775] Call Trace:
[ 10.554775] ? debug_mutex_init+0x24/0x2d
[ 10.554775] ? nand_scan_with_ids+0x243/0x395
[ 10.554775] ? ns_init_module+0x3a/0x675
[ 10.554775] ? init_nandsim+0x5bc/0x5bc
[ 10.554775] ? ns_init_module+0x3f5/0x675
[ 10.554775] ? init_nandsim+0x5bc/0x5bc
[ 10.554775] ? do_one_initcall+0x66/0x138
[ 10.554775] ? kernel_init_freeable+0xc1/0x15d
[ 10.554775] ? kernel_init_freeable+0xe3/0x15d
[ 10.554775] ? rest_init+0xf6/0xf6
[ 10.554775] ? kernel_init+0x5/0xd1
[ 10.554775] ? ret_from_fork+0x19/0x24
[ 10.569737] ---[ end trace 71d9b0e89fb7d89a ]---
[ 10.570301] EIP: nand_detect+0x2ce/0x598
# HH:MM RESULT GOOD BAD
GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start b7ca9507a4033cc34488ae87865ca15c423c24bd
84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d --
git bisect bad 11e1a653217395cef14d229be450c8d72bfe182a # 07:37 B 0 11 27 2
Merge
'linux-review/fdmanana-kernel-org/Btrfs-fix-deadlock-on-tree-root-leaf-when-finding-free-extent/20181022-173150'
into devel-hourly-2018103103
git bisect bad 5947dbb2444a42ca8527d7c63347ff98230a01dd # 07:46 B 0 1 15 0
Merge
'linux-review/Colin-King/um-trap-fix-spelling-mistake-EACCESS-EACCES/20181027-035232'
into devel-hourly-2018103103
git bisect good dae5cd9f8a8d13b3050c7912f2a83adec2fe1c4d # 08:03 G 10 0 9 9
Merge 'cgroup/for-4.20' into devel-hourly-2018103103
git bisect bad 9e9fe8f469e83baf545aefeffd9bd6f919fe82c2 # 08:19 B 0 3 17 0
Merge
'linux-review/Balakrishna-Godavarthi/Bluetooth-hci_qca-Add-helper-to-set-device-address/20181027-011103'
into devel-hourly-2018103103
git bisect good 59e26eb4a17648c8f9d8b71b982022ecb42b687e # 08:38 G 10 0 10 11
Merge 'superna9999/amlogic/v4.20/drm-primary-scaling' into
devel-hourly-2018103103
git bisect bad edcffdfcc2d3050d6100c35d103b0778f4627b7e # 08:47 B 0 2 16 0
Merge 'abelloni/rtc-next' into devel-hourly-2018103103
git bisect bad 9aaebfc0cad27474786795d35302f0cd2bfc4daa # 09:07 B 0 10 24 0
Merge 'bbrezillon-0day/nand/cleanup' into devel-hourly-2018103103
git bisect good b3087eb48bbebe893eb704e2c9660b04a9895020 # 09:22 G 11 0 9 9
Merge 'balbi-usb/testing/fixes' into devel-hourly-2018103103
git bisect good 8ae3fbf81b9cfdd1fec0451181213742b73fdf1a # 09:41 G 10 0 5 5
mtd: rawnand: Move JEDEC code to nand_jedec.c
git bisect good d31d9288d308f34ddf3130aa1f8183e519d9dbd1 # 09:53 G 11 0 10 10
mtd: rawnand: Move ->setup_data_interface() to nand_controller_ops
git bisect good 13cde0ee288b9ae6aee02aeb2c223c862bbf9f1d # 10:12 G 11 0 8 8
mtd: rawnand: Use nand_to_mtd() in nand_{set,get}_flash_node()
git bisect bad 4137c89a88f3966b26ffddd3dd0209f210879a7e # 10:25 B 0 11 25 0
mtd: rawnand: Provide an helper to get chip->data_buf
git bisect bad 894db31915925ff2a848cb3e46689d4718807501 # 10:38 B 0 11 25 0
mtd: nand: Add an helper returning the number of eraseblocks per target
git bisect bad 0babe16c6c4b5563ea0f6377363c220d4b3aa177 # 10:55 B 0 11 25 0
mtd: rawnand: Fill memorg during detection
git bisect good 8080d39ecf366730f46b1c6754966638fdd50993 # 11:17 G 11 0 11 11
mtd: rawnand: Prepare things to reuse the generic NAND layer
# first bad commit: [0babe16c6c4b5563ea0f6377363c220d4b3aa177] mtd: rawnand: Fill memorg
during detection
git bisect good 8080d39ecf366730f46b1c6754966638fdd50993 # 11:20 G 31 0 30 41
mtd: rawnand: Prepare things to reuse the generic NAND layer
# extra tests with debug options
git bisect bad 0babe16c6c4b5563ea0f6377363c220d4b3aa177 # 11:31 B 0 4 18 0
mtd: rawnand: Fill memorg during detection
# extra tests on HEAD of linux-devel/devel-hourly-2018103103
git bisect bad b7ca9507a4033cc34488ae87865ca15c423c24bd # 11:36 B 0 15 32 0
0day head guard for 'devel-hourly-2018103103'
# extra tests on tree/branch bbrezillon-0day/nand/cleanup
git bisect bad af58f3a427692cec6540c808326f7377669cebe8 # 11:47 B 0 3 17 0
mtd: rawnand: Get rid of chip->phys_erase_shift
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation