Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5207623ybl; Tue, 27 Aug 2019 00:47:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqxJaC5eJ7+csECagBwR7qN/b9ogNj98W0Fvk0j7r4gO9U68C7S2TjtCkpx+LKEerT7HWtLQ X-Received: by 2002:a17:902:23:: with SMTP id 32mr23333976pla.214.1566892031793; Tue, 27 Aug 2019 00:47:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566892031; cv=none; d=google.com; s=arc-20160816; b=bjy6Crp8U89AApP8G9ztsOWQCAPKVHkroYXYdNwDZtvtmyuClavTyRw3mzKjy95iVh U6G+2dVqLfIlbHuOd7v/KS53OUzooNb+U9V0Rp+852UP1U3ePDE9iV5ukmyANAhAVkhC tLDfNzyrlz5v25SGr2tRfpZeekdHERYVihYOPDP2kD4+NxWJ3iVY7v4aYiNQVzid1hk2 ilFtkRI9k+igjPadQSgn8WpweIeSQ4BWQs7oXUkB5sd6fHOiqJ0lzuz6xOLOHOTvx/Id 6bI1pwbbCQfnRzqGRdni3eVGrolEWICF4qutvsbby9Evp6jyznByzkoLYJvAXysASe4/ V3zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=CCtCL19DmuvrV2VqAgkqWIfPFYfgDfnJCKU/CL8uRio=; b=GRcY0WSa/Scnr74rgl+gKFCr/rK0hQM4a988FbLu6TxOavro4mFKFIqrMkd6ta/KsT ZccKYI1zdf5O7mNmFCmejyEAPwOtH8YoEHMej6OuV6yh5pC/4RiIXc6kLgjQYw8cWx9m gimziG1fpmhCRJ3zdHSBzsHK3aCDN4WooOOfYWWgJAHSyMN/T9GmY6GjRmNOUFkp1Gsy RYC+7EDYLGVp3PdCMq6zViewLuJwfEDzCVXadYXNsDoCL4vA3MpEDyRqnAAbmJV2t55L NX9PF68lGISwqbMhZ2dFIocO9AB1Tggh5J5EKIlX8u0//fUBrMrWOLqptzD7ArfJBY/E fImg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=B4CHip1J; 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 p7si11493760plo.114.2019.08.27.00.46.56; Tue, 27 Aug 2019 00:47:11 -0700 (PDT) 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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=B4CHip1J; 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 S1727306AbfH0HqA (ORCPT + 99 others); Tue, 27 Aug 2019 03:46:00 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:60303 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725850AbfH0HqA (ORCPT ); Tue, 27 Aug 2019 03:46:00 -0400 Received: from mail-vs1-f43.google.com (mail-vs1-f43.google.com [209.85.217.43]) (authenticated) by conssluserg-02.nifty.com with ESMTP id x7R7jut7021960; Tue, 27 Aug 2019 16:45:57 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com x7R7jut7021960 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1566891957; bh=CCtCL19DmuvrV2VqAgkqWIfPFYfgDfnJCKU/CL8uRio=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=B4CHip1JP3uIn3+++ULwsuJ2uOqnGULQVL3hM/BRafp9nqobnzzIyBKunrsvygn8D a247ywbY3uF03eT4OwDgrLwC7BTZXyGhLOlM/qGvJBsnMTxKI3/Qc8MuUB56hs+WtR rzCU1oTxcbXijyWHC5/v/QL4C0a0IuM/gpxNhJmbc9NjtpaK4z9VHYw3bKuG7kLtru /AYcsWLuxD34/uMMZYPulTlnNTvhWX3n6KPwBfFjjjotXcSIGng0eZWWYO4SV3Zz00 nqs1HM7Gcsysky1nipVLwEzdMxDrfT6bV+D5qtslbXSy1HPK2t+LindprwHN2kJSuV 0qhGuaKokTqug== X-Nifty-SrcIP: [209.85.217.43] Received: by mail-vs1-f43.google.com with SMTP id y62so12815581vsb.6; Tue, 27 Aug 2019 00:45:57 -0700 (PDT) X-Gm-Message-State: APjAAAWzmKUYBVdL+tFu0J0FcZJTuDpOxxNVg2TP5M4BBMfBfWfXRmic 7rgkeatPn4O7oQYio7oaxx9sKaXcgJyE6Bzk3P4= X-Received: by 2002:a67:fe12:: with SMTP id l18mr12861854vsr.54.1566891956209; Tue, 27 Aug 2019 00:45:56 -0700 (PDT) MIME-Version: 1.0 References: <20190506223334.1834-1-nicoleotsuka@gmail.com> <20190506223334.1834-3-nicoleotsuka@gmail.com> <20190825011025.GA23410@lst.de> <20190826073320.GA11712@lst.de> In-Reply-To: <20190826073320.GA11712@lst.de> From: Masahiro Yamada Date: Tue, 27 Aug 2019 16:45:20 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/2] dma-contiguous: Use fallback alloc_pages for single pages To: Christoph Hellwig Cc: Nicolin Chen , linux-mmc , Ulf Hansson , Adrian Hunter , Robin Murphy , Marek Szyprowski , vdumpa@nvidia.com, Russell King , Catalin Marinas , Will Deacon , Chris Zankel , Max Filippov , Joerg Roedel , David Woodhouse , Tony Lindgren , Andrew Morton , Stephen Rothwell , Thierry Reding , Kees Cook , iamjoonsoo.kim@lge.com, Wolfram Sang , linux-arm-kernel , Linux Kernel Mailing List , linux-xtensa@linux-xtensa.org, iommu@lists.linux-foundation.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 26, 2019 at 4:33 PM Christoph Hellwig wrote: > > On Mon, Aug 26, 2019 at 11:05:00AM +0900, Masahiro Yamada wrote: > > This is included in v5.3-rc6 > > so I tested it. > > So there is no allocation failure, but you get I/O errors later? Right. > > Does the device use a device-private CMA area? Not sure. My driver is drivers/mmc/host/sdhci-cadence.c It reuses routines in drivers/mmc/host/sdhci.c > Does it work with Linux > 5.2 if CONFIG_DMA_CMA is disabled? No. 5.2 + disable CONFIG_DMA_CMA failed in the same way. -- Best Regards Masahiro Yamada