Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7D62C433EF for ; Wed, 1 Dec 2021 10:31:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348706AbhLAKe3 (ORCPT ); Wed, 1 Dec 2021 05:34:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242645AbhLAKe1 (ORCPT ); Wed, 1 Dec 2021 05:34:27 -0500 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06BA5C061574; Wed, 1 Dec 2021 02:31:07 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: kholk11) with ESMTPSA id 93EB31F457F4 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=collabora.com; s=mail; t=1638354662; bh=KpiF5kNZXa2da2rHqBoWn0wRV+C0nTxU6BvDIk3QM9Y=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=V4vuuOvBuzjRtD9HTwPCtWmSOpJC+/Ag5NWFS2aMev33XPKAeHrSQ+HrN9mtTEjS+ hkq0TamSGFWyU9ui/FaAoidg6/gNOpN58jSDUoVPATyN74YQY9ie7BynEDq3m5afFy Wr/Pv/Z2nLc7bkhNaNyp8v7xrKIvhYN7jqg7IPlAQ62kOnr39IsKc/KC7/I9jpjLtN OiITcs3DNNgopKC8WakJYkikFpXNmDvMI+fdlM5ItCUdmKmm5cfZQzXmkfSiXTLo+e aBnyjQHaXskYjC0pnvRXCcJ0CXIj6a6DQyhqEPtoyJWpLv1YQO/zmYNkiBjxTVDVP9 LbEbwcqP0oiHg== Subject: Re: [PATCH v9 4/7] soc: mediatek: mutex: add functions that operate registers by CMDQ To: Moudy Ho , Mauro Carvalho Chehab , Rob Herring , Matthias Brugger , Hans Verkuil , Jernej Skrabec Cc: Chun-Kuang Hu , Geert Uytterhoeven , Rob Landley , Laurent Pinchart , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Alexandre Courbot , tfiga@chromium.org, drinkcat@chromium.org, pihsun@chromium.org, hsinyi@google.com, Maoguang Meng , daoyuan huang , Ping-Hsun Wu , menghui.lin@mediatek.com, sj.huang@mediatek.com, allen-kh.cheng@mediatek.com, randy.wu@mediatek.com, jason-jh.lin@mediatek.com, roy-cw.yeh@mediatek.com, river.cheng@mediatek.com, srv_heupstream@mediatek.com References: <20211201095031.31606-1-moudy.ho@mediatek.com> <20211201095031.31606-5-moudy.ho@mediatek.com> From: AngeloGioacchino Del Regno Message-ID: <24a5672f-7d7b-c67a-3650-dbc228835074@collabora.com> Date: Wed, 1 Dec 2021 11:30:57 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20211201095031.31606-5-moudy.ho@mediatek.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 01/12/21 10:50, Moudy Ho ha scritto: > Considering that some functions have timing requirements > in specific situation, this patch adds several interface that > operate registers by CMDQ. > > Signed-off-by: Moudy Ho > --- > drivers/soc/mediatek/mtk-mutex.c | 65 +++++++++++++++++++++++++- > include/linux/soc/mediatek/mtk-mutex.h | 6 +++ > 2 files changed, 70 insertions(+), 1 deletion(-) > Reviewed-by: AngeloGioacchino Del Regno