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 80FBA373C1F for ; Mon, 2 Mar 2026 12:39:28 +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=1772455169; cv=none; b=Wvetj972wivMQO2yT/OazMrm7W2iOojfeIIu46dYqniEyq2Wbo0lcoJQIOC5TH9KArLEHlM2N32c/6tuuPBH6Qh6Y9eC7MfK7Rxs9PzWRw/N7MQmbjIc2H9G0MkeVbj0vbh0TvbXTpEFaTh1dZMp85Ht4ULykJJoJpWZJ0Wj+J4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772455169; c=relaxed/simple; bh=sgSw6uvz5TkF6fAter8Gcyz6f1Qegkklbw6CY016QSA=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=ZkJ/5X/3ruUU2IKhrOTwTof8bInGEAJchoRsVk5lCadBfGgB2/C/hARb8p1+gWA+VK5jhMegaGNZ7Ar+vTcrcmMZ21qoE+nB1R3nanNTHW3Wz2DKyAUjnYlOYey8wBhRIXWzVdvrfeWalBGlbmCI3uoDzrVhINH7qNeGd7dTyQY= 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=cryyzL6J; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=KzfXG4fr; 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="cryyzL6J"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="KzfXG4fr" 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 6227vRpw055231 for ; Mon, 2 Mar 2026 12:39:28 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= ww8449eIn2bp2zLGxyNJVG6ROnNNqCtapX2um7IMARc=; b=cryyzL6J+aCfMbmN zGRKsJrhKW0FA+ShER+4QxbPAqdq33JlPqP1YwZLBbBPpIfkMdEQENwpmjEe8UO+ QUSywtocX3cKo/pwZXKy55772Sdlp2SLSoAzLQ3KTZT8vFfgnctQxlBusjUVpziw Yb3C6AgupT9eSE34lTz22u6FcmJZ65Tp/miaMHfkkjvaIBga2lbDFV2L3/FcrwYc 2Vy7u+eE/0dllQWHOQxbfsfYyMoFPvIwGx2ZzaPRMIp9aPJ90M/VwtyLbWSYyw7e X8JiKKKew4WRoGXaMjw0yViFIFk9TlpYm+BTs+c4P8fi57Yq+88nIcaAcUoJVkbG hbHNAQ== 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 4cmw64absr-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 02 Mar 2026 12:39:27 +0000 (GMT) Received: by mail-pj1-f72.google.com with SMTP id 98e67ed59e1d1-3597f559e70so1259309a91.3 for ; Mon, 02 Mar 2026 04:39:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1772455167; x=1773059967; 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=ww8449eIn2bp2zLGxyNJVG6ROnNNqCtapX2um7IMARc=; b=KzfXG4frL2BV6+81Zi/5Ork3A+/cXZ6WOKUgnaQ1GGp1zj4eQHhp7Ue3SUcLH8DsdE pH2yWOz2NRmDJSYmet0gTaFunBN+IOF30H170gaygttqcA5NCSaHWbLN8RX6DNqGsSJh kj65w1nrn5V8lrgAILKzWzOhdbkqa9sbUrZG7XiR1S8RkU/t+IH5UYrDOJuifatwrEs5 lKaci/kQubkPkxz4sQtF1FNaM4LIoHmlaCQxhtTWOXNSIWh1fofoTZs2KMwhRJEYQEkv 37uANg2G/qEXPA3s5rK0rKs2XBQ5fkbDKEQvEvoAWjQDuad1wJ0ic6mu3+GY86PY/Y0O TjLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772455167; x=1773059967; 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=ww8449eIn2bp2zLGxyNJVG6ROnNNqCtapX2um7IMARc=; b=S/d9NeohfIhEqK88HEMv1PSRH4LI7oK9PJduyoSK1g7kjez1X4YWnYS0g1f/EvF9US vMDnx3NHXMPqybJwoOlwiTVl+UEPK2JLG65C0W7U8y7R221usFx7Xdwdk4vzEN0GG0CE w44p7nk9/cl4noMFfmOtAiyeN9LAsLXRJY0Q5fE9c2pKNdY7957AzHtwEMRjs40BiZBL MPfCLGaa9LymJo9HN1UbuhbM8WVM5hkxu9DTCoOI7h0lDyoD8TzfBqW7ScDaORqsN4RM axCRArtRbPICcbHB2MkGRARAAVwYJWrwxn0cf/2DDt+rlFrpShF4UWLTECt4+dRV23qQ CG4A== X-Forwarded-Encrypted: i=1; AJvYcCWfrXZpNL83qRRN+mmdYqc0pYSHdOpgsjZBuDcW4cyfMim7vUsV1rQnp6P594W0tzE83G9AHtinKWiyNY4=@vger.kernel.org X-Gm-Message-State: AOJu0YxHZ3LzKqVLwXfVpifTRWTWxQz64SZ5JVmfXLy86sl+1xkVJXgj wIm4pkbyZsxXwmFLFeqoePlRnMsFHqfXa4a0WuUFsNqeR8IpwAoiQvJLBSt/lzImNLrRNIEMakK EVl14IeobWUVaNEXXVPRzur0525X+y7kLU0sL4LoZGOLSVprH4E4EBeQvsnxz+mnzmxc= X-Gm-Gg: ATEYQzyJ9wPPWAvfruGhmP653FFjRJnQYAcJWoKvqr1SFjYjivIYmvBzwLQGvDZf13c eG+kdWSbGq5oJS127p1O1ogs2hGEAPu7/kw0nR9vCG1bD+oOhewhiI6hmvG1+H+8SqQ35alpRQn GXtCjhWezu9lg+QLNW/k4IF08kAfhIqRECtjD2gBiK/7I6BO1uZ6QbOIX+ev4q0Ciq0XxLak4JE Q2qQC1qRaEWKGKTBvYY4R4etDU57TAjyG7Rag/0kKW27kkTdjj24tejqWuWZo3RbWiN9Gy8wOfE HcN5ifSiAA2Hotc5wmY7WKUamcvUiQw09/q0Lmn1fqUoW6UDKjasMTYsgL6NlzZzD7xi/f3lTYl Equ9thZOh2zuaBpEOa5yqyaWY/e9guFw2hEIxFqE23aOCN31pFdXyTnWF X-Received: by 2002:a17:90b:1f8f:b0:354:a57c:65db with SMTP id 98e67ed59e1d1-35965c926a7mr9003704a91.20.1772455166973; Mon, 02 Mar 2026 04:39:26 -0800 (PST) X-Received: by 2002:a17:90b:1f8f:b0:354:a57c:65db with SMTP id 98e67ed59e1d1-35965c926a7mr9003661a91.20.1772455166462; Mon, 02 Mar 2026 04:39:26 -0800 (PST) Received: from [10.218.41.175] ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-35994b0ae60sm2048878a91.2.2026.03.02.04.39.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 02 Mar 2026 04:39:26 -0800 (PST) Message-ID: <8271eafe-ec8c-4d9f-9eb1-1bc115efcbff@oss.qualcomm.com> Date: Mon, 2 Mar 2026 18:09:15 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird 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> <9e9b9faf-7c5d-2e83-a8ac-37afeffd81d4@oss.qualcomm.com> <61f166a0-44b6-a917-66e4-1e1230fa1115@oss.qualcomm.com> Content-Language: en-US In-Reply-To: <61f166a0-44b6-a917-66e4-1e1230fa1115@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-GUID: AvG8ZL9Uo8yo5cb7uL7l_TLKzTpfIQ-P X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMzAyMDEwNiBTYWx0ZWRfXy0sL6a9iuEEX Lo8rSFKnGL8VxB3Lc0kmDG22CAVqUUK7EwZzkJ04MjA4P+UjeC43/Jftct2JzF4Q5A0EPgkHH7u OVDvqPoiW9o6vEUWgYDa43pALqqORm3HyVGvevAkh/926o+Y8kK5nWfxPpn+/JDVUfpvbPlrx0u NhcgFiATKkSRZNhUXtTRvMfyHvYvyTK2v1CCJBZ+nl4vqjCGxQS9djXV6XFXU62IjmVKKYhQ43W Je1/YQxMWOHAhvfHSLDmAZcXUHqlTI3ZDVN4tvCjU1PEZZZvvz1W5Acp6l4JN+nc0TskPWkJT8o 0Xzn1stDadE4YnHT04Ij7Ba8Pz2hROWdWHP2wJP2JN9r4VE4W86M6j8HIlJqKCfQUdEnyCBxwzP URfApyiT5Dt6y3zl4suRkkyBybsD2kWIA+fEvoarASTIrLTyjSzHQ0EYaQmf62jbWFrfTVmsD8f NzqvKkvAofRH78znvSA== X-Proofpoint-ORIG-GUID: AvG8ZL9Uo8yo5cb7uL7l_TLKzTpfIQ-P X-Authority-Analysis: v=2.4 cv=I5Vohdgg c=1 sm=1 tr=0 ts=69a584ff cx=c_pps a=RP+M6JBNLl+fLTcSJhASfg==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=Yq5XynenixoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=1ilHWjMHOYMdorrszqcA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=iS9zxrgQBfv6-_F4QbHw:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-03-02_03,2026-02-27_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 adultscore=0 priorityscore=1501 lowpriorityscore=0 clxscore=1015 phishscore=0 impostorscore=0 bulkscore=0 spamscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2602130000 definitions=main-2603020106 On 10-02-2026 19:35, Shivendra Pratap wrote: > > > On 1/26/2026 7:08 PM, Lorenzo Pieralisi wrote: >> On Sat, Jan 24, 2026 at 04:08:11PM +0530, Shivendra Pratap wrote: >>> >>> >>> 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? >> >> I will try to do it this week. > > Hi Lorenzo, > > Any pointers, if the change aligns towards your suggestions about the > psci_sys_resets? Hi Lorenzo, Was planning to address the current reviews to send the next version, wanted to check if you could check this approach towards psci-reboot-modes? thanks, Shivendra