Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1673258rwl; Fri, 24 Mar 2023 13:56:15 -0700 (PDT) X-Google-Smtp-Source: AKy350ZervVvqDwasThloKx381dAcyLds64MSvVwJ0DR6gseeUNfgLuAyTDs6VN6+sdnhIe3DteG X-Received: by 2002:a50:fb91:0:b0:502:2148:2980 with SMTP id e17-20020a50fb91000000b0050221482980mr2608787edq.30.1679691374868; Fri, 24 Mar 2023 13:56:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679691374; cv=none; d=google.com; s=arc-20160816; b=OFaEVPct5rOJcTJuzByWFM99aIyGMXqJvKGM7IDcvLAuTrXrl9FW2dX/De+JnC6b8a og9YUsaYRCTOyyFnnQthbMydT1wt9iyDl6NQznY6wv28sUfgJLXgpgXgf3XDe0jjPh6o ApRHmWeCqlCo2zk3UX/uTkVzO3LZRrR0raJ7Q2bYY3QatV3IO/SQbq9oM9Cfk0XKVrJo 1VO2oTcHTheGgpxf8KcIdN9hUHENw0tpTOYqWKKwssc66ZQFA32qTEO8an6Vrig+mYw6 FpxDkS+QeyyVB/8//zNXPy3v8IrONv6M2qbEbwXi0zj7ZNV7BelqrdCDo5xLVDC2ErbN bTxA== 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=gvJuFk30qXvHsXmKvq2WXms+VNACf251BO2nmorEuAE=; b=iGtDY50VitSnytzy2NxIk6n7bp8usV6flohfDdmbCcZ58YnbtT8TIAKrobqx3/0xxm ExMMp0eOTGIvnT24B1sgUPpXxj5GUASm0K67wOHTu0M8RiKiYpgoHsOY/huyBo6xc+3j 9OjDchwMy33FBSnvSyBaN/YekP0CHMzZ6s7doPNOLZ3e5UAxp9YYwH6ex8Bv8PUgTE4z dBj2l6OI0QBM8tiCEyhhcJHn5LmLUjnAVkm+kBo0GMc9QjyjjcfvR3BDUC4B9xyi6et6 KZCLtjBLmFY5PxeVKNN/cr4oeuSjh/yTvkFRBdVRWbcZs3s32BR8tQournAL3Ed7RAGZ vQqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TPOAgzMT; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f26-20020a05640214da00b005021d78df8dsi2968634edx.540.2023.03.24.13.55.00; Fri, 24 Mar 2023 13:56:14 -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=@linaro.org header.s=google header.b=TPOAgzMT; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232130AbjCXUrb (ORCPT + 99 others); Fri, 24 Mar 2023 16:47:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232071AbjCXUr3 (ORCPT ); Fri, 24 Mar 2023 16:47:29 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC83413DC1 for ; Fri, 24 Mar 2023 13:47:27 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id r11so12646482edd.5 for ; Fri, 24 Mar 2023 13:47:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679690846; 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=gvJuFk30qXvHsXmKvq2WXms+VNACf251BO2nmorEuAE=; b=TPOAgzMTYkViLIjcHeqRkpM16OmWLnnbSWgzEmaWJhwgv6eN1kJDftmvs1qIr3Lpic ypGfjEotaFTMZpJBjFijOTrxiGbMN2vhUX+dyTqFbm9U1NI7mTwp+TM2X5IMrdIYObb1 QCB0JNg9jdvMvi2jimAXGw/rrnK/mikPXCPcvazVy+qiYekvbuqavaUQ/HBEhUDPcfeE 7U0QDgpID8b7+iN+jfwEGzyC+OIPybCaixweKOBhBIL+6sbMSCDxbkuom5nH3Z/kZUh+ 1us+I2Is9gmKVZRbqsGTsU7zIVTW+rzj5UdwTPuf4VFL+OpMXhvvqEwbP2xCCabM8XtZ sAyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679690846; 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=gvJuFk30qXvHsXmKvq2WXms+VNACf251BO2nmorEuAE=; b=lMYG6YkIiW5XGwZOiigPUZSdFE4Hsyi1pP7BubKA6SxugodzUAHpLjNmqARSZ/CLt8 O7W1xDcCgHGdf3S4914D4d/MNyc4k/lG+H771NPsJWrtppXrHJJ6VZk/HXOFHGOc443J +Zwy53zvJ3WWXan4nEXvWhkDq2W52jZ4A+Io2P/+IUwoSx4CbC/cBfwjAHJ9ABf9ixZP McF+VZczUJFvcHd8Ha6J/2ysANOcRd2ntXNGU1N0qwkiwokV0M/5BE/vNwX9Fs7bq+VN ahaFm2fZolbFj+JhGvqVmA1kH5HVLfo5mvs9o9ncMHX8IUXXx4EylpDBC032xafQ1rVv IqTQ== X-Gm-Message-State: AAQBX9eEfVO0JXixTG8niHy/Ixo2I+DV/7nN61ql+Fv/sSh6/VV1JSLG B32eNRiTyw6XCn46VK+4aWAoiQ== X-Received: by 2002:a17:906:b049:b0:937:9a24:370b with SMTP id bj9-20020a170906b04900b009379a24370bmr4185300ejb.67.1679690846477; Fri, 24 Mar 2023 13:47:26 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:3027:fb0b:ae08:588? ([2a02:810d:15c0:828:3027:fb0b:ae08:588]) by smtp.gmail.com with ESMTPSA id v15-20020a170906858f00b0093229e527cdsm10307455ejx.42.2023.03.24.13.47.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Mar 2023 13:47:26 -0700 (PDT) Message-ID: <8c88fe1b-cb91-22e3-6fcd-c2fdf2202cc0@linaro.org> Date: Fri, 24 Mar 2023 21:47:24 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v2 2/4] arm64: dts: qcom: sm8450: remove invalid properties in cluster-sleep nodes Content-Language: en-US To: Bjorn Andersson Cc: Neil Armstrong , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Andy Gross , Konrad Dybcio , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230323-topic-sm8450-upstream-dt-bindings-fixes-v2-0-0ca1bea1a843@linaro.org> <20230323-topic-sm8450-upstream-dt-bindings-fixes-v2-2-0ca1bea1a843@linaro.org> <20230324174518.2arvdglqqixmxqcp@ripper> <20230324195713.5blwpv7xjijlrtt5@ripper> From: Krzysztof Kozlowski In-Reply-To: <20230324195713.5blwpv7xjijlrtt5@ripper> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 24/03/2023 20:57, Bjorn Andersson wrote: > On Fri, Mar 24, 2023 at 08:27:12PM +0100, Krzysztof Kozlowski wrote: >> On 24/03/2023 18:45, Bjorn Andersson wrote: >>> On Fri, Mar 24, 2023 at 10:28:47AM +0100, Neil Armstrong wrote: >>>> Fixes the following DT bindings check error: >>> >>> Is that because idle-state-name and local-timer-stop should not be >>> defined for domain-idle-states or are you just clearing out the >>> dtbs_check warning? >>> >>> According to cpu-capacity.txt local-timer-stop seems to have been a >>> property relevant for clusters in the past, was this a mistake in the >>> binding or did something change when this was moved to >>> domain-idle-states? >> >> I cannot find anything about local-timer-stop in cpu-capacity.txt. Where >> do you see it? >> > > Ohh, you're right it's only mentioned in the example. > > But idle-states.yaml documents the property for both cpus and clusters, > and it's used throughout the examples. > > Our cluster states are defined in domanin-idle-states instead of > idle-state, does this imply that the flag is no longer applicable > per cluster in this mode of operation? As you noticed their meaning is interleaving. For example on SC7280 we use arm,idle-state for cluster. But other Qualcomm platforms rather define clusters as domain-idle-states and in that case, nothing parses tgat flag. The flag is only for cpuidle dt_idle_states. For power-domains it was always ignored. Funny fact - both cpu/cluster idle-states and power-domain-idle-states will end up eventually in cpuidle-psci.c... Best regards, Krzysztof