Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1186249rwb; Fri, 13 Jan 2023 08:58:55 -0800 (PST) X-Google-Smtp-Source: AMrXdXsg/FNDsKPpRnh4ryuoEHgUdLSq7LKFgAaS7P5TpvCuUtLrmr3ymTjVQfZif46q03b28VRD X-Received: by 2002:a17:90a:ab8d:b0:226:7efc:989b with SMTP id n13-20020a17090aab8d00b002267efc989bmr40087424pjq.49.1673629134831; Fri, 13 Jan 2023 08:58:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673629134; cv=none; d=google.com; s=arc-20160816; b=Y8enTjoRqOWYsmTTMiTfEGOvOwfXNOY0i/fMAYZPITUqwwuP+Y2diaT/IZWHVMj8y4 oYX4Vf7DJkHmeZbduzloR+kXOZ05Ql2Ki801YwTPF40t/4WPKyu8R92+K5XRGdYPyXqq JE9+p7eiIzq3a+1/da7bxBisK9DSy5YB+EJwAUKzfRIDoGNpqCln0BGs4R80uhlEHqJv NA5D6InvGHvgaCF3ovWZ/f1xc4F0iM6lpQ7/KK1I2nRbAd0e4OCZys+EWtc9nh3y+mvT lyANezDwDeWAjBDiwBMnK2hP1WT/vUMuEJ4ghB2ZWJODZvEN4hQKYj5rxNxPnGoMgjmU T+5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=F4+IP3DNnytpQHs4kRxdjZs3UqOGl7HgPaZQ3BQJlcI=; b=BKnaUj2nTAlxugG+FG50WZLd7bUEexNFRV1d5Wm5hNYfiRXfeoJtiBWlPCcsZW4ilu 2Mk7aYK4n28R+z4J+dExzMOaVtHe2DWmhefEP3YczQ/bCVZQ29vmG8HQWTQumA5QPoo4 EXd7d/fnZZ+kx7sR/UyUDCTkWX5vMX/dAeLMycqAk2YMbymHkeGBFXoKqcNlMg34XOvH jk/0iId7XLshP5aOqbBhhUGB9hLjU0732US8RCqiMGrqALRNvK4sdNBW9Tsu+KqzbTmG ZC6QAcki2EASSGcBMKDuP/nYAUXkSZVTxpBKWuSB93vKCqwVsOi4sfx/Q/F6RzBo1sD7 nlsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=MMmcchF+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h125-20020a636c83000000b0044e12bf26ecsi21495359pgc.465.2023.01.13.08.58.48; Fri, 13 Jan 2023 08:58:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=MMmcchF+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229510AbjAMQI6 (ORCPT + 51 others); Fri, 13 Jan 2023 11:08:58 -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 Content-Type: text/plain 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 X-Spam-Status: No, score=1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_SBL_CSS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 -- 2.17.1