From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792664074; b=4+AD5LExhbqRNghVXfgFClSt++Us3BhvQQzYFENX53e+SfQ0SyLwDY3wZydKR15mSpOm A/9pfTtzT/9mlwHzmKFCoD/yYYHDFqFTqd419RG6Zhjo/aq78FbeFRSOFv7EIx3/IhwOw 6us97gtmcBuu/8EP5Mb5oXEXAuM7HxT98vaVYOYMM5AxioQbVDDyJlNCMLe2lgJvuCJAM BwHqm/XBLgQ8WuvWybly+oOQeMoYVmSp2CWPilH+cW4xisqoyD4AfT2zLKECltkmbjnB7 qhLKOsFJ/8hZ4l9kJ0tKinJhZGghHo84ia0hUc8qA5EsxjBVWcDg0itumyaQyNgOqGw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792664074; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:Message-ID: Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-Authority-Analysis:X-Proofpoint-ORIG-GUID: X-Proofpoint-Spam-Info:X-Proofpoint-Spam-Details-Enc: X-Proofpoint-GUID:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=HUE0GXS7XZN5IUzugzmvSNJ7RHIYozYf5z1Xco3daL0=; b=vkK89UkgyS/0n8lpw8Fvf3RNybvxQ/iavyNPXYVNxcPxvT0aYC5X/JKVnPgDG1O/wfJs YLWmDxAzrrcOWKVN3Op814ziPtZ1058FV4bsfu3l1YwCm300MVzD6esagAbwnzwAJ1dKT nc3HFcWhlZu3kLENzgv+Wv0/peWbwDFwmLKoIEUPptPF19CSfkUQsE+SRI+Io95wmfOqT 9VS1dD7cMzSDya6B+gbyyfxHb3QGvq9ddTSwaHdtKRHlfh54WeKTZTTSzOv8uSnTkgcvM VjGACYr+u9wnLgqyYYs/5XzmeHJ3sh3t0YjHwW6WiKNgKwyqQ+cy06ZhskzUao0a1kA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=Z3bA9Cc2; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=XJ5ctBke; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2DC83606A31E for ; Thu, 22 Oct 2026 10:14:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 2DC83606A31E Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=Z3bA9Cc2; dkim=pass (2048-bit key, unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=XJ5ctBke Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 69MA0AX22918714 for ; Thu, 22 Oct 2026 10:14:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= HUE0GXS7XZN5IUzugzmvSNJ7RHIYozYf5z1Xco3daL0=; b=Z3bA9Cc2wmwHfcbQ 2dXZkTATr0wGHFo6NBXCZxGGDR+EO27hkpzXtAfi2tenSKG7qqXfP0gFmIucLf0h MyV0ng3YBN7qFqtcX5HSJkPD4Gkg50I34Zy1kdL2L9x0DFBmYs+7NeWvwptxG3qQ yAdqJGbpRKRW/wIKfPUmrzCpsgeCHThUzyZLhf4oUb4ineHgE4IWt4B6Jy0/0G5K uhiuMvKSGt6uHG+i3HImzTZd60MTWbpm9kyoBXPRk8XwXLPnnranV9b8SxmAm8C0 xpbj0Xe+3qsnDXGKJW/8OAkBQKqokJ+TXjOZgDkMuoiNhzS2TdTVNCCAZGG11sW4 4oSdiw== Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4hf93a9wyw-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 22 Oct 2026 10:14:33 +0000 (GMT) Received: by mail-qk1-f198.google.com with SMTP id af79cd13be357-93edac5877bso49977385a.1 for ; Thu, 22 Oct 2026 03:14:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1792664072; x=1793268872; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=HUE0GXS7XZN5IUzugzmvSNJ7RHIYozYf5z1Xco3daL0=; b=XJ5ctBkelRdT6ekouP1PD+Pfo0Zhva2e1J98smrdsPgMl8/p57TsV8Bk377mmmG1EA roQyqJSRmv0AMoLZ749cksCX5K1vsFtdvCSR2OgB6MT46wjc210mFoRvFeVbePVbNbn0 nok4g7/bKiqy/IGwkh2yA8f7yOwS8PGlyjHhW1byO26piiQFea/+VSClwbR6dGvaoh38 PDvrVLftJaeQv/cxKrcCKMYR40UQN5XDWjojh8q/xT7O9OcJtLC2eB9lN/6ZKNYxh0gp w9jkJTWfBUSVIPzUXOj3OlTKU6e0U1Ygd0a1JkQ7Q15qzlMz9/X9ciLvVyT7xkZOZB4x SEgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792664072; x=1793268872; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=HUE0GXS7XZN5IUzugzmvSNJ7RHIYozYf5z1Xco3daL0=; b=w0zDe1usvHyPuElwGfyk0p6wFiiH8y+1+BlrpMSj2Cz9cDaU7fWmgHbb7t7fK4L33j PjttqnsMbQTyarJhceUp9Yb2fJvypR3CSNm4rCOs/A0EcQ+umB1gxkQcMvWoF6G702Nl i53NoE6wfMfPIAIp5DKdZvsqhWUurs024bR8LEQNdrfKUBSWztdZan79MUnFUHqmJmRt Uxii4H23hyFlvj572PMOIB19RnW0wahOCDwegF/6ixR9TvhtWX+BLXL3+QX4+pWmQqw4 eu4m0LgSf7aRuL6Bc2R8Nj5c5sQvg1ma2XPkrZqdFhVkLV3BlZDm0hZka6Hk/InytA1c WniQ== X-Forwarded-Encrypted: i=1; AKwUvByUvZdy0WhLP9ZVcRvUOcRj+Pqsv+9/VmFiybrFvw4LiKnCOhgMAdELJUv/AMP6La3mFW/NDoKwAXkS@vger.kernel.org X-Gm-Message-State: AFq9FYJtdqeJWCRHafqUDyc8xB0DzqOlu0Cgyqn/8BtOEhPzv8R9MciU sbEGMcvYSo+yK2CBWcGBYC83SvJu9iLb3pcTjTA17fUnuqdWaLiiYwviFH0xXWKMKRNUho+LsHk Tb6CEEQTF8nxVhkH04L27AdfLBDAZ0YHzvHWqfWwRciK4zKcFAds6Z7MviwfEclY2 X-Gm-Gg: AYBFou1ULFA+ZQkMkNyzZ5sjnFOjDuqHZMQfvUfvLQ13jdAmHjuD8wltFyqwTe7L6Ej jUJr9IPfQUE0fCRug4f6aFMBLpH+wPivLfvwiKZCj9RRazVmDS43BYFGBFmeywYY0B/G73m7PmK 0ZHQ3Ofq0xSV8UrDRoXI/kLi/Q8odFxoQa2dGE6rGYjqUbRPt6Tc1l+VTmDPtg+fJ6JkjEtLyWL UtaLBfFkQQuh5DRe740jnWUhtXE4dlKoJP/eJ1cLaZ3j40CY8DQ1QAOZnm0+x5UZ+4zfKaExKYV s/3vy/mTygdk4Us6cYLjEpTm7xxFKMocvh/yr9Q+2VIULi4ety0IyRJisCoBSgqfav2H/ZJdSX9 jTvh50mIsn4SfMs6WOfQ22w== X-Received: by 2002:a05:620a:4687:b0:93f:1a1a:2974 with SMTP id af79cd13be357-93f580066d8mr1137720385a.6.1792664072268; Thu, 22 Oct 2026 03:14:32 -0700 (PDT) X-Received: by 2002:a05:620a:4687:b0:93f:1a1a:2974 with SMTP id af79cd13be357-93f580066d8mr1137717885a.6.1792664071871; Thu, 22 Oct 2026 03:14:31 -0700 (PDT) Received: from [192.168.226.26] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c468a5dd548sm89397066b.65.2026.10.22.03.14.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Oct 2026 03:14:30 -0700 (PDT) Message-ID: Date: Thu, 22 Oct 2026 12:14:17 +0200 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 3/4] arm64: dts: qcom: msm8917: Use a shallower cluster state to fix unresponsive idle To: Reza Kurniawan , Mark Rutland , Lorenzo Pieralisi , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Ulf Hansson , "Rafael J. Wysocki" , Daniel Lezcano , Christian Loehle , Bjorn Andersson , Konrad Dybcio , Abel Vesa , Val Packett Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org References: <20261022-psci-fix-v3-0-9ce2133c5659@gmail.com> <20261022-psci-fix-v3-3-9ce2133c5659@gmail.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20261022-psci-fix-v3-3-9ce2133c5659@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=JudkP84C c=1 sm=1 tr=0 ts=6ad9e209 cx=c_pps a=qKBjSQ1v91RyAK45QCPf5w==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=660iZSQnnn4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=pGLkceISAAAA:8 a=VTptWAqQFsUFMNnqaZMA:9 a=QEXdDO2ut3YA:10 a=NFOGd7dJGGMPyQGDc5-O:22 X-Proofpoint-ORIG-GUID: SnUzBbP3QjqDkQ6JibOgZ_aCvHFGlMOn X-Proofpoint-Spam-Info: AW1haW4tMjYxMDIyMDA0MCBTYWx0ZWRfX0HxOKmBiNwBR rUkVfJIbLX5eB598dklVzYUWSp64ubFikuc/Ko56pY0cKoKuki3OsHpChFdfSrPDJUq80LiG5TW IJ04pNY7gwo9WIADzqsXYUeP64GjgDU= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMDIyMDA0MCBTYWx0ZWRfXw5HkoUdVDOt3 lD8IuNyH0TuUJ19Xq13xpYFdr6RD7hKScFBneOIyxghN7/IMlAnLxob/2NddBKCKVFMWgd+xAZy 2CSuSMGkXDpTe9mm3/A6l3BaZNgWOM4kuj2Ge8K9wYCtKWF/Qa7qRAjETPDZliNCesfYBu6GCMr KSiaY7nJSWilEvMCpVGfgQaSCLsAk8LWfRwjWIB3lexU7/tXvC1sZkxU6eh16r1QxYXubNW7XBe 6MsNLRPhwMi7kJvtbdx3cY942iDb5iHJnoE8hlFytR8myLNNuOF/CiwRN82K0bbcjr6WwATpz6L 4jJNIOv2KJf83CP7scBFT16VUvaLxlnwHQQfoR72RI6T0/QvcB72BSZu0FKEpmvWRnDt4tYD64j 8/FSIcUWq+DBmrvmdJteEXBM/H8Rqx9EfekF+wtxcO9XkskpNepzjAySET81JOq9EVFRj8tc7ag sP3MwaCM+5okeUhroYw== X-Proofpoint-GUID: SnUzBbP3QjqDkQ6JibOgZ_aCvHFGlMOn X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-10-22_04,2026-10-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 malwarescore=0 impostorscore=0 suspectscore=0 spamscore=0 lowpriorityscore=0 adultscore=0 phishscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2610190000 definitions=main-2610220040 On 10/22/26 11:41 AM, Reza Kurniawan wrote: > MSM8917 is a single cluster SoC, so powering down the cluster means > powering down the whole system. This causes two problems: > > 1. The system becomes unresponsive, even to common interrupts. Waking it > requires an interrupt from the MPM (MSM Power Manager) or scheduling > the MPM to wake the system later. Linux currently has no way of doing > the latter, so the cluster may never resume operation. > > 2. Entering power collapse blanks the screen. When the state is entered > and exited repeatedly, this shows up as visible flicker. > > Even if MPM scheduling were implemented, the second problem would remain > and it wouldn't fix the system being unresponsive at idle. > > Replace the idle state with PSCI mode 4 (dubbed GDHS downstream), which > is less aggressive and can wake up from conventional interrupt sources. > > Signed-off-by: Reza Kurniawan > --- https://lore.kernel.org/lkml/20261005-s2idle_state-v1-0-3c402c66f388@oss.qualcomm.com/ and https://lore.kernel.org/lkml/20261015-b4-shikra_lpm_addition-v2-0-ac7f1a0d5638@oss.qualcomm.com/ are in flight, you may want to integrate/test them locally! Reviewed-by: Konrad Dybcio Konrad