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 E16BE315D30 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 (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 606B039Q2684074 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-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bgty5h5nu-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-f199.google.com with SMTP id d9443c01a7336-2a0a8c465c1so17647995ad.1 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=TO7Eqj8JG3A61Bu8gX923OStDfv0MnJCj5Ni2zVBKmS7xBjJ2zV7W2iea4AvzKXVnD wujWVjTHmBKFV6DldxsNmNLz0wYQrvB5Kw9d1hfyhflehKJ9wlTWkadtpJt9nMOrngXk vhkCJIwEioIzYyECV7rp5WHqqdthUka+DNKLB4+U/5YqAmnT7Dmrf+MkTL0A4jL8QmEa LhKaYZm1uCg2sKlj/C0pt3Au2MzVoIgCpVym1erylDCY2ERPmap6Zt2EF6BGJXNK1smZ ZXbzdaMFH8dn2rX1aEJeF63lgtOgubtv5381OAiuoDSiSAU537uG0uWAqC/XoYkbxfXx 6xSA== X-Forwarded-Encrypted: i=1; AJvYcCVhUkCfgtdJ8ZNRE0X55bSgl3Nrre3OJu7yqXZCh1EJG0RAA3bNv7njO0olouaM6nDT4uD5VVY+Mw==@vger.kernel.org X-Gm-Message-State: AOJu0YyjfL6J54k+WOQ8IY1EPKcBYIc55NVRNnUYs+jDa3y0H3xoDrPA hzxDD0jg+9VslErN0LNX9SDG3vtjqRIkU1uOSAMk89qoRUoGL0vKXnceQxD+yFtqf/rp0ikT70u HAFfRxsKeFKvqLm/gvCJgeQ7NvJN5hU7K4LsowNvk1/E0wi+z4iGjsqfnnOtloA== X-Gm-Gg: AY/fxX6pLzuUtncSsf3sFuxGJr7n8Rjs18MixdKvwviVAnjcq7wphwchEgUK4w8pP9n cmhQMj9QMaek+7fA4qAG273PXXD/1bWKze+kKsq7VEZqJZB2gx/skZY2YwHdjLzZ/9yhniAMPNx MnzaGDfzyFpHEXTYWrdZ6uD/lhdoINKL59b+ATGnF5wkuBQwnzPpC4TBV2BaTi8GfKmv6pjC06x pPtfXJaEwwoNn0qoHjxFS8Y1ntKD7j73poew3jx20Qw8cp/zqOY2UarK8XZAiPXvpYOpyHRnqNQ NIYWYnwupJslKJi5W4M5epJljOA1Rlhubs/jMiJ3agegSwfLnB1HYT47yv4q86/biHMZiena8Oq mFjLaBE9T7+Or+FBUgFs/VlRPPM6Ha+ubPqKEdd/RBvxO X-Received: by 2002:a17:903:1450:b0:298:45e5:54a4 with SMTP id d9443c01a7336-2a3e398ea48mr23772555ad.1.1767697732325; 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-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 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: AW1haW4tMjYwMTA2MDA5NSBTYWx0ZWRfXzE3lHY8LryfK 6Wvr/+RGtV7BPV0lUMcXvEmt9mHocg9am+tWukXixSVsyN09aIPkz1+N62fv6ilKezpPmD0MBMr 3/KSYhzk+/PWl0FXqMrmjrdBppjN7M2nBe4w2DoPT26Q58KPYAUHhNLfqOYImSzMov//6+ZVkET lPlpywVvzBmAF3JDYQ0CQCtn25miqfKHoT8R+DE4rYk4+MNVg/N4g6vWq7wa9SBXV3I/0yrb1gM EJW6RktL0LYdUY2clAPm2pR+abZojMYuLMaAcsjw0fvkuqhGlpfSGujTYFS1aYLq9FgR/M3mdEy YW3zzwhO+je1k4YnXworFmRNPgXCTysIOL4NND/J/p2X5/lI0NHtOO+iE8RxrQUxVjipa1pEL7F VeNnJKuC6ceU5JmhDzzejKsUFTemfDm/R4H2lZGJ3NeAC3jv1Kz6gMFS4q9QKVoeNTbDt2v/RRw ZoYTbn8A8aBsz3i/+mw== X-Authority-Analysis: v=2.4 cv=Rfidyltv c=1 sm=1 tr=0 ts=695ced45 cx=c_pps a=JL+w9abYAAE89/QcEU+0QA==: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=324X-CrmTo6CU4MGRt3R:22 X-Proofpoint-GUID: U_opsFUK7PGZDw6SvxpQmyxCYlFR56tK X-Proofpoint-ORIG-GUID: U_opsFUK7PGZDw6SvxpQmyxCYlFR56tK 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 malwarescore=0 lowpriorityscore=0 priorityscore=1501 clxscore=1015 suspectscore=0 adultscore=0 bulkscore=0 spamscore=0 impostorscore=0 phishscore=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