Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp59875ybg; Mon, 27 Jul 2020 23:24:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqTWzvJ5iA1+T8tlAJytV3iUgPPfEMMeuSl5TEZfzrAjY63aaH8+ZzfQyl1536Xns5+V7I X-Received: by 2002:a17:906:2681:: with SMTP id t1mr23696190ejc.350.1595917488787; Mon, 27 Jul 2020 23:24:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595917488; cv=none; d=google.com; s=arc-20160816; b=DbFMyFHBpAnbUqiUSnNOVCBbiI1Sx69Nss+zCz1OcMJ86XI/ywIHh7dBDd4MRut0S+ 8fuycQum39+hz45Rhr/C1hhQk4kC5pGaOdr+r6/3XUhK2yJnjmIBGlv+Rtyc3Kl+nwhJ JLDx9mA0MbqC4wE/mIPJVoZ9+WlwItGV3jpKdhgyPDCz6vOAgrvq5XfECYLRdRvfpBf3 t/Y0WIuGkJ/tO6ObwYdyOeSMf3p74++DQ2Fwb3uD2UyfPtfCBfE1t0vYxbq6Crh2bHQM mkwEZFDdg2stW1m/MWLJsvqCZ9tyJWxzhhMvj5z67h+Ke2arlFb1F1P41Ct8xYO8LWwf VAhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=6jk3ZlP3GO4B2FHfucgd6e8b6zp8EfqqO4iw2zaC8aY=; b=FIMCHeEUYuQMGDr2peDFSMq/T4XdmoU17EkzizsTFKYaxAAogdayRfbBkGgMfu549e MGOTdAckvExXhuTDT8aCIFM7aNY6OET2jsAOJ0Os8SoN/qZ54hypihMLVoth+1sMTAdk G0Ba30zZbHWiSISxXSa7K6VESLAIiZMRWcFanv0H3jv+vqRcNXlYFfW77ETB3EbP/cj3 qqgkNp67x88NodYhnj2pO4iBqOhSkX9EFS0CnKB9r3GWWQMmT06d0eBo6bNGDa7SMwbk 3iijNnB+0YsUOtbelXHXsG2XrWvw1sxOQOc5qqO+vR9npEH56Emk4PrD4IPySm4OZEn0 CfAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=E7Zq8dcV; 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 o6si3614540edv.566.2020.07.27.23.24.26; Mon, 27 Jul 2020 23:24: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=E7Zq8dcV; 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 S1726916AbgG1GYO (ORCPT + 99 others); Tue, 28 Jul 2020 02:24:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727969AbgG1GYM (ORCPT ); Tue, 28 Jul 2020 02:24:12 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7518FC0619D4 for ; Mon, 27 Jul 2020 23:24:12 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id ha11so3591867pjb.1 for ; Mon, 27 Jul 2020 23:24:12 -0700 (PDT) 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; bh=6jk3ZlP3GO4B2FHfucgd6e8b6zp8EfqqO4iw2zaC8aY=; b=E7Zq8dcVI9cCO63c0WKXzLc/HMGzBBMQUq52RPE9J9PswuT3k5BgjbI73KdpD31lmq QHVQm3bkDTi7wjz4c2ixn7sfKgizZv5ZjxSecNvd0ooKzrwAJx+SFFBvav3fY1CrsNMG 7978tIIw+SkZjrzV3JTFWfNXZucXm1Hx0zMk8pNxZj0MhVcunGfm7CwdSaNBOs8KL+I5 XMF4dRYRwmpM5b8O/XbvRnULOoqGKf3lvSrq76rrPoKa3dlHg/r3hVeNGK4OJ9RDrUfQ 3O60zlxuta1CZ2D6OqxdJhN/3iApaB6tp2V44WnPn6Uj8KvNfSSg5CH3vc1UoTDbOdg0 qmZA== 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; bh=6jk3ZlP3GO4B2FHfucgd6e8b6zp8EfqqO4iw2zaC8aY=; b=FH8gvN0/3lnEoEEBWpUjjlvgDGfAOmELgW0DdPWEUBPUKIiZZhZNE5+gtSTG7m6Mgb u9ZeIIxwH8gnN72QBf8+dzJTlTVi/qYEXKfk2vmwxQLNO5+HbAV+nALT2FfKOQyp7EdP 0fF7g+E556Gt/Y7pVmSkAcVx315+6ihqWRdLsyRFwbyeNCzyTFU9KlMAXNXdgwd50gwE muMe++WTeM4dZ7u/Pnw8q0eRTinysonIKd4zwlXvbJ3kv15sTNmpjlv68zxE48VDPRVm bDrX/Y6L9Tr+czlql0pNao0IfR3RpqjwYd0HuZZq0TvS66eLLeRkLCfgVbbSpa5lUkt4 1JnA== X-Gm-Message-State: AOAM533j4PugXpTm/iq9fENkzzAL75+ffvyS4Vkav4Az2qF6BY/Xb2J1 gybv+nCYCM+Gj38RcKcvSFu4uw== X-Received: by 2002:a17:90a:2a09:: with SMTP id i9mr2924299pjd.50.1595917451911; Mon, 27 Jul 2020 23:24:11 -0700 (PDT) Received: from builder.lan (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id j19sm1617388pjy.40.2020.07.27.23.24.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jul 2020 23:24:11 -0700 (PDT) Date: Mon, 27 Jul 2020 23:20:39 -0700 From: Bjorn Andersson To: Sibi Sankar Cc: agross@kernel.org, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, evgreen@chromium.org, ohad@wizery.com, rohitkr@codeaurora.org Subject: Re: [PATCH 2/2] remoteproc: qcom_q6v5_mss: Remove redundant running state Message-ID: <20200728062039.GE349841@builder.lan> References: <20200602163257.26978-1-sibis@codeaurora.org> <20200602163257.26978-2-sibis@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200602163257.26978-2-sibis@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 02 Jun 09:32 PDT 2020, Sibi Sankar wrote: > Remove the redundant running state, as an equivalent is maintained in > the common q6v5 resource handling helpers. > > Signed-off-by: Sibi Sankar Reviewed-by: Bjorn Andersson > --- > drivers/remoteproc/qcom_q6v5_mss.c | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/drivers/remoteproc/qcom_q6v5_mss.c b/drivers/remoteproc/qcom_q6v5_mss.c > index feb70283b6a21..702352cd66188 100644 > --- a/drivers/remoteproc/qcom_q6v5_mss.c > +++ b/drivers/remoteproc/qcom_q6v5_mss.c > @@ -178,8 +178,6 @@ struct q6v5 { > int active_reg_count; > int proxy_reg_count; > > - bool running; > - > bool dump_mba_loaded; > unsigned long dump_segment_mask; > unsigned long dump_complete_mask; > @@ -1275,7 +1273,6 @@ static int q6v5_start(struct rproc *rproc) > > /* Reset Dump Segment Mask */ > qproc->dump_segment_mask = 0; > - qproc->running = true; > > return 0; > > @@ -1290,8 +1287,6 @@ static int q6v5_stop(struct rproc *rproc) > struct q6v5 *qproc = (struct q6v5 *)rproc->priv; > int ret; > > - qproc->running = false; > - > ret = qcom_q6v5_request_stop(&qproc->q6v5); > if (ret == -ETIMEDOUT) > dev_err(qproc->dev, "timed out on wait\n"); > -- > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project >