From patchwork Fri Jan 13 16:00:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Poovendhan Selvaraj X-Patchwork-Id: 642692 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 CE052C54EBD for ; Fri, 13 Jan 2023 16:08:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229494AbjAMQIu (ORCPT ); Fri, 13 Jan 2023 11:08:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229614AbjAMQIS (ORCPT ); Fri, 13 Jan 2023 11:08:18 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74A0784BC6; Fri, 13 Jan 2023 08:01:19 -0800 (PST) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30DEEZ8a024929; Fri, 13 Jan 2023 16:00:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=F4+IP3DNnytpQHs4kRxdjZs3UqOGl7HgPaZQ3BQJlcI=; b=MMmcchF+T7X/pfduZLMCebYo7kcKSzlOET6A0jvdn0TK5248wAHJHq2ywucXYcowMSTF ztmCZ/i/IrSNBGXtIaQ5OZt2GdgpkJMBS6F6Ht5lwwc7yllBA71G1EQmWjZsw379My4d q6W1JtFgslTcoi2lcxNm1v8QRKMaaf7Sk8bkqp3w1Whzmh238/KzxfqY2JK9QmtJzAPB xc0Zn6fc1CD2oULAVYFi/WAKwS5Y8B87p31pDO561qqCXzrqcBZojwszNEinV7PQIKwc LN+d0HVvfcWfHrk4nEkaRlDPh72pVo2a1/XQmL+Ca1o2HtFwGZciOL81Tbd35H2U4SzG Dw== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n2wqw1q9b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Jan 2023 16:00:40 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 30DG0c1U015203 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Jan 2023 16:00:38 GMT Received: from poovendh-linux.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.986.36; Fri, 13 Jan 2023 08:00:31 -0800 From: Poovendhan Selvaraj To: , , , , , , , , , , , , , , , , , , , CC: , , , , , , Subject: [PATCH 0/5] Enable crashdump collection support for IPQ9574 Date: Fri, 13 Jan 2023 21:30:07 +0530 Message-ID: <20230113160012.14893-1-quic_poovendh@quicinc.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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-GUID: p0ejEHjNGUKEG-s-GyiK_4O8m_GdxXrG X-Proofpoint-ORIG-GUID: p0ejEHjNGUKEG-s-GyiK_4O8m_GdxXrG X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-13_07,2023-01-13_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 mlxlogscore=761 spamscore=0 malwarescore=0 adultscore=0 mlxscore=0 suspectscore=0 impostorscore=0 clxscore=1011 phishscore=0 bulkscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301130106 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Crashdump collection is enabled based on the DLOAD bit in the TCSR register. This bit is set during bootup and cleared during shutdown. During crash, dload bit is not cleared, due to which uboot starts crashdump collection. This patch series adds the support for crashdump collection. This series depends on the below patch set. https://lore.kernel.org/linux-arm-msm/20230113150310.29709-1-quic_devipriy@quicinc.com/ Poovendhan Selvaraj (5): dt-bindings: scm: Add compatible for IPQ9574 arm64: dts: Add support for Crashdump collection on IPQ9574 firmware: scm: Modify only the DLOAD bit in TCSR register for download mode arm64: defconfig: Enable scm download mode config for IPQ9574 SoC. dt-bindings: tcsr: Add compatible for IPQ9574 .../bindings/firmware/qcom,scm.yaml | 1 + .../devicetree/bindings/mfd/qcom,tcsr.yaml | 1 + arch/arm64/boot/dts/qcom/ipq9574.dtsi | 25 +++++++++++++++++++ arch/arm64/configs/defconfig | 1 + drivers/firmware/qcom_scm.c | 12 ++++++--- 5 files changed, 36 insertions(+), 4 deletions(-) base-commit: d9fc1511728c15df49ff18e49a494d00f78b7cd4