Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp675086ybh; Tue, 21 Jul 2020 05:19:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpLKwweUqDiNSjNpuZcmDbW7B4u2GpAz715C68SBy/alCtYyajT+x6H+1sSfgAkhx9v4lp X-Received: by 2002:a17:907:1189:: with SMTP id uz9mr25759779ejb.478.1595333988843; Tue, 21 Jul 2020 05:19:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595333988; cv=none; d=google.com; s=arc-20160816; b=kRHuCkuIvgAny5N6vjxPaVaHk3cEm3fgkM4uIQtSA2MzII7xsIxDtXEl2C4kHAYCC1 MShtAmJrWYrbAXQPhMdHvXVkqzEjasxZgxRdgtl+C/GJsyEIU9LQGs/SJajvR/0MvPIl uYnfHrSPBVeFfGxr+WEBlW/2QEGMlg7edjAodVgxQCC5S19TR0tEVPtUqsCxbSgQsKt8 ATXz39n4w4jiqwj2dmMu07eC2OwIrj/f2+KkaVTyProaFM2YFSWS2KY3sF5RtA1u44zN 24uPpI7mmvRmX70V1NTDhb0LS4ZTCpzXnhkEt8vgfeiCaVg2H7wJOv2X692VEbwuco9n 7sKQ== 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; bh=KT7CX+sV+20uXbQeUHLKwJRh4dFo+b84KZ0oSyhNRfY=; b=duOP7juxcoj2ace1FfzGtOqWn5mDcqPvmDosy5BMQqk3u2EmqxzpLkBHwgO8slcZGT /8uMo/CORGYS4T+6xtBRcwztCjtMTMHGj9rhUCgM59n7fZIP2iec+RKUVTglbEzJqlHx xc13X0hmC/NjxbTrgZEt3YWcnLlHS6ieSWvgtXDiKyELGWC5/5o9GFNsFt9tccrfT9Ch AeR/wIH/TybagQ4mRc1MMjDin+o1jIXOIfLF16UVL41fDPvxlp7PICqPdktlolm65vVM 3+7pVNgSSY2RRw5E16d3/rtIETouOJqOnOlMTAn20IQnJ2NC0C4VOakIquUiPjrirbDf 4mvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XN5HhjfA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gv18si11869348ejb.390.2020.07.21.05.19.26; Tue, 21 Jul 2020 05:19:48 -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; dkim=pass header.i=@linaro.org header.s=google header.b=XN5HhjfA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729802AbgGUMRN (ORCPT + 99 others); Tue, 21 Jul 2020 08:17:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727043AbgGUMRM (ORCPT ); Tue, 21 Jul 2020 08:17:12 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 675AFC061794 for ; Tue, 21 Jul 2020 05:17:11 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id 88so10702752wrh.3 for ; Tue, 21 Jul 2020 05:17:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KT7CX+sV+20uXbQeUHLKwJRh4dFo+b84KZ0oSyhNRfY=; b=XN5HhjfATGppAb/bzZwx8DxcgGcmmNsfzUyvlDJbm81UC3NYyMUkLKRGe1kgn+OioN wm62TH5oghm13XAMiQZPfo4536IJO2M8FJ48AkSV2otgbMJdjnx0Xbu/FCtqXlq3VIRS wz8b04vcCyn7Haf9oOhgl7eESlHwNtiPMKgcTNbJ0GSQP0ntKnyuLUUqii9U6Z8TTReC Zt0rgtUu+Fltegl0jRDJKNwDRqqjt1asnuZqJJvXm3llD+6dLI4f25XxShnNoWGYRusB Ir+vN0coE9A7NpH/r4VfaGPtx4W0ShW6FBYDR/TLQSsp7kGJaW7izkFCyym4eEGA8Ak1 k+uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KT7CX+sV+20uXbQeUHLKwJRh4dFo+b84KZ0oSyhNRfY=; b=rjmumSr3E4zriPSlyM0qTXUeVi/i5G7HLurV159b+xA7pFfIksmPfATn77Z/U/nGHE CJ8s7XnLBY1IkOrpTJEgsM6ZyoY/F8lyCEkJ6sHQVjRVE/mrx/cfjk6GpQnfZSlaDGSJ xCe+fG93Q7mWOfCvI+fkwBDSrRbgvPD2btng8r3wNrNQvQI1HRhNpUDEsNG7u0RWwsyn sbwklWupPQwgRq0USwEVlOC5YMB0DxnwHGt1pDtesmDxK4knTBJy5lYIEJ4y3lfr1GAd mx7jgZm8sPOA+LT+BGbrQOq/pRNRBXMPsXNknwhhdH8exKVZOsM2/TTqEsf6vZ/bArYq HQVw== X-Gm-Message-State: AOAM532alb4wsDAZygR5DaiDC4C7sF4My3we8e36PdtWIjycFuyJdgQM OVO01YFIcgBgh9dSlA41r9HN8xnD5OPoJr0uwaOtXA== X-Received: by 2002:adf:f44b:: with SMTP id f11mr14490610wrp.114.1595333830109; Tue, 21 Jul 2020 05:17:10 -0700 (PDT) MIME-Version: 1.0 References: <20200708164936.9340-1-nsaenzjulienne@suse.de> <550b30a86c0785049d24c945e2c6628d491cee3a.camel@suse.de> <011994f8a717a00dcd9ed7682a1ddeb421c2c43f.camel@suse.de> <20200721112842.GB27356@lst.de> In-Reply-To: From: Amit Pundir Date: Tue, 21 Jul 2020 17:46:33 +0530 Message-ID: Subject: Re: [PATCH] dma-pool: Do not allocate pool memory from CMA To: Nicolas Saenz Julienne Cc: Christoph Hellwig , 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 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 Tue, 21 Jul 2020 at 17:07, Nicolas Saenz Julienne wrote: > > 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? Can't boot with that patch either. Regards, Amit Pundir > > Regards, > Nicolas > > [1] https://lore.kernel.org/linux-iomhttps://lore.kernel.org/linux-iom > mu/fe14037b02fd887a73cd91c115dccc4485f8446e.camel@suse.de/T/#t > >