Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1773065ybg; Sat, 19 Oct 2019 02:12:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqxOrSvKu69y2Zn3ClWHxFxTXdVzoXKj9JsdODa5R9l16i1IYUGHtiXfG6/WuCktUREqozoQ X-Received: by 2002:a17:906:1911:: with SMTP id a17mr12609963eje.14.1571476325733; Sat, 19 Oct 2019 02:12:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571476325; cv=none; d=google.com; s=arc-20160816; b=myFL7pjoWYwHUPjisbPwF6Br5G5LwDJcxTZBoEFTLhDB2/Ft0JNLsujoo5eTV1/yed P97D2c3PsZeO7KeGikuDIBkUHltrhTpJhbDUwGSmonrOjlYtOWwpC0ZcslAzKINbALY7 HFpAeB+nJbcA4QqDTPFPJJTVVgbBufh/rXvgbcH/etN646LtocIpPE/L/Hrb7Bd+qA8b cvWg96G0zJD+6dYZ74acXTP2hnsbLZy8A1SrGTpdcupywd0pQi9qnw6oUJ9JdAnc+UI3 1m8T7mhd0fyKifwWELNrS5D2i6wHq84TLF7caUIEhYuDa2TOYk3asVMoXFJLlvWDmPpA TYGQ== 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=kVifxkwV57lbFaLMZ62E2MymQicYvTWMQCIWoJEOxVE=; b=g1lb1jYUx9UFxDg7WcT/FQwG5H7Ts/fsY11UFsBGfibnpQNzKhn+Xdb1sJx7Fm61wX CbexOH45HyJEN1EgsjbRr6vTPcesCKp0PRA/Rp825YglqhuRoNWvB0vwxObqOJmHWJTM EctkMZjmbz4zuD4d4dYq+wmC3JbkK4kiXLYgeyXQXTv4rBiVRBoB+gRYNOGIMAP/nOJS 3UTvOo8kWUKiB1LKuk+IGKh1wn3CKKLaCcqntZyAgzc2Ay8Pt4RJzT0Pikk6YCNnV9Gg 0AKqAFBgAGXJU2cBZJO+bTO2il1UXsZsQ7kpCvPfj1QgmltfBeQ7LuJiTuvth96GsflF l/vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xMqSU3dY; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l18si4968618ejg.248.2019.10.19.02.11.42; Sat, 19 Oct 2019 02:12:05 -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=@linaro.org header.s=google header.b=xMqSU3dY; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2443225AbfJRTEj (ORCPT + 99 others); Fri, 18 Oct 2019 15:04:39 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:37723 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2439950AbfJRTEj (ORCPT ); Fri, 18 Oct 2019 15:04:39 -0400 Received: by mail-wm1-f66.google.com with SMTP id f22so7093472wmc.2 for ; Fri, 18 Oct 2019 12:04:37 -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=kVifxkwV57lbFaLMZ62E2MymQicYvTWMQCIWoJEOxVE=; b=xMqSU3dYbjRNXrK2X8mJ/bin+9yX01nMLFcUnxVFLpfdUixET5kIQRIzXkvV2uxO9O kpcRo/hk2WxPWy9wV9qo1Xxdk8WgRtI3qM6Co2dH7dwh7RuwKxOX4ylleKdUsIrwTPp1 yIdT4fnHrv46kuyNWpEGCexOMl0Bcb46+XkOIBw+wWBVdUJXZGYiRex6IgkeP8mxLdpk 6MJloWgTsrbwbR5GfCnNlabZWhh/e7ZU6zshSRdF4ukvYZ16k9884bM+9+9yFTXgtwXm WRk00HZkwETc9wrc6kFfJTbyt9EtQcId79EXlIFf+PwgBt/p+I68WUV9xOTFzSQR/YQA 34sg== 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=kVifxkwV57lbFaLMZ62E2MymQicYvTWMQCIWoJEOxVE=; b=PWHqnq2V61Ma2xdlDkCm+uOwYHuJhByi5ElL4uRUawdsZktb4d/OI9dONy7RYlwGnN wV0Js10GJLl0Dw85IHBtZtfwIOEQtkcAnyCdt90XpoyaFg8vT4/q4qgaMbxeLy3Q8Z33 54oWhinybhTn5hc4smmZ277wS2YHitotQ2tEQbOlkRQJVuwd+iYDgq5L3uQDLunXArVD LBbNMbq3iOXqeG9Sz1DX3MxI87wyqkAMAYXpilCvikhNxP3MZN4c/9aAhS41lQcOB7Pj RDPT1WhI6cYOeo7VuD7gXF/v2c5lEeFJ28MRIDdJeVs55QuU3/n+ytJZR+csGdIC9n3S MByw== X-Gm-Message-State: APjAAAWGkk5nsPOj4WFouOp2L3WCI9ND/GieHGr9WUEU9fgAF3rOA/ZV TuXktS/XIgA/8dcU0k/nkUlFO5e1TPkIUohHeQfCcA== X-Received: by 2002:a05:600c:2388:: with SMTP id m8mr8328661wma.173.1571425476242; Fri, 18 Oct 2019 12:04:36 -0700 (PDT) MIME-Version: 1.0 References: <20191009173742.GA2682@arm.com> <20191014090729.lwusl5zxa32a7uua@DESKTOP-E1NTVVP.localdomain> <20191018095516.inwes5avdeixl5nr@DESKTOP-E1NTVVP.localdomain> <20191018184123.GA10634@arm.com> <20191018185723.GA27993@arm.com> In-Reply-To: <20191018185723.GA27993@arm.com> From: John Stultz Date: Fri, 18 Oct 2019 12:04:25 -0700 Message-ID: Subject: Re: [RESEND][PATCH v8 0/5] DMA-BUF Heaps (destaging ION) To: Ayan Halder Cc: Brian Starkey , "Andrew F. Davis" , nd , Sudipto Paul , Vincent Donnefort , Chenbo Feng , Alistair Strachan , Liam Mark , lkml , Christoph Hellwig , DRI mailing list , Hridya Valsaraju , Pratik Patel 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 Fri, Oct 18, 2019 at 11:57 AM Ayan Halder wrote: > On Fri, Oct 18, 2019 at 11:49:22AM -0700, John Stultz wrote: > > On Fri, Oct 18, 2019 at 11:41 AM Ayan Halder wrote: > > > With 'reusable', rmem_cma_setup() succeeds , but the kernel crashes as follows :- > > > > > > [ 0.450562] WARNING: CPU: 2 PID: 1 at mm/cma.c:110 cma_init_reserved_areas+0xec/0x22c > > > > Is the value 0x60000000 you're using something you just guessed at? It > > seems like the warning here is saying the pfn calculated from the base > > address isn't valid. > It is a valid memory region we use to allocate framebuffers. Hrm. I guess I'd suggest digging to figure out why the kernel doesn't see it as such. Does this only happen with my patches applied? I'm sort of assuming can you trip this even without them, but maybe I'm wrong? thanks -john