[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdYt_b72zFA6Oqg5rcaqPnz=knr7DWnXp-pjz3gpf89THw@mail.gmail.com>
Date: Thu, 7 Sep 2017 21:58:31 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Adrian Hunter <adrian.hunter@...el.com>
Cc: Ulf Hansson <ulf.hansson@...aro.org>,
Shawn Lin <shawn.lin@...k-chips.com>,
Pavel Machek <pavel@....cz>,
"linux-mmc@...r.kernel.org" <linux-mmc@...r.kernel.org>,
kernel list <linux-kernel@...r.kernel.org>,
Seraphime Kirkovski <kirkseraph@...il.com>
Subject: Re: 4.13 on thinkpad x220: oops when writing to SD card
On Thu, Sep 7, 2017 at 9:53 AM, Adrian Hunter <adrian.hunter@...el.com> wrote:
> From: Adrian Hunter <adrian.hunter@...el.com>
> Date: Thu, 7 Sep 2017 10:40:35 +0300
> Subject: [PATCH] mmc: block: Fix incorrectly initialized requests
>
> mmc_init_request() depends on card->bouncesz so it must be calculated
> before blk_init_allocated_queue() starts allocating requests.
>
> Reported-by: Seraphime Kirkovski <kirkseraph@...il.com>
> Fixes: 304419d8a7e92 ("mmc: core: Allocate per-request data using the block layer core")
> Signed-off-by: Adrian Hunter <adrian.hunter@...el.com>
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
Really neat and quick fix, thanks a lot Adrian.
My fault for not finding more systems actually *using* these
bounce buffers. :( :(
Yours,
Linus Walleij
Powered by blists - more mailing lists