From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795191528; b=s9FirIyMLg5pJmAGW72fuSkcAW6Cnnwd6U867zslc+J7QjO/im/IMTzBqJH7rszfF0pr dy3CqdFkSB/0bPBW9eViKaBWHEjCBCiLOyuQcz2OwhTZDipXtgHr/pwFVOtOpZ7ToJLh8 fO75h3B37as0CDRJiJHre9M/gMWCq2zgpjp2xLPwWwx/i4L8Oe545UFRAmX3FmR8BZUd7 2kv827+YWT07Xu+vVK8mJxbUJZhYMzUnMPxvgBbrqL9pFWJOnFtMJLxolP84vxCtgeHSG Xx7xTQIjfBV3ecKx7kvUtP7jr+UH74r8lhmccwTh5z8dvgppGEb6dx9kuAYd+sGI7kA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795191528; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:Message-ID: Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-Proofpoint-Spam-Details-Enc: X-Proofpoint-GUID:X-Authority-Analysis:X-Proofpoint-ORIG-GUID: X-Proofpoint-Spam-Info:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=t4Dld1icNXmUDCSLkNCdijjtSGyDKFWKh8cFgLUwyhw=; b=lm0HpVg71Ip35tHfJcvW603oEIl2lgsMf7ypYcsw90+kdTwVI8TaYBFl1sFwp3n+gVsR JKi27JJ2QCf5+NZbLbCblNXCSst/7Rf05XnZV/MzjZ8yjDJ50vKIoRU2D+eyx39YYEEO0 GtKEPmk0bdhgk7H1FD1Tqu0Zpa2g3IeVHvDgP8FeqMKqIHsIzkXNgxbdvcvN77+nLXgQj B+Xf5ySBd9iyUXdjlvgtuLvBNSWOve7JQjc4XiluZsfJU2Hd6sHZKaDWP9rJyAWzdQGe5 dn4VcaqXUnT+gtuVgHq/IIslYk1mM2kI0H5yc/Zqf+KLUz7nIF9DBU2hjQOYKYOYerQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=ZlbugbdA; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=TQFppb5l; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5B069606A325 for ; Fri, 20 Nov 2026 16:18:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5B069606A325 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none 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.a=rsa-sha256 header.s=qcppdkim1 header.b=ZlbugbdA; dkim=pass (2048-bit key, unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=TQFppb5l Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AKEfDhM1066181 for ; Fri, 20 Nov 2026 16:18:47 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= t4Dld1icNXmUDCSLkNCdijjtSGyDKFWKh8cFgLUwyhw=; b=ZlbugbdADM5bEepW juQrJ1QpPboC/UD0P9/ahdjjJvL8khpdCZF1N1R8Sn3WWEHC4D7IwOGOFyd88zwm cEF0r8rAssLKZBh1Y7qLrrIS21I3kWA/0nq3rzw4jjAcnwNMO9Rzjry+Y2xjlTQu V6IDN6D6rMjNuYlIz3uyPmifo6egm7y681+/pg1c1PVxBeIhbyA1WJW1McOJ9b4c Xbcn3nC8VN9FrsBfbdV5K2346HqyP/QLZ9LTSxUqglhCsrlI9obQvmBUiyrgSxBP 4tC14qkzd/sBXXFXXCDL8uiiIU67Q255lcjfWPUkLRDJHjzN5lUgyarhCSX3hvGy dce/hA== Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j2fsbjnh0-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 20 Nov 2026 16:18:47 +0000 (GMT) Received: by mail-pj1-f72.google.com with SMTP id 98e67ed59e1d1-3b40e7f4fa2so1994336a91.2 for ; Fri, 20 Nov 2026 08:18:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1795191527; x=1795796327; darn=vger.kernel.org; h=content-transfer-encoding:content-type: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 :content-type; bh=t4Dld1icNXmUDCSLkNCdijjtSGyDKFWKh8cFgLUwyhw=; b=TQFppb5lcKMUm6lpo7PUc97eM5dnLxmBdCp+hQh1nrn51oINQ1oI5vgTKX1+ktxZXl wBIkX9qsVqTLAXxQ8K7EUSm9qO1qJNsoXCVWS1Hi69OPOMV6L40ZR46yTJG8q4MVKDpY 2xWzen6ZdKXQVEP1zThAQNO5xxFNhjBaogtghBgOHxT4gcQOgYB4+vrq+cPCdUWeHv4M LnkyFu8TlDCqrFs/v1Nh/vtadLJjASx/i2x2otg8Lf7kdVmeEpEghuuJX7usGgiNyyyV kIFBT4BkBcv9wCVYyaW+e9AVrV1kNR5IF0OfEv4psUin8vMsrrgt6o+D+MUnokul4qgI kocQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795191527; x=1795796327; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=t4Dld1icNXmUDCSLkNCdijjtSGyDKFWKh8cFgLUwyhw=; b=TUZOBWjG08OAVIeDo71lAVzGZGm1xQCMBv5FVXtHByJ2ImUO59vlUu3m+eU4B0ke1S /9u1ZyyIjlKVk7OWMAImR/uJ/Z4e6UVUl6JSqzPkMFRLiUSPW5pnI0lY3GcHTUaCuyDA M/eK7XBqQzF3Hmo/xwxo+MqQAvTHJ9t2vHUDO2MoUXag5ahB5ArVglDDWdsnMNTlHLT2 ASMVKfI3OIuap/Dxf/6G4KRF5oRLGJqyCUijH1YnKBb+uTpNfSYK0KTJ3i9dPUnSLgF0 REImb+UIv5760boGvE+d5ffVj0YFB8X8pNypkIA3U8Oy/35bYSSPSu+X7osV2o6xRt/e NXFA== X-Forwarded-Encrypted: i=1; AL+hErH5tlFa9sMRJ3Cp9J5oc7eGPrmEzF8FKW/u2UL0St47Q79aYQGJ5k++VI7LwnLzq53DNA6m/JoMLESWIgc=@vger.kernel.org X-Gm-Message-State: APuU4Z+mbVWlXLmj/ej6wS7iEF8Dzc5/rJlgyl/ZyNcOPW1t92KJjuBS eiacjSG0sJaiZieyigh7j8jPTGhwbfBm4lPtbJOZDvM/yLCVuEQUsB025FFRZhtTvbObKA1lFa4 K4op0JT5XvkKjZG2UFsuPArczecliJl5DNMnQtmvl9+catOJE6ZDMn2IUDhMbQvNNmUU= X-Gm-Gg: AZFdTZcRScXUvT97i3zUNY9M1CO8X6k+M1wMvM2C+kexWTIu3DkNY/aDC8UD7R1Ql5v dYOM9cwn8w5rE7HikpunfdTk+NW7Sou6OX1MeWUuWfYxdyeXTCOPehfensQleAXo1TUgeJYFdEp enZJTDKSqiJamuAVRjnTBFFwBKh3k6oAmULRIRAR5IywOBQ6SoXhoS9SO/5ieZNDl0qJF4UzcvB XYi9xNxnQ9iJ6M0jf7jC0rK2bJIfoWvGSwOXI9px51wxd9gTH/nUbxs0THTggWeRTPqVFcYRhna +cAqoZx6LqOObfYxn8ZcQ7XzkFT45s1wPr/UlHtFN9H5T686t4kRO3yA3EFlO8GtJ4DPovahxXa Ln3lfR1kZjJwLJrmYoEhmkON3Ho0PZfXnhITu882lV10aMEnnJvf3OQQLg0R6zMzKLaqm7cpAe7 C8y5Mk9F/w X-Received: by 2002:a17:90b:384d:b0:3ae:a4fe:7ad4 with SMTP id 98e67ed59e1d1-3b41c8528b4mr3720489a91.2.1795191526792; Fri, 20 Nov 2026 08:18:46 -0800 (PST) X-Received: by 2002:a17:90b:384d:b0:3ae:a4fe:7ad4 with SMTP id 98e67ed59e1d1-3b41c8528b4mr3720458a91.2.1795191526149; Fri, 20 Nov 2026 08:18:46 -0800 (PST) Received: from [192.168.29.31] ([49.43.232.35]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b41ff2561asm1701473a91.1.2026.11.20.08.18.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Nov 2026 08:18:45 -0800 (PST) Message-ID: <72fcd590-cdb7-4223-942d-329ecbd950e0@oss.qualcomm.com> Date: Fri, 20 Nov 2026 21:48:28 +0530 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v27 00/10] Implement PSCI reboot mode driver for PSCI resets To: Sebastian Reichel , Ulf Hansson , Lorenzo Pieralisi , Arnd Bergmann Cc: Lorenzo Pieralisi , Arnd Bergmann , Bjorn Andersson , Rob Herring , Souvik Chakravarty , Krzysztof Kozlowski , Matthias Brugger , Mark Rutland , Conor Dooley , Konrad Dybcio , John Stultz , Moritz Fischer , "Rafael J. Wysocki" , Daniel Lezcano , Christian Loehle , Lee Jones , Ulf Hansson , Pavan Kondeti , Abel Vesa , Bartosz Golaszewski , Sudeep Holla , Andy Yan , Florian Fainelli , Krzysztof Kozlowski , Dmitry Baryshkov , Mukesh Ojha , Andre Draszik , Greg Kroah-Hartman , Kathiravan Thirumoorthy , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Srinivas Kandagatla , Bartosz Golaszewski , Song Xue References: <20261029-arm-psci-system_reset2-vendor-reboots-v27-0-fa4b3ff1359b@oss.qualcomm.com> Content-Language: en-US From: Shivendra Pratap In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTIwMDA2NCBTYWx0ZWRfX79XzT4HFbHBT VJSnrn5pw1UVIhUZXY4rV1KxItTWFizdRyWXe9ICsQR9uYS98fx8Eh08/9xwf2lQQ4bxE0XavlR 9FRrt21zTsMRkGg4B68sVWaOZVHdgcG1rCKcHqcyqeZZoARLioKErH1jzNkocdOf/k8/rBQHsW5 X1tK6LUvUQkmCDAJEBU4/K+1qvo0FCd/p6XiMmFe2mU3srEpnwHJw+3JtziO/TarYr9Tw3iDSu7 Zn+x9SGRCCMj3X7iHSk/Fr9AWo2ANQfTRcvUkD29eTzavsxT0aH5YZw5i07+eS6CwG6+uHW7PXo T2D1ay1MOsZS0d+Hdi7NnkwMgDnKq94hU3M/WTzDLi3tjAb9/Hin6kNgRzCtisQpKMzTbZybk2j fyi7TQvskOyC9VBpM1vQcdQ8rSMfwXaHeLuRHOBDeCBKbk+vpIBxf0P1Pc/6tG81shd7pz5FR28 VPYVJ/EFfOe4kjFBLqw== X-Proofpoint-GUID: SUVIAjhZqoeLpfXaLXXv79fisFwFrQM0 X-Authority-Analysis: v=2.4 cv=DeiCOftW c=1 sm=1 tr=0 ts=6b0072e7 cx=c_pps a=RP+M6JBNLl+fLTcSJhASfg==:117 a=rVPHjc/N4E3dzGhKvu3xTA==:17 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=VwQbUJbxAAAA:8 a=pGLkceISAAAA:8 a=bC-a23v3AAAA:8 a=EUspDBNiAAAA:8 a=wsFT6AapSP24iMOhd5AA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=iS9zxrgQBfv6-_F4QbHw:22 a=FO4_E8m0qiDe52t0p3_H:22 X-Proofpoint-ORIG-GUID: SUVIAjhZqoeLpfXaLXXv79fisFwFrQM0 X-Proofpoint-Spam-Info: AW1haW4tMjYxMTIwMDA2NCBTYWx0ZWRfX/fkb3RI5uFHP uQFknqsRwIh/RG5HD10Nr1yoCXeRyjyWOLWJx2cpoZpGLC/GH7nNs0Pe0dSVsjAiPa45XJmbd4e 5FbwKHKPuTFoagKb9HEFSrccsQLcaLY= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-20_05,2026-11-19_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 suspectscore=0 adultscore=0 impostorscore=0 malwarescore=0 clxscore=1015 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611200064 On 11/16/2026 4:44 AM, Sebastian Reichel wrote: > Hi, > > On Mon, Nov 09, 2026 at 04:47:29PM +0100, Ulf Hansson wrote: >> On Thu, Oct 29, 2026 at 10:01 AM Shivendra Pratap >> wrote: >>> >>> Userspace should be able to initiate device reboots using the various >>> PSCI SYSTEM_RESET and SYSTEM_RESET2 types defined by PSCI spec. This >>> patch series introduces psci-reboot-mode driver that will induce >>> command-based resets to psci driver for executing the device reset. >>> >>> The PSCI system reset calls takes two arguments: reset_type and cookie. >>> It defines predefined reset types, such as warm and cold reset, and >>> vendor-specific reset types which are SoC vendor specific. To support >>> these requirements, the reboot-mode framework is enhanced in two key >>> ways: >>> 1. Support upto three 32 bit magic values as arguments. This enables to >>> support for a 32 bit reset_type and a 64 bit cookie). >>> 2. Predefined modes: Add support for predefined reboot modes in the >>> framework. >>> >>> With these enhancements, the patch series enables: >>> - Arch Warm reset and system reset cold as predefined reboot modes. >>> - Vendor-specific resets, configurable via the SoC-specific device tree. >>> >>> Together, these changes allow userspace to trigger all above PSCI resets >>> from userspace. >>> >>> Note on introducing psci aux devices: >>> Based on feedback from Bart, Lee and Ufee, PSCI child functionality now >>> uses aux devices instead of an MFD driver, with psci-cpuidle-domain and >>> psci-reboot-mode probed through a common PSCI aux device enumerator. >>> Reference discussions on this: >>> https://lore.kernel.org/all/CAPx+jO9Hi2R_UnCEhsXLwf74c3RTb+RodaJ6SOVXbQX_eHt++A@mail.gmail.com/ >>> >>> --- >>> The patch is tested on rb3Gen2, lemans-ride, lemans-evk, monaco-ride, >>> qcs615-ride. >>> >>> Signed-off-by: Shivendra Pratap >>> >>> Changes in v27: >>> - Removed unnecessary headers from psci-reboot-mode - By Bart >>> - Rebased onto current linux-next. >>> - Link to v26: https://patch.msgid.link/20260928-arm-psci-system_reset2-vendor-reboots-v26-0-b24e2348e8e1@oss.qualcomm.com >> >> Overall this looks reasonable to me, but I will take a closer look in >> the next few days. >> >> When it comes to the merging strategy, it seems like the best way >> would be to funnel this via my pmdomain tree. But I need an ack from >> the relevant maintainers to make sure there are no issues with that. > > Works for me. > Hi Lorenzo, Can you please review? thanks, Shivendra