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 C17BB4A3F2B for ; Fri, 4 Sep 2026 13:59:49 +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=1788530391; cv=none; b=KCoGOAjDLvOXBwnRmM+0ycSqgGSWFafuyjNAR/Be/PDBXA/hshGacit7VNq9aNPKaD3PsUxwwbglNixbiKXUYdi1rhKnEX2JeCo8vzKJjoll2H1KHZgRed0jKMnPwvrj70f0T77c8ffuw8pUnM4RVXEmo2vL2B23mUwr6fm13Uo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788530391; c=relaxed/simple; bh=rOqwJWlnCyLtEeUosqm01QDB1wq0VG+lLC+a/zLyXaA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=aaNjXXaP1JrR8TllVrmsmbudpXZZ5cwTL30P7KwzcAbEsaV4BIbzuUbhPe1Wx6kMQRL0nZ/oLUEzg4CthK8A77QnQhmjRo8Y+TDOJ9F9YSFJ4i9l1e3hj+KJJGG1PL6Xzp5PeHkTrxpxOp+Kb85bJ/ENN4j/HcSQaHAdPQge+jw= 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=fY4xsw7H; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Ym979Y5S; 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="fY4xsw7H"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Ym979Y5S" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 684Dgxi6042776 for ; Fri, 4 Sep 2026 13:59:48 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= Jxs2oaGwNjggxYlTmrfnys1Rey8M2EkDDSrCRn43Mpc=; b=fY4xsw7HwR9/FMO3 jOCQfqol95XN0fLUfd+N7N9h9PW9lOFV19GbCzojuA+I13RdKhzgtKmrd7n8dszf prafltu/5WW2i4NjouPgcSrgFodABKV5nC952ErfIgC43A9skmCRrCs5FOWzuWKz /HnqL4OULbe00I1oaZuoG9BpYT+Y1wQVIQBgKsE2AZDdPJ1usaoCjyFxPSWtwzmn KwjyRAJcfQsNFRuwcbQyCK0RuFnOsLqMyw3eg9yw9D3soWAOporGKiIyX8pCTcwq jjGbBEkZdiDzedjEcCrUG2ZeLiYaH31aRza3C6znRn8fK3ajtjc3A1OZUVX+R8XD nyKfwg== Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gfhc9u8u4-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 04 Sep 2026 13:59:48 +0000 (GMT) Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-3968dfff779so1585021a91.1 for ; Fri, 04 Sep 2026 06:59:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1788530388; x=1789135188; 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=Jxs2oaGwNjggxYlTmrfnys1Rey8M2EkDDSrCRn43Mpc=; b=Ym979Y5Sojs3nZLzywopMzfjGhrHWn6CPG3kyR0Optgnb4dEXwKZRFxhN/F26OdwG1 GN0r9Muo7Nt1OxTmEBOOtU/Z8716xAbfyxmeebtOLYWu3KlWT1EL83oEII9yXZfVKeJq CHlmS+PUnYRSlcGbzVAHT7VNePflpece/8iaB9M/9uAIqWNsEQb17vhL9k6F/qlcvaVK 7ykhHZ7383qOQ6CO9n5hettz50g/MRuQPSFEM4W1ebJ9cdrXaw77QVG211fd4tcru8ML xVe7vFhIxAJ3zDtK7XlmS/L/oQ+asbSd3ppk8cj8lPNzeq6TxEBD34mbYERgKVJgvtJa mTzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788530388; x=1789135188; 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=Jxs2oaGwNjggxYlTmrfnys1Rey8M2EkDDSrCRn43Mpc=; b=QUv3OMLy1ntgnVeRu7DbxeuZu+s+6FIUB2Wvoba50N9tbRS3znQCGYVPFVDmu82Iwy sfH+X1t7WHgY/ZcyN7V4ILcGSBV4KjEW9kKISdRwnZBioChmCuXErCd6Zbb3tNTQjYrF RmrdwHsLs/R2VIO7foseTF57LzCwdcY5nKvJBKWbLmlE10TYQZvqK3wQKjiuHUqbg+fp 6uLkiAFdCUrNsaT0rdSlG8wahaplg5ui2YYjB7T7PPmKn6z3Qnfc281BvDY+uAUvEU6p ascKVPq7L9kcfzkX3rVC1i4i/uIqK2e8lDgZ8Q1pLe6Naob1LVrZ1cVCuozbUuaQpqJ5 5h1Q== X-Forwarded-Encrypted: i=1; AKwUvBz8rQ3X+F3+HWOdNr2uKCurZlfZMiMKoAkvM6EJumSrr7KDFVNjtU/1EPij1NvbPCQVWtFXTzXpmVp1698=@vger.kernel.org X-Gm-Message-State: AFuF++muFopLwOIXsTxqAdzQbkSd43e+J3ZT+H8tgjhn4RjcGg+rYG+r BM870OxqC2/1LJltDBgS3Qwho8jAkCdknKwFNJNANOhSmdhRAVsGq3AMxmsG0/umE+3oOPtosB5 QVPWReFFaR/WcAYbY8HmZzbOn7j8FqiUQM+l8JKrH6xbt604w7ovaq9p1qBL9qy7IRiA= X-Gm-Gg: AYBFou0cygojT3ubpNB14KcvKts3ccQGlSvAfi3rONNhKppssnURWqpZnL2hEpEw/pM 8/D7fD8vntllAz8GgqEugYcg0x3l0z+htVcIzy7M+nmC4ZJRTcB/aqwDXnDfaulKLAUK53Wht0x URPOzZgYMrFvxsY70TmStZIngYR8lU+HrJojIQjsdXzyYtsKhBTI/uaRZKXoT5Ebt8T/RRBBuJn fxT+7BOwhsf3pbRzuyXcFMJjY13Vkomi1S5nL/7lR14bJzfIS+2N1+tN8Z/cuyD/YjnyRW/ueDU 5gQQmL/1MO/fOyArmYlyelXmd4c/VL5SyrBud22gm0vFDHYuPf6mi9g/RYxYG/Ty86udcsDooD/ cqt9YJ96huYD5Wms7xdIAJvq9yKE1pJqNymA= X-Received: by 2002:a17:90b:4b90:b0:369:7491:7b24 with SMTP id 98e67ed59e1d1-39b07f2f31fmr14673312a91.6.1788530387565; Fri, 04 Sep 2026 06:59:47 -0700 (PDT) X-Received: by 2002:a17:90b:4b90:b0:369:7491:7b24 with SMTP id 98e67ed59e1d1-39b07f2f31fmr14673267a91.6.1788530387149; Fri, 04 Sep 2026 06:59:47 -0700 (PDT) Received: from [192.168.29.31] ([49.43.235.14]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3339af25062sm10478642eec.16.2026.09.04.06.59.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Sep 2026 06:59:46 -0700 (PDT) Message-ID: <8968c292-0613-4420-82f9-2e3fbf30d81e@oss.qualcomm.com> Date: Fri, 4 Sep 2026 19:29:33 +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 v24 00/12] Implement PSCI reboot mode driver for PSCI resets To: Ulf Hansson , Lee Jones Cc: Lorenzo Pieralisi , Arnd Bergmann , Bjorn Andersson , Sebastian Reichel , Rob Herring , Souvik Chakravarty , Krzysztof Kozlowski , Andy Yan , Matthias Brugger , Mark Rutland , Conor Dooley , Konrad Dybcio , John Stultz , Moritz Fischer , "Rafael J. Wysocki" , Daniel Lezcano , Christian Loehle , Ulf Hansson , Pavan Kondeti , Bartosz Golaszewski , Sudeep Holla , 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, mfd@lists.linux.dev, Srinivas Kandagatla , Bartosz Golaszewski , Song Xue References: <20260803-arm-psci-system_reset2-vendor-reboots-v24-0-889281373870@oss.qualcomm.com> <20260903160401.GV2133376@google.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-Authority-Analysis: v=2.4 cv=afdRWxot c=1 sm=1 tr=0 ts=6a9aced4 cx=c_pps a=vVfyC5vLCtgYJKYeQD43oA==:117 a=KLk5RGObiDQBJbYytlEIzQ==:17 a=IkcTkHD0fZMA:10 a=VdqzKS8jKosA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=3WHJM1ZQz_JShphwDgj5:22 a=VwQbUJbxAAAA:8 a=KpQgwA5mMx-DUpL1sGUA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=rl5im9kqc5Lf4LNbBjHf:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTA0MDEyNyBTYWx0ZWRfX0avteyHPcO30 LqlWZu4h8OySva/WpF5K/BxX4J4anLBOmNY4y91uDcPt4GJhePGk2qbFO2NAG5JDF76R/4D1kW1 fMmZpOlq+DEN4m1rg8nRuc+HsxLN/Ob3lxlME59drPMfnBNbdzburO+glhJUX4Lka73l2Gl1yRh coRmuPx0Lkxap6twARCgPtT2wN43DkOqZpI2bnMU630pz+8QTp45dWpux9ZLrXIPgFJojqx0901 UE5KO9O5en8lO+taoKBbMkur9gqykP8qKcM191J3vNisSXbb+9kVR+kLONeLyOqKa8j5b2J2T90 lvItwJUpP7eNPiF09ybdLXWxihOlQ8+92W9NCEhGM+0sMbLMO0HEWksg+ddVRWFlhnnq0absh+C N2L6j91e6YKpmMC7qtWkpz/4lYJOHewiU1WyNZfq3h4JV/KkbLaqeMJeczwQVwis3OpNS3TTrFY pxkM/0LadzKBM5NPfHQ== X-Proofpoint-Spam-Info: AW1haW4tMjYwOTA0MDEyNyBTYWx0ZWRfXyo4l5b0BOzYi lAE5amp4CNX3Ql+eoXNIYltCrdkOiyEj+zwF3elLd4RMVjEP0lpq1Z1rZ9Pw16Q/JXzVrECHrLP VIEYbWw5+8TRFTzdsCB5ZLW4WDcuilQ= X-Proofpoint-ORIG-GUID: J2OUepB3Yf95MeKcD29_VQAEtmqgQc5c X-Proofpoint-GUID: J2OUepB3Yf95MeKcD29_VQAEtmqgQc5c X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-04_04,2026-09-03_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 clxscore=1015 adultscore=0 malwarescore=0 bulkscore=0 spamscore=0 priorityscore=1501 suspectscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2609040127 On 9/4/2026 12:47 PM, Ulf Hansson wrote: > On Thu, Sep 3, 2026 at 6:04 PM Lee Jones wrote: >> >> On Mon, 03 Aug 2026, 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 more I read through this submission, the more convinced I get that >> it does not belong in MFD. This is a potentially nice "architectural >> workaround" if it a) didn't break some of MFD's fundamental "real >> devices only" rules, of which cpuidle and reboot-mode certainly are not >> and b) didn't require a massive expansion of what the MFD core is >> designed to do. I am more that a little uncomfortable with the 150 >> lines being added to MFD core support this workaround. >> >> My best suggestion so far would be to base these changes inside >> drivers/firmware/psci and use the aux bus to communicate with the >> various components. > > We had some off list discussions about this as well and it seems like > we are in agreement. What you are suggesting makes perfect sense to > me. Thanks for reviews. I will move this to Aux and re-post. thanks, Shivendra