Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3924604ybz; Mon, 20 Apr 2020 11:59:59 -0700 (PDT) X-Google-Smtp-Source: APiQypLlt9d99p2KzqwpwQCS1Lqy2yHVDdvjPIh5fbvxUOuhEQC3unjheUj0d16NWqMuXZsnNYxv X-Received: by 2002:a05:6402:2d5:: with SMTP id b21mr15121055edx.291.1587409199525; Mon, 20 Apr 2020 11:59:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587409199; cv=none; d=google.com; s=arc-20160816; b=s4EPR/9eLU04g90sN8iZmTWDaRwsW1UeBGaHZg2Fi6YLdbtRlUC80Ul+GxHF0aVCMc vgyUr1c9Q40HHIvWQx+stNYKaj8kqI+QeIYZBEIQhBY2u2Guj6UHVAX5RijFgOeGMT4P rsg0DCSKYjICBG7WxEZMbALUdbNyUQ7xSKznmbbex/mZwdjKSfoog/fiBo6ygz1Rayqi 5jmPQjyYjadK6M9ARaoyM7uPmTGRSPdqB8SsrRWipMxwzjIYUcIk/ZP5PxRsCen71QRm OG5WVxbZvLOIOq1tf96MzU9RjG1T6nckoj6f/rDas3egyEqyJyOBlqfBcKkHPC/+atkX VCbw== 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=OyRaasLaLoASyW1/WLmX+C7yyhvEwUVdH1hzQw3fL7E=; b=tuYEwR/jy9Xxmz2n9+2rxH3QCFqsqCoHGRsISDMfOXytBTWY+fTcIgjBIDkO4xmB8H Xd+yXJXhB0mP5WrmcwY06U9GAj+2V0oX376GzVSYMpnf43m6I4iA/DrYQWQt47zdcHmQ 5RUuNQzmJXPiUavvvzzkHLGvlAJD3fpXPiYfDyFZtFvLe+XObZtYuDmmpzgaQLFQ9JVc Zk+4vIKcO7tY9rDOLHyxArFosC7xSsEk+h/m8kOAFqlt843IrdfAf1SNZedWfy44NLx3 IoOaBv//GE2os7uTgx6uFbCjeHTvMyBZQIg+VuL7ATtYQGdkHqnUgGciG+ILZTtybZRU WBzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=aAUNKvGC; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c19si87315ejk.126.2020.04.20.11.59.35; Mon, 20 Apr 2020 11:59:59 -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=@chromium.org header.s=google header.b=aAUNKvGC; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726189AbgDTS6i (ORCPT + 99 others); Mon, 20 Apr 2020 14:58:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726013AbgDTS6i (ORCPT ); Mon, 20 Apr 2020 14:58:38 -0400 Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26C8FC061A0F for ; Mon, 20 Apr 2020 11:58:36 -0700 (PDT) Received: by mail-lj1-x244.google.com with SMTP id m8so11275445lji.1 for ; Mon, 20 Apr 2020 11:58:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OyRaasLaLoASyW1/WLmX+C7yyhvEwUVdH1hzQw3fL7E=; b=aAUNKvGCyrKNt32Q53YuPu83JPr2m78bZjek5JeaSOZXAWOSGrhq63lYEotLTLwyTV 2lxdxzeM41bnfDEQPDVTPB4Z22UZOiLWy8uftsHy958As20WxujgDFn06bFQ7IHSzo0F djukFCXip2VwGYwTsqmQhzPG4l+oDShfVueps= 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=OyRaasLaLoASyW1/WLmX+C7yyhvEwUVdH1hzQw3fL7E=; b=nWa6BlKuxo6PHWz22uxdG3Jmr+6aX3lPwdpPZXFtBB35s8CSSZDII/WjATwhYYLeTJ DpBNcJjAohN/cMJUgjErn/ByEUiizMZzBoOCSgNfy5ZA4rMngKcR2zXpwC1rqPDaFXWl mahNW/9lB686pea5fw/gpMi42VXd+tn8nrXzkTCf7dUd6e8gDIt22le1sa/SQENUBzfz xrZ3UBbo/hxrZPHHEn0tT+Dm5wIE9glJQ1RkKKDH7eHIgyzVsxeZHH6yx6KBAxS9mL2V 3Cg1F4GNok5kCRxq0XodyrnaFgk2hdPanC4X9KezmzAouWzUOwy4BoD/2uz15Rkl8sju yWUQ== X-Gm-Message-State: AGi0PuYt+RiiUxFZW5pJKNl3zhy+btZVxCE6pRKgsk500gQjMRGTHImw qWX8O0zes4ua9jABGFJ711Bh4woRpik= X-Received: by 2002:a2e:b605:: with SMTP id r5mr10765657ljn.40.1587409114319; Mon, 20 Apr 2020 11:58:34 -0700 (PDT) Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com. [209.85.208.172]) by smtp.gmail.com with ESMTPSA id i20sm217132lfe.15.2020.04.20.11.58.33 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Apr 2020 11:58:33 -0700 (PDT) Received: by mail-lj1-f172.google.com with SMTP id f18so5232031lja.13 for ; Mon, 20 Apr 2020 11:58:33 -0700 (PDT) X-Received: by 2002:a05:651c:449:: with SMTP id g9mr11325281ljg.278.1587409112751; Mon, 20 Apr 2020 11:58:32 -0700 (PDT) MIME-Version: 1.0 References: <20200415071619.6052-1-sibis@codeaurora.org> <20200415071619.6052-2-sibis@codeaurora.org> In-Reply-To: From: Evan Green Date: Mon, 20 Apr 2020 11:57:56 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/2] remoteproc: qcom_q6v5_mss: Remove unused q6v5_da_to_va function To: Sibi Sankar Cc: Bjorn Andersson , Andy Gross , linux-arm-msm , LKML , linux-remoteproc@vger.kernel.org, Ohad Ben Cohen 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 Mon, Apr 20, 2020 at 11:53 AM Evan Green wrote: > > On Wed, Apr 15, 2020 at 12:16 AM Sibi Sankar wrote: > > > > Remove unsed q6v5_da_to_va function as the mss driver uses a per segment > > dump function. > > > > Signed-off-by: Sibi Sankar > > --- > > drivers/remoteproc/qcom_q6v5_mss.c | 14 -------------- > > 1 file changed, 14 deletions(-) > > > > diff --git a/drivers/remoteproc/qcom_q6v5_mss.c b/drivers/remoteproc/qcom_q6v5_mss.c > > index b781fc8de3597..6a19e0e77236e 100644 > > --- a/drivers/remoteproc/qcom_q6v5_mss.c > > +++ b/drivers/remoteproc/qcom_q6v5_mss.c > > @@ -196,7 +196,6 @@ struct q6v5 { > > > > phys_addr_t mpss_phys; > > phys_addr_t mpss_reloc; > > - void *mpss_region; > > Hm, this doesn't build for me on our Chrome tree: > > CC [M] drivers/remoteproc/qcom_q6v5_mss.o > /mnt/host/source/src/third_party/kernel/v5.4/drivers/remoteproc/qcom_q6v5_mss.c:1118:16: > error: no member named 'mpss_region' in 'struct q6v5' > ptr = qproc->mpss_region + offset; > ~~~~~ ^ > /mnt/host/source/src/third_party/kernel/v5.4/drivers/remoteproc/qcom_q6v5_mss.c:1520:9: > error: no member named 'mpss_region' in 'struct q6v5' > qproc->mpss_region = devm_ioremap_wc(qproc->dev, > qproc->mpss_phys, qproc->mpss_size); > ~~~~~ ^ > /mnt/host/source/src/third_party/kernel/v5.4/drivers/remoteproc/qcom_q6v5_mss.c:1521:14: > error: no member named 'mpss_region' in 'struct q6v5' > if (!qproc->mpss_region) { > ~~~~~ ^ Whoops, ignore me, I missed the other patch in this series. -Evan