Received: by 10.223.176.5 with SMTP id f5csp1279446wra; Sat, 27 Jan 2018 21:01:08 -0800 (PST) X-Google-Smtp-Source: AH8x224WD2kyrjBfDNAhkGtYFYuYWaNO23toeioFZ697kaARv31cQX5lJ+O4kGBMvm7PiSs07VKI X-Received: by 10.99.190.15 with SMTP id l15mr18909602pgf.197.1517115668512; Sat, 27 Jan 2018 21:01:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517115668; cv=none; d=google.com; s=arc-20160816; b=M9gBsdvu0ErymyIZSOMIx+RK6I7mBm3ukFW0i1ezUhwlxvIrg686J5gUSVMQ/3Jqsg b2h4NiSJ9vwOIVBUZBkSj8LN2SiGQDGI81CCAXaOdj5sBPscdO7U90BS6Xk114B8AyWK peRyqraAMcHtiOC0KR76eZ8DLy+SuqjkWufkfhc8CceI93UdmP39ozMYKgOjEu6iFJaq MHFwqFr1cQ/rRtZH4I9lTBYm0feWfRiUD2jkQjZShcCBw+auF9idzWfO31FJIM/g3BgL MruuyP7l5gtn+E26+DlkmGIFK0pupfls//Rr7p+QhgGiUPvOWAViFYVe/jp4rcqjRIek sO6A== 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:dkim-signature:arc-authentication-results; bh=krKiGW1CqPgUbG9xDpExx6ODoi8xS2Wlwp2ntC0LvcI=; b=RYAQdLZKnGBBmGpFz75OIkR/Dz/CqvxSyvhG9YV9DhRIfWwsBRHX7V5CI2CPtUlK/0 DbB1f+648wvkzE5ZGUtmwuDt8l4feIDkkRVyC1gYOJpsuECPUgBx6Yi/8YCUS+hD6rQk DII+Qm393xhNocTpfA+2WHob6neUriFxSP6yquNeV96CYfRP8TRdKK03Gwh1VgFBZsHX nE23fNkQNyYmx2VrXlHr54AzF6TSroOM+OIPDT51Nc0XFEcgSuRtqv814Hhvr6BIHBA3 zCZISFib600k2a98OgIBcrLEzT2h/bDNWinsJtCKpBDzVK0Ha6hErIOdtBafwFf/dAS+ lrng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CljbBs5i; 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 q2si485010pgd.331.2018.01.27.21.00.28; Sat, 27 Jan 2018 21:01:08 -0800 (PST) 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=CljbBs5i; 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 S1753010AbeA1E7g (ORCPT + 99 others); Sat, 27 Jan 2018 23:59:36 -0500 Received: from mail-io0-f196.google.com ([209.85.223.196]:46384 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751790AbeA1E7e (ORCPT ); Sat, 27 Jan 2018 23:59:34 -0500 Received: by mail-io0-f196.google.com with SMTP id f34so4309248ioi.13 for ; Sat, 27 Jan 2018 20:59:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=krKiGW1CqPgUbG9xDpExx6ODoi8xS2Wlwp2ntC0LvcI=; b=CljbBs5iQ0TZ6g55fWkY+cWCP0lZMv3e6y393r3aOfEF9weHut5n5GIRv8NK2vFYrd LJsGwhxE9+w7nBFiSmbOwB2crDzhZAuMFie6ZwvmQMS0Z0nCvWLZEQJm2TDPa3HvTeyM IGENOJFIq0MOZkFGwiEUZ1QGg0Wqr1QhDcBXk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=krKiGW1CqPgUbG9xDpExx6ODoi8xS2Wlwp2ntC0LvcI=; b=pEU8Wn+0GQkyFTGWCOmnSCbZu2MX4uAVwmal7K7VCwRkaOtZ47OTwMWLOEyI4Jsyki 9cpoaExzuG21jMIPcQwJMW6+cQyKd5tPLhR+K5V/yImt+RLy5oktgdFSqMRQZ2meNaQc CZE3sXzG8SsSqBa8Fq85lubo2FXycKhWW8toVfWtLU4e1D1Olw5MJkIT7LNztAM37SaR 2aOQ/p4dlHEfctqcjJipGK6dG+g/l2zUdsyuFveZ2TiXfKt5QLLrzapvH/SMFF9b6+kl MMR6xk75M12ITudKHVmaZ60AiEOkFtnrHs95B4crN4KOO5r4VkGEYebn2/S8weBSBOFW 0cHg== X-Gm-Message-State: AKwxytcGXUkwS9ejr8okHLNL104Hokxb18zVs8Vg3s89MIwJd+Ys30Gg dToxvWBJRx3lZHUa6nA9pX9bYw== X-Received: by 10.107.150.10 with SMTP id y10mr7929453iod.246.1517115573414; Sat, 27 Jan 2018 20:59:33 -0800 (PST) Received: from localhost (75-27-143-205.lightspeed.austtx.sbcglobal.net. [75.27.143.205]) by smtp.gmail.com with ESMTPSA id p198sm4335001itp.11.2018.01.27.20.59.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Jan 2018 20:59:32 -0800 (PST) Date: Sat, 27 Jan 2018 22:59:31 -0600 From: Andy Gross To: Bjorn Andersson Cc: Ohad Ben-Cohen , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, Suman Anna , Avaneesh Kumar Dwivedi , Loic Pallardy Subject: Re: [PATCH v3 3/4] soc: qcom: mdt-loader: Return relocation base Message-ID: <20180128045931.GA30392@hector.attlocal.net> References: <20180106000420.10070-1-bjorn.andersson@linaro.org> <20180106000420.10070-4-bjorn.andersson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180106000420.10070-4-bjorn.andersson@linaro.org> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 05, 2018 at 04:04:19PM -0800, Bjorn Andersson wrote: > In order to implement support for grabbing core dumps in remoteproc it's > necessary to know the relocated base of the image, as the offsets from > the virtual memory base might not be based on the physical address. > > Return the adjusted physical base address to the caller. > > Signed-off-by: Bjorn Andersson This looks fine. Acked-by: Andy Gross