Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp675344rwb; Thu, 6 Oct 2022 02:59:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM63naB7Q5D/wq217m0Ari5V3i2NqjREUmAyllifMWHdJszGGuwFUvXZ7d/4IigPkF1YNqM6 X-Received: by 2002:a05:6402:1d54:b0:44e:a683:d041 with SMTP id dz20-20020a0564021d5400b0044ea683d041mr3774770edb.411.1665050382826; Thu, 06 Oct 2022 02:59:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665050382; cv=none; d=google.com; s=arc-20160816; b=UyjluOxaekMO43a5kTXuIdU3Vq8tC2DKqEZ0vbIjscxtbDx8azIt1OgNIwvGshRVQX JGQ1GEPjA+hmPkQxI+LTkoRcsUkjGwYe4KhkuiaWRkh+WmmqB+Q/T91bgJ73xRHGqthc zqNX+Yt3ndsSBdb5zyLjUyKIo9NF6KgvHBnLs0/qNTZgsPDaocPDHiDc6eJnoXgp6EKx PHKOrppSGdZKordXXD+PSVxr6YROR7DSVJH5rQuNPwpKF5/+xVYXNnEP2OQ1RyN4zV7d d3hHJELInWFwTSGy6kdMOSJio1iYJMmAH4L1yR11ODld8/Athw2LkUcUP+E8o3IagUrm JomQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Km9UlQfv9u+Pi0HaqbMFuSua/coXZZ4u08s4ZSOz4zo=; b=WgOhpzNZ/vVQaFcKeF4LKdCKBm+IqgENH3/8P42eGsF8v1h5O9mLfeEG2aLmvLxewi tf9yl35iZuzQ2eew04ru/gfx1P7zKhKAKO32W6Aj+kT178Czl5oIw3Cz/+WLNJlnbGgb lRucbFa4FPtNlq8Je0z75spw9VFfUFNWo7092fAPKkdUrLm9fSe14zAPheDzwkDeB/D4 gm8pvjPquYNj99UqXg0/+PIp6mFTr16h8rjISIqHI5+jewO7fQKQafBjAFehKgxmOLPt VkPt3KuQ3JBeOVyoBgvfT19OB5Xi57l3jN++rsTeyyj5HWTkcavfTH+KLBtIDuyztz81 el3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=T3TXFlla; 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=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a13-20020a170906684d00b0078aa0801a40si9228382ejs.323.2022.10.06.02.59.17; Thu, 06 Oct 2022 02:59:42 -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=@collabora.com header.s=mail header.b=T3TXFlla; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231314AbiJFJay (ORCPT + 99 others); Thu, 6 Oct 2022 05:30:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231370AbiJFJaw (ORCPT ); Thu, 6 Oct 2022 05:30:52 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D8B1B85A for ; Thu, 6 Oct 2022 02:30:51 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id AE2086601595; Thu, 6 Oct 2022 10:30:49 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1665048650; bh=DZafEcdio5imhGIlFetdrZR2SPXKufatKggl05kVwN8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=T3TXFlla5OAqLTidG45otxzLLgFgUL7vK2o1YNvBgcn6GZ6qZ7qZSUWvxHk/5ec58 CzznJ9DXUzmbFafqfvVOeriSGvfaI8u3cHbj2EIxL4SSzXh6WU4GavD/2jWTVQ5g8c V1srnsG9PCBlbU4c8RsPtqxeq6Fli38wH6gvbEUtzq3eQSnSMudB1RZBS/hLnKHYhF BZRs84tP5p29RH/FsD+3/BSzPCU94nc8r7LzkkyR2jt8LxUl/kcFmWo1dg5R6QBFiz UWNb9Kpr0BeHfcA0PrqPyuT9SA1m6DepfrlqMb5GXvAKKgM3pk4W5iEC7Ja6Yda5zN IJWSYjjYlvN6w== Message-ID: <294fa048-1dc0-ea52-d65b-2c6c0c48bafc@collabora.com> Date: Thu, 6 Oct 2022 11:30:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Subject: Re: [PATCH v9, 3/4] mailbox: mtk-cmdq: add gce ddr enable support flow Content-Language: en-US To: Yongqiang Niu , CK Hu , Chun-Kuang Hu Cc: Jassi Brar , Matthias Brugger , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Project_Global_Chrome_Upstream_Group@mediatek.com, Hsin-Yi Wang References: <20221006043456.8754-1-yongqiang.niu@mediatek.com> <20221006043456.8754-4-yongqiang.niu@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20221006043456.8754-4-yongqiang.niu@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS autolearn=ham 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 Il 06/10/22 06:34, Yongqiang Niu ha scritto: > add gce ddr enable control flow when gce suspend/resume > > when all cmdq instruction task has been processed done, > we need set this gce ddr enable to disable status to tell > cmdq hardware gce there is none task need process, and the hardware > can go into idle mode and no access ddr anymore, then the spm can go > into suspend. > > the original issue is gce still access ddr when cmdq suspend function > call, but there is no task run. > so, we need control gce access ddr with this flow. > when cmdq suspend function, there is no task need process, we can > disable gce access ddr, to make sure system go into suspend success. > > Signed-off-by: Yongqiang Niu I already gave you my Reviewed-by tag for this patch and here nothing has changed from v8 to v9. Please retain tags that were given to you in these cases. Reviewed-by: AngeloGioacchino Del Regno