From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD1F9C2BA16 for ; Tue, 7 Apr 2020 06:55:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8B5EB2072A for ; Tue, 7 Apr 2020 06:55:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="GHKlsmNj"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="LVMndgzy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8B5EB2072A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Date:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EY7rEV0Cy6tIt5AbPfJ5PpffcN5uqFz9Tvazndw7lXk=; b=GHKlsmNj87xtMM o8KtKgJZKkLucnlgqfUvRsjQgctapTl6TtUKAwPe5es65vVal6W2/OeEIoaphoZdU2EFJFJBloZVf yocq4q7FHmsOfQ+6oROnzj+Sop0TxC1ZaHneFPfP5/RItHi5Gn3rO+3/fo8QlQh+3FLIL/eU1b1DG wlcp3XCz7G66HemhViCIvya54tDspSZp9IjjdAyLk+JrCdeWY8o73L1ZLe6uvYGnzF92FXfi8sg12 46AAmDJxJTTxd3ARwIk6qqIbt8VvS9lq1K5WSKlmJKtSDkoXTJdwiETgwMzhTDXtcQmWOrP+OSfQA EiM3AcCWU/xjyHoOTCWw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jLi8k-0008U8-5H; Tue, 07 Apr 2020 06:55:18 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jLi8U-00065U-Ph; Tue, 07 Apr 2020 06:55:15 +0000 X-UUID: 8ea579bafc3f4e068d364b536778720e-20200406 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=vQmMcKuySDDq7XmLmrUwtVT7/AtJhyLkyo/G+wsfwQI=; b=LVMndgzyE/im3SIzkFpYmKLChmAx0O0qBvgoQT03MeFRF4Wr8mozmYXlvCr+qLA0Tvh53SBi9stv5TgfOK14pg7S0iZKfj4F5BoVHK03D13MHJ+iItbva49XEtkuFUXEywJ9mpdrgD71rxkF4+731hn+/ugXwcdfGq6V44m9ZZI=; X-UUID: 8ea579bafc3f4e068d364b536778720e-20200406 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 2078581741; Mon, 06 Apr 2020 22:54:54 -0800 Received: from MTKMBS07N2.mediatek.inc (172.21.101.141) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 6 Apr 2020 23:54:49 -0700 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 7 Apr 2020 14:54:48 +0800 Received: from [172.21.77.4] (172.21.77.4) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 7 Apr 2020 14:54:48 +0800 Message-ID: <1586242489.10019.1.camel@mtksdaap41> Subject: Re: [v5, PATCH 4/5] cpufreq: mediatek: add opp notification for SVS support From: andrew-sh.cheng To: Viresh Kumar Date: Tue, 7 Apr 2020 14:54:49 +0800 In-Reply-To: <20200406092945.d5thcd2h3bo7mn45@vireshk-i7> References: <1574769046-28449-1-git-send-email-andrew-sh.cheng@mediatek.com> <1574769046-28449-5-git-send-email-andrew-sh.cheng@mediatek.com> <20191127083619.etocnhpyyut3hzwq@vireshk-i7> <1575874588.13494.4.camel@mtksdaap41> <20191210064319.f4ksrxozp3gv4xry@vireshk-i7> <1583827865.4840.1.camel@mtksdaap41> <20200311060616.62nh7sfwtjwvrjfr@vireshk-i7> <1584084154.7753.3.camel@mtksdaap41> <20200313091038.q7q7exiowoah4nk4@vireshk-i7> <1586164366.5015.6.camel@mtksdaap41> <20200406092945.d5thcd2h3bo7mn45@vireshk-i7> X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200406_235502_950936_28624843 X-CRM114-Status: UNSURE ( 8.90 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Nishanth Menon , "devicetree@vger.kernel.org" , srv_heupstream , "linux-pm@vger.kernel.org" , Stephen Boyd , "Rafael J. Wysocki" , "linux-kernel@vger.kernel.org" , Chanwoo Choi , Kyungmin Park , Rob Herring , "linux-mediatek@lists.infradead.org" , MyungJoo Ham , Matthias Brugger , Fan Chen =?UTF-8?Q?=28=E9=99=B3=E5=87=A1=29?= , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 2020-04-06 at 14:59 +0530, Viresh Kumar wrote: > On 06-04-20, 17:12, andrew-sh.cheng wrote: > > I will use regulator in the locked region. > > And regulator will use mutex_lock. > > Yeah, you can't use spinlock here, use a mutex. > Hi Viresh, I am not familiar with read/write lock. Do you mean there is another read/write function, which is not read_lock()/write_lock(), using mutex but not spinlock? Could you kindly tell me the functions. Thank you. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel