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 40F01D3F283 for ; Fri, 18 Oct 2024 19:59:52 +0000 (UTC) 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-Owner; bh=IVhVnBJdVne0oYLvVazKv1+qUKHXqZeHtFpVJEz33ZU=; b=JangMsUpW6KfpHkn0jTO9oftOu nKXXNm20S7y9OYq49GMWdkrBS1+kyvmwL3GY9ssaqep0xkZv+roiBzm9Y/SBevGD5DVgjeV75wAux 21QXhK6OS3HCvjfBQWq3uixUpL80JBTstpHa+DrszmKU5UWVZoxqqGfQbeS+2YyvXACOfDN1wYF6Y elSYnW7qA5yVstQuiY5BYEe83b5QHcw3kZifQWMvqvv5fe/AQER3Fc5SG81GAbUILl8KdxtoDkFkn TmMQTCa1jBTlec2Fg74bi8+N9S9biPh7+dQPC7TWUO9fFzBds9Y48sZzCldCMKqVXXhPxMohqAPhG M3t+Pp+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1t8N-00000001sim-3bRz; Fri, 18 Oct 2024 19:59:39 +0000 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1t0Y-00000001rm8-31vF for linux-arm-kernel@lists.infradead.org; Fri, 18 Oct 2024 19:51:36 +0000 Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49IEs9KJ007766 for ; Fri, 18 Oct 2024 19:51:33 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= IVhVnBJdVne0oYLvVazKv1+qUKHXqZeHtFpVJEz33ZU=; b=MPpVqvWunkmZX8th Ns6KtZYUeqqebrOzNqSsum3+CLYmyR8CL2MbHsqIWWQfMhGnk1b0y6/gA5KgOrXo Nmukv7VQGHR1q9PsMP66ZSV9lBJLEVbPl3WfJ6L/T/MyFCQs8wzYpijS8A0nyUnR wTs3jo5/dBMrnd3oYXdBtLjMxvYe7D5pRyCcXHYc2ABpt4lrQQA9rCxLXwgdfx3y eMsGxr2+HyaGjOTyHAPEccPGFsBHrpwoviGEHeaKPbcPajMLn0dBB7O4cd+vru4s s1Ezcix6WE85wvG5sTiaHes5tCVz5S0alXZtvjmxyeA34O3/HgPj9DY5pI7EFBjA JzNAYg== Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 42b5hsvc50-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 18 Oct 2024 19:51:33 +0000 (GMT) Received: by mail-io1-f72.google.com with SMTP id ca18e2360f4ac-837875efdbeso40154639f.2 for ; Fri, 18 Oct 2024 12:51:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729281092; x=1729885892; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IVhVnBJdVne0oYLvVazKv1+qUKHXqZeHtFpVJEz33ZU=; b=vF0KwFrEIXBzXMNhniIAnxrWOk9PLdonSX4fP4U4fq2BKOt44dIT8aMJRDAeJx8Eh9 T/Li+PdtLO6PZ6wqz+LTtlabyU0UEywifJ0V1xlWbvFtWHLFktu7atUdvMQ8JF1/Yzrv e0eFgYjJs6kEHAjZ5Ea5aOI3PFjqp8QCmo/MMbj2Z7i5CsIGw3cWLPjsrCFiTRxX2EbZ L7MlTiaqweAXbnSZ9K4ivYr2Us6WKj10XXlvyIBWb9R5cf2W9AC4vafkxsWfHoaUxinQ 45XS+ilYDRj0S8xOAU+BlBrzXlNcSQLG5FTSX/Je7hp9Jw7fVPQJ86pWaPUFPH+8a3Sg ThRA== X-Forwarded-Encrypted: i=1; AJvYcCXUOzHdGZfn3J7JMzltUrD83QaCYfz7wfhrnsMcp8TOKc6rZRgkdt5Vo1PAT0lxN9lLRmqLaldjg9yqeV9m4c1P@lists.infradead.org X-Gm-Message-State: AOJu0YzMvlmqzrz3tv720qjo1ldEk2nFdfMmhF5Mf6dsDnKbPXAlVU26 7cW+JU5PP7fboTSlzUvN4N6mKHtvqUiXw+BFSnXCcqnWlp5g9PvU39crEh6VAoYWSLIAyqYkSow i6ue2Qh8D7MR8/+utwRsHFhxSZQH4fzwcWEtqgrLVbPS1TfT2mLmjVjpbkoMPEwoJKNDVah0fUQ == X-Received: by 2002:a05:6e02:1a08:b0:3a3:a5c5:3914 with SMTP id e9e14a558f8ab-3a3f40c59a7mr7469075ab.7.1729281092525; Fri, 18 Oct 2024 12:51:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHzGGsPIhZIa69ufeWmPZycdZfWGmppELXEs8PMAUdKhcw+Nxq5T88PWDuDVJXLNSlOAVsE9w== X-Received: by 2002:a05:6e02:1a08:b0:3a3:a5c5:3914 with SMTP id e9e14a558f8ab-3a3f40c59a7mr7468685ab.7.1729281090120; Fri, 18 Oct 2024 12:51:30 -0700 (PDT) Received: from [192.168.212.120] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9a68ad4eacsm131589466b.58.2024.10.18.12.51.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Oct 2024 12:51:28 -0700 (PDT) Message-ID: Date: Fri, 18 Oct 2024 21:51:25 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 5/5] arm64: dts: qcom: Add PSCI SYSTEM_RESET2 types for sa8775p-ride To: Elliot Berman , Bjorn Andersson , Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Andy Yan , Lorenzo Pieralisi , Mark Rutland , Bartosz Golaszewski , Arnd Bergmann , Olof Johansson , Catalin Marinas , Will Deacon , cros-qcom-dts-watchers@chromium.org, Krzysztof Kozlowski , Konrad Dybcio Cc: Satya Durga Srinivasu Prabhala , Melody Olvera , Shivendra Pratap , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Florian Fainelli , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org References: <20241018-arm-psci-system_reset2-vendor-reboots-v6-0-50cbe88b0a24@quicinc.com> <20241018-arm-psci-system_reset2-vendor-reboots-v6-5-50cbe88b0a24@quicinc.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20241018-arm-psci-system_reset2-vendor-reboots-v6-5-50cbe88b0a24@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: mFFpu4ZKDN0eRB2DPeex_4udZbah1hr5 X-Proofpoint-ORIG-GUID: mFFpu4ZKDN0eRB2DPeex_4udZbah1hr5 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 impostorscore=0 mlxscore=0 malwarescore=0 mlxlogscore=815 spamscore=0 adultscore=0 lowpriorityscore=0 suspectscore=0 bulkscore=0 phishscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410180126 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241018_125134_933413_4DDF87D9 X-CRM114-Status: GOOD ( 15.76 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 18.10.2024 9:39 PM, 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/sa8775p-ride.dtsi | 7 +++++++ > arch/arm64/boot/dts/qcom/sa8775p.dtsi | 2 +- > include/linux/arm-smccc.h | 5 +++++ [...] > diff --git a/include/linux/arm-smccc.h b/include/linux/arm-smccc.h > index 083f85653716..bdc974b76df8 100644 > --- a/include/linux/arm-smccc.h > +++ b/include/linux/arm-smccc.h > @@ -85,6 +85,11 @@ > ARM_SMCCC_SMC_32, \ > 0, 2) > > +#define ARM_SMCCC_ARCH_FEATURE_AVAILABILITY_ID \ > + ARM_SMCCC_CALL_VAL(ARM_SMCCC_FAST_CALL, \ > + ARM_SMCCC_SMC_32, \ > + 0, 3) > + > #define ARM_SMCCC_ARCH_WORKAROUND_1 \ > ARM_SMCCC_CALL_VAL(ARM_SMCCC_FAST_CALL, \ > ARM_SMCCC_SMC_32, \ > Unused hunk Konrad