Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp852259lqb; Fri, 15 Mar 2024 08:08:30 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVGu7dSBWemog+yfdmsEgadX++oeNphge4TU/6pw14ZoXv7vEIE/Xugy7ykJKduem3MT4glniv+nHUR6dG4rA6i9RFRRQUryze/Pa+Hyg== X-Google-Smtp-Source: AGHT+IH7tXV6k9CxI9hA4OzCSuCPRtIHQIzMusMooOeQx3hFdePHqxaERgBxyU4GMFA1heBEfbzo X-Received: by 2002:a05:6402:160a:b0:565:af1d:7416 with SMTP id f10-20020a056402160a00b00565af1d7416mr3231068edv.5.1710515309965; Fri, 15 Mar 2024 08:08:29 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h13-20020a05640250cd00b0056842db5c4fsi1969374edb.115.2024.03.15.08.08.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 08:08:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104557-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@chromium.org header.s=google header.b=Zd0qOD8J; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-104557-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104557-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (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 am.mirrors.kernel.org (Postfix) with ESMTPS id 35C681F2397B for ; Fri, 15 Mar 2024 15:08:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A84053D0B4; Fri, 15 Mar 2024 15:08:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Zd0qOD8J" Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) (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 F08BA3CF4B for ; Fri, 15 Mar 2024 15:08:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710515298; cv=none; b=LTbihl3DLZbgF1dyAxgXtYBnWS9JD9I0FosKdRO1s/dlFUIa8WJ5q6E2faU5Ph+xnArP+sXT2A+3KzSPkz3lWLFgSz+21sDZwmu571ETqQzKegWhVZFcGAUmRc0CNbZYWWlDR03xjIkRPh3ceTaIzYGZjTKQpSQCZmdWmEado4A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710515298; c=relaxed/simple; bh=1p+2qEhn/qrjk/VPCWJTzuUwNlO3E+p95QBrqAO/oNE=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=mxwVY8Qr+1bDnPNIIO/0czab9//2UqVrtsnTAdHXxpJAsSnMqyBZFW3WeJ5v7i5cPN/16aFCHbvkm1y8DxVabEOcf1BToywce3aE58mDpwujF37Kj7OnOpAPiyUL5O7KKZLC4CqQ99IcVBeA8b/GKgELJcr/WrYAoNCyt6NRheQ= 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=Zd0qOD8J; arc=none smtp.client-ip=209.85.160.169 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-qt1-f169.google.com with SMTP id d75a77b69052e-42f0df98361so10145901cf.0 for ; Fri, 15 Mar 2024 08:08:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1710515294; x=1711120094; 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=GSZdYN59DhOS8QyekeyWoGZ8e/VbiOIdQPzuTpNSPUk=; b=Zd0qOD8J4wpSz9bHCqS+4f5svRDAaWKkvBxOT8InfDa92eoDMLCYQGW78MKyBm3Czp pBX6uphgmFEFW7yRj17oQ+wqDqdt65HIfaELTgQMOmXNIfYy72w4v+qsEieDM1uq9yIY ztPqDYNb1cBJuMOXc3mFwMnO7DhkWJSfZUF1I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710515294; x=1711120094; 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=GSZdYN59DhOS8QyekeyWoGZ8e/VbiOIdQPzuTpNSPUk=; b=TQss59dr4gr8yuDBOw+hhqnzkMbZTEICrEtOSkZT3Je4vuYzReeYv3BS4151qbLBcR vPOBR3h/DhbIkoJm1McUChhzHaOBl4BnllaoICu8VQ/YeKIvfFCqfio7HTB+9enS6iUI LYNeAelzVSjCsdse3TPuTPMCJsT4IvsEntIZBFDm5s+u0RQkQmXgHvJx5xdyV6wt43wN yZQkaQMxJGipJbf+f8Jnx76YSCFZ2dheFgSAPFUZIjsGmLhvefyFPSL88y4F+t25s3xA Bfc40f1ufPnOB7khTD+pzFRPQy1SGjUIVaSnNeP02DvnWDJUljsCGf4JFVWXc29wZ/6M HL6w== X-Forwarded-Encrypted: i=1; AJvYcCVcSv81U33CVHEaEzGFgVA+auCydjrp35kbQ8atky58cZFpT0zQcmOLGc+z68GRFg+uQmHJmFeCP7wqlad12u5pFxBW9Np5yQOoOKtp X-Gm-Message-State: AOJu0YxE2a/4oUncFbV2a5ai/aOtpVPQG8xBAsWxwU5om+P7pTH7SJJv ooZ96lSHt+OoLER0MNL/N8J21M48itBEWj54XnEoAmE5+Qb8BxOyoYPK1h4LyAcm8qXUkNxaz/E = X-Received: by 2002:a05:622a:486:b0:42e:f580:39fa with SMTP id p6-20020a05622a048600b0042ef58039famr5885718qtx.56.1710515293964; Fri, 15 Mar 2024 08:08:13 -0700 (PDT) Received: from mail-qt1-f178.google.com (mail-qt1-f178.google.com. [209.85.160.178]) by smtp.gmail.com with ESMTPSA id jt10-20020a05622aa00a00b0042dfa55a3d5sm2035540qtb.25.2024.03.15.08.08.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 Mar 2024 08:08:12 -0700 (PDT) Received: by mail-qt1-f178.google.com with SMTP id d75a77b69052e-428405a0205so333551cf.1 for ; Fri, 15 Mar 2024 08:08:12 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCWMH58qcmIDd0anMJLXV4Ul29pCXPaRAm9L04CFR0o24c5VBXBRQYtXKSJtGm7M0VEauNb9laIIoTVfjQJ2yFvjfoTLuRIdC6cl6mKU X-Received: by 2002:a05:622a:292:b0:430:b2ee:d6bf with SMTP id z18-20020a05622a029200b00430b2eed6bfmr193108qtw.25.1710515292052; Fri, 15 Mar 2024 08:08:12 -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> In-Reply-To: From: Doug Anderson Date: Fri, 15 Mar 2024 08:07:56 -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: Abhinav Kumar 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, sudeep.holla@arm.com, jwerner@chromium.org, quic_lsrao@quicinc.com, quic_rjendra@quicinc.com, devicetree@vger.kernel.org, Jessica Zhang , Rob Clark Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Thu, Mar 14, 2024 at 4:39=E2=80=AFPM Abhinav Kumar wrote: > > Hi Doug > > On 3/14/2024 4:20 PM, 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 idle sta= tes. > >> > >> 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 > > > > We noticed that some variants of sc7280 herobrine boards didnt boot but > some did atleast till linux 6.8 rc-6. I have not tested linux 6.9 rc-1 ye= t. Wow, really? This doesn't seem like it would be related to the variant. Maybe the firmware version? FWIW, the device I was having problems with was a "villager-rev2" with FW 15368.0.0. OK, so I just pulled out a `hoglin-rev5` with 15432.0.0 and v6.8-rc6 boots and WiFi comes up. However, when I move to full mainline (b0546776ad3f (HEAD, linux/master) Merge tag 'printk-for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux) I get the ath11k crash. OK, so I updated my villager to 15432.0.0 and things work even without reverting ${SUBJECT} patch. I guess that's the answer: this patch broke things with some old firmwares but with the newer firmware it's fixed. Hopefully that doesn't happen again since I don't think there will ever be a newer firmware than 15432.0.0. > > (I get an ath11k crash after that, but that's easy to hack out since I > > don't need WiFi) > > > > hmm, wifi worked alright on 6.8 rc-6 for us. I guess I'll leave it to you to track down / report as needed. > > I suppose the two options here are to either: > > > > 1. Track the problem down and figure out why the breaks boot and then > > fix it. I'm personally not going to track this down, but if someone > > wants me to test a patch I can do that. > > > > Can Maulik help us do that? OK, sounds like we don't need to, as long as everyone updates their firmware. This should be OK. > > 2. Delete all the herobrine dts files. > > > > So far we've been keeping the herobrine dts files alive because I > > thought some graphics folks (Rob, Abhinav, Jessica, for instance) were > > still using it. ...but Rob says he hasn't booted his in a while. No > > idea if Abhinav and Jessica are using theirs. Any opinions? Is > > herobrine hardware support near and dear to anyone these days? > > > > Yes, so we have been using sc7280 herobrine devices even till the last > cycle and quite a bit of feature development was actually done on that. > > It was the only device having eDP other than sc8280xp till x1e80100 > landed last cycle. OK, thanks for confirming that they're still useful to you. When I got the failures I feared that nobody was using them anymore. > I do want to start using sc8280xp as well because from the experience we > got, it has more visibility in terms of users. So that will address my > eDP concern. > > But, the nice thing about chromebooks is we really like to use them for > IGT development / CI debug as CrOS provides a nice environment to > cros-deploy IGT. > > We can continue to use sc7180 for IGT development but if we want to > debug issues with eDP + IGT, sc7280 is a really useful platform for that. > > sc8280xp or x1e80100 is not a CrOS supported device. So we will have to > develop and test IGT directly on the device (which is a bit of a pain) > unless someone has a better way of "cross-compilation" for IGT on > non-CrOS images. I'd have to let others comment on IGT. -Doug