Re: System hung in I/O when booting with sd card

2018-04-12 Thread Shawn Lin
Hi Bart, On 2018/4/12 17:05, Shawn Lin wrote: Hi Bart, On 2018/4/12 9:54, Bart Van Assche wrote: On Thu, 2018-04-12 at 09:48 +0800, Shawn Lin wrote: I ran into 2 times that my system hung here when booting with a ext4 sd card. No sure how to reproduce it but it seems doesn't matter

Re: System hung in I/O when booting with sd card

2018-04-12 Thread Shawn Lin
Hi Bart, On 2018/4/12 9:54, Bart Van Assche wrote: On Thu, 2018-04-12 at 09:48 +0800, Shawn Lin wrote: I ran into 2 times that my system hung here when booting with a ext4 sd card. No sure how to reproduce it but it seems doesn't matter with the ext4 as I see it again with a vfat sd card

System hung in I/O when booting with sd card

2018-04-11 Thread Shawn Lin
Hi, I ran into 2 times that my system hung here when booting with a ext4 sd card. No sure how to reproduce it but it seems doesn't matter with the ext4 as I see it again with a vfat sd card, this morning with Linus' master branch. Is it a known issue or any idea how to debug this? [

[PATCH] mmc: block: Delete gendisk before cleaning up the request queue

2018-03-22 Thread Shawn Lin
410.364123] process_one_work+0x1ac/0x318 [ 410.364477] worker_thread+0x50/0x450 [ 410.364801] kthread+0xf8/0x128 [ 410.365081] ret_from_fork+0x10/0x18 [ 410.365395] ---[ end trace 268e87a46c28968c ]--- Signed-off-by: Shawn Lin <shawn@rock-chips.com> --- drivers/mmc/core/block.

Re: [PATCH 1/2 v6] mmc: block: Convert RPMB to a character device

2017-09-27 Thread Shawn Lin
On 2017/9/28 3:45, Linus Walleij wrote: On Wed, Sep 27, 2017 at 1:35 PM, Adrian Hunter wrote: BUG when removing, fixed by reverting this patch. [ 346.548512] mmc1: card 0001 removed [ 346.552782] BUG: unable to handle kernel NULL pointer dereference at

Re: [PATCH 1/5] mmc: block: Move duplicate check

2017-06-15 Thread Shawn Lin
: Shawn Lin <shawn@rock-chips.com> Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- ChangeLog v1->v2: - We need to check the block device only if an actual well-known ioctl() is coming in, on the path of the switch() statments, only those branches that handle

Re: [PATCH v4] mmc: sdio: check the buffer address for sdio API

2017-02-14 Thread Shawn Lin
Hi Russell, On 2017/2/15 3:34, Russell King - ARM Linux wrote: On Tue, Feb 14, 2017 at 09:18:43AM -0700, Jens Axboe wrote: The current situation seems like a bit of a mess. Why don't you have two entry points, one for DMA and one for PIO. If the caller doesn't know if he can use DMA, he'd