Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp944517lqb; Fri, 15 Mar 2024 10:31:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVHC2rcOqiZf4JP27BCQkJ79E8i/WqKczgPpdMeyJBbaiIXKOczoGoMD5raOLy0qU79A65G8wfFLVG+YN/7TqMxMcISNp03aO4rqmTwNw== X-Google-Smtp-Source: AGHT+IFo5r2T14U3VKj4zeLcnJfNVTpkt5az8uQj0bUK6oO0pgtmZZhN2nnnPZlv3XVM/JZHH30C X-Received: by 2002:a17:903:2344:b0:1dc:7374:fea8 with SMTP id c4-20020a170903234400b001dc7374fea8mr4393798plh.48.1710523917942; Fri, 15 Mar 2024 10:31:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710523917; cv=pass; d=google.com; s=arc-20160816; b=m/CFxAhjE0bC1gxuoiKAoxvKvoIeRu5BF1sfbqDnj0s/UL6oajMFNgWLbM8tBTVioh KC9PXY39Nd4GRP9B7gwHpMvGq9OyJvvKgQF0MiuRZsTeiwcc3sFTlfjXkWYiiAnPJtHY of5+lpploZ5mutXTRRUQV7ZSnGcsKM0COS6JzZppX2c65OETu9eNQZUF4Nc+MHKAcVno P6jFJAZMiBI0DbsT+6uPkzUfwWkYtK2/mLLSS4p77e93cSjVnRChC4hRxwq7ofG8tN3V r7ter3Zg0WzyvhJGyWuRrheeWM2PzqfipLD7bg5DohgKjymjY0Ln9HURG+3/s4wzeP/o /OgA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date; bh=Afr5eDzIyEh0RvkHEkT/P5Zwk+t+bQnecHcdEWLS4bk=; fh=RrG3iO3u2hLG+E/yzAjaRI0JZxEf96ZGrx2kHQ6EkKA=; b=q31B3jSaiQmvlPeVbrFowslACAn2pqLzJkX0AwM08H11CxRL/jox9LIDDs3QMwMyIF fpCITsmlUfPgzctUKAx7dSAZ4dK11e6iCvKj52PKRg3NTjiz114rn22blju8nzawwVhS owdg2O8up8Aidho2RH7o28y6mtfNUcx+TYGP75LDnqYZUPaAMhyrzQj99UV+YBxLJm0+ Bm6iQYnRPg90c6RK1Vt7UgnuNoPwVDY9JMBywziOOh9QfXN3/w6pxDhR4FygfJrqPuOE PF1TZtnL8RUdvk8X8yUA7pyqRwcr9JnoaOzjy3Cln9gGJGiOR29tZl4BLLywpDgdQvar c1rg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-104720-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104720-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id ma7-20020a170903094700b001dcd7730083si4030144plb.368.2024.03.15.10.31.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 10:31:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104720-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-104720-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104720-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 1FB29B22E73 for ; Fri, 15 Mar 2024 17:27:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 10E644CDFB; Fri, 15 Mar 2024 17:26:44 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 307964CB2B; Fri, 15 Mar 2024 17:26:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710523603; cv=none; b=YflbCD5D3GMSEBC7M2mQPJBfg9P73rIZaJFiKGMYlBXNjckfd3c0mhSY7l6o6vVdUVVZTyioX4dym2RTscTNM4m/MgzULmlM5xyCVV0KuqZ1y1UF1bCeSePeLQmKjvBnxb4+B524ADZXbhJAQGdNmQ4cy534/gkqkPAa+ikftho= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710523603; c=relaxed/simple; bh=kppvzE8hmVDe4CqcOZjfH/zMBxgvlpknYDUEUNtJmLY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KVF+RGib7EdTjItXo3RNZ9QfL3Le6HpddXeAVlmWq7PaapksTx7PeK0EdPSs+/tR5sw4tKwg+NZp9K4edzBXalhy/NYb3rAr+C8W0Sx/Qm8MIr2RVDVd2Id51Qo9huLdt66CLgoV8gTiHK1k7eLNzYTcoah9op5jJoUp3t6Prow= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B0B4AC15; Fri, 15 Mar 2024 10:27:15 -0700 (PDT) Received: from bogus (unknown [10.57.81.245]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B2A323F762; Fri, 15 Mar 2024 10:26:35 -0700 (PDT) Date: Fri, 15 Mar 2024 17:26:32 +0000 From: Sudeep Holla To: Doug Anderson Cc: Maulik Shah , andersson@kernel.org, Sudeep Holla , ulf.hansson@linaro.org, swboyd@chromium.org, wingers@google.com, daniel.lezcano@linaro.org, rafael@kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, jwerner@chromium.org, quic_lsrao@quicinc.com, quic_rjendra@quicinc.com, devicetree@vger.kernel.org, Abhinav Kumar , Jessica Zhang , Rob Clark Subject: Re: [RESEND v4 3/3] arm64: dts: qcom: sc7280: Add power-domains for cpuidle states Message-ID: <20240315172632.6zxwj4enq4tddbb3@bogus> References: <20230703085555.30285-1-quic_mkshah@quicinc.com> <20230703085555.30285-4-quic_mkshah@quicinc.com> <20240315152431.sckqhc6ri63blf2g@bogus> 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Fri, Mar 15, 2024 at 10:12:12AM -0700, Doug Anderson wrote: > Hi, > > On Fri, Mar 15, 2024 at 8:24 AM Sudeep Holla wrote: > > > > On Thu, Mar 14, 2024 at 04:20:59PM -0700, Doug Anderson wrote: > > > Hi, > > > > > > On Mon, Jul 3, 2023 at 1:56 AM Maulik Shah wrote: > > > > > > > > Add power-domains for cpuidle states to use psci os-initiated idle states. > > > > > > > > Cc: devicetree@vger.kernel.org > > > > Reviewed-by: Ulf Hansson > > > > Signed-off-by: Maulik Shah > > > > --- > > > > arch/arm64/boot/dts/qcom/sc7280.dtsi | 98 +++++++++++++++++++++------- > > > > 1 file changed, 73 insertions(+), 25 deletions(-) > > > > > > FWIW, I dug up an old sc7280-herobrine board to test some other change > > > and found it no longer booted. :( I bisected it and this is the change > > > that breaks it. Specifically, I can make mainline boot with: > > > > > > git revert --no-edit db5d137e81bc # arm64: dts: qcom: sc7280: Update > > > domain-idle-states for cluster sleep > > > git revert --no-edit 7925ca85e956 # arm64: dts: qcom: sc7280: Add > > > power-domains for cpuidle states > > > > > > > IIRC, this could be issue with psci firmware. There were some known > > issues which were discussed few years back but I am not aware of the > > details and if/how it is applicable here. > > > > Not sure if you are getting any logs during the boot, if you do have > > worth look at logs related to PSCI/OSI/Idle/... > > Given that the new firmware fixes it I'm going to say it's not worth > looking into any longer. > But it would be good to know if that is the exact reason, see if it can be upgraded, or else we can disable them by default. The bootloader or something else can detect the f/w version and enable them so that the board with old f/w(if can't be upgraded) can still be used. Otherwise it is a regression IMO. -- Regards, Sudeep