Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1009692pxa; Wed, 19 Aug 2020 23:22:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBlLYCznvR8b+cvAdYx0QTg931zeJ8+GOvNAIT2bnN02EQrubsvkIb0HIKWJc060S90Nk8 X-Received: by 2002:a17:906:fb07:: with SMTP id lz7mr1758927ejb.49.1597904551896; Wed, 19 Aug 2020 23:22:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597904551; cv=none; d=google.com; s=arc-20160816; b=dGQrL0zbB4BSOkNIYKnG5Sof4Yclf0ds8qAOSYj6OBezeHpHhtQGMqC6LN51kysR54 HEWUzsXLElbaLOcbwG4vsYkX9eDODd0LnpK+agZyFD41ZGwOM2DeG4k1j3yDx9zac+PA MB8gkE298tJjGaKXGUeuRV1f2ShaAvAHeviGEu9Ien65s779EQolUHTGPkheeZAxDL6R zfSTmYclC8/J7uIxnzffRFN/yEk6DyfaSrd8+f8HTXP8pZKKSF8hep2k461OyE9k1tdf FWACxwHTdqR8lzd5fysrXfNoisk5GJMJ6KWKP6GPaCcC5cBbckn5cf8RfjQXNiFw60Mr pDmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=1Tw/sLiDck9pi6k/ICBYzHQlwO363+orOwakPWPDaPE=; b=R7Pp3hda9HJL/JN0ioKfEkNon8oAWTWUQODkzZzQMBij8Vwf4Vwm1GOB6WfK7aPJaL /lJP073C5+9KBkXk2Umr8YjQG/5OHhyI2K3lImtRCPr1JZ02ILVrZ35J6aiLZPqBjYMQ ZYNh1fg2TOEO6rhYDvnSa6FRt/uLs5E/bI4w0ZWGteCpABI5ogaug8xp9M3JZ3/33Gh3 qTcLNBJTm1X4UhS9HnAwh6tS+VXW4+Mkw0qyEhhEVohk3yUKSlQO0WWtxe1MYfB3vWUE zlFiN8Xt4WwelLFRfdXR8Fc5fu7ONWy+HJIZysRi3fGTZzZ774yZ64SvUjiJt8TMx0+4 eTCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=Vd6WnZhH; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id si17si620478ejb.599.2020.08.19.23.22.07; Wed, 19 Aug 2020 23:22:31 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=Vd6WnZhH; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725882AbgHTGTN (ORCPT + 99 others); Thu, 20 Aug 2020 02:19:13 -0400 Received: from mail29.static.mailgun.info ([104.130.122.29]:16480 "EHLO mail29.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725828AbgHTGTM (ORCPT ); Thu, 20 Aug 2020 02:19:12 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1597904351; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=1Tw/sLiDck9pi6k/ICBYzHQlwO363+orOwakPWPDaPE=; b=Vd6WnZhH3N+rcBtLmHS1gzjNIxKK8jOnjOFVxEz4cDvHFL0Y5CXUHaUbKsMJc61t0qjevJWl m+Aiz1wHbEegP/Ff7ksv9vovHnuyGPhAGEkK0WqtNNcJxgO3HfoFl23qfjlWnJ0o0DUH9Sen p62TQm/QFmKy4q/jdV7d/hDs4mQ= X-Mailgun-Sending-Ip: 104.130.122.29 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n06.prod.us-east-1.postgun.com with SMTP id 5f3e15dece76f1f961940236 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 20 Aug 2020 06:19:10 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 3F71FC433C6; Thu, 20 Aug 2020 06:19:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: saiprakash.ranjan) by smtp.codeaurora.org (Postfix) with ESMTPSA id 34332C433CA; Thu, 20 Aug 2020 06:19:09 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 20 Aug 2020 11:49:09 +0530 From: Sai Prakash Ranjan To: Maulik Shah Cc: bjorn.andersson@linaro.org, agross@kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, ulf.hansson@linaro.org, swboyd@chromium.org, dianders@chromium.org, rnayak@codeaurora.org, ilina@codeaurora.org, lsrao@codeaurora.org, John Stultz , Stephen Rothwell Subject: Re: [PATCH 1/2] Revert "drivers: qcom: rpmh-rsc: Use rcuidle tracepoints for rpmh" In-Reply-To: <1597831670-17401-2-git-send-email-mkshah@codeaurora.org> References: <1597831670-17401-1-git-send-email-mkshah@codeaurora.org> <1597831670-17401-2-git-send-email-mkshah@codeaurora.org> Message-ID: <8456a8006c0c165bb33dc34219eb7e5e@codeaurora.org> X-Sender: saiprakash.ranjan@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-08-19 15:37, Maulik Shah wrote: > This change was done based on an test results of unmerged series of > adding RSC power domain and using .power_off callback of genpd to > invoke rpmh_flush(). > > Call trace: > dump_backtrace+0x0/0x174 > show_stack+0x20/0x2c > dump_stack+0xc8/0x124 > lockdep_rcu_suspicious+0xe4/0x104 > __tcs_buffer_write+0x230/0x2d0 > rpmh_rsc_write_ctrl_data+0x210/0x270 > rpmh_flush+0x84/0x24c > rpmh_domain_power_off+0x78/0x98 > _genpd_power_off+0x40/0xc0 > genpd_power_off+0x168/0x208 > > Later the final merged solution is to use CPU PM notification to invoke > rpmh_flush() and .power_off callback of genpd is not implemented in the > driver. > > Remove this change since RCU will not be idle during CPU PM > notifications > hence not required to use _rcuidle tracepoint. Using _rcuidle > tracepoint > prevented rpmh driver to be loadable module as these are not exported > symbols. > > This reverts commit efde2659b0fe835732047357b2902cca14f054d9. > > Cc: Sai Prakash Ranjan > Cc: John Stultz > Cc: Stephen Rothwell > Signed-off-by: Maulik Shah > --- Reviewed-by: Sai Prakash Ranjan Thanks, Sai -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation