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 AA16C2D0C92 for ; Sat, 24 Jan 2026 10:38:24 +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=1769251105; cv=none; b=Ql1+Wt0GR9PUycEwi/dVT5SOd7hatsV4WXP0Kj//Goecu77AiGOEqXwUnb41EdcuADficpiffu8+TQvOGbE96a7T6T3nNM86DR6kejh8jpqDHEy2V/P1a+08EBp9dMsMDzniEoQtndmTVB/rX4yX3zN+q+S4WBYTN24fiAG0Kdo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769251105; c=relaxed/simple; bh=meCPGOEBebHX544YaS09Yi/qU6DHzkeG1c+Of/FBSvg=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=ZA1uRMdmChcg8Mz1Ni0gGoKyQwSdwjlDJhz1Phu4yJYEdlDWEtGsrV1Iq0GXnripygB2SZAHFYhKAunWtTWlxivbDagB6enU7uVYDfDmIukR1IfNfoRbcyOQoYe5xd+5pHv7h8Tto7EfO8MmPi/Ogz75VsMpg5GEQpMDCPmKndQ= 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=owB/dEXl; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=fCqv7qHS; 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="owB/dEXl"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="fCqv7qHS" 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 60O4gk6r377087 for ; Sat, 24 Jan 2026 10:38:24 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= 3J7xNQPfpRsnFYqFLGHAgQpWibMHp3cy/N6JarG//vo=; b=owB/dEXl6EG1sQhl Dbwb6ZPggUxUHdR3egfMzWaliYdi1G0mYwZ0AXf3ckuVvGBxTO/PiFG6hUB7wO1A xXVYhBm5zqciqMKuNV7hLLeZJP5rWV4AddvoalvFZrB7UTpeYHwftrNF32DetIlX ZtfY948XxqfPaZEg07+znEvfk56HaFyQ/MRwIxqHGOIdbfiTpjCnbRCwarpjiCOD KAlNfGVJPi6d5JsRv9FtQZ/Mjj2Sw/LVMIfxcF0QcHT/AnHD9uOKyb+Iwe3ddtTX 5npIla2m6l5XgTyFNTuTcDqWf/kH5d3CjjH2o8pqlUD00bLcwb2jLo0CNZi5CjME D9i/Rw== Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bvq9k0eta-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Sat, 24 Jan 2026 10:38:24 +0000 (GMT) Received: by mail-pf1-f199.google.com with SMTP id d2e1a72fcca58-81eef665b49so3776900b3a.0 for ; Sat, 24 Jan 2026 02:38:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1769251103; x=1769855903; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=3J7xNQPfpRsnFYqFLGHAgQpWibMHp3cy/N6JarG//vo=; b=fCqv7qHSyviasHg1Mt4AyAZDymnMHNfPmgjqpTy14CtYERkdk4xQ7goOJxE+3MoEWM zvKlMy4o0VkMV8zuuRtx2a8Zu0Zr4oNPJqy7Zd8KRSFMUS5ywl2T9aESRuq7XDogW8Bw Pi8vLP/POFWlWLiMzpV6YlOCkdv0uwWxHtPS702lsYhCmawHSFJvan8swfWRzGI1CnHj gWfQjwLHqUvKceWajedy0qklSZZ7XBHCjSpURSq+AiM+xjzviU38BMufj+HgFrowUiSb jYJ7IpTx1DlO0hidtK+m+gTWCSpNKr6QqKgO/0RW64X1hKWw/VIN90Rq5Oc1SpiDOhrn Z5kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769251103; x=1769855903; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from: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=3J7xNQPfpRsnFYqFLGHAgQpWibMHp3cy/N6JarG//vo=; b=u4ZVn0GE/JUCcJT2IcRf0+J6/Ec9LhuY71Mq8wDI9phu5Izms04Zb/8k5re2rrBabC d89UB8f0S+cshBerJ8BV1696BVt09B/Xx2kgPllTk2ur36Xx3gxNSzW2jGkYBORg143I vHaCNdmbXk7MiltgErObiYs9ZKfHy0/1ziVlOsbEEIIMQPCOUBEqLqFpwIZuUwyzydCb REOXAoAcn1yF8E/lbYMsTsfXFr/uJq8aVYAUTkhSm4Qy2kD7F3kG3u/8iHTIYEjXg8Ws M3XWUPASKilXBSwaUE8wBEf9fYkekOiwUYoHs/SrozNzT9Z84pCxz9jmw/3tC0EtiJiM RjLg== X-Forwarded-Encrypted: i=1; AJvYcCW+IU19Qi5wU+YnKj9wI7LkmYf6tH6PEY7/afW51BaeyMDmFfY3eQfVHHjQdIifqP1vne0PYN0CEIh6kew=@vger.kernel.org X-Gm-Message-State: AOJu0YzoxPXzjtpMwcuBsrzzudt4Q3VAZLvWaEHZDFSgFnODszQ68BBu VOyqv0kQ2gsxvgYmfiBkww+LBXy0JYM8Ri8hsVHiVuod4f4W7UrJ/26M/FD4BMSxgepzjI1MUvN 72IQ8H1EzG0aQ+uOp7qvqBUsiGm5VCudGR4+0esB0NvHzXZa6lz2AiZpxIzxMKbQBN3Q= X-Gm-Gg: AZuq6aLGsGRmV0GMs9JwCsYzvyYMdmO4V1ZQK/bFxgi18mEET79FR9ZRT0p5uDb0/jg f19USTyF8NK/XdKzhu5/6gYi8BYjpqW03fatxbq2ira22AmEJfW3YR4M0jcm5mqHaSsLdiAX18J tG358hAW/R2ZaJTq3fbqkwcUzLPUCYxs/ysndyyjkvPeyIlSKZL2r7piSEVxlCZ6iks9ociLKdY T4N8Na7D+HEqtocR1sc3LWfPEAK7vnWLKhNPoIZtInj1H3JMs1xxLGqsdltQAjuXHhqJDc6kqdu 4PLeM6h+kvVfwxYGw3yMQJjBXdm9VMIstNnJ2azF3j6AiE0eY90H4hx3hLGlzbeAc+8IBV+nUAu OsPGbCf9xwRUlYQwPlJPBTxhIPRwAXgFbzdj/CpQkD5mX X-Received: by 2002:a05:6a00:3e05:b0:823:1392:ba5d with SMTP id d2e1a72fcca58-82317e15240mr5785374b3a.38.1769251102700; Sat, 24 Jan 2026 02:38:22 -0800 (PST) X-Received: by 2002:a05:6a00:3e05:b0:823:1392:ba5d with SMTP id d2e1a72fcca58-82317e15240mr5785339b3a.38.1769251102181; Sat, 24 Jan 2026 02:38:22 -0800 (PST) Received: from [10.218.16.150] ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82318671e1csm4495631b3a.27.2026.01.24.02.38.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 24 Jan 2026 02:38:21 -0800 (PST) Message-ID: <9e9b9faf-7c5d-2e83-a8ac-37afeffd81d4@oss.qualcomm.com> Date: Sat, 24 Jan 2026 16:08:11 +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 From: Shivendra Pratap 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> <2dcd9e3a-0a40-0dfb-29b8-99b70b73a59a@oss.qualcomm.com> Content-Language: en-US In-Reply-To: <2dcd9e3a-0a40-0dfb-29b8-99b70b73a59a@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-GUID: 16hV340qFnGWyA1zeFq6POblzZlXicfT X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTI0MDA4NCBTYWx0ZWRfX7Pg8oQo038f/ pz5weThP/KaChq03UE0xlnl5taiGHSNnS7261Y6FFSNZG2X95Db05dNqdOGLOnE++8dHkYKuA+Y cPx5hW1QLCST3Z1KtpdG1zGDBxLuoy8jVoWz3mIwL8LzajvsafmBeJT0KGU/y4tP1ui/tzg+jJA 1D/wphr+VXhwjs2+WeE30r3IXnrHSxqM8vZxzEszL45nkViyxZP7py32ZyA9TXc1n/++68lSvih vcpnI0mwyw/obEgeuvCheuKFdoVIttrAKZhnE+VP4/AWMoey2T9EqYry3/ZK7EDwe8Qshi8tPZT pd6omws71yp0R4l2pgegYNSCnzVKMhpU/zRk/FbYuORb9qRxkqQTKa9FltPdABAcWxiDyFfZRkT 8bXaRPw21ufgBuGQSC0Q78MLQ/OebwIlxubl+DL2yfHkiqxMMM4uTHtu2l6fbCjTDlJL/LfS7nc Mt3WPoXOg0L1WRoyFIA== X-Authority-Analysis: v=2.4 cv=c7amgB9l c=1 sm=1 tr=0 ts=6974a120 cx=c_pps a=WW5sKcV1LcKqjgzy2JUPuA==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=r0sTgVGAZfIT8Xa8ZzUA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=OpyuDcXvxspvyRM73sMx:22 X-Proofpoint-ORIG-GUID: 16hV340qFnGWyA1zeFq6POblzZlXicfT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.20,FMLib:17.12.100.49 definitions=2026-01-24_02,2026-01-22_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 adultscore=0 clxscore=1015 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 lowpriorityscore=0 priorityscore=1501 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2601240084 On 1/6/2026 4:38 PM, Shivendra Pratap wrote: > > > 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. Hi Lorenzo, Can you please review if the design aligns with your proposed changes? thanks, Shivendra