From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8AF6C3A5A1 for ; Wed, 28 Aug 2019 10:54:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7C0E520828 for ; Wed, 28 Aug 2019 10:54:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ELglyeIY"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=nifty.com header.i=@nifty.com header.b="bK8fRPnW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7C0E520828 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=socionext.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YVNbhOWltR/030HTRv4YNvDPwNM90grkxVPjOMFA24c=; b=ELglyeIYOEP8vV uJdWIeGYe8lTtmI1nvLPX/01bkMtEGxMFuFvlUU4m/7PeLYpBa7GqbxfpX0KgLJA4nbB9xbSDeohE zzTDQr7C2XYecy8+vyVSjqUbq0bZCJ8ucrYkvp/IhAAoT32MmDQs/eeHJwKqPaOSKQmr6Xun7zErm vjS/tDgJMI9bJ299ihadOs7Mv2QxN3ZnsVBNzmCy8TMU7uTwCIKXXHuGjBIYzI2/c4BEEe29zgTGI UcF81N4pn2QqDaoGzHSCXGekhxx9YXAHBAF+LPObnVbN0OujgH97LeR/rI7QBpY6s+hRCSCKKl7Xd NF3jjpOujfzapDeZkArA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i2vbC-0006bf-BK; Wed, 28 Aug 2019 10:54:46 +0000 Received: from conssluserg-05.nifty.com ([210.131.2.90]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i2vb8-0006ad-7Z for linux-arm-kernel@lists.infradead.org; Wed, 28 Aug 2019 10:54:43 +0000 Received: from mail-vs1-f47.google.com (mail-vs1-f47.google.com [209.85.217.47]) (authenticated) by conssluserg-05.nifty.com with ESMTP id x7SAsGAr020684 for ; Wed, 28 Aug 2019 19:54:17 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com x7SAsGAr020684 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1566989657; bh=0aEfdaeY7mGkEAyGyJedaS36AmSkDHSHLjJWK6eJ8jU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=bK8fRPnWch65cU6pgIoRy9PQBFZXFjZyaECj8O/kkx24MPqoedK98ZKATllbYFpCx nEN73VKu9eY89bVTdzDU6v4j6xAD+ZPhYcHLtZI6J986KSm9T4v1ZXa30nNgd9iOa/ iVw5CoXOPXoV094mtj5rUSD9l+L2GUG738uJ6VpcqCkpDHUAcP3LkIVQIws/5MjHln 27ZJtFOqGh9EQlFwGFso/6v6/xwkQB1BIZU4X8d6Pn6jEASzJyVsxrQ2Y6pr9vLyvd uLiEGSm67Nu/LHo2aqPZixxJR3pcME8nfDSwsPSDZMUPb5R6wnwVYSj8cjFpsa3ikc GNot1GcyfydYA== X-Nifty-SrcIP: [209.85.217.47] Received: by mail-vs1-f47.google.com with SMTP id c7so1517889vse.11 for ; Wed, 28 Aug 2019 03:54:17 -0700 (PDT) X-Gm-Message-State: APjAAAVd73VDbDnJF2HdpSxm/u+uVzkZ527cIjrvhL2Zvk6habUQuOaJ 9THA3LY4hFGLKjBXORr5yFOGvdjo4n0JigCbqaU= X-Google-Smtp-Source: APXvYqyTOMfJYEouCiB1bEN4976TgQu4HqralgHD2818HsBCGBXAYnYZsbiCyyA54/vVKIRU/ogvfy3faarlq+XW0VM= X-Received: by 2002:a67:8a83:: with SMTP id m125mr1914365vsd.181.1566989656023; Wed, 28 Aug 2019 03:54:16 -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> <20190827075021.GA953@lst.de> <20190827115541.GB5921@lst.de> In-Reply-To: <20190827115541.GB5921@lst.de> From: Masahiro Yamada Date: Wed, 28 Aug 2019 19:53:40 +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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190828_035442_487477_EB152FC1 X-CRM114-Status: GOOD ( 14.90 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ulf Hansson , Tony Lindgren , Catalin Marinas , Will Deacon , Linux Kernel Mailing List , Max Filippov , Marek Szyprowski , Stephen Rothwell , Joerg Roedel , Russell King , Thierry Reding , linux-xtensa@linux-xtensa.org, Kees Cook , Nicolin Chen , Andrew Morton , linux-arm-kernel , Chris Zankel , Wolfram Sang , David Woodhouse , linux-mmc , Adrian Hunter , iommu@lists.linux-foundation.org, iamjoonsoo.kim@lge.com, Robin Murphy Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Christoph, On Tue, Aug 27, 2019 at 8:55 PM Christoph Hellwig wrote: > > 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. I tested v5.2 and my MMC host controller works with dma_address that exceeds 32-bit physical address. So, I believe my MMC device is 64-bit DMA capable. I am still looking into the code to find out what was changed. -- Best Regards Masahiro Yamada _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel