From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: To: ming.lei@redhat.com From: Peter Geis Subject: [Regression] Linux-Next Merge 25Jul2018 breaks mmc on Tegra. Cc: linux-block@vger.kernel.org, "linux-tegra@vger.kernel.org" , axboe@kernel.dk Message-ID: Date: Wed, 25 Jul 2018 13:28:27 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed List-ID: Good Afternoon, I have encountered an issue on both Tegra 2 and Tegra 3 devices accessing emmc following the 25 July 2018 remote tracking merge. The offending commit is: 6ce3dd6eec114930cf2035a8bcb1e80477ed79a8 blk-mq: issue directly if hw queue isn't busy in case of 'none'. Reverting this commit corrects the issue, but the issue has left the file system in a corrupted state. The issue causes the following error message when the file system is remounted RW: [ 3.173189] ------------[ cut here ]------------ [ 3.177907] WARNING: CPU: 0 PID: 114 at drivers/mmc/host/sdhci.c:1203 sdhci_send_command+0x6d0/0xeb4 [ 3.187059] Modules linked in: ip_tables x_tables autofs4 [ 3.192503] CPU: 0 PID: 114 Comm: (direxec) Not tainted 4.18.0-rc6-next-20180723+ #9 [ 3.200228] Hardware name: NVIDIA Tegra SoC (Flattened Device Tree) [ 3.206511] [] (unwind_backtrace) from [] (show_stack+0x20/0x24) [ 3.214248] [] (show_stack) from [] (dump_stack+0x80/0x94) [ 3.221468] [] (dump_stack) from [] (__warn+0xf0/0x108) [ 3.228420] [] (__warn) from [] (warn_slowpath_null+0x50/0x58) [ 3.235981] [] (warn_slowpath_null) from [] (sdhci_send_command+0x6d0/0xeb4) [ 3.244754] [] (sdhci_send_command) from [] (sdhci_request+0x84/0xe0) [ 3.252924] [] (sdhci_request) from [] (__mmc_start_request+0x88/0x1c4) [ 3.261263] [] (__mmc_start_request) from [] (mmc_start_request+0xa4/0xc8) [ 3.269871] [] (mmc_start_request) from [] (mmc_blk_mq_issue_rq+0x648/0x8c8) [ 3.278644] [] (mmc_blk_mq_issue_rq) from [] (mmc_mq_queue_rq+0x124/0x218) [ 3.287247] [] (mmc_mq_queue_rq) from [] (__blk_mq_try_issue_directly+0x148/0x1dc) [ 3.296538] [] (__blk_mq_try_issue_directly) from [] (blk_mq_request_issue_directly+0x68/0x98) [ 3.306869] [] (blk_mq_request_issue_directly) from [] (blk_mq_try_issue_list_directly+0x48/0x80) [ 3.317466] [] (blk_mq_try_issue_list_directly) from [] (blk_mq_sched_insert_requests+0x9c/0xbc) [ 3.327971] [] (blk_mq_sched_insert_requests) from [] (blk_mq_flush_plug_list+0x258/0x330) [ 3.337960] [] (blk_mq_flush_plug_list) from [] (blk_flush_plug_list+0xec/0x22c) [ 3.347078] [] (blk_flush_plug_list) from [] (blk_finish_plug+0x3c/0x54) [ 3.355507] [] (blk_finish_plug) from [] (read_pages+0x78/0x17c) [ 3.363240] [] (read_pages) from [] (__do_page_cache_readahead+0x1f4/0x214) [ 3.371925] [] (__do_page_cache_readahead) from [] (ondemand_readahead+0x160/0x298) [ 3.381302] [] (ondemand_readahead) from [] (page_cache_sync_readahead+0xb4/0x104) [ 3.390598] [] (page_cache_sync_readahead) from [] (generic_file_read_iter+0x7d0/0xb28) [ 3.400336] [] (generic_file_read_iter) from [] (ext4_file_read_iter+0x48/0x54) [ 3.409373] [] (ext4_file_read_iter) from [] (__vfs_read+0x10c/0x16c) [ 3.417538] [] (__vfs_read) from [] (vfs_read+0x9c/0x168) [ 3.424659] [] (vfs_read) from [] (kernel_read+0x34/0x44) [ 3.431784] [] (kernel_read) from [] (prepare_binprm+0xf4/0x198) [ 3.439515] [] (prepare_binprm) from [] (__do_execve_file+0x5d0/0x894) [ 3.447766] [] (__do_execve_file) from [] (sys_execve+0x44/0x4c) [ 3.455495] [] (sys_execve) from [] (ret_fast_syscall+0x0/0x54) [ 3.463134] Exception stack(0xeda61fa8 to 0xeda61ff0) [ 3.468176] 1fa0: b67c64e0 ffffffff 008078c0 bef74b60 bef74f0c b6f9cb94 [ 3.476335] 1fc0: b67c64e0 ffffffff 00000000 0000000b 008052f0 008078c0 00000000 ffffffff [ 3.484494] 1fe0: b6ea3b08 bef74ae4 b6dd7313 b6f1aba8 [ 3.489535] ---[ end trace 4eb4571f10ae8bad ]---