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 C18D24A3F33 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 (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 684Dh6eQ3891016 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-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gfp7827j8-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-f72.google.com with SMTP id 98e67ed59e1d1-3968dfff779so1585024a91.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=aaR5oTImirwMkljR8z4z0gaW9Ku724X5xrxs/Bp9u9vShIFYV2tEkwGp8cqA4m6FiA K9SPm9F87ffXAm/c3bmpJpJFhsbRpl085rsFAeNaPO0i3LxbEC2t9nXft97722mvRf9e qn5h2n9BcedPJUk7H2hwH03neFQSSCjr+u4S+D9/mnMjGnzmnPi1dsYycVSJyUxqe0/g XKA1cjFdaaMgnpLpep8PbWS9dOoDak38dOxApjZ19fDoQNFpWdpU/k7pp0aDp5YC4zD8 OglKCLBgC+6hLjBykG3ve2s1LdTaq3AEYVLaLTu49WgDtojsirb+7HjCH3OHsihMIBQR Bzrg== X-Forwarded-Encrypted: i=1; AKwUvByDOJ0qUSiedGwwJAMNdP0kSkwTmitZTh2GQQDRGAspimuz0DZkxX4DVL3jyp5+iInQj/ptw0EV0g==@vger.kernel.org X-Gm-Message-State: AFuF++mJtUXuCsxP8ghHKCBIQ0aihkKIVA81SPMfC4Mw0SRO8HcriHpx vZ54dTlhxwAmJiPpTp7U01G/AazMAQkWM41bf+hQpvRg6S2cAkY5JdLiO6bAeM8XmyVyat0qPk0 Vi552gmHdzShpL1BfrT8tuuMntUzg/AgbN9/GJknxltIpaznOZFZFLYM3IoHe2Q== X-Gm-Gg: AYBFou2/goUG4p2plh5txH1/YjBspV5Ua+l7FzozXXr6fvQrrBb9BRzPuK/HUTGxgAU tyPCvUgl8ooWpsfl8AOgRM9WDRdAzDO/jYgA/ZKXfZhiKGkwFWzyxOxA8yMKnr+AYHM49IZd9d4 +tzszdFQdS1UpGQK1T8gg3Nw0MDAhoUrD1qK57bWklMMDGDFq9Sg8uUs6VrBckGkqUJATkz3I8L IOv6b9W4GFxO6dontB8qyztpLluARTJNKJiwOa8fV61UFcMKyIgoDxm1cVLieeuPKbAcHxJDqTG KSbnnL6Fcsdts/B6bqoCyS3Lc9kxebzHxkVuFRyET9g6MT5TH2dzLS3jdvAD8yWppN2Me0Z/vKE +8x5ugvWQP/ZY0El3KK7bTOQ715+9WBDX80w= X-Received: by 2002:a17:90b:4b90:b0:369:7491:7b24 with SMTP id 98e67ed59e1d1-39b07f2f31fmr14673326a91.6.1788530387576; 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-pm@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-Proofpoint-Spam-Info: AW1haW4tMjYwOTA0MDEyNyBTYWx0ZWRfXw1NBLAiPWi1+ GsACDRykFM/sTOtpQBUk5NTLWnzTeBGcO6KIXFtCx6tE0SaO9r/SOummj6MTu8k8qO3npe4pYbS vN9WzfyurWDANHb3HvErPDBbxWlx/t8= X-Proofpoint-GUID: vtBcgWs2EgNddKFdiOOMZjUWUJUa-2wj X-Proofpoint-ORIG-GUID: vtBcgWs2EgNddKFdiOOMZjUWUJUa-2wj X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTA0MDEyNyBTYWx0ZWRfX4Na0iO+JhAts BRxKqvXJAkPA+JlZr9Hpv6WKXoUGrqNqOIX5ktyBod+5wCeUuZCCAiNZPR8mWLNvrnVdQbomdKn YbBSLPWwLK3LHBcV6OSSlvUl1+y250UcV5uG489XLxNaquTi4oKCfI7EC4UP9fsKDsL3vaU/17H E1iiwW7Qw2EXOQykvPP4OD+3POEkXYPjGAk/bu+qldRys/C2kKgvrX9KMEV4ewxa0uJezNHTl/b 1BoRNd7Y7HupbzZA5/YYFrBkQy1QMlXxWIHo7PUpwHn9lhZ1r5yjcsIkpC6AzCFzSUmq1J+uPz0 mXT458UjU043aISzcgt8jqWOYDDO+kd+jm0EZ3hZ2abGY+WmbmE6LVTXcV+sTvxDFV3sJs1Atir fJZQ79K+2C8cyS0XGqmlmJLuRKR+lw== X-Authority-Analysis: v=2.4 cv=ab5RWxot c=1 sm=1 tr=0 ts=6a9aced4 cx=c_pps a=RP+M6JBNLl+fLTcSJhASfg==:117 a=KLk5RGObiDQBJbYytlEIzQ==:17 a=IkcTkHD0fZMA:10 a=VdqzKS8jKosA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=gowsoOTTUOVcmtlkKump:22 a=VwQbUJbxAAAA:8 a=KpQgwA5mMx-DUpL1sGUA: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.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 malwarescore=0 phishscore=0 lowpriorityscore=0 suspectscore=0 adultscore=0 bulkscore=0 spamscore=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