bisecting cause commit starting from a9c9a6f741cdaa2fa9ba24a790db8d07295761e3 building syzkaller on f62a58290e2f1200a2b21f2707a9ff0394a2a724 testing commit a9c9a6f741cdaa2fa9ba24a790db8d07295761e3 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: b09044881bc018e89969e71baeab2135d4b50a88a316fa52505ef93bfab21244 run #0: crashed: WARNING: kmalloc bug in hash_ipmark_create run #1: crashed: WARNING: kmalloc bug in hash_ipmark_create run #2: crashed: WARNING: kmalloc bug in hash_ipmark_create run #3: crashed: WARNING: kmalloc bug in hash_ipmark_create run #4: crashed: WARNING: kmalloc bug in hash_ipmark_create run #5: crashed: WARNING: kmalloc bug in hash_ipmark_create run #6: crashed: WARNING: kmalloc bug in hash_ipmark_create run #7: crashed: WARNING: kmalloc bug in hash_ipmark_create run #8: crashed: WARNING: kmalloc bug in hash_ipmark_create run #9: crashed: WARNING: kmalloc bug in hash_ipmark_create run #10: crashed: WARNING: kmalloc bug in hash_ipmark_create run #11: crashed: WARNING: kmalloc bug in hash_ipmark_create run #12: crashed: WARNING: kmalloc bug in hash_ipmark_create run #13: crashed: WARNING: kmalloc bug in hash_ipmark_create run #14: crashed: WARNING: kmalloc bug in hash_ipmark_create run #15: crashed: WARNING: kmalloc bug in hash_ipmark_create run #16: crashed: WARNING: kmalloc bug in hash_ipmark_create run #17: crashed: WARNING: kmalloc bug in hash_ipmark_create run #18: crashed: WARNING: kmalloc bug in hash_ipmark_create run #19: boot failed: possible deadlock in blktrans_open testing release v5.14 testing commit 7d2a07b769330c34b4deabeed939325c77a7ec2f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 42ab57fc9434604be7336d8d442f9783c66c96a21b1e995b8854978c9dcd9fa5 all runs: OK # git bisect start a9c9a6f741cdaa2fa9ba24a790db8d07295761e3 7d2a07b769330c34b4deabeed939325c77a7ec2f Bisecting: 4220 revisions left to test after this (roughly 12 steps) [ebf435d3b51b22340ef047aad0c2936ec4833ab2] Merge tag 'staging-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging testing commit ebf435d3b51b22340ef047aad0c2936ec4833ab2 arch/x86/kernel/setup.c:916:6: error: implicit declaration of function 'acpi_mps_check' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1110:2: error: implicit declaration of function 'acpi_table_upgrade' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1112:2: error: implicit declaration of function 'acpi_boot_table_init' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1120:2: error: implicit declaration of function 'early_acpi_boot_init'; did you mean 'early_cpu_init'? [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1162:2: error: implicit declaration of function 'acpi_boot_init' [-Werror=implicit-function-declaration] # git bisect skip ebf435d3b51b22340ef047aad0c2936ec4833ab2 Bisecting: 4220 revisions left to test after this (roughly 12 steps) [afb08b7e220ef7278ffceb4f9e201c2a904e18a9] net: ipa: move IPA flags field testing commit afb08b7e220ef7278ffceb4f9e201c2a904e18a9 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: fb7b63ffccea52a919295efe09137bbda1dd02b3a50e026ae9da6ce2a45aa51c all runs: OK # git bisect good afb08b7e220ef7278ffceb4f9e201c2a904e18a9 Bisecting: 3980 revisions left to test after this (roughly 12 steps) [07281a257a6868b900da5de1eda808c9e20253f1] Merge tag 'usb-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb testing commit 07281a257a6868b900da5de1eda808c9e20253f1 arch/x86/kernel/setup.c:916:6: error: implicit declaration of function 'acpi_mps_check' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1110:2: error: implicit declaration of function 'acpi_table_upgrade' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1112:2: error: implicit declaration of function 'acpi_boot_table_init' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1120:2: error: implicit declaration of function 'early_acpi_boot_init'; did you mean 'early_cpu_init'? [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1162:2: error: implicit declaration of function 'acpi_boot_init' [-Werror=implicit-function-declaration] # git bisect skip 07281a257a6868b900da5de1eda808c9e20253f1 Bisecting: 3980 revisions left to test after this (roughly 12 steps) [8d7e5908c0bcf8a0abc437385e58e49abab11a93] mailbox: qcom-ipcc: Enable loading QCOM_IPCC as a module testing commit 8d7e5908c0bcf8a0abc437385e58e49abab11a93 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: d2840f49ee4cc95635d1162c6cf180ed069d23e92a6b657e2532275d98dc5cf8 all runs: OK # git bisect good 8d7e5908c0bcf8a0abc437385e58e49abab11a93 Bisecting: 3978 revisions left to test after this (roughly 12 steps) [e6e7471706dc42cbe0e01278540c0730138d43e5] bvec: add a bvec_kmap_local helper testing commit e6e7471706dc42cbe0e01278540c0730138d43e5 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 9e77e5be7c50f8f039583aaec16363124285c740fa15b3188e9edaabcb755268 all runs: OK # git bisect good e6e7471706dc42cbe0e01278540c0730138d43e5 Bisecting: 3978 revisions left to test after this (roughly 12 steps) [8c945d32e60427cbc0859cf7045bbe6196bb03d8] btrfs: compression: drop kmap/kunmap from lzo testing commit 8c945d32e60427cbc0859cf7045bbe6196bb03d8 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: c617c004b804c93a85d22a05c7db36a98e50ad491e87fe0471b8c1cc82d56daa all runs: OK # git bisect good 8c945d32e60427cbc0859cf7045bbe6196bb03d8 Bisecting: 3978 revisions left to test after this (roughly 12 steps) [5b16a790f18d234187f31eab0a222bd53cb12b9e] phy: cadence-torrent: Reorder few functions to remove function declarations testing commit 5b16a790f18d234187f31eab0a222bd53cb12b9e compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 646ee580377e59456ed0a62f3b17d816461eb0b094bb9a609a7b0e41d353d14b all runs: OK # git bisect good 5b16a790f18d234187f31eab0a222bd53cb12b9e Bisecting: 3978 revisions left to test after this (roughly 12 steps) [eb5a4422e448a8200ddaafef0cc16db3f45ec1f8] leds: max77693: Move driver to flash subdirectory testing commit eb5a4422e448a8200ddaafef0cc16db3f45ec1f8 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 646ee580377e59456ed0a62f3b17d816461eb0b094bb9a609a7b0e41d353d14b all runs: OK # git bisect good eb5a4422e448a8200ddaafef0cc16db3f45ec1f8 Bisecting: 3978 revisions left to test after this (roughly 12 steps) [d40dfb860ad72a32b9c2aeae739a2725f8ce011a] ASoC: sh: rz-ssi: Fix dereference of noderef expression warning testing commit d40dfb860ad72a32b9c2aeae739a2725f8ce011a compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 646ee580377e59456ed0a62f3b17d816461eb0b094bb9a609a7b0e41d353d14b run #0: basic kernel testing failed: possible deadlock in fs_reclaim_acquire run #1: crashed: BUG: sleeping function called from invalid context in lock_sock_nested run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK reproducer seems to be flaky # git bisect bad d40dfb860ad72a32b9c2aeae739a2725f8ce011a Bisecting: 89 revisions left to test after this (roughly 7 steps) [044c76571277bb87dd3318e55c7ae46a0c27ab0f] ASoC: Intel: bytcr_rt5640: Add support for a second headphones output testing commit 044c76571277bb87dd3318e55c7ae46a0c27ab0f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 646ee580377e59456ed0a62f3b17d816461eb0b094bb9a609a7b0e41d353d14b run #0: crashed: BUG: sleeping function called from invalid context in stack_depot_save run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect bad 044c76571277bb87dd3318e55c7ae46a0c27ab0f Bisecting: 44 revisions left to test after this (roughly 6 steps) [cab396d8b22c13b424d9ba66f626f036f802658c] ASoC: amd: add ACP5x pcm dma driver ops testing commit cab396d8b22c13b424d9ba66f626f036f802658c compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 646ee580377e59456ed0a62f3b17d816461eb0b094bb9a609a7b0e41d353d14b run #0: crashed: BUG: sleeping function called from invalid context in stack_depot_save run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect bad cab396d8b22c13b424d9ba66f626f036f802658c Bisecting: 21 revisions left to test after this (roughly 5 steps) [3cb97cf3a65a7fdbf4844ccd39b7e96fe14f762b] ASoC: Intel: sof_cs42l42: support arbitrary DAI link sequence testing commit 3cb97cf3a65a7fdbf4844ccd39b7e96fe14f762b compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 646ee580377e59456ed0a62f3b17d816461eb0b094bb9a609a7b0e41d353d14b all runs: OK # git bisect good 3cb97cf3a65a7fdbf4844ccd39b7e96fe14f762b Bisecting: 10 revisions left to test after this (roughly 4 steps) [eb14ecca76697930ff86a3401fee198d54ea6524] Merge series "soundwire/ASoC: add mockup codec support" from Bard Liao : testing commit eb14ecca76697930ff86a3401fee198d54ea6524 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 646ee580377e59456ed0a62f3b17d816461eb0b094bb9a609a7b0e41d353d14b all runs: OK # git bisect good eb14ecca76697930ff86a3401fee198d54ea6524 Bisecting: 4 revisions left to test after this (roughly 3 steps) [4a7151c9688cc166ff6bf5a1a00e3cee429a2f11] ASoC: amd: add Vangogh ACP PCI driver testing commit 4a7151c9688cc166ff6bf5a1a00e3cee429a2f11 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 646ee580377e59456ed0a62f3b17d816461eb0b094bb9a609a7b0e41d353d14b run #0: basic kernel testing failed: BUG: sleeping function called from invalid context in stack_depot_save run #1: basic kernel testing failed: possible deadlock in fs_reclaim_acquire run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect good 4a7151c9688cc166ff6bf5a1a00e3cee429a2f11 Bisecting: 2 revisions left to test after this (roughly 1 step) [603f2dedccac1ae2d201dfb10df74f3cae3c7832] ASoC: amd: create acp5x platform devices testing commit 603f2dedccac1ae2d201dfb10df74f3cae3c7832 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 646ee580377e59456ed0a62f3b17d816461eb0b094bb9a609a7b0e41d353d14b run #0: basic kernel testing failed: BUG: sleeping function called from invalid context in stack_depot_save run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect good 603f2dedccac1ae2d201dfb10df74f3cae3c7832 Bisecting: 1 revision left to test after this (roughly 1 step) [77f61444e48b79e991b15da6399cf24685a042c9] ASoC: amd: add ACP5x PCM platform driver testing commit 77f61444e48b79e991b15da6399cf24685a042c9 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 646ee580377e59456ed0a62f3b17d816461eb0b094bb9a609a7b0e41d353d14b run #0: crashed: BUG: sleeping function called from invalid context in stack_depot_save run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect bad 77f61444e48b79e991b15da6399cf24685a042c9 77f61444e48b79e991b15da6399cf24685a042c9 is the first bad commit commit 77f61444e48b79e991b15da6399cf24685a042c9 Author: Vijendar Mukunda Date: Wed Jul 21 23:34:21 2021 +0530 ASoC: amd: add ACP5x PCM platform driver PCM platform driver binds to the platform device created by ACP5x PCI device. PCM driver registers ALSA DMA components with ASoC framework. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Vijendar Mukunda Link: https://lore.kernel.org/r/20210721180430.11571-6-Vijendar.Mukunda@amd.com Signed-off-by: Mark Brown sound/soc/amd/vangogh/acp5x-pcm-dma.c | 72 +++++++++++++++++++++++++++++++++++ sound/soc/amd/vangogh/acp5x.h | 4 ++ 2 files changed, 76 insertions(+) create mode 100644 sound/soc/amd/vangogh/acp5x-pcm-dma.c culprit signature: 646ee580377e59456ed0a62f3b17d816461eb0b094bb9a609a7b0e41d353d14b parent signature: 646ee580377e59456ed0a62f3b17d816461eb0b094bb9a609a7b0e41d353d14b Reproducer flagged being flaky revisions tested: 16, total time: 4h34m20.323299415s (build: 2h4m31.793923752s, test: 2h28m3.022439242s) first bad commit: 77f61444e48b79e991b15da6399cf24685a042c9 ASoC: amd: add ACP5x PCM platform driver recipients (to): ["broonie@kernel.org" "pierre-louis.bossart@linux.intel.com" "vijendar.mukunda@amd.com"] recipients (cc): [] crash: BUG: sleeping function called from invalid context in stack_depot_save BUG: sleeping function called from invalid context at mm/page_alloc.c:5167 in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 20, name: kworker/1:0 INFO: lockdep is turned off. irq event stamp: 80892 hardirqs last enabled at (80891): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] hardirqs last enabled at (80891): [] _raw_spin_unlock_irq+0x1f/0x40 kernel/locking/spinlock.c:199 hardirqs last disabled at (80892): [] __schedule+0x1398/0x26b0 kernel/sched/core.c:5836 softirqs last enabled at (77678): [] srcu_invoke_callbacks+0x20a/0x3c0 kernel/rcu/srcutree.c:1272 softirqs last disabled at (77674): [] spin_unlock_irq include/linux/spinlock.h:404 [inline] softirqs last disabled at (77674): [] srcu_invoke_callbacks+0x1b5/0x3c0 kernel/rcu/srcutree.c:1267 CPU: 1 PID: 20 Comm: kworker/1:0 Not tainted 5.14.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events pcpu_balance_workfn Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x57/0x7d lib/dump_stack.c:105 ___might_sleep.cold+0x1f1/0x237 kernel/sched/core.c:9154 prepare_alloc_pages+0x3da/0x580 mm/page_alloc.c:5167 __alloc_pages+0x12f/0x500 mm/page_alloc.c:5363 stack_depot_save+0x39d/0x4e0 lib/stackdepot.c:303 save_stack+0x131/0x1a0 mm/page_owner.c:120 __set_page_owner+0x2e/0x250 mm/page_owner.c:181 prep_new_page mm/page_alloc.c:2433 [inline] __alloc_pages_bulk+0x8b9/0x1870 mm/page_alloc.c:5301 alloc_pages_bulk_array_node include/linux/gfp.h:557 [inline] vm_area_alloc_pages mm/vmalloc.c:2793 [inline] __vmalloc_area_node mm/vmalloc.c:2863 [inline] __vmalloc_node_range+0x2f6/0x7e0 mm/vmalloc.c:2966 __vmalloc_node mm/vmalloc.c:3015 [inline] __vmalloc+0x63/0x90 mm/vmalloc.c:3029 pcpu_alloc_chunk mm/percpu.c:1460 [inline] pcpu_create_chunk+0x10d/0x6b0 mm/percpu-vm.c:338 pcpu_balance_populated mm/percpu.c:2114 [inline] pcpu_balance_workfn+0x77f/0xad0 mm/percpu.c:2252 process_one_work+0x84c/0x13d0 kernel/workqueue.c:2276 worker_thread+0x598/0x1040 kernel/workqueue.c:2422 kthread+0x38b/0x460 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready