Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5445552ybl; Tue, 27 Aug 2019 04:58:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqxrC9KDE2rKN3x8aLUDuHEHzMLe5H58iCzQkd9mNBGWD3nZy15A3hC2gTUDj1hib1Q944ux X-Received: by 2002:a17:902:33c1:: with SMTP id b59mr5861785plc.104.1566907091000; Tue, 27 Aug 2019 04:58:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566907090; cv=none; d=google.com; s=arc-20160816; b=V/oiEIHb0IYZi1XjsQjHdh22ifcson5fSOrIGMLcSIC0qJf9OxWuLib9W1wffyCobL bAe4tXWkZ7na3SjqwF29qnLcCYZW/u67f26Acv+KDN94gL91xNMDW6Fja+1ggvAApwNQ PAkEQwd1jrQmbmKcBaX/CM+8eqJDtvLeukeH82HiT7bfgtlcVt18RfSUofS0Vtm64oHc 2rHdA5HHCHQ0NCr1N+bVzVryqjZU7/Ev/9ndGAwuPT4BFwJEGxXzNoTPdP68vhAa95VV 0aujY7p1SOI8JFvTzblRZB/uLJ7sOZm6bWkJMKg1ZjnQgaYFUQNk8tY0bVTGRbguceOJ LM3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=EkBkaRXZudmd7XMAiYy/jmpRP0omMEONXHz1/7kzOvQ=; b=nJTREdRAka5L8/6Ta2Pbasm5FS/5An9nG49HM2ppAlO4ONbLxAKUNkRVePmIRwQBSm wERjN5hcmJB1L1PEwl2bbtnOop4F8PI7KbkgXW4g7uqjHHPFD90KHpb4BeLSn7PpnmiH EGxl7VXu33qf98Ez2dFLcl6BfRnD3WXAAY846gBn/H5p7kQIvi8H2eUDPqUEw0RMKmMW MBVENIvrxNQ95FNAntmNeGLwUwtW9UoDjTHbbfudYay6XSquupTEZ1kjBwgjO+FNgs/C 1cSRRRiGqVR6LOoffFvvXGcfQZsAcSEeR/tRc1+vzYyGAOLZPZKyeBkWLkouRaNQRUF3 jDZQ== 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 s19si11701892pgm.291.2019.08.27.04.57.56; Tue, 27 Aug 2019 04:58:10 -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; 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 S1729504AbfH0Lzq (ORCPT + 99 others); Tue, 27 Aug 2019 07:55:46 -0400 Received: from verein.lst.de ([213.95.11.211]:56387 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726596AbfH0Lzq (ORCPT ); Tue, 27 Aug 2019 07:55:46 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id A5EFF68AFE; Tue, 27 Aug 2019 13:55:41 +0200 (CEST) Date: Tue, 27 Aug 2019 13:55:41 +0200 From: Christoph Hellwig To: Masahiro Yamada Cc: Christoph Hellwig , 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 Subject: Re: [PATCH v2 2/2] dma-contiguous: Use fallback alloc_pages for single pages Message-ID: <20190827115541.GB5921@lst.de> References: <20190506223334.1834-1-nicoleotsuka@gmail.com> <20190506223334.1834-3-nicoleotsuka@gmail.com> <20190825011025.GA23410@lst.de> <20190826073320.GA11712@lst.de> <20190827075021.GA953@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 27, 2019 at 06:03:14PM +0900, Masahiro Yamada wrote: > Yes, this makes my driver working again > when CONFIG_DMA_CMA=y. > > > If I apply the following, my driver gets back working > irrespective of CONFIG_DMA_CMA. That sounds a lot like the device simply isn't 64-bit DMA capable, and previously always got CMA allocations under the limit it actually supported. I suggest that you submit this quirk to the mmc maintainers.