Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3779313imu; Mon, 14 Jan 2019 08:54:45 -0800 (PST) X-Google-Smtp-Source: ALg8bN5yY5OFrgM5RKpJTbLuYG5yPVHk++zXoXlYEEWhw3FGXCS+ENXdLvDxBCZkr/CShiVuj1W8 X-Received: by 2002:a63:a16:: with SMTP id 22mr19431438pgk.318.1547484885099; Mon, 14 Jan 2019 08:54:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547484885; cv=none; d=google.com; s=arc-20160816; b=hYNdNvQmLHvpOn00Ckbdw7zNgQU1im1T81vshPMOeM7/HK9gzjgu8dqdUdiNyN/eH1 MxlQ096X9/u1aYgOtGEtvobUXCnkHwHRb+yG9+JWzfGQQp9UWwf/U7bDhH8+5D3ElxjX M6LzwXdsnm45vqWOvcjwasCfj/+KJ9lUA8wte1WBXaTU9GJdYzrPomym5V0zecEet+Pe rIyBIbuDOYJ27iAacpZnSu6xLD8qQfwdwCXOKMU4nRU8awn3iQ12BSYSTCzADPZAV62L sV+p4W/Bnvqf9owdaYpqe1FpXqy/OX+lOjETcR4q69IeZ6dp6htjaPPK6qXPDtbYQBzW jANw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=S3Kavpad9NLs0TrK9iEbMqX+HlUBUSW32V0oTXcuSQw=; b=ek0qJKZmcb5MWat3peQfgnOvNUYKghv0t1Mh8hD3JINFhz2+BXV+T084Qxcn/DUQN/ Rqnt6qrgUVOdV7QaReIg2+9aWXAkcBQem5mMQ/UnITMDpg1N/raLBE2Sdc7XssE156VS ZnkbxRPf+bWk/eqr2KfBmsLzv0HuF2ZqN1uoKl6fA+RwQ6QmyzluD0HHfMPN6IHUZoML lmSdSDCUDB6HWfeEEZkN41zP/woZ17jMg7voLuycdhO/+pJhPQCC49o4A5UUmwE3fXlV X3H32EV1xO2K3NWbQuPTmCwjVf7O2dOT4E5ig9QE7ocU71/dmMTPMjEPrFjYtufMMzHE vNAQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w31si696455pla.308.2019.01.14.08.54.29; Mon, 14 Jan 2019 08:54:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726809AbfANQwo (ORCPT + 99 others); Mon, 14 Jan 2019 11:52:44 -0500 Received: from foss.arm.com ([217.140.101.70]:37492 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726646AbfANQwo (ORCPT ); Mon, 14 Jan 2019 11:52:44 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 32C8EA78; Mon, 14 Jan 2019 08:52:44 -0800 (PST) Received: from [10.1.196.75] (e110467-lin.cambridge.arm.com [10.1.196.75]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5C21A3F5BD; Mon, 14 Jan 2019 08:52:42 -0800 (PST) Subject: Re: remove block layer bounce buffering for MMC To: Christoph Hellwig , Ulf Hansson Cc: Aaro Koskinen , Nicolas Pitre , linux-mmc@vger.kernel.org, Russell King , linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, Ben Dooks , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20190114095804.27978-1-hch@lst.de> From: Robin Murphy Message-ID: <5d09d233-8631-2a35-cbcf-ba87b0314b3a@arm.com> Date: Mon, 14 Jan 2019 16:52:40 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20190114095804.27978-1-hch@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/01/2019 09:57, Christoph Hellwig wrote: > Hi everyone, > > this series converts the remaining MMC host drivers to properly kmap the > scatterlist entries it does PIO operations on, and then goes on to > remove the usage of block layer bounce buffering (which I plan to remove > eventually) from the MMC layer. > > As a bonus I've converted various drivers to the proper scatterlist > helpers so that at least in theory they are ready for chained > scatterlists. > > All the changes are compile tested only as I don't have any of the > hardware, so a careful review would be appreciated. One general point for the kmap() conversions - it's not obvious (to me at least) whether or how that would work for a segment where sg->length > PAGE_SIZE. Or is there some cast-iron guarantee from the MMC mid-layer that it will never let the block layer generate such things in the first place? Robin.