From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 187E6C001DE for ; Wed, 26 Jul 2023 10:41:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233976AbjGZKlg (ORCPT ); Wed, 26 Jul 2023 06:41:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233981AbjGZKlf (ORCPT ); Wed, 26 Jul 2023 06:41:35 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FFD21BCB; Wed, 26 Jul 2023 03:41:34 -0700 (PDT) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36Q5ikaR031427; Wed, 26 Jul 2023 10:41:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=qcppdkim1; bh=H7uZbim9TR0nrkY9+B3STeQlOAMcJ0Mi1nURv5rXg3w=; b=OQa7I5bu7AZZDmt2BxwQkYrjNkdX4DBmXZG+319dNG+RoKOxSvDkWWDTOtXcJqd+kD9Z k6kJ58McieyJipHqC7j0XCJglRKyEMjbsRHk3NWxEWzA2YeUO6HsPG5L3Lx1xYBeIvFy xr2H2NtS8flhBMjaOQXDiq2ISdaaaZCNp07a/lV7j7PSRU9yC8qYrtJLhiO2VLD2Ryc7 JugX4GNdHiSZuf94afqaBXymfu3wXwUZOSaDZUSOzgMR0/JFtrJRsH9hu2WeDZ8xjFgu S4CWb8y1zfKgZZmG0OukyUzMkvBe7XAvYD04nd2KPlL99EJQEBc8/3AN+Us+URCdKsEd dA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s2cf8tvax-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Jul 2023 10:41:17 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36QAfGTo007802 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Jul 2023 10:41:16 GMT Received: from hu-pkondeti-hyd.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Wed, 26 Jul 2023 03:41:11 -0700 Date: Wed, 26 Jul 2023 16:11:08 +0530 From: Pavan Kondeti To: Elliot Berman CC: Mark Rutland , Lorenzo Pieralisi , Sebastian Reichel , "Krzysztof Kozlowski" , Conor Dooley , Rob Herring , , , , , , , "Satya Durga Srinivasu Prabhala" , Melody Olvera , Prasad Sodagudi Subject: Re: [RFC PATCH 4/4] power: reset: Implement a PSCI SYSTEM_RESET2 reboot-mode driver Message-ID: <46744a2e-139c-4e4e-89b2-66346f64c3f2@quicinc.com> References: <20230724223057.1208122-1-quic_eberman@quicinc.com> <20230724223057.1208122-5-quic_eberman@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230724223057.1208122-5-quic_eberman@quicinc.com> X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 7t1oanAR3-a68mVqRRFpYX45YADMam1I X-Proofpoint-GUID: 7t1oanAR3-a68mVqRRFpYX45YADMam1I X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-26_04,2023-07-26_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 impostorscore=0 suspectscore=0 spamscore=0 adultscore=0 bulkscore=0 mlxlogscore=783 lowpriorityscore=0 malwarescore=0 phishscore=0 clxscore=1015 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307260094 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On Mon, Jul 24, 2023 at 03:30:54PM -0700, Elliot Berman wrote: > PSCI implements a restart notifier for architectural defined resets. > The SYSTEM_RESET2 allows vendor firmware to define additional reset > types which could be mapped to the reboot reason. > > Implement a driver to wire the reboot-mode framework to make vendor > SYSTEM_RESET2 calls on reboot. > > Signed-off-by: Elliot Berman Do we need to skip the PSCI call from the existing PSCI restart notifier which gets called after your newly introduced callback from reboot mode notifier? Thanks, Pavan