Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp646821ybh; Tue, 21 Jul 2020 04:39:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmoa5Tn/Cfr+ujn1PXh/sUtV4kzUc5p/gRpEBj6m3F9QmO+qCN5YGD2WekXaooKl3S1B53 X-Received: by 2002:aa7:c31a:: with SMTP id l26mr24621116edq.61.1595331548508; Tue, 21 Jul 2020 04:39:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595331548; cv=none; d=google.com; s=arc-20160816; b=sjplMJTn+eoamesBDIr5ZG3ub0/NXHXcGirfNE9WQtCr5OpjZ1npfRYfyKU8v+7jMl QMH6Jx6nkNzBtbLsCbgvV4OHxw9WwZbK5WX8LQNV0HWfGqikMTANC+72v/9YadXVcbhF XM3Pe2CmqC77RsBio9imm+z0rZZ5RXBuwKiEKP77XsHPD/2337t5xhmDv8db2b5eTdTj LXWzWLZ1suJUhX1X/AH3njmQJEiaso69Xmblm+K8aEyh6HCh0yI+1BQAoL6j1NSM9/KP BIEr5r38Up5UDS/0Sha9ecAQciL3zXXDaQD3gOvNJlf+bI1i1E09nOLW4LcVrVTsSW4M +7cw== 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:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=tgInyYiBhHm7fjgwqLwYaoGcSK1Xt6RXo3DbEjxpjO8=; b=Yubu2LEYkjv0kq8GjqWGHv83VxX+znVBHOTrbfJhm/CP7Al1e9FEl3SsNQ88gUVqZs x8DMeKGmyqSv8z10DLSnqb1Xzcsj7yTMAjg2uH2A/fp4KmJ/slSHMx6zdye/ROx4Ib74 kW/qt4l1NNobC04YA+iNb+Sh5NQ6GoybPEqsDZ+SbtUakigORopX4KjfdqNcUFP++fPm 9ZCO5TXc9BGt2Sp6lUu8vQEkf6yShJzUYH4hn4dGXcXdLAkbJaY4PY4tSDVxFBGIMNJM eU0gS/6HeP6u+71N/pNBo8b+E3DcXm+N5moHFmD4vfUj84vJ+5hBhhW7OSw/KmkxC1xN qZ/A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jp14si12296714ejb.93.2020.07.21.04.38.45; Tue, 21 Jul 2020 04:39:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728941AbgGULhO (ORCPT + 99 others); Tue, 21 Jul 2020 07:37:14 -0400 Received: from mx2.suse.de ([195.135.220.15]:39252 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726942AbgGULhN (ORCPT ); Tue, 21 Jul 2020 07:37:13 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 6D424AD25; Tue, 21 Jul 2020 11:37:19 +0000 (UTC) Message-ID: Subject: Re: [PATCH] dma-pool: Do not allocate pool memory from CMA From: Nicolas Saenz Julienne To: Christoph Hellwig , Amit Pundir Cc: Marek Szyprowski , Robin Murphy , David Rientjes , linux-rpi-kernel@lists.infradead.org, jeremy.linton@arm.com, iommu@lists.linux-foundation.org, lkml , John Stultz , Sumit Semwal Date: Tue, 21 Jul 2020 13:37:11 +0200 In-Reply-To: <20200721112842.GB27356@lst.de> References: <20200708164936.9340-1-nsaenzjulienne@suse.de> <550b30a86c0785049d24c945e2c6628d491cee3a.camel@suse.de> <011994f8a717a00dcd9ed7682a1ddeb421c2c43f.camel@suse.de> <20200721112842.GB27356@lst.de> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.3-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2020-07-21 at 13:28 +0200, Christoph Hellwig wrote: > On Tue, Jul 21, 2020 at 01:15:23PM +0200, Nicolas Saenz Julienne > wrote: > > I'm at loss at what could be failing here. Your device should be > > able > > to address the whole 8GB memory space, which AFAIK is the max > > available > > on that smartphone family. But maybe the device-tree is lying, who > > knows... > > Maybe we should give your patch to allocate from CMA but check the > address a try? (just because we can..) Yes, good idea! Amir, could you also test this patch[1] (having reverted the one that casues trouble) and report on whether it boots or not? Regards, Nicolas [1] https://lore.kernel.org/linux-iomhttps://lore.kernel.org/linux-iom mu/fe14037b02fd887a73cd91c115dccc4485f8446e.camel@suse.de/T/#t