Re: [PATCH 0/6] mmc: block: command issue cleanups

2017-01-30 Thread Linus Walleij
On Mon, Jan 30, 2017 at 2:05 PM, Linus Walleij wrote: > On Fri, Jan 27, 2017 at 8:58 AM, Ulf Hansson wrote: > And now it is crashing at mmc_blk_rw_rq_prep() + 0x20 so I suspect it is one > of > these: > > struct mmc_blk_request *brq = >brq; >

Re: [PATCH 0/6] mmc: block: command issue cleanups

2017-01-30 Thread Linus Walleij
On Fri, Jan 27, 2017 at 8:58 AM, Ulf Hansson wrote: >>> Linus Walleij (6): >>> mmc: block: break out mmc_blk_rw_cmd_abort() >>> mmc: block: break out mmc_blk_rw_start_new() >>> mmc: block: do not assign mq_rq when aborting command >>> mmc: block: inline command

Re: [PATCH 0/6] mmc: block: command issue cleanups

2017-01-27 Thread Maxime Ripard
Hi Ulf, On Fri, Jan 27, 2017 at 08:58:16AM +0100, Ulf Hansson wrote: > On 26 January 2017 at 09:07, Ulf Hansson wrote: > > On 24 January 2017 at 11:17, Linus Walleij wrote: > >> The function mmc_blk_issue_rw_rq() is hopelessly convoluted and >

Re: [PATCH 0/6] mmc: block: command issue cleanups

2017-01-26 Thread Ulf Hansson
+Maxime On 26 January 2017 at 09:07, Ulf Hansson wrote: > On 24 January 2017 at 11:17, Linus Walleij wrote: >> The function mmc_blk_issue_rw_rq() is hopelessly convoluted and >> need to be refactored to it can be understood by humans. >> >> In

Re: [PATCH 0/6] mmc: block: command issue cleanups

2017-01-26 Thread Ulf Hansson
On 24 January 2017 at 11:17, Linus Walleij wrote: > The function mmc_blk_issue_rw_rq() is hopelessly convoluted and > need to be refactored to it can be understood by humans. > > In the process I found some weird magic return values passed > around for no good reason. >

[PATCH 0/6] mmc: block: command issue cleanups

2017-01-24 Thread Linus Walleij
The function mmc_blk_issue_rw_rq() is hopelessly convoluted and need to be refactored to it can be understood by humans. In the process I found some weird magic return values passed around for no good reason. Things are more readable after this. This work is done towards the goal of breaking