Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932260AbdIGT6e (ORCPT ); Thu, 7 Sep 2017 15:58:34 -0400 Received: from mail-oi0-f48.google.com ([209.85.218.48]:36125 "EHLO mail-oi0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755101AbdIGT6c (ORCPT ); Thu, 7 Sep 2017 15:58:32 -0400 X-Google-Smtp-Source: AOwi7QDQMhaTo+Xbfen/yo4P5cvGnDN8N9IDuYDkTUo5x1lXberHwo9Tnffww2n/WiEn9AjzvfW+Bw4AP0KroZm80sw= MIME-Version: 1.0 In-Reply-To: References: <20170905194739.GA31241@amd> <8f0f7310-ea4d-a200-75fd-23509947fb38@rock-chips.com> <6689241f-a4d8-7a3e-9f0b-482b034e5710@intel.com> From: Linus Walleij Date: Thu, 7 Sep 2017 21:58:31 +0200 Message-ID: Subject: Re: 4.13 on thinkpad x220: oops when writing to SD card To: Adrian Hunter Cc: Ulf Hansson , Shawn Lin , Pavel Machek , "linux-mmc@vger.kernel.org" , kernel list , Seraphime Kirkovski Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 791 Lines: 22 On Thu, Sep 7, 2017 at 9:53 AM, Adrian Hunter wrote: > From: Adrian Hunter > 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 > Fixes: 304419d8a7e92 ("mmc: core: Allocate per-request data using the block layer core") > Signed-off-by: Adrian Hunter Reviewed-by: Linus Walleij Really neat and quick fix, thanks a lot Adrian. My fault for not finding more systems actually *using* these bounce buffers. :( :( Yours, Linus Walleij