From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7843F271451 for ; Wed, 12 Nov 2025 17:25:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762968360; cv=none; b=AUSc1JJgtM8IYaUpgP2b7Gx1mc0XNXxINBDpZHdBB7+u4I+3QFklkDrujcJENV59pSBhdJwiu+os/5lcZWRBamww5raHzb2pohc2MozEL5y+yRzl6KBu8ZT/0Jd89CuXJdIAu0eDvH/AZ74gPhvZHCa9sbzN744oK1R7lTfRk1I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762968360; c=relaxed/simple; bh=XNGMKOXdST8ZhXMZ1XSg6lZvEmwXGS/pKQzGBgYFx70=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=hqldoy9g5o0Lty5NoNT2Y5Sd1XU1i9S+50/Ee3lEvEYecYNObEytTG/79w+Ai+RNALIGmbMWS0/JWLzoqzUcwEuGT2joy3yblrV+qFUF2IHNOatr9M7tWwjfHTuD9F9nITkQAi0Gsfyj6tKEmN5U3O7yh6IPE+qvTawxXGStLCw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=Asi0ZCev; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=VPr+XK0u; arc=none smtp.client-ip=205.220.168.131 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) header.d=qualcomm.com header.i=@qualcomm.com header.b="Asi0ZCev"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="VPr+XK0u" 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 5ACDsKhl1314316 for ; Wed, 12 Nov 2025 17:25:58 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= UNBYYgKYBAN8KJ+cgQyzq0Cqs/83MYIWHYqLx/z3jiU=; b=Asi0ZCevWHa5vpUq wydrPJdR5WLStOV9/DGr3VxUXBZoWqa/zgCg8bnQzNA9P0JK7UM6bgsHvINAq854 zqyZM0phZQsfIx6xpL9c1I4p4US+sPxmy/0LcPzRNz9D2woOfqAE8a1U3FutS2mP RSjHFghPfCdr7dcmWvQAi9fP7Ypnxm6uNKEXYRd73cmbxmuQaAo69Ydiy0SH9v76 NqxKeS/lvKq1bbs4S4rTIKuTbicFhnAnjDsLE8ovl9cRz8W1G/30ppmUHADbdWLf HNty7VP9ltQnvlYP2xrXREZ3xHnosdp2Z7YvNYoTWHluPLcq866qz3nVukaBj5zp gc/y5A== Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4acuhg0ra0-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 12 Nov 2025 17:25:57 +0000 (GMT) Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-297d50cd8c4so28460215ad.0 for ; Wed, 12 Nov 2025 09:25:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1762968357; x=1763573157; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=UNBYYgKYBAN8KJ+cgQyzq0Cqs/83MYIWHYqLx/z3jiU=; b=VPr+XK0uTf5TfcbZlZxU4bGPxtQM+zOuCykpoawK/4CvGvxCmJ73VtbEL1tVRaCMbO 0CQC4sBswK1x4f9mK1uRxJn2D8adNRupQhKiyBk+YsU3H6yaD/1X/zSknoGLzJ3rUDtZ jh7/SV8c/EXZHYycBVH6yqO/98j6Jvc+Fnni6HtXg/9xJsniAkqzAh5hJ5VixwHi3KTZ k6c7/nzRwKTMWlzmAog3DZz2W+uWI+APzq6hCkLiGa6Plnkd6FkY1OlzTJ1b2KkL9aUT 53IAb6cZV7LbtNGNiuJL3iCbLxptDqJmh1RyRZYcVZhbsWRuTm5S0E4qg6mDga4i81FD uxOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762968357; x=1763573157; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UNBYYgKYBAN8KJ+cgQyzq0Cqs/83MYIWHYqLx/z3jiU=; b=gyjV1ftlZfMTDlB3KrI2NOdZWtjcF+l6yLOc183Gd7xOPz6F7EpxZC/LlxFCZvnWF9 /263wdhjM6ow+kgUV4C9G5sZFJ3s9opgcSwIcbF2OuTb+jhOY4PihmsQvec4u5VdsZfd xcKHpkqfI+e2VTeE1kn198rgo5xSdIiSz3tsMD81TSCS+M78ImL5tgjQxJmqxdhL5Ndn 4RkRtu1lbtWLzvBB/Jf+uXdsfOGNEm2XRQm/RC/kXRB5oeOvtwYW9Z64HNj1oucMv/7F hPG8mnhjaIcUH7tQTPHpnjMuaU0GfQL4RqKroWj6rIuOn3k7eEcD7KTcmoPWt436nTuA kQCg== X-Forwarded-Encrypted: i=1; AJvYcCXUDHh9R/vO0jPuCScMCWp5zW+eQvMgmyW4SXHkP0hoacMx5JGdu5cBFyJeG29CCdWE7Fb4XGvhBw==@vger.kernel.org X-Gm-Message-State: AOJu0Yx49YGmzqVuSpXDLMYKKZWmneEV/3mLv3KbMD+EAA6Ex3KoUUPb RHQDAQtYoYUUgbyCsxOpXUcKlkklGGCIoofGRPqKBvaXe7DgrQFAiIAsGQv6wI3+gZDMUhV1wv7 O9DVqZCRCQqEZYOT7bkOBSY2xdQTPM7lu3L63XcUi719mWQbSEUlFFXawqyjt1A== X-Gm-Gg: ASbGncuyVUoOJ3Ss1nCAGzRC451Zrl6cWvpDXgypPFXvkPde/xHsHJG5z1RwWd8KP/G kxeDk08nZ9NR/GbwWcLd9NqFcg/6Xk4v2bH7ot+oArtSjluICzgS3XF/vuDkKB9F2fwLsQomuJg zrqXt9iGOuyVNcBDmJOaUB1kjPtaL8qRRiQoD6yemvthO8YbF6ZXwlc2CrEeSASskhzbdq762iA U/XRXAvjFyhI1Syw1jaqGfIKDQclSKFqaProaVlaRjYII/O8IINP+e/pflRUS2XSj1tnCaSx4Wd 8hOSmKkD+e+tckqnpJqwlnPNfeN+Jp2ZQ86KPe0bhUHN6XAkU5ZaBNvCVxSVgS2cY9uTfx4Msdt 0UvsoMhbNctnQXcDk5AIt+1B7fjRheoy4 X-Received: by 2002:a17:903:4b2f:b0:264:70da:7a3b with SMTP id d9443c01a7336-2984edefea2mr49647975ad.49.1762968357059; Wed, 12 Nov 2025 09:25:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IFlxML53eq5FCGodemREH9wM+Y3YdT+a0wr3azep64CW6zyU6Xwbk8j/OZEoJXgKMwh8FNU/g== X-Received: by 2002:a17:903:4b2f:b0:264:70da:7a3b with SMTP id d9443c01a7336-2984edefea2mr49647545ad.49.1762968356489; Wed, 12 Nov 2025 09:25:56 -0800 (PST) Received: from [10.216.19.73] ([202.46.23.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2984dcea628sm35957245ad.104.2025.11.12.09.25.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Nov 2025 09:25:56 -0800 (PST) Message-ID: <5d03ea27-82e7-1a55-3441-b80c7496a26b@oss.qualcomm.com> Date: Wed, 12 Nov 2025 22:55:44 +0530 Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH v17 09/12] arm64: dts: qcom: qcs6490-rb3gen2: Add PSCI SYSTEM_RESET2 types Content-Language: en-US To: Mukesh Ojha , Bjorn Andersson Cc: Bartosz Golaszewski , Sebastian Reichel , Rob Herring , Sudeep Holla , Souvik Chakravarty , Krzysztof Kozlowski , Conor Dooley , Andy Yan , Mark Rutland , Lorenzo Pieralisi , Arnd Bergmann , Konrad Dybcio , cros-qcom-dts-watchers@chromium.org, Vinod Koul , Catalin Marinas , Will Deacon , Florian Fainelli , Moritz Fischer , John Stultz , Matthias Brugger , Krzysztof Kozlowski , Dmitry Baryshkov , Stephen Boyd , Andre Draszik , Kathiravan Thirumoorthy , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, Elliot Berman , Xin Liu , Srinivas Kandagatla , Elliot Berman , Konrad Dybcio References: <20251109-arm-psci-system_reset2-vendor-reboots-v17-0-46e085bca4cc@oss.qualcomm.com> <20251109-arm-psci-system_reset2-vendor-reboots-v17-9-46e085bca4cc@oss.qualcomm.com> <20251110122824.5je5jfoanivl6xrh@hu-mojha-hyd.qualcomm.com> <20251110161950.ngs4ihn3asijoqks@hu-mojha-hyd.qualcomm.com> <20251112111540.w57ygzrvc6m3qbrs@hu-mojha-hyd.qualcomm.com> From: Shivendra Pratap In-Reply-To: <20251112111540.w57ygzrvc6m3qbrs@hu-mojha-hyd.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=NbnrFmD4 c=1 sm=1 tr=0 ts=6914c325 cx=c_pps a=JL+w9abYAAE89/QcEU+0QA==:117 a=j4ogTh8yFefVWWEFDRgCtg==:17 a=IkcTkHD0fZMA:10 a=6UeiqGixMTsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=oQ2sxdDcfxKlcFxZ0_oA:9 a=QEXdDO2ut3YA:10 a=324X-CrmTo6CU4MGRt3R:22 X-Proofpoint-GUID: qw7NrvP6pJsMdEQtCL0gJgX--6GXgEOb X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMTEyMDE0MCBTYWx0ZWRfX6cFTrMZ7rbBm ozP3iG8dLOnrU6IDoMBGjs5W0Z69r4BMi/EcAWm9ARaLdutZO+zfJiGRFxbXO/0Hw+h6TEI+oyQ CFvR633IAYDu+/dG/n3bJ8/JyiXZHRZ47wHc/uCt6jwfre+q4b+ZJvd+axOaBIXhoa5G/8SwN1Z xJEz/juGxpm/k/5NPl0ePBgS0OtjVe4ur+AHOnxtrhHoLhv4kzw0iHNT9yVcgej1vp0bx0z+I/n VnTy96G7W4rjybPqIrjkKE9yDsGa00O5dKQHADbphbSqtg3Xi033ZYkyFVpmkroQkg95MmDRCWT C3e9IdDPtgoTiRzbXGH+2LSGVqI9IAs/QsJmSHWGUy39D0ZnJ55cAmK/nmyCd/CgJl6tFWOSahJ SJasp2r6DqGqXJVCKOewt6wmi2kkiA== X-Proofpoint-ORIG-GUID: qw7NrvP6pJsMdEQtCL0gJgX--6GXgEOb X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-11-12_05,2025-11-11_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 phishscore=0 spamscore=0 adultscore=0 impostorscore=0 lowpriorityscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2511120140 On 11/12/2025 4:45 PM, Mukesh Ojha wrote: > On Tue, Nov 11, 2025 at 10:52:34AM -0600, Bjorn Andersson wrote: >> On Mon, Nov 10, 2025 at 09:49:50PM +0530, Mukesh Ojha wrote: >>> On Mon, Nov 10, 2025 at 09:30:26AM -0600, Bjorn Andersson wrote: >>>> On Mon, Nov 10, 2025 at 05:58:24PM +0530, Mukesh Ojha wrote: >>>>> On Sun, Nov 09, 2025 at 08:07:22PM +0530, Shivendra Pratap wrote: >>>>>> From: Elliot Berman >>>>>> >>>>>> Add support for SYSTEM_RESET2 vendor-specific resets in >>>>>> qcs6490-rb3gen2 as reboot-modes. Describe the 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. >>>>>> >>>>>> Reviewed-by: Konrad Dybcio >>>>>> Signed-off-by: Elliot Berman >>>>>> Signed-off-by: Shivendra Pratap >>>>>> --- >>>>>> arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 7 +++++++ >>>>>> 1 file changed, 7 insertions(+) >>>>>> >>>>>> diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts >>>>>> index 721a26d49ccaeb1429e2cc1c3a5c8d9517da3be6..cebdedd5d614b9efb6dfbee91dd67f3c3e322a38 100644 >>>>>> --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts >>>>>> +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts >>>>>> @@ -935,6 +935,13 @@ &pon_resin { >>>>>> status = "okay"; >>>>>> }; >>>>>> >>>>>> +&psci { >>>>>> + reboot-mode { >>>>>> + mode-bootloader = <0x10001 0x2>; >>>>>> + mode-edl = <0 0x1>; >>>>>> + }; >>>>>> +}; >>>>>> + >>>>> >>>>> Make sense for this as it leverages sc7280 and adding it there would not >>>>> have made sense. >>>>> >>>> >>>> Why wouldn't it make sense? >>> >>> It is better to add for platforms we know their firmware support this >>> from day1 and not add for something like chrome or any other variant of >>> sc7280 where this support would never come or not tested. >> >> So SYSTEM_RESET2 only exist in newer firmware versions and hence this >> isn't (and won't be) broadly available in SC7280 devices. >> >> That would be excellent information to put in the commit message, so >> others writing Kodiak dts doesn't feel the urge to copy this and debug >> why it doesn't work. > > Sure, @shivendra please add this information in commit text. Ack. > >> >>>> >>>>> Acked-by: Mukesh Ojha >>>>> >>>> >>>> Please read submitting-patches.rst about Acked-by, and use Reviewed-by >>>> going forward. >>> >>> I was acking the idea of this particular change in platform file compared to >>> other patches, if above reason looks fine, can be converted to R-by. >>> >> >> That's appreciated, but per the documentation, the meaning of acked-by >> is different. > > Sure.. > >> >> Regards, >> Bjorn >> >>>> >>>> Regards, >>>> Bjorn >>>> >>>>>> &qup_uart7_cts { >>>>>> /* >>>>>> * Configure a bias-bus-hold on CTS to lower power >>>>>> >>>>>> -- >>>>>> 2.34.1 >>>>>> >>>>> >>>>> -- >>>>> -Mukesh Ojha >>>>> >>> >>> -- >>> -Mukesh Ojha >