Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp351062rwl; Wed, 29 Mar 2023 02:48:57 -0700 (PDT) X-Google-Smtp-Source: AKy350aBRAuCJ4I5fWTdhZzplRXzIlyD///0YX0z8jn1Z4+t3143xWMFbAgkPXRvFzbdLZfGz4/c X-Received: by 2002:a17:906:d117:b0:93b:a0c8:1cec with SMTP id b23-20020a170906d11700b0093ba0c81cecmr20554206ejz.32.1680083337290; Wed, 29 Mar 2023 02:48:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680083337; cv=none; d=google.com; s=arc-20160816; b=gSmgyTMZo5mECq74h5OzAWcqiMvytIgAC0rQASjq4LclG3W/t4bPESb3hSicfYEUR3 Eu+m6GXke8lqZut7KNo3BjuSdm4Gox5sSyt4P4qO4cDv2scUc4lp1KxcJu9hV607we0m fDAE237HzmtLCJqQkqI1kXj3Mg243U5K5nxSlq7BFoGUVo81SSdNxylI8nNDjhqHpzQR yeJ/uqcHoR5kqcLgTngkLWDAV/5AeFCRmMEFSoQO3SfyHNK7kMeI14XlggptB7crO/+P Lfh/y+h8rEFtRaVdKPFRAkqOZC6EO5C6hHk/rrg7V+ZqEkm0vTnkXmtAriE9jAV7S+Oa hSZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=29yP5h60lzQ9egSpTFTbdlo7eAPDEAXWr32KHBglSMs=; b=VmHmfuYNEBP9cvaUkmpkZOtgubF8/dA3kqb0yiD0rAQ0/JFSXeob3/zKqH/xTwxenr 4oLdiHZM0aqr4/ye7EdQIEiDd4ZSOED4NTKGcnbI9xtS/zZaERBcHkwN/aNipLMAknjk 8/I/WGt70iNBqMvo8cj9rxJ7kp1SX2rdHDSSjzc6uJUydS87a7B32hYdr3K/aUV/tP/M 0KC/OCGXgyYTL/w5bg43ekj62pvCU5rrVcNs3kDtP4as7PA6f0Hz+l/X1tqh7hMPggE6 wosKg8x2V6xAQzNOCgBkS5LIghO+oymW8qKNfrYcjxbvx5mtVdYsNXqOJ74SNcJe+bF3 GYqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=brgqN9+U; 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 bn5-20020a170906c0c500b0093a2c111069si18619366ejb.860.2023.03.29.02.48.32; Wed, 29 Mar 2023 02:48:57 -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=brgqN9+U; 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 S230503AbjC2Jqj (ORCPT + 99 others); Wed, 29 Mar 2023 05:46:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230504AbjC2Jqh (ORCPT ); Wed, 29 Mar 2023 05:46:37 -0400 Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3803130 for ; Wed, 29 Mar 2023 02:46:35 -0700 (PDT) Received: by mail-yb1-xb30.google.com with SMTP id p204so18510492ybc.12 for ; Wed, 29 Mar 2023 02:46:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680083195; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=29yP5h60lzQ9egSpTFTbdlo7eAPDEAXWr32KHBglSMs=; b=brgqN9+UwXyVawMk0f5rX96beQUS10XnlpZhRCiTME2FUCgGPcKiim8oen7O1dKlL/ yBhTiT/aeW6Zjte3Gpg0xWJTjPx/frs81Luaa6fF5YgZ070kk97WS1y8z0RlUvJZs9vW y8nfBagUpIImsEYWr4bMoEYpEZBbREXj3fYQaTDwAtLgulKRXwGhrjx7aIurRh/3C12q 3nNbKQhzgNhfoYe+deAUOLdpEsQ9kaCnIV5MAQCR9DQoCREbSXEXIgPVIb7a5zlsTgre jUwGSzv1ALl/rmj5O0GOR6c6MkS3yBtM6jwUTS3fag70jS6OQM3hrQzpA6iRA/Jufe9G 6R6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680083195; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=29yP5h60lzQ9egSpTFTbdlo7eAPDEAXWr32KHBglSMs=; b=UxVWZjgIFj54WZdhj6lOjoLqk7/HZmtbM6BpSsChxzyHU9YPNf350S5ghCubwsYFmD kaRE0GFyLH4ind2W/TYV+VulSh8hFNtdjOFlWe5i/ju2M1bP1QTOjZmpBpHJDcV0Lwbf lbTkbkgMys0IHM2DOkJ7JIXDFbXJ7GUO8BWbJLqs5gSRYUQD7hMQvzrKjcKjUdhbtDVz x2sj6gYb51X4q730RX7LBHd0QKaerpfu9097D86ZEqbsw1wS4FrzmH9QX8DFXC35fCxa diAp/ofHWQRbXmZdYp2bKJGRhVN7UXIEt31CFRhv3/9OwzXt4zXxXSnsh7Fu8OGuge5P wWAw== X-Gm-Message-State: AAQBX9ev1k2ojdEClB3hDenTmCdRixyP6nZM+VytjznCBv/P2TSBtbVm RDQG4dGG6i00gxkOmeSmvxMqSsXZOYL998Rbtjr2bQ== X-Received: by 2002:a05:6902:70a:b0:b6e:361a:c86 with SMTP id k10-20020a056902070a00b00b6e361a0c86mr9993544ybt.3.1680083194908; Wed, 29 Mar 2023 02:46:34 -0700 (PDT) MIME-Version: 1.0 References: <20230324073813.22158-1-krzysztof.kozlowski@linaro.org> <880c0932-117f-61cd-dd97-c36076869c3b@linaro.org> In-Reply-To: <880c0932-117f-61cd-dd97-c36076869c3b@linaro.org> From: Ulf Hansson Date: Wed, 29 Mar 2023 11:45:59 +0200 Message-ID: Subject: Re: [PATCH 1/6] arm64: dts: qcom: sm8250: drop incorrect domain idle states properties To: Dmitry Baryshkov Cc: Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , Daniel Lezcano , Neil Armstrong , Linux PM Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,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 Wed, 29 Mar 2023 at 00:51, Dmitry Baryshkov wrote: > > On 24/03/2023 09:38, Krzysztof Kozlowski wrote: > > Domain idle states do not use 'idle-state-name' and 'local-timer-stop': > > > > sm8250-hdk.dtb: domain-idle-states: cluster-sleep-0: 'idle-state-name', 'local-timer-stop' do not match any of the regexes: 'pinctrl-[0-9]+' > > > > Reported-by: Neil Armstrong > > Link: https://lore.kernel.org/all/20230323-topic-sm8450-upstream-dt-bindings-fixes-v1-4-3ead1e418fe4@linaro.org/ > > Signed-off-by: Krzysztof Kozlowski > > --- > > arch/arm64/boot/dts/qcom/sm8250.dtsi | 2 -- > > 1 file changed, 2 deletions(-) > > > > diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi > > index 79d67b466856..9cf2de87c632 100644 > > --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi > > +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi > > @@ -354,12 +354,10 @@ BIG_CPU_SLEEP_0: cpu-sleep-1-0 { > > domain-idle-states { > > CLUSTER_SLEEP_0: cluster-sleep-0 { > > compatible = "domain-idle-state"; > > - idle-state-name = "cluster-llcc-off"; > > arm,psci-suspend-param = <0x4100c244>; > > entry-latency-us = <3264>; > > exit-latency-us = <6562>; > > min-residency-us = <9987>; > > - local-timer-stop; > > Hmm, so we support setting the broadcast timer when using plain PSCI > idle states, but not when using the domain-based idle states. > > Ulf, Rafael, Daniel, is that an omission for the domain-based idle > support? Or is it handled in some other way? I am not sure that we need a DT binding specifically for this, or do we? So far, the timer is managed from platform specific code. For some Qcom based platforms, the timer should be managed in rpmh_rsc_write_next_wakeup(), which makes use of dev_pm_genpd_get_next_hrtimer(). [...] Kind regards Uffe