Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2680864rwb; Fri, 16 Dec 2022 05:20:27 -0800 (PST) X-Google-Smtp-Source: AMrXdXuhoNKkEyj4tMjik2cpszlku/1N1dmnqboiQYWLuksTV6ZYBJLdceoHmMjEvmB8u9UoB0/o X-Received: by 2002:a05:6a21:3398:b0:af:8ff3:fc78 with SMTP id yy24-20020a056a21339800b000af8ff3fc78mr11138773pzb.19.1671196826954; Fri, 16 Dec 2022 05:20:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671196826; cv=none; d=google.com; s=arc-20160816; b=cJ90tG+s85X3wis0RY/ts/m+RQQzlThuDtrrJRnYe7YSL7e764U+TDbu09jjRkXBOm dNV7pWFrvvKw+sKfUdICguz3G4nzwq2vXf5oCVnmij7mDUpjMro4gXRM51GWLe816iPH Ld6iGM15u7fACY/qKvt+7EUDXBlwspAQ6mMH/dAif54CUxsRe2PN7ob9FZQk9mqRIIO2 tAA86cOEreF8vIBlIGsizifkw0U+reoF1djWtwJq5IJXIsSFdOgg8xs15ImpX07vgzkf K9uZe8bm7/IO4VJhF6FpYGou0W4Oddz0QQt6YP6/ODv6fkIta7WwQTyKEbcNRDXqyOky wpUQ== 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=IAQQ3pjeu16iAJS3DIOcQ+yHj7Z/fdaC+NVk/MDrr2k=; b=j7KTj0IuXEaFVwo+icPRjykxMziMxwrfs4u3Po0mAtEbjJoBAsw+J2+HtU4hzM/bUl 0QmWHlZ2r7Q29eaflZ33w3WZJ/7j0hF97AouoD13HEhaq0nsbErNRrUwz21MfIxlS3RD X82X5BxwQ2IFc3aRrw0+FRMYtFCQi4HoX9CE8eIObmClg6bEZCeFwG2UkUY+zfzMwm3V ++0ji+fjP2nG1y4cX+FgwIQ/yw9f69TfPr8xmqaZ9WzVJ0WW9rtLyYRKOaxUr2/Ua6d9 iqyjtW0+9sQ/xogtY7oGOtKu5Yi4YCiDOITONWVBJ6NyGzC018YbHEE1uxOLF8zFdRba UJNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=M426POcI; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n15-20020a170903110f00b00176db49b734si2658845plh.283.2022.12.16.05.20.16; Fri, 16 Dec 2022 05:20:26 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=M426POcI; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230057AbiLPMox (ORCPT + 68 others); Fri, 16 Dec 2022 07:44:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbiLPMov (ORCPT ); Fri, 16 Dec 2022 07:44:51 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC978E03D for ; Fri, 16 Dec 2022 04:44:49 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id m5-20020a7bca45000000b003d2fbab35c6so1656007wml.4 for ; Fri, 16 Dec 2022 04:44:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=IAQQ3pjeu16iAJS3DIOcQ+yHj7Z/fdaC+NVk/MDrr2k=; b=M426POcIu7wkJDhee8+64cJssKw+ZP0ux+/qnKNeoAMJPm1YAvG4DWYpu4w63ClMPH f+uLUSArWkMK0BGPca20UoobK4oXIQU+/9RuMtCGnx3WeUykBy/ht5hZxm1y7Wo49jw6 8qPbexnSZgR5GKuv36bzuXSZYDvYEjDBzVQON7HuHSoJdy5+rtJiz0vySZZV5tMaSaFo mSsOMYRwqZ6ptfd0khlNG2rjG5YPDqL2AWiNuBwJRalOnOOTD/xtmEuKOHNaz0LftfTa oIKkzt/aDloQuagZxB6J7llRzOUxIj8UOguxlBtK5QFsXZukwji7ufjSP5ZQk6jb4IHS fCKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IAQQ3pjeu16iAJS3DIOcQ+yHj7Z/fdaC+NVk/MDrr2k=; b=jbsqUcDySp/+uA3jBuKR5d63iBrZuU3LlWbZBhzgMCn7ozsnnBFkn15/KG72y/smu6 MFcJDcTzAJ1LfBK/Ti9hAjukPMOw0bzQtwyGZnYVIlQKUQ9yvhhmIL3VIDmzGpTlbU58 A3ICyLFQdrUK0XNkCbMJROBou4ClI+RW+E7DtMv57QlxB0D6iPY3/lvoru5CcRx6nbWE BxYDQukW0HBCCO/mbdM6q9LhXcVfUFVvZSx8U/dZLIbauEs+s5o5rJZWS/gNKLBPqXvt Wwf8YXQ2wp5Z6y8s8dZf2nWI68BZvYoYK3jYmOWUNx2aSmfBwS6UpmdAbQZsAZGUfvH2 w+9g== X-Gm-Message-State: AFqh2kq18Q0wf3o7KHNxMl0NFpGjWTMuDLjnLgy0FkboOHn2CsCM+dLj kO9Y0DTeO3EO0esmWjeFZL8= X-Received: by 2002:a05:600c:1f0f:b0:3d3:49db:d84 with SMTP id bd15-20020a05600c1f0f00b003d349db0d84mr93144wmb.20.1671194688373; Fri, 16 Dec 2022 04:44:48 -0800 (PST) Received: from [192.168.1.132] ([207.188.167.132]) by smtp.gmail.com with ESMTPSA id q1-20020a1c4301000000b003d04e4ed873sm9722265wma.22.2022.12.16.04.44.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Dec 2022 04:44:47 -0800 (PST) Message-ID: <9440d5c0-ddd0-37be-75d4-14713044ac64@gmail.com> Date: Fri, 16 Dec 2022 13:44:46 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH v1] soc: mediatek: mtk-pm-domains: Allow mt8186 ADSP default power on Content-Language: en-US To: =?UTF-8?B?VGluZ0hhbiBTaGVuICjmsojlu7fnv7Ap?= Cc: "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , =?UTF-8?B?QWxsZW4tS0ggQ2hlbmcgKOeoi+WGoOWLsyk=?= , Project_Global_Chrome_Upstream_Group References: <20221012075434.30009-1-tinghan.shen@mediatek.com> From: Matthias Brugger In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,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 On 02/12/2022 12:13, TingHan Shen (沈廷翰) wrote: > Hi Matthias, > > On Wed, 2022-11-23 at 18:40 +0800, TingHan Shen wrote: >> On Wed, 2022-11-23 at 11:20 +0100, Matthias Brugger wrote: >> > >> > On 12/10/2022 09:54, Tinghan Shen wrote: >> > > In the use case of configuring the access permissions of the ADSP core, >> > > the mt8186 SoC ADSP power will be switched on in the bootloader because >> > > the permission control registers are located in the ADSP subsys. >> > > >> > > Signed-off-by: Tinghan Shen >> > >> > Do we need a fixes tag here? >> > My bet is: >> > Fixes: 88590cbc1703 ("soc: mediatek: pm-domains: Add support for mt8186") >> > >> > Or is this not yet a problem but needed to be able to implement access >> > permission configuration in the ADSP driver? >> > >> > Regards, >> > Matthias >> >> This patch is needed to fix a warning when implementing the ADSP access permission configuration in preloader. >> >> [ 0.334154] mtk-power-controller 10006000.syscon:power-controller: /soc/syscon@10006000/power-controller/power-domain@18/power-domain@19/power-domain@20: A default off power domain has been >> ON >> [ 0.334246] ------------[ cut here ]------------ >> [ 0.334252] top_adsp_bus already disabled >> [ 0.334274] WARNING: CPU: 5 PID: 113 at drivers/clk/clk.c:969 clk_core_disable+0x90/0xb0 >> >> If not for this case, the pm-domain works fine. >> >> >> Best regards, >> TingHan > > gentle ping for this. > from above descriptions, should I add the fixes tag to this patch? > No that's not needed in this case. Applied now. Matthias