From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 8BB882E8B61 for ; Tue, 6 Jan 2026 11:08:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767697736; cv=none; b=YqDqo3T71Ll+q1HUSehTKzVLZBX0OdTEMSNGsF7tv1jwgluDjSnvP6bvQZKL6qunKEx/a1Q0i/5goBHKzE68nGQ91BBQKtiLzEfv1k2JuuYbZZkFhD+5dbq8h8YYCAMTcfDHoEf07pEF8b9nb4E2CPFBA6eW6SiH4t24ZK/NV6k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767697736; c=relaxed/simple; bh=G/USg7RkLumozZf1YAcM0ap/d2YqZTL+BbBgDhdVUKc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Kp7RzWE+9qHcUu08eFLMOfbZmCa7eeLaBsZt4zzzM8FbdyrKDpAg+7wQhqJONTiI3p+4c3xajui6I7b7e8v3dtRwYjr3WokRxFcOgelCVQkeKlk6/PzqHIOWEGGRW9dXD/lGiRj8dDwb3eDr0SbHXlSL5xX7fBSS55LQb67oIcU= 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=JRimWAws; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=a/2DBkf4; arc=none smtp.client-ip=205.220.180.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="JRimWAws"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="a/2DBkf4" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6069W9aQ4090727 for ; Tue, 6 Jan 2026 11:08:53 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= TBd9QdiSFGxR3MMnj97DwQLr97txyM7jpH53AKOrBRY=; b=JRimWAwsUjrxoRGl yxDlXn9g8beEL0y8UJfeXe7lG5WX+284xAYI4pntjoWC7h90RDQGyIc/pjU9HfVT UfVe8TEZp70mUyzFaH1PXDgUUSPXB/Eva26tPhzsFOXTTthYeNeQEXQeFDPQyYjq skcYtqgBvK7P3aTV5TJcgbq8SlB6w5BcZMW4KQp6FGE+LTeA0yIAZg2Z5waT9RQB ZHAcwMhpD8YbvIEcYHYoblMC/XDXHPCz2z1wwb7v2ZNGNF4b/Vfe7x8HxnTuHr62 nnlNOWyw6yc3JDHTAsEyXfxKrCsMbswOSmCJfwRzhgiKQi/FdoSDrMucIEdwMrlB dcYL7w== Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bgyun88d1-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 06 Jan 2026 11:08:53 +0000 (GMT) Received: by mail-pl1-f198.google.com with SMTP id d9443c01a7336-29f25e494c2so10115795ad.0 for ; Tue, 06 Jan 2026 03:08:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1767697732; x=1768302532; 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=TBd9QdiSFGxR3MMnj97DwQLr97txyM7jpH53AKOrBRY=; b=a/2DBkf4cARB9YkT/0YMNYAC1XPnUe2gxyYKIP2MvGdXjCIuYE1NUUJQHQPnsjBbMh g0uJiW4bf1/7/Iq0u/0Q+x8rG/vNMEICPjMjMpAlFw3pwxbcKVEoPDcurrrKAmZmBQMU VE8+HKS/lsaxXHCKpzU84+OSo0GKTEkpboU37L3IEsHV32D9IMGVw2ZKhnDPJ60Jprl0 fPo3OR384uLY00WbaboggiVsIzdiIDbn3mxIWBtftXdJW1iz1hAvD7Bkr2Lg5zqw5ggm 3y0Z6AryeJsh7alGuvQ0kiRa7bBIqLyb0toq3RA3mu63cOVtBaqkLmLLaaPeKeLIbWis z5aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767697732; x=1768302532; 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=TBd9QdiSFGxR3MMnj97DwQLr97txyM7jpH53AKOrBRY=; b=pUxWqBc3QaCGYNLo/iSpmTP5IWmxidpfCZpJuXF8m8pz2tMsaGkTDcs58BFd5mzXt/ mGTSDy4KRczTYRyrNvkj2ibVrKR4v++tcq+WVlqbFFfRRJqMhEHkyz+C0N4BGFDk4O/Y Gt8uTwM3KXmP8zMgaU6zaZjZjaGOZ/JJnAL7NEz3M4gtHSjTv7+r2LMNENHi+49wglMS fQtplwZ8I4k4rRqwD5RllI4ApiFGi1I3sYStRgfZOYN7cXpOX6wlVbtokWi4hsukSm6T iZTNGynwlulHL4w62Ew/F62rcouNCegH/PFJKYVojkKhOUO4MAc4GhWVZs/YFo2/GHwP zIEg== X-Forwarded-Encrypted: i=1; AJvYcCXIlZg/llRcuRWOTfCJBzDQ3F5lHK0CfMVmSYIUqsYNS8P1lMpuUUfiggTvk9i2JKhgXgh4spi5pRbfSUI=@vger.kernel.org X-Gm-Message-State: AOJu0YxQVbRml02Q/yR5GiRyppl7Ih5w+EWJOShzXF5jaB0tNyL+ZrOl 6cUh9FepwRdLTL2y5hmDjFqrxxuVaiUgDiQl+9s+cOOi/z55r+y2KzqS6ZHIOmUtW3k1gzpdVJ7 aViAAgeCMMI9PE2jkzpJWA2p+1SfJdWQOTDS0Yh7GPzazykBuPCnwlwWL+jS4lsv/zOg= X-Gm-Gg: AY/fxX725WDnj7v/GaJ2KD9T3ZRgz3JFAnxPfPqouyyUDnx6UIZmqBGNrIALCjOv2YP ycdXui88SY9H/U7brYW5NdXUfmKFqP1yJxdQ/Xx5dlTC/EpzOJI+DiQbLu7T1ZVXsKDcaAhmTlt w0Z9+rn6VMqZwpkITK2xL9YmIXcTCbPE6IF5YOJ79occvfh15Z9i8DH1iI5bu6vW5eSpPWLS5aD JaQ2easWgdf81hhuMv+M+EfROGEKU/CUNYE79XALAih2iQklTKVxUd6FLDVniKeQDAFnx81R2GW 6QXGoHm+c/Ho19/178sI6joQ1R1UTsdbX81GUrLjU1ZJKDHOZ0paMkwvNQgu8qMPct84YFMMcdy MuIgwZ4mBg05Q/6VaRXR7N9VwsfVJhIrXov6pETX+KUYY X-Received: by 2002:a17:903:1450:b0:298:45e5:54a4 with SMTP id d9443c01a7336-2a3e398ea48mr23772385ad.1.1767697732318; Tue, 06 Jan 2026 03:08:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IHIUEVMMLos07KtuVO9uUUfZ9AwlvV86l3kxYIqgvDKncwew/dqKy8p2uS605UwMchZJMM6WA== X-Received: by 2002:a17:903:1450:b0:298:45e5:54a4 with SMTP id d9443c01a7336-2a3e398ea48mr23772175ad.1.1767697731813; Tue, 06 Jan 2026 03:08:51 -0800 (PST) Received: from [10.219.56.177] ([202.46.23.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2a3e3cd4401sm20028355ad.92.2026.01.06.03.08.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Jan 2026 03:08:51 -0800 (PST) Message-ID: <2dcd9e3a-0a40-0dfb-29b8-99b70b73a59a@oss.qualcomm.com> Date: Tue, 6 Jan 2026 16:38:42 +0530 Precedence: bulk X-Mailing-List: linux-kernel@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 v19 00/10] Implement PSCI reboot mode driver for PSCI resets Content-Language: en-US To: Lorenzo Pieralisi Cc: Florian Fainelli , Krzysztof Kozlowski , Dmitry Baryshkov , Mukesh Ojha , Andre Draszik , 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 , Umang Chheda , Nirmesh Kumar Singh , Song Xue , Arnd Bergmann , Bjorn Andersson , Sebastian Reichel , Rob Herring , Sudeep Holla , Souvik Chakravarty , Krzysztof Kozlowski , Andy Yan , Matthias Brugger , Moritz Fischer , Mark Rutland , Conor Dooley , Konrad Dybcio , Bartosz Golaszewski References: <20251228-arm-psci-system_reset2-vendor-reboots-v19-0-ebb956053098@oss.qualcomm.com> From: Shivendra Pratap In-Reply-To: <20251228-arm-psci-system_reset2-vendor-reboots-v19-0-ebb956053098@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTA2MDA5NSBTYWx0ZWRfX5GgBo2xd+mPY xhAJrCgHhFwJbOpdlQF4LHWDlt80u7EmYlgAi3gP1IyCiM7T9Xza/IL+27S/8TnOHCcKyeNKRzj wLksbHWNJQ/sFMvX03ZKOvvyXOjzSSBUO3ixx/IcxqUNLvY8GUd+7j5JmU9d8oSlQ0U2zEfEPC4 RjzDwnLGUKwr9+i7UtrY0twVrbNLjqfjbsGSyk8o9KCVk5vkMZLZwoNl1KLwVmw1Y2GZrPFjpvH fYIuf/MjNQyvB19RhzK4Tn2pXrnsZp8ZgTGBUEPId1miBwWNnEv2nXCFOVlaegHO2emv1bpoMVJ rdTIwrZm+VOxX+u/3PmERtVoT84fOYbh5VVR66vyFhaPuPWsrpagPrPKZ0yde4Lu5Eo+NcHTiff k5DJRRAHl0sKmDf/vrNQ+Oogj+xyOHnmep2Jt8LisYfo2FzduFmDIe9bP8SqnOxJ8R+k0zAgJuQ Lv/soQGSZ92JEOjtfnw== X-Authority-Analysis: v=2.4 cv=YqIChoYX c=1 sm=1 tr=0 ts=695ced45 cx=c_pps a=MTSHoo12Qbhz2p7MsH1ifg==:117 a=j4ogTh8yFefVWWEFDRgCtg==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=a2kljZzNjkS1AKnM1u4A:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=GvdueXVYPmCkWapjIL-Q:22 X-Proofpoint-GUID: 6ZXrdZDPfCHH4Uw2fqELNZwzdI7u7xPG X-Proofpoint-ORIG-GUID: 6ZXrdZDPfCHH4Uw2fqELNZwzdI7u7xPG 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=2026-01-05_02,2026-01-06_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 impostorscore=0 bulkscore=0 malwarescore=0 phishscore=0 adultscore=0 clxscore=1015 lowpriorityscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2512120000 definitions=main-2601060095 On 12/28/2025 10:50 PM, 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 registers with > reboot-mode framework to provide this functionality. > > 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. 64-bit magic support: Extend reboot-mode to handle two 32-bit > arguments (reset_type and cookie) by encoding them into a single 64-bit > magic value. > 2. Predefined modes: Add support for predefined reboot modes in the > framework. > > With these enhancements, the patch series enables: > - Warm reset and cold reset as predefined reboot modes. > - Vendor-specific resets exposed as tunables, configurable via the > SoC-specific device tree. > > Together, these changes allow userspace to trigger all above PSCI resets > from userspace. > Hi Lorenzo, Is this patch series now converging towards the design changes you proposed in v17? We’d like to conclude the design so we can move it towards closure. Thanks, Shivendra