Received: by 2002:a05:6359:322:b0:b3:69d0:12d8 with SMTP id ef34csp187657rwb; Wed, 10 Aug 2022 17:32:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR4PLOR041qNj8YFV8ME8tnQqR+8YLw0nqTJuX5vxD8se4+M+hMa/d3VEbaGbKkNeied9CtE X-Received: by 2002:a17:90b:4f47:b0:1f5:6919:8868 with SMTP id pj7-20020a17090b4f4700b001f569198868mr6064803pjb.131.1660177927254; Wed, 10 Aug 2022 17:32:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660177927; cv=none; d=google.com; s=arc-20160816; b=XEQMjqm8eceBFO04uA/SgzzyrvbgLI+5qgU8Y6LKQY1Wu/eHE19f3xk77wcYtd+tlF tYBsd1VSncjDyv+0I11L7PmWNJCpI+ZmHPlr4GQLzP/TRHxlYxSslIlOVgEeWQ34xyaf +03c2E+c6vlHtdrOFcl+9XCoGN+VFHqcypSpvyuNByMGPraiRAjwDmYtNFlI5BgzJ+xi HZxeX9P8d7fTB9Xq3pewZk+tiCk/kmN/fxC2zTV+I9oOVCX8G4CAinV0ked3Xq6yl5LO jHXTfaEgpHM6shXxqlYS6J6G5krsamosLQwYNQSq3b11znJX37AUGvH6XzBDLxdh3uNL jtAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=EX3bVclIGOJBNN3kaIwMF8d9L76zR4WsXSoGU82tx4Q=; b=HDFF1Z6fvyyTjDlanjejaZR5w1qfroU/3D7PW9DEsI6Z7/4iwomzCjWaqjxEx5rEH5 vbMFfj8cuB/SlHq1dHO0Tgo7GMVkHOkYnxG4w88MLqhREEkq3/tnfiiMwuRTL1W+6nCi fymnF0aqIuQRWEU47V7PAljAIKXyEkd+4Syb2GcMY2L5uKEEk7FS2i3i8JXugOyTqliR TWM7SnZju6hP6fZXQvJ/kI8VIAWLWSJ7sHeWWjLmOXXFEjr9RBoGao3B5X2Re6RokRVN cpkNf325ggZFLLnfuFav8F1/7sJdsz/BNJJRS44FfExlkhCcjK6x2FpN2IwN6kIzCYGd 6zww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="Qych/knH"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x12-20020aa78f0c000000b0052d991dd7b0si3901362pfr.38.2022.08.10.17.31.53; Wed, 10 Aug 2022 17:32:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="Qych/knH"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S233508AbiHKARi (ORCPT + 99 others); Wed, 10 Aug 2022 20:17:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233439AbiHKARe (ORCPT ); Wed, 10 Aug 2022 20:17:34 -0400 Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35ABF8FD58 for ; Wed, 10 Aug 2022 17:17:33 -0700 (PDT) Received: by mail-oi1-x22f.google.com with SMTP id h125so19608894oif.8 for ; Wed, 10 Aug 2022 17:17:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=to:subject:message-id:date:user-agent:from:references:in-reply-to :mime-version:from:to:cc; bh=EX3bVclIGOJBNN3kaIwMF8d9L76zR4WsXSoGU82tx4Q=; b=Qych/knHnNXGKR2RfvhnaH6NJcqX1D8kLFdg98P+Pc+BJgn3Xs1kGY1kcHUJVQZFNI ZQAaDnuSiZ+XNCRlpKRyNyJdG+q8qNVbspcFcidSTOC5vplZgYy4hmdJlkSEd9TR5BaO L+DNQhBv34hgmFEbEp/m0Z2+Dz8NSNwiWv8yU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:user-agent:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc; bh=EX3bVclIGOJBNN3kaIwMF8d9L76zR4WsXSoGU82tx4Q=; b=y14/k6OSwyTDX0OvpGdihKVeIXfM1I0nFMpq26uMUko5kCUAW2xCLwjOg2ZzXaZoHp L0sXfRfU++IUWUuWW+6OptLwcEwS0gkUNL8J9BryCuQVQepLkzJbITQtTau3uWaH3GY9 29o2tKiD4uGYcsKoL+YuMo2j6Y/wzOM2Qk6CGylrO4zYAEkW+aayfrkNZd4pMS6P5vCG iD7I+91cRPerKqw9ulULUOdnY3/pZ+ZFri9uZ+EO6toHCIAa7uQ+/L+99BDnvBWgNWNq Kcz1JUq5ULXRv55SCHvU/DaEHYbAa2nlmxkSwa1hpBz6927o5Uwk1u1apbxCAXVTPh6F TC6Q== X-Gm-Message-State: ACgBeo2tLqY+CkwkCZXaGPc9eZzdm0DpZQf1H3qlY9SJH5x17c36O78e m08OL67pVJSjQWAGS2LmQaQ18Fr8Z6MwRZnmDLjmvw== X-Received: by 2002:a05:6808:1389:b0:33a:bd16:c4e4 with SMTP id c9-20020a056808138900b0033abd16c4e4mr2323919oiw.0.1660177052568; Wed, 10 Aug 2022 17:17:32 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 10 Aug 2022 19:17:32 -0500 MIME-Version: 1.0 In-Reply-To: <1660117558-21829-4-git-send-email-quic_srivasam@quicinc.com> References: <1660117558-21829-1-git-send-email-quic_srivasam@quicinc.com> <1660117558-21829-4-git-send-email-quic_srivasam@quicinc.com> From: Stephen Boyd User-Agent: alot/0.10 Date: Wed, 10 Aug 2022 19:17:32 -0500 Message-ID: Subject: Re: [PATCH v3 3/8] remoteproc: qcom: Add flag in adsp private data structure To: Srinivasa Rao Mandadapu , agross@kernel.org, bgoswami@quicinc.com, bjorn.andersson@linaro.org, broonie@kernel.org, devicetree@vger.kernel.org, judyhsiao@chromium.org, lgirdwood@gmail.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, perex@perex.cz, quic_plai@quicinc.com, quic_rohkumar@quicinc.com, robh+dt@kernel.org, srinivas.kandagatla@linaro.org, tiwai@suse.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Srinivasa Rao Mandadapu (2022-08-10 00:45:53) > Add flag in qcom_adsp private data structure and initialize > it to distinguish ADSP and WPSS modules. > > Signed-off-by: Srinivasa Rao Mandadapu > --- > Changes since V2: > -- Add is_adsp_sb_needed flag instead of is_wpss. > > drivers/remoteproc/qcom_q6v5_adsp.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/remoteproc/qcom_q6v5_adsp.c b/drivers/remoteproc/qcom_q6v5_adsp.c > index 2f3b9f5..d18ec74 100644 > --- a/drivers/remoteproc/qcom_q6v5_adsp.c > +++ b/drivers/remoteproc/qcom_q6v5_adsp.c > @@ -62,6 +62,7 @@ struct adsp_pil_data { > const char *sysmon_name; > int ssctl_id; > bool is_wpss; > + bool is_adsp_sb_needed; What does 'sb' mean? Self boot? Can you just write it out? And maybe drop 'is_' prefix because if (is_*) and if (something_needed) reads the same.