Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp946836lqb; Fri, 15 Mar 2024 10:35:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUOm08bzkFdqx3RAB93sCEG4HKBtsI0zZ1NRQkj+cL37x9/r+1nbz8wqafED/NVyCmo2yfdER1+QBuLe5TKHBaKNGMhmCi9/HVxd4isIA== X-Google-Smtp-Source: AGHT+IEbAngy5FIE7hdiSGaLSy56mjUBSsTLFQDZ1XmfASKiLbbbK2XMIWwllN7bunZdtpobEyV/ X-Received: by 2002:a17:902:e5c9:b0:1db:ceb0:2022 with SMTP id u9-20020a170902e5c900b001dbceb02022mr4983089plf.27.1710524146154; Fri, 15 Mar 2024 10:35:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710524146; cv=pass; d=google.com; s=arc-20160816; b=OUqxnWuncc2KcVwCoHPUk4aIhTwJVhvmhVanmMJBOyEwJFzc6etkmNrh7rGKAoVLGx 54jzTGS8bCJkaXbEotDKNoo65UWd4dIPmtAzgsZgrcrcu4kUAe53EJ7yoMBTQtTXdtru X8VyFAAAMZnD8eiMS1KDvWj5v8C0tC5hNRAoLM3ryjHxPu2Q7gYWWOhPJF40eH7Xo/OY lfVPsSn981aQjN2A2T6TqbBBSIbFkqNbs4fRoWEdaLbzZLJxivbj8feugLfZlPslTWj1 gljouwxzn4waB/TvjaQZNyZOmuDU+iLc1o15qhJw5v8QFzoMPrl32xX7tIQE6WGKVOzq xJvw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=35pY7i/gjcm69pUN8AAJZNQoGf0jouiTU8qeW6pOlqY=; fh=P9XHELnSzqySH9g9yciEXoax/se7ge6VWyUo+X6cg5o=; b=Kej+1yhc9kLCURtbrIXUmdhjVGgm4nRye+3Npi1XOIqZKx2KOkMvS1RZso41uPwKRF AZAoUTU0RPooB5nshm71MZllfb7ZHtn6baBMv5HjWMjt7ulhu1QSqDunXVcJGcJ7jSnN KyuueT2+TvJlR4x5ZacST3UMmvjtxNqdZh5GOQ3wGA52swP3Bdtyz4J824DG4rW8MBAn UB/D2/GFLvRHmBQlct7Ltv2+cKRkSaq/PB8cCEvmSIhTU0j0YR/F2pRgpEbmrrxHwrb3 44y/PbBUksQeFICAdcRr8Kr5IXG//roxd8lyrCkSx0CjP1relh3tpSrBaxksmnrM6G3Z CQOQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=f8bSTqO9; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-104728-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104728-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id n3-20020a170902e54300b001dbcfb509fcsi1548990plf.63.2024.03.15.10.35.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 10:35:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104728-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=f8bSTqO9; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-104728-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104728-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id BE10FB22220 for ; Fri, 15 Mar 2024 17:32:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5AD1A4AEF1; Fri, 15 Mar 2024 17:32:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="f8bSTqO9" Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com [209.85.210.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 D3332482E2 for ; Fri, 15 Mar 2024 17:32:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710523937; cv=none; b=Ke27UAzjBt5mtWwODjOtUBc14QLE16cxyMi11JHfuN9+HSh7rXwkuzwARcwpec0QqSBCDAPIKaQRPUKVMNWVW0tp/Rqj5rhi4rLd2fdVTPKitUAMyOTpdl6reHxRy/x9ereeien0rbvB3yrc84UcrZWsrLr6X4v32DgOyhw3UNk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710523937; c=relaxed/simple; bh=0LTEsN2O/FgSWhZk5KJW+7bWr7jqaVlwguZyG5cUT4s=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=E3c2nyA/KPStCS2P5rK7jyniZKoTpQVGIUhHgnWMiKG4BC/2MUu/VuDicGjNx+YybcvFMRrOPVco8AHuGc0UP0v3wgfu2pigAvJNxCbDRcXNYYkc60U2NX0leD9SFDvfpRvSDtZciz/zpnwr8j+ic0Q49Io4heDbuffvJXRE+jw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=f8bSTqO9; arc=none smtp.client-ip=209.85.210.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-ot1-f49.google.com with SMTP id 46e09a7af769-6e6779ce1fdso712865a34.3 for ; Fri, 15 Mar 2024 10:32:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1710523933; x=1711128733; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=35pY7i/gjcm69pUN8AAJZNQoGf0jouiTU8qeW6pOlqY=; b=f8bSTqO97dV4NRJXwZOl8YCt1H6UwzdG2nE4ckdX1+3D8he/Z50iGd5+odKUcGv0QN wQlU5fCVL2DFGlklRH7dTu8rGNkw01oIdqgOpCWBBPol8FebO0CfWdT/THoa7Np1tKC6 GesErz+qFnXqYhMXkAz7+5usnRQ7+gtJpuvGc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710523933; x=1711128733; h=content-transfer-encoding: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=35pY7i/gjcm69pUN8AAJZNQoGf0jouiTU8qeW6pOlqY=; b=LHhQNI7j0iEwSSee2vRaJleLusZj/YoLPma2gwIxasNWfEQP9S9hK83XUpoYC//3dB DF6snOjmEBgx540sN0bysIekWjnqCTKiyzM9rFkRzCc9ONjF/Ekie7qXd6aUIr2ZYDjR Z3FRe54R2zRxt/5uJpN5rpeigxcrBqQBMIhAEaKUUNTvKjHluX7DP3dxAFlM1RSb07NR //jLORBzf3QhPPmhaLDxdUuAanYcUO282FiISoqFn9k0qyKOm+lKuu3ge6i8lcgT5SC6 1HKQ3ohNtbZVV0teT+PsuLBofnW9SyNITvbWIUS+EAJf/wG2supD4iw8Ehx9q9TlFHfe jEGg== X-Forwarded-Encrypted: i=1; AJvYcCW0MnVrxbcNMcezgLWZdIKQESvQ3JNJ12vba4zM78rJIP66OK8617hhiIdoRkFvP1LTA60xO0pLJAh0c6aR3kQvGzybOwwylRoNlLe8 X-Gm-Message-State: AOJu0Ywks5Ej8VYuaRjeROY86UU1EHVDkcDhjLFgVFuREPspqHaxVoRT wg+uFoQm9UnyzmFOw6o+wvOtJOjIN4F/O2EHrMxAPzp7gfcET7AAHkE9/PtsDk6bMTsZHugLQtw = X-Received: by 2002:a9d:3e45:0:b0:6e5:3602:6df6 with SMTP id h5-20020a9d3e45000000b006e536026df6mr5745871otg.18.1710523933170; Fri, 15 Mar 2024 10:32:13 -0700 (PDT) Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com. [209.85.160.169]) by smtp.gmail.com with ESMTPSA id j22-20020a9d7696000000b006e5398eb1f9sm744304otl.8.2024.03.15.10.32.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 Mar 2024 10:32:12 -0700 (PDT) Received: by mail-qt1-f169.google.com with SMTP id d75a77b69052e-43095dcbee6so17881cf.0 for ; Fri, 15 Mar 2024 10:32:12 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCWJT/rrEEH4j+sw8ogUzcnsaesWwOkUJYFtMUhs3RspO6k3wKHu7EZa4IrNvuhdGv9YdVy8YguSZpOEYY/RNnH3aHF+N1NT/aCDjivp X-Received: by 2002:ac8:470b:0:b0:42e:e40f:fca4 with SMTP id f11-20020ac8470b000000b0042ee40ffca4mr311095qtp.13.1710523931775; Fri, 15 Mar 2024 10:32:11 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20230703085555.30285-1-quic_mkshah@quicinc.com> <20230703085555.30285-4-quic_mkshah@quicinc.com> <20240315152431.sckqhc6ri63blf2g@bogus> <20240315172632.6zxwj4enq4tddbb3@bogus> In-Reply-To: <20240315172632.6zxwj4enq4tddbb3@bogus> From: Doug Anderson Date: Fri, 15 Mar 2024 10:31:55 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RESEND v4 3/3] arm64: dts: qcom: sc7280: Add power-domains for cpuidle states To: Sudeep Holla Cc: Maulik Shah , andersson@kernel.org, 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Fri, Mar 15, 2024 at 10:26=E2=80=AFAM Sudeep Holla wrote: > > On Fri, Mar 15, 2024 at 10:12:12AM -0700, Doug Anderson wrote: > > Hi, > > > > On Fri, Mar 15, 2024 at 8:24=E2=80=AFAM 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=E2=80=AFAM Maulik Shah wrote: > > > > > > > > > > Add power-domains for cpuidle states to use psci os-initiated idl= e 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 cha= nge > > > > and found it no longer booted. :( I bisected it and this is the cha= nge > > > > that breaks it. Specifically, I can make mainline boot with: > > > > > > > > git revert --no-edit db5d137e81bc # arm64: dts: qcom: sc7280: Updat= e > > > > 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. I think it only would really matter if the problematic firmware actually made it out into the real world. In this case the only people who run into this are developers at Google and Qualcomm who had early versions of hardware and had old firmware sitting around on them. I can count the number of folks affected on one hand, and that's even if one of my fingers gets cut off. All of those folks can just upgrade their firmware since there is no downside in doing so. -Doug