Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp2251441rwj; Mon, 19 Dec 2022 01:43:15 -0800 (PST) X-Google-Smtp-Source: AMrXdXvbCuLTVrDfQSXj6mwQJy+8CFzfrFxZ+R7j4x40bfCFgD/1kzzBEEJishykHB+zx7tpcLSu X-Received: by 2002:a05:6a21:c00f:b0:af:f80a:140f with SMTP id bm15-20020a056a21c00f00b000aff80a140fmr11721868pzc.8.1671442994820; Mon, 19 Dec 2022 01:43:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671442994; cv=none; d=google.com; s=arc-20160816; b=Zq6SY+H7cj1okkeZ7xyhmVVo2lZ+uUeLdN8udnEyqch0OvTfVkfuf88vLVZWlsjyu2 ifELoqgMCwnLVdtx2DXfQ5bd9fl7POiGC64BJLd3z6hLPUALFFqAK6b+qd4ONMYdbPk1 w0soGRTSnaOOXC+eDfYDpHgRaFJ7CFJjPU6ORD2/Dau2SRMWWoRwfq6l2IvxyIusQGdQ kRD81JlmTBuHsmosWqPm5q0DuC/q6apINwMjAr3fiEP3PsDCR12CH2nx1U0VpM8m5u0b UKv5ffZfsRsW3tdtTQPQoENs1Ih+UnIPZ1F1cT8NukeProrLTLaW/AlNPF68doNt4ht4 UYdQ== 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=Y1ycYMYs8Igi21lZa2tXT46ShjJdIMKV5DUc/YREoqo=; b=xW17O99WVD7VSFA/KxxEMXtVSO93dm4E8VRIOYcMYFcOwab2iiKBgKKyU9PXHDTG5a 7cxknpMEcZvYq16D0FwnCXk28Q0I/sIm2hturselkKog3OvZuvhQTZ1ALY40g2yMaqHW ORaK7fE4nOK1Pzk3zO6WrpYJ8aPZG/rfUngB/KW0EVN0rwkInuR6zCx/j7w6dBxSSs12 l+G9YDBRGOnSNdaXLh9hD0B/SHfGYMYo+tXbxhXRwMBs91jeLWatZ14kZsrqKddbyL3u KE18h7g1WgM260Av+51v0Tz87Jk3d6JNYa4EQyOhm/liyWm46nX5f4p0og4Gru5rHSD3 rjnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=hxNPgZvI; 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 k8-20020a6568c8000000b004772ac33cdesi10394801pgt.688.2022.12.19.01.43.05; Mon, 19 Dec 2022 01:43:14 -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=@collabora.com header.s=mail header.b=hxNPgZvI; 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 S231791AbiLSIxB (ORCPT + 71 others); Mon, 19 Dec 2022 03:53:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231567AbiLSIwa (ORCPT ); Mon, 19 Dec 2022 03:52:30 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3063560D6; Mon, 19 Dec 2022 00:52:28 -0800 (PST) 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 636EB6601615; Mon, 19 Dec 2022 08:52:26 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1671439946; bh=6vqH3SZnQNjQYcK54MP8+xXDz66wYQbyA0JC8HY+jdo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=hxNPgZvIk8ReNvTQgdRoPSRHnHKlcbsmV+tgoouCH6AJv40jhQvSD/qXXzug4CrzA ZomvTfovbKlmuKXucgnx/hKO53S6hogNn5ay7aRPs8wbpEcON6kq9l3xSuKf1DtmBG fkrnL/X+hw+gLV2LA+vUzCKiuZ0WmirLY7WCKQ1yDhx3gESZyqEPQpszomncIpoA19 MIM9ZzS/KwvBDqmznjnJu7vLjkTFRn+h0KWgsHMrl1K9lJ4mEtGyVsLM750Jtp+HTL XH6kNsl07tuUEmslxBfY1IxYCPSWffrQhpKZAAj21oZHbqQiCwPQmdTPMx300OidYz ap8d2Kh/lfE8g== Message-ID: Date: Mon, 19 Dec 2022 09:52:23 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH resend] arm64: dts: mediatek: mt8192: Mark scp_adsp clock as broken Content-Language: en-US To: Matthias Brugger , Chen-Yu Tsai Cc: Rob Herring , Krzysztof Kozlowski , =?UTF-8?Q?N=c3=adcolas_F_=2e_R_=2e_A_=2e_Prado?= , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, "allen-kh.cheng" References: <20221130031741.3176853-1-wenst@chromium.org> <2ec80bd8-dfef-d2e6-eb41-6e6088043e33@collabora.com> <8806f4cf-2141-acb8-1f9d-cd6ade64756e@collabora.com> <05d6f9e6-a291-35c3-9b02-2235ad92669d@gmail.com> From: AngeloGioacchino Del Regno In-Reply-To: <05d6f9e6-a291-35c3-9b02-2235ad92669d@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 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 16/12/22 14:17, Matthias Brugger ha scritto: > > > On 01/12/2022 10:02, AngeloGioacchino Del Regno wrote: >> Il 01/12/22 09:56, Chen-Yu Tsai ha scritto: >>> On Wed, Nov 30, 2022 at 7:10 PM AngeloGioacchino Del Regno >>> wrote: >>>> >>>> Il 30/11/22 04:17, Chen-Yu Tsai ha scritto: >>>>> The scp_adsp clock controller is under the SCP_ADSP power domain. This >>>>> power domain is currently not supported nor defined. >>>>> >>>>> Mark the clock controller as broken for now, to avoid the system from >>>>> trying to access it, and causing the CPU or bus to stall. >>>>> >>>>> Fixes: 5d2b897bc6f5 ("arm64: dts: mediatek: Add mt8192 clock controllers") >>>>> Signed-off-by: Chen-Yu Tsai >>>> >>>> ....or we can add the ADSP power domain to actually fix this properly, which looks >>>> like being a generally good idea :-) >>> >>> Sure, but that and any driver changes have to be backported, or anything >>> touching the clocks will still break the system. >>> >> >> I agree. >> >>> There's no reason we can't have both. I think having this one merged and >>> backported to stable first, then adding the SCP_ADSP power domain, and tying >>> it to the clock controller as a follow up addition works best. >>> >>> What do you think? >>> >> >> I think that one reason to not have both is that we'd have to revert this commit >> after the SCP_ADSP power domain is added (with the appropriate Fixes tags and/or >> Cc stable)... >> >> I'd expect that entire addition to be no more than 3 commits, including the dtsi >> one... and if it comes out as I expect, we'd be solving that issue on all of the >> affected older versions of the kernel - the right way. >> >> Can we wait for... let's say, a day or two to check how that works, before taking >> a final decision on this commit? >> > > Do I understand correctly that the correct way for now is to merge this patch until > we have a fixed the power domain controller? > > Regards, > Matthias I thought that the proper fix would be going in v6.2, but apparently something went wrong with it as it contains things that aren't upstream. At this point, let's go with this one until the proper fix gets factored in, which I expect to be ready for v6.3. Cheers, Angelo