From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 019A2606A322 for ; Thu, 3 Dec 2026 13:30:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=QsQ6NwJy; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=Q2OqgnaA; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=a6N+k2Wl DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post: List-Owner; bh=jImevC523PuGdqhb3Fl36oycBvSZH4P6LnltrHK2V58=; b=QsQ6NwJyuNF7KK EDnuYHDDIFHRnGM9CFBonupnnl6s7Vpfo7m2P7XL3jUW1zmGz6p89Y/O1FqrHLRzKPGN6DxHdV5Dt szUGOeeeDEpaVy6nDYyhNsNffAgxQNiVWmeUN8TmscCu8Wshb7UpqvfNHAwU6qNvjRDJTGs7y1kbE RacOvgwzhzsJdmitAJYAMa9NYHafE9OKJfGhhjBjMaFRx1FJ2qFujOLqgFER9C9DhgIxkPRS663yI eoK0sXucb7ys+rB66E6R/D7+tL0HZPdrE1FoXt1/OYgwUaJqlVMN5/cfepAj40gYQ2n+gzhCT1ywf w2BT5OkWZe7Y2KQenyeg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZ6tP-0000000Ejgg-44Hd; Thu, 03 Dec 2026 13:30:35 +0000 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZ6tL-0000000Ejf2-27rp for linux-arm-kernel@lists.infradead.org; Thu, 03 Dec 2026 13:30:35 +0000 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 6B3DGW7h3485578 for ; Thu, 3 Dec 2026 13:30:31 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= jImevC523PuGdqhb3Fl36oycBvSZH4P6LnltrHK2V58=; b=Q2OqgnaAp5Q2PFiX Inbw87V8WQrAvZUFH0azsawxEsWh8L0gRVCSAaxI/ZGsJYbymUHZONeyAOvZXq/X 4vl3rS+lFmuvbmvOuOjWh7yvq6s56m9gODkM2WBrbCQukcZUqa4JQG1BxTaz8gJh C5ZhOklsvejPg7Jhe3sKDgYI8dmQC5zpLu9Ru7RBOYkJ8I/SGPSktJpyEXyA8TFe RracT3wZoCUAdAU0y5fjWYEYpkUIsj/Zz9cI04Jwq6mGWmmahXpPuq1TEzJk/56E 2zPG1VsRB6TYmFNsOYSlk4dNfjIYBHBE2HuWWNOhg5wie5hS2lVIkydkINknj5Jd xxs7mQ== Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4jb3g41nmy-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 03 Dec 2026 13:30:30 +0000 (GMT) Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-55d2d54356fso39584281cf.1 for ; Thu, 03 Dec 2026 05:30:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796304630; x=1796909430; darn=lists.infradead.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=jImevC523PuGdqhb3Fl36oycBvSZH4P6LnltrHK2V58=; b=a6N+k2WlFZ0BAGJy/iIrOg18TcfvvptBfVlVgz6iFqLYeclaKIGjY5YV9wYM0OeV3/ Ia3kuyu/Q7sIddmWylyay1XzQFCkOHq0r4pgNe/6F+quG0MwMkLeXRmYV6HVKMPhiIR9 7j2ECK9rIfxafni6SzFxqVSbq7U0CflsyVLpQ4u66AQvEXwEPfTMfoO6a4iN4H3E2wNH 2ycB9fVDKX01gmy4mMomeEQ5K9SQeW7dB3/DKFHNbSsp9Kpnc0U6fBBCYE4wUMG1rjXH rPLb0y9qTSwLdIt1kAgTnAZzC/K6HSnnLIgDlJ0zVC7FfPeMvpdQbLW6n8Y7quIxcJlm 8pVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796304630; x=1796909430; 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=jImevC523PuGdqhb3Fl36oycBvSZH4P6LnltrHK2V58=; b=uK7W3ZKSG5ljuYbdOU8FpKgHRJdXVZveQeaiYPiZVf4kPAduhyrBTTpALM2xkBBnxg 0Thw3hJtSOXZe+psYfJjoG/QX1jTfiiLX2TspTuAqP8Dq/UAky59CB3xaf50uo4Luspq JW8DNqNy+oIroOmqlDJXf7S0fomxMcBw2cxbxosXybbBE2pwJ0VEmKqq7r3CvnPuBLcf rrqABI2O4tSViXpJVKxKx1bcMHlOV6uxaTX9cjvTsxLpWjMBcVIRjJZJmwl+EYWimIES 1gG6PteljZvyB/S3xhTYIMA8tu/vYJANnALZwjPuZ4cmiZeoYjp+qcvlrgDoT3A0cV8b rISw== X-Forwarded-Encrypted: i=1; AL+hErGcOUNCo3H7lnb2pGu/qGwHEAJE8f66o5Ni8EVcChrz6RNcByuYXBGmGTkcWfJoBlwgs1pHaohLM0nUfDlmofZI@lists.infradead.org X-Gm-Message-State: APuU4Z8HWo/AlUPvams5eHHZoQPL+DKlXPqjJArIZ90898wnBSeLy0qz 2rnhWSp41dOfLVXvv9tBAcbWZO1N17+v56dLSI5t/OuqfTPUPYmikVUUgLqn25eZ1xYuCp4EbWJ V//TEhvEQ+EUHEnMbYbo2dZ2PeRkq/9dHUI+37W0GR4YwWUJOW+SbSc4MqNg12EBfpGhdp1LKPp zuTg== X-Gm-Gg: AZFdTZdTd/c0RL2WbGcFbOs6YJIQGc2gnw7tGZdSxRPS+yBzXc+iR0p5nw2vkLOuwxs aT86fmh9/ZD4h6+1Gbrxc1jmRwUR678eNQzidnCpFcqvsxacgvQgNvUoNEnj9XG6/9y+WGH6J98 JbHT2NUXe28EzVzHBXdYje7TshgUkOIAYZeiQ1Vv7EHqBLIPp5z4GawhXBSK9+tcsYVQBKbQoUc zui54HbJ3uY6jvnlMvzDHu97eJabVvm53IG881vxmrcrKiL1XksPUFFnm0+oH7i5yYaGdwq8Ovo 21+I8xfHGLVycmzFdg2NypQ3G08eMbgwC2GR7CbyxiLiLZ/qThpMd+IPFD2TMdv4IdLrCg33pgB D0ZPl5jAcLo6GEUFJc/a81E89X6jB9HQoAYNaRcGlDHKoXnZaiySanq9T/KLA91U+VynFyw== X-Received: by 2002:a05:622a:6a44:b0:54a:a0ae:795b with SMTP id d75a77b69052e-55e2a9c62fbmr25320021cf.3.1796304629760; Thu, 03 Dec 2026 05:30:29 -0800 (PST) X-Received: by 2002:a05:622a:6a44:b0:54a:a0ae:795b with SMTP id d75a77b69052e-55e2a9c62fbmr25318901cf.3.1796304628952; Thu, 03 Dec 2026 05:30:28 -0800 (PST) Received: from [192.168.226.72] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6bcab248dd5sm356758a12.8.2026.12.03.05.30.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Dec 2026 05:30:28 -0800 (PST) Message-ID: <7a89c469-c0c2-4331-bf6d-bea989793a05@oss.qualcomm.com> Date: Thu, 3 Dec 2026 14:30:21 +0100 X-Archived-By: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v27 06/10] power: reset: Add psci-reboot-mode driver To: Shivendra Pratap , Lorenzo Pieralisi , Arnd Bergmann , Bjorn Andersson , Sebastian Reichel , Rob Herring , Souvik Chakravarty , Krzysztof Kozlowski , Matthias Brugger , Mark Rutland , Conor Dooley , Konrad Dybcio , John Stultz , Moritz Fischer , "Rafael J. Wysocki" , Daniel Lezcano , Christian Loehle , Lee Jones , Ulf Hansson , Pavan Kondeti , Abel Vesa , Bartosz Golaszewski , Sudeep Holla , Andy Yan Cc: 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, Srinivas Kandagatla , Ulf Hansson , Bartosz Golaszewski References: <20261029-arm-psci-system_reset2-vendor-reboots-v27-0-fa4b3ff1359b@oss.qualcomm.com> <20261029-arm-psci-system_reset2-vendor-reboots-v27-6-fa4b3ff1359b@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20261029-arm-psci-system_reset2-vendor-reboots-v27-6-fa4b3ff1359b@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=OaENnRTY c=1 sm=1 tr=0 ts=6b116ef6 cx=c_pps a=EVbN6Ke/fEF3bsl7X48z0g==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=EUspDBNiAAAA:8 a=VwQbUJbxAAAA:8 a=7MS9Kjim2gai6s9ofkIA:9 a=QEXdDO2ut3YA:10 a=a_PwQJl-kcHnX1M80qC6:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAzMDA1MyBTYWx0ZWRfX/zo+0mEFMNnj E9hkEzRB+UubHBGtc8OhSo6evT1ekm1mzo/4PB3tOlHHv3IqaWrsCGzBugKaiD9iEA1t0G3RIyL FqF4OFTCWGfjJdK4J5ap5Bfb2VqCvDDOMaubHZuW6KZ5ukSMJyD8HDFYBvMyYmW4sOpEwBgy/or A+iREBPq9p3ncxhtluCed+sC7t468HSIdIufmfQWYErJLRmrWEuSioN0pftS1cy4nmAmqT9wd4F JYV/jLWo0WyrQyqlpEuBr/ZqKsO4ErJuyap42otaomk0C0WbEEuT0ikwbH0Wklr33493sjRHta8 d+RpotJyQRItiWV9Xjr4HngNATYyO9oTvtV+h0YhffFCH1d6utdT2jRCNfWazQ0HfhSQO/Ffcq6 C+Jrcj0VZYIrhIRorIctdieHpszGuOLatnECUwIES61BIO/1pgS+ZqcdEqQzLKlcenF+HFittkO 0vC2+L7uBGdRJC+vKfA== X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAzMDA1MyBTYWx0ZWRfX9qmyP0nFJn3u ydIMXM5eo+RegrEUiDiRaw1GsKCdIFaNSISTcGG4j6sQrzBUSOjrXG0vJ8V3Wz758LWCYf1CD7d kdBq4O6FgwNiri62tbh7YOdYAUzkt+c= X-Proofpoint-GUID: CzW4JjXP5pdZcrJVB68DIaBgfLvwsZf4 X-Proofpoint-ORIG-GUID: CzW4JjXP5pdZcrJVB68DIaBgfLvwsZf4 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-12-03_03,2026-12-03_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 spamscore=0 priorityscore=1501 impostorscore=0 adultscore=0 clxscore=1015 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612030053 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261203_053031_557263_F9614145 X-CRM114-Status: GOOD ( 18.06 ) X-Spam-Score: -2.8 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-12.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On 10/29/26 10:01 AM, Shivendra Pratap wrote: > PSCI supports different types of resets like SYSTEM_RESET, SYSTEM_RESET2 > ARCH WARM reset and SYSTEM_RESET2 vendor-specific resets. Currently > there is no common driver that handles all supported psci resets at one > place. Additionally, there is no common mechanism to issue the supported > psci resets from userspace. > > Add psci-reboot-mode as an auxiliary device created by the psci-devices > driver. Define two types of PSCI resets, predefined-resets and > vendor-specific resets. Predefined-resets are defined by psci driver > and vendor-specific resets are defined by SoC vendors, under the > psci:reboot-mode node of SoC device tree. > > Register the driver with the reboot-mode framework to interface these > resets to userspace. When userspace initiates a supported command, pass > the reset arguments to the PSCI driver to enable command-based reset. > > This change allows userspace to issue supported PSCI reset commands > using the standard reboot system calls while enabling SoC vendors to > define their specific resets for PSCI. > > Suggested-by: Ulf Hansson > Suggested-by: Lee Jones > Suggested-by: Bartosz Golaszewski > Reviewed-by: Bartosz Golaszewski > Signed-off-by: Shivendra Pratap > --- Tested-by: Konrad Dybcio # Glymur Zenbook A16 Konrad