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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 58CE2C4345F for ; Tue, 16 Apr 2024 01:11:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ZzE56MhBo+8hfmpKNH/W3em5FTHo52oD9t3gv33f4Qw=; b=AEwupENujsyJup T2DWrQH2eMvDt3ZGxa7eWqs/+S87b1Ek5AyNXMO9vsumE1ssGNCMVFoNdP98fQsT+Kya5ZzNVtNyv HTRIcGRTp7EL3peeQc6RR+D3Cydq0Rq4+b2pMSm46FBfVVo6iloBNvZ6TIoxl0TT5pO1JLalkMdub fsAH0qpEsJ8QPu5mpZNETotPtNgORTmC/dhkyieCJ+yNgSIxdBezbPMUiXVePmlASpyAtLhdZ0jZm Lvh97q+Xm4Wy/7FsQs15XutWJJoC/sC238xOk7/AcAGhFIPHPGs01MNHOCdiVZRXyraFi7ehBpkx9 avMWas7l60K4lC3ae0Fw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwXLz-0000000AO6a-285W; Tue, 16 Apr 2024 01:11:19 +0000 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwXLv-0000000AO2D-2k5M for linux-arm-kernel@lists.infradead.org; Tue, 16 Apr 2024 01:11:17 +0000 Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 43FNocAQ004353; Tue, 16 Apr 2024 01:11:06 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=DF6xjwVEYJH6vaL4RMK0y Xhgc3M/qQ6eMe0NEkdCmpw=; b=cHJd2rKgXJ1Aaka/myi/A0I/68AwmdM4ukeAt 5W53Ywk3J4yXWIMDVf94jGqDvfMUxFAT1roBIsYsy+gET0IYroU+ZQNvgtSb0/dn YIqVdBEA2P9gzacrOBWu0ExK2gRl5mFg/+3T9RuXvRZoWQGKf6o5BxcBLNPKtmzG jV1efe8RxfmSjyeJXbw/+ak4ROVui4rR1Xhq1lqareCn1xrrIyzagxuDCFK6188M 6GO8ySjUmT7oUf/iwa2fzPsbfjrU2zincM3qIU8xKdi0Gka3g/pxlTv/cav0cbil hrrW383UXzuw/6Sfctzm3DV/7V+QOUarAKZrx46Htm6/kjdKQ== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xh1m5hyyw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 Apr 2024 01:11:05 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 43G1B3aS030860 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 Apr 2024 01:11:03 GMT Received: from hu-eberman-lv.qualcomm.com (10.49.16.6) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 15 Apr 2024 18:11:02 -0700 Date: Mon, 15 Apr 2024 18:11:02 -0700 From: Elliot Berman To: Konrad Dybcio CC: Dmitry Baryshkov , Bjorn Andersson , Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Andy Yan , Lorenzo Pieralisi , "Mark Rutland" , Bartosz Golaszewski , Satya Durga Srinivasu Prabhala , Melody Olvera , Shivendra Pratap , , , , Florian Fainelli , , Subject: Re: [PATCH v2 4/4] arm64: dts: qcom: Add PSCI SYSTEM_RESET2 types for qcm6490-idp Message-ID: <20240415180247696-0700.eberman@hu-eberman-lv.qualcomm.com> References: <20240414-arm-psci-system_reset2-vendor-reboots-v2-0-da9a055a648f@quicinc.com> <20240414-arm-psci-system_reset2-vendor-reboots-v2-4-da9a055a648f@quicinc.com> <20240414173158942-0700.eberman@hu-eberman-lv.qualcomm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: U-8j-JyVKdKj6fhq0S1oYCcKoreolAsg X-Proofpoint-ORIG-GUID: U-8j-JyVKdKj6fhq0S1oYCcKoreolAsg X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-15_20,2024-04-15_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 phishscore=0 impostorscore=0 bulkscore=0 priorityscore=1501 spamscore=0 mlxscore=0 suspectscore=0 malwarescore=0 clxscore=1015 adultscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404160005 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240415_181115_848547_5AF3476E X-CRM114-Status: GOOD ( 25.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Apr 15, 2024 at 09:42:40PM +0200, Konrad Dybcio wrote: > > > On 4/15/24 02:32, Elliot Berman wrote: > > On Mon, Apr 15, 2024 at 02:13:29AM +0300, Dmitry Baryshkov wrote: > > > On Sun, 14 Apr 2024 at 22:32, Elliot Berman wrote: > > > > > > > > Add nodes for the vendor-defined system resets. "bootloader" will cause > > > > device to reboot and stop in the bootloader's fastboot mode. "edl" will > > > > cause device to reboot into "emergency download mode", which permits > > > > loading images via the Firehose protocol. > > > > > > > > Co-developed-by: Shivendra Pratap > > > > Signed-off-by: Shivendra Pratap > > > > Signed-off-by: Elliot Berman > > > > --- > > > > arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 5 +++++ > > > > 1 file changed, 5 insertions(+) > > > > > > > > diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts > > > > index e4bfad50a669..a966f6c8dd7c 100644 > > > > --- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts > > > > +++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts > > > > @@ -126,6 +126,11 @@ debug_vm_mem: debug-vm@d0600000 { > > > > }; > > > > }; > > > > > > > > + psci { > > > > > > Please use a label instead. Otherwise it looks as if you are adding > > > new device node. > > > > > > > Right. Fixed for the next revision. > > Are you guys planning to make this sorta ABI-like? > > If so (which would be greatly appreciated by the way..), perhaps you > could stick these magic values in dt-bindings and give them cool names > > FWIW DEN0022 (my second-favorite book) suggests these values are almost > totally vendor-defined, so if I were Qualcomm, I'd take the creative > liberty to come up with a set of numbers and never ever ever change > them This is my goal as well. I'd like to keep the magic values out of dt-bindings until we get the vendor SYSTEM_RESET2 spread across more devices, as things might need a bit of settling. Since having stable vendor reset2 is (IMO) primarily a benefit to Qualcomm, I expect this will happen naturally. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel