Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1656070lqp; Mon, 15 Apr 2024 12:50:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWgcR+y18CxeWcH3hGB4O1VL1oYU8R3N0MoT3g89T2IKopVQC0B5iD9ZMtLIV/fbDf7J5n0IF5LrUHaliYlmNblQP9+OlOjMYtUwQeZ0Q== X-Google-Smtp-Source: AGHT+IEK4FhGHU6s3XxBLKkjb5AsnE19c3zlqqWtsfcfd7X79CYiJxQ7P9kO++WtN7+QqGHRWkKZ X-Received: by 2002:a0c:ec84:0:b0:696:8ecc:7e7a with SMTP id u4-20020a0cec84000000b006968ecc7e7amr11550526qvo.25.1713210632423; Mon, 15 Apr 2024 12:50:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713210631; cv=pass; d=google.com; s=arc-20160816; b=v6xUzKFFEiz0UgEAH1M3H6CIdGDWio8igD1DYCKJ8EcdXgfWf2nTSikJgtd8jwsUUC JRWIfcJe5YeiujKHTceoN21ERPJAlvsB113EkdqL9ZUF4yZfwmkS3kk31kd4/INwCBRD jmKMHnxP3qkO7z6rz7321KSKfe9AFDGSTaVFt55nu4UOUtNCMrnCBTqc9t0O8F6+ftqj 63qKu0JF1ixyon8o3n520dXrSvR9ajS1qEGmLMQc/GUeB29LjSq4Bkufgzvn3LAzMZHt R47kn++OhsklLszW2lh7vxS8ovrxsqV+va+B3O0CoZfYUPzSEwLbAcYppo7N1C4ydfh0 6JIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=pel4IuSMXhoiMO3e3jJODv6FFXqtNPQdDIe5/vhiNjE=; fh=dS8TlmRgjpRWXhdpsKOvhF847aiWPuo4MRZ/alPtmcM=; b=lUrXIE6zGnVsQhhvGw7E2Oy9bX6duKre0xIAMD8ttJ4FxiyKdyi1chjvAYJBBs7HBT pEcZxcqId8B1HfT9pFmze7BbSruhv2TZMvABlyvhxJwtdHr1u5kQITj7cOd06DWoq0X8 g5mRfrLf3HEg2QT/GVgdwy+3GjprSfOVAmuexyoFduBlRwQ9xLcVTlzExym8n/+no02z UfPdTJZn+an9hPxVgwp0kpunZ7aDSbpdsh9vibMYkYg0CIX7UkSYSPeXvJtIXFtO69IH dDg2hz8j4ttneaVVUU4ND4i0esn9KaFsyhMQN2WAUkkowtic5VBf451TsvCfXxIQQD4P 5ntQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HHcm5IRa; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-145827-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145827-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id r5-20020a056214124500b0069bb4be563csi1931145qvv.609.2024.04.15.12.50.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 12:50:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-145827-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HHcm5IRa; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-145827-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145827-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6D4C51C21397 for ; Mon, 15 Apr 2024 19:50:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1FEB115AD83; Mon, 15 Apr 2024 19:42:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="HHcm5IRa" Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (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 95FFA156983 for ; Mon, 15 Apr 2024 19:42:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713210169; cv=none; b=GuMbfu4Em0ke57y8VUKpwgDKFQE2ZxjINAh/Ta1lUicrX2XnEDFuXbRwimsHtS3QzHtSbxalD5XR85hc1UOVfH1Cnq/kxB5Kv75Fo3GZM2xbqAg1Mpfed+r3AsCbBQSEUJsYL1bS6Tz84SsTcWlGjybhBQYgqdG9mP3Dv5G9mjI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713210169; c=relaxed/simple; bh=axLQ6Vb2y+fBkXSAxVnB3Ffwdojty5NQbps9GG6vRfU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=FRqMSQVRCsaQPkIGElbTMmVpBNagwIAxq4XxI1WXEi8BiJJupfcoDlD0onLg2NDGhhCTQE0qw7Op2jHqaL5zXPhxF2d8+DJnKo6Z0DnZGjjGkRCQJcXkTfOaXeutPyV/TVI7HMXC9Z8M6cFj1pT6wBzuiZTcR2QDUkSmOzfl8P8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=HHcm5IRa; arc=none smtp.client-ip=209.85.167.44 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-lf1-f44.google.com with SMTP id 2adb3069b0e04-516cbf3fd3dso4563654e87.2 for ; Mon, 15 Apr 2024 12:42:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713210166; x=1713814966; darn=vger.kernel.org; h=content-transfer-encoding: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; bh=pel4IuSMXhoiMO3e3jJODv6FFXqtNPQdDIe5/vhiNjE=; b=HHcm5IRaaK/ftAilAH5XGNzsTAs9K6vsr2r8g4ukWrRTNo6PdmBFDRL2WL8OGQv1+u bozQe6mWyYF+ZooTPKGUrCZuEx9e5/wXBv9K8kXasdQzYO28RFvmxOl95CYNycd3hetq lTlQBffZZffu7SCBQo8qGJfv4Q4BQkt7LTGS8rOjX0qzIZc0aPKPMXd97SvaOzxpNba+ jC0/icpYTyeWhBYzjwa52sSn9V+6deI3F15Psz+6Zf58VpfNIy8ogMB9yLzx3Hbp/lNL lcTYdrFvnj36Bp6Fi4L76U1ghJMiQl5G/THy3/NDVT3/vhp0zUXTu4iu9OIm8UaG77No MGOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713210166; x=1713814966; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=pel4IuSMXhoiMO3e3jJODv6FFXqtNPQdDIe5/vhiNjE=; b=PXUsKIAyn+5YnGVm03Ae4TnU0sTOtKlUvhW9yscYgGh96XDBxrgVa9UzSEpiQCnyd7 U2/KdCINUzuG/ncZ2VKdFFoHYfuAI/R/8Aswwvqp6SxKywy1dfDMI0l8zEA0J/mAdDmt CmhmLIdblMyeRDVLECc1JVamhDPE8ZIBJaj1RlybZYsMgPtUd/H62t4x+wiY0gXdi6du uziwAXiu3s8lpeZ3S/W8/4jWLrZVCR2fTZw3SrraNzbqSLPIRLB8oGGXZmpIEHzyUUpy TeHSTjjC00cCg1QHa2VkgyCrysKUh5aSfDlR36o52Ri2z0iGfTVsgO1W9KXC3jFFN88M NjLA== X-Forwarded-Encrypted: i=1; AJvYcCVUT+WW/M/ZQ4jtQDUcx3S58B+FXGUCbUB3Gp2PocbcvGjwYOw7zTCYz5DCP2qe1j8cB3x9vNhDS3RyX8afqJYjjV69Xmou2nIhRi7v X-Gm-Message-State: AOJu0YwLR8kj2vSp1RJ983sPuuHhPvXitc130qhFnqpBp+e55VaHUddZ fyktpALJMpVfhc+K2UHxl+IIdjfN/OP3a53J87fMoqprqp+K4taG/1OA46F5VGY= X-Received: by 2002:ac2:4144:0:b0:519:231:e4c0 with SMTP id c4-20020ac24144000000b005190231e4c0mr1585142lfi.43.1713210165791; Mon, 15 Apr 2024 12:42:45 -0700 (PDT) Received: from [172.30.205.18] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id o21-20020ac24355000000b00516cba5b4cesm1334507lfl.46.2024.04.15.12.42.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 Apr 2024 12:42:45 -0700 (PDT) Message-ID: Date: Mon, 15 Apr 2024 21:42:40 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 4/4] arm64: dts: qcom: Add PSCI SYSTEM_RESET2 types for qcm6490-idp To: Elliot Berman , Dmitry Baryshkov Cc: Bjorn Andersson , Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Andy Yan , Lorenzo Pieralisi , Mark Rutland , Bartosz Golaszewski , Satya Durga Srinivasu Prabhala , Melody Olvera , Shivendra Pratap , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Florian Fainelli , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org References: <20240414-arm-psci-system_reset2-vendor-reboots-v2-0-da9a055a648f@quicinc.com> <20240414-arm-psci-system_reset2-vendor-reboots-v2-4-da9a055a648f@quicinc.com> <20240414173158942-0700.eberman@hu-eberman-lv.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20240414173158942-0700.eberman@hu-eberman-lv.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/15/24 02:32, Elliot Berman wrote: > On Mon, Apr 15, 2024 at 02:13:29AM +0300, Dmitry Baryshkov wrote: >> On Sun, 14 Apr 2024 at 22:32, Elliot Berman wrote: >>> >>> Add nodes for the vendor-defined system resets. "bootloader" will cause >>> device to reboot and stop in the bootloader's fastboot mode. "edl" will >>> cause device to reboot into "emergency download mode", which permits >>> loading images via the Firehose protocol. >>> >>> Co-developed-by: Shivendra Pratap >>> Signed-off-by: Shivendra Pratap >>> Signed-off-by: Elliot Berman >>> --- >>> arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 5 +++++ >>> 1 file changed, 5 insertions(+) >>> >>> diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts >>> index e4bfad50a669..a966f6c8dd7c 100644 >>> --- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts >>> +++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts >>> @@ -126,6 +126,11 @@ debug_vm_mem: debug-vm@d0600000 { >>> }; >>> }; >>> >>> + psci { >> >> Please use a label instead. Otherwise it looks as if you are adding >> new device node. >> > > Right. Fixed for the next revision. Are you guys planning to make this sorta ABI-like? If so (which would be greatly appreciated by the way..), perhaps you could stick these magic values in dt-bindings and give them cool names FWIW DEN0022 (my second-favorite book) suggests these values are almost totally vendor-defined, so if I were Qualcomm, I'd take the creative liberty to come up with a set of numbers and never ever ever change them Konrad