Received: by 2002:a05:7412:a9a8:b0:f9:92ae:e617 with SMTP id o40csp10626rdh; Wed, 20 Dec 2023 14:13:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFU4YADFe3xbr9jhFAHhzg0NPXiZCSD/HDq9BjV+qYlwN/1OKr01qnBxFCgjpLY1n66lNEM X-Received: by 2002:a17:907:3d6:b0:a26:8700:16b0 with SMTP id su22-20020a17090703d600b00a26870016b0mr699844ejb.98.1703110397832; Wed, 20 Dec 2023 14:13:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703110397; cv=none; d=google.com; s=arc-20160816; b=n4k+l6xPVH6rG2YYpn9oRkYkWDbCr2NRYor9/qzaSu14tXkdv+27TtnUDBESpJRYw5 MdZysXX+Ke+K72P3ehWDoukbMakixVJB8CaH6us3yyXQbhjXQwzDMY9dQglirDpmD0pv jHcgs54nt8R64knKpgBo1ubyAcBt4FIMHD8HwwXz6NUPJSyy+cRrz59czpBG61yMZKXE C4oRWjrGOISFZY70rrU7zZji3Nthyeo9BLPv6uvpfbjFhYauzmcoTQgmKc5GNHym6Wvk UVVXZefxDg0TU2ji0e5IyDVDHWKV0Giif+jAtH7jnj2i3gyxhBnkmx/yJWNGTjmVf02K Vhiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=WbE+p+rcyyFP+eEtMwxqlwbKKm3YVPbvUnctIfiDxV4=; fh=9TjP5Br7/jShLalm0TuDyO1COBRVeysBZiyxhQJm5Ms=; b=hZKQKHUy3UfLlvxSjUL2KzqHBXipiMSGQgjLBp8oZAqIT+iXuASi+N2/AhfiJnV0QD Wergb+GffYTjUe4mr8uTkKfVoorm7FTyHRQZ7a+HeToh+VDYDQOKwsLaAFbR21supTw9 S9IiIvWi8rkyO52mhGl9TSMh9flc59EgfrSd0LnEtTUDl5RLrncWMvOIHZrEdEEsTIHZ KnBRoWcU4tet67OPtQa0z1WDbkL/hKML5hjBeveyJCzdh0DgUNudwCATRooZmea12UqS h6smta31hotF6ls5cWjEgKBOuRtlOd7YKjdTY9B6ZdmxGcsHegoBxjVHHAW4qEe4jQ5U zjEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Hr4Onva/"; spf=pass (google.com: domain of linux-kernel+bounces-7491-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7491-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id g26-20020a170906395a00b00a1c68c96a27si225076eje.436.2023.12.20.14.13.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 14:13:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7491-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Hr4Onva/"; spf=pass (google.com: domain of linux-kernel+bounces-7491-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7491-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 959861F23807 for ; Wed, 20 Dec 2023 22:13:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 07F8B4A99E; Wed, 20 Dec 2023 22:13:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Hr4Onva/" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7FB064A98E for ; Wed, 20 Dec 2023 22:12:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a2343c31c4bso15112766b.1 for ; Wed, 20 Dec 2023 14:12:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703110377; x=1703715177; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=WbE+p+rcyyFP+eEtMwxqlwbKKm3YVPbvUnctIfiDxV4=; b=Hr4Onva/aMYa64TV02v8sEKnKOa9dU62ufHv3yjaq1jplcVcisLWqPTnod6NLBmyFf Oj2XWDERSnbqEhbSHqPfRL+xOo0q4I8ZxNh4PksJmQ7akJXXsFjZJ6H269HHJKBhRZ3/ rSqRYkF0PHYQLSfwsHb8O5J1vcFEyhzJHTAjthYue2WHfZQE93GV21d9G19rMnsWnre/ +8kIGjaiGETubllpaBv2Z1E2IVgOfhaTDJO3L/47jiNzxlF1z1ODi/WuTDshXNx8EsX8 1R36bcOCsw9trvSTscRUDP9VnL0o9rKC9fZyQmmm62IPKdmS/2bdlUba3ugcWnuf7D0R LDTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703110377; x=1703715177; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WbE+p+rcyyFP+eEtMwxqlwbKKm3YVPbvUnctIfiDxV4=; b=fVOhAf8Ju/P0s2EQPeFzBnJJgbLlhQjlkii9ErPtzeif3E8Acot+SzUXgY2FqAAFeY glbtKUap45FmqUeDnnDQJCfWWl+EhEFodDjSKe6yx4FvHZ6J1ds0vpl5tIzl75xu1ael w5oYeSjFcZ2TPFXuPYjWpCqtNWQu+nzdDGKrtb8sZQmWwy8nrPg+5soOlTwMDEtOkaTd /p2f4Gcr0OQfJ682a9/c2fknzGg1LG/8udXsz+qfbXcTsxuYMtpc8PINmBuEYfAMXoRD CKQCa4Ay4tEOpjRnT4HSGlFq7bySaSJT9pe0XYaOw38Vf77XYjnN7Ym6qE5QQubB5+rt 69qA== X-Gm-Message-State: AOJu0Yy/nbJf1YwTMpDa9HN8y3+JoPuZbdFL5BZi7ADvuKvBcuZnDNsZ ZT8TkfrRzOa00CoBIXLsdI1EGA== X-Received: by 2002:a17:906:65d8:b0:a19:a19b:4251 with SMTP id z24-20020a17090665d800b00a19a19b4251mr5876749ejn.188.1703110376744; Wed, 20 Dec 2023 14:12:56 -0800 (PST) Received: from [10.167.154.1] (178235179206.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.206]) by smtp.gmail.com with ESMTPSA id x22-20020a170906135600b00a235f3b8259sm254654ejb.186.2023.12.20.14.12.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 14:12:56 -0800 (PST) From: Konrad Dybcio Subject: [PATCH RFT v2 0/3] Fix up SC8280XP idle states Date: Wed, 20 Dec 2023 23:12:53 +0100 Message-Id: <20230619-topic-sc8280xp-idle-v2-0-cde50bf02f3c@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAOVmg2UC/32NQQ6CMBBFr0Jmbc20gBZXrjyAcWdYlFJgkqZtW iQYwt1tOIDL919+3gbJRDIJbsUG0SyUyLsM4lSAnpQbDaM+MwgUJV54w2YfSLOkpZC4hmytYYi DRryKstIS8rNTybAuKqen/HUfa/MYohloPVJveD5e0OZxojT7+D3yCz/U39LCGbKyVrJrZFXzH u+WnIr+7OMI7b7vP1oDiMfRAAAA To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Johan Hovold Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Krzysztof Kozlowski , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1703110375; l=1554; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=ARUY1xHpXtNbYJC73kXlyu2iubFsquAhjet7Dqjyorw=; b=jEr+FiShAw83HyJ/2AgXX7eCo9PSxs+fd6VLsvmwSxLTtAFYHteCzA7izJM+8hpXXahv2STz/ KP9ClVfkcC1BKCyOMLzdt6YpWdfFOmse7l+aVQMz3Ri4ySQHP+ZzN9u X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Comparing the data available in the downstream sources with what's there upstream, it was easy to spot some differences. This series aligns what we have upstream with what is there on the vendor kernel. The big asterisk there is that the downstream sources for SC8280XP can't always be trusted. A simple test shows that the lower idle states that were previously missing are implemented in the firmware (Linux reports no errors and enters them). HOWEVER The only cluster idle state that's been present until now (the deepest one) is now barely used if at all, as the scheduler seems to deem it inefficient or so. Hence, a request for testing and comments, especially from those who use the X13s daily or have reliable setup to measure the power usage. Signed-off-by: Konrad Dybcio --- Changes in v2: - Rename the idle states - Drop RFC, confirmed with Qualcomm - Rebase - Link to v1: https://lore.kernel.org/r/20230619-topic-sc8280xp-idle-v1-0-35a8b98451d0@linaro.org --- Konrad Dybcio (3): arm64: dts: qcom: sc8280xp: Add lower cluster idle states arm64: dts: qcom: sc8280xp: Add missing CPU idle states arm64: dts: qcom: sc8280xp: Fix up idle state periods arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 72 +++++++++++++++++++++++++--------- 1 file changed, 54 insertions(+), 18 deletions(-) --- base-commit: 20d857259d7d10cd0d5e8b60608455986167cfad change-id: 20230619-topic-sc8280xp-idle-00fc007234c8 Best regards, -- Konrad Dybcio