Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8442678rwr; Thu, 11 May 2023 01:01:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Q2K6DLbww3YeczRYl0YRjU5954MabW1XkHLTSLd1DKQsj6d8Y+ZLZWALxaI5EVrXd/2vk X-Received: by 2002:a17:90a:cb87:b0:250:c758:13a0 with SMTP id a7-20020a17090acb8700b00250c75813a0mr6750658pju.41.1683792114812; Thu, 11 May 2023 01:01:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683792114; cv=none; d=google.com; s=arc-20160816; b=wxD/XUMiKOSW71wljhAF92mgmpo42j33+873CYX8Bk61dmPvHfOlOniTOXgkJXSXND v/58G/yPPcSvnDYPeIIeZ+Wwj6xS/CRO7QFovlD0zcn45Ud63+nKPOIDVAHvcScphHQL PpcMVaKHlzmMpCigZNDqAtPdhUUGP8kjL+d2niDOpLsZzNYh6gMXN7Dhzraeav69OBUm 5tHjZgWdKdP9gLtil+UHuKI4DuO+LSabNXwU23AmL26tiHTyo5d5Hm1q4jhQs2JLjFiW kSQncR/rPEnf+2OHg1qmpQ7cfTUh96fLjeBTE6lIuvndHMvwrhEZtMsOPnUw1eEnbWTs JjGg== 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=yxIaDKbTZyQioRWP53dehZTWKzvQDJYxDuHpbkUnO68=; b=L87K7hyGP6ZtADpX8Xi9FTmmSwLdMdZERp6luFAWvY2TfaUut3O5rSJKodK6KKIGsS isXvezR3OPMgcpzgu+34FQaoHFn2RxccN8Z+UrtP7Y/+jrUWbnEC5yYUzZNBJWXn4ple 5UD/xI2ftYLCaJ6jYPgYBSL/9teDDsmitFmK3tnIjx9RTT46ooWXhaP7g1LkQ60UBPNO FaUJEnf88SULM18KdOV5nOxq10QSVTq6WrGw6p+67Y5ycBAEvpOZ6IIe52maGCPHj95I NafheFt0rt2xkWM72VSa/oJyFmn9dszQQj9TsNHH7HiJ4+d3EKLT9VBmf6ty+dCB9Q/w R65A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Lg7Ncl9B; 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 nu18-20020a17090b1b1200b0023d3fad2294si34096527pjb.10.2023.05.11.01.01.42; Thu, 11 May 2023 01:01:54 -0700 (PDT) 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=Lg7Ncl9B; 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 S237677AbjEKH6x (ORCPT + 99 others); Thu, 11 May 2023 03:58:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237149AbjEKH6s (ORCPT ); Thu, 11 May 2023 03:58:48 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2275183CE; Thu, 11 May 2023 00:58:45 -0700 (PDT) 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 34B5w4PT028473; Thu, 11 May 2023 07:58:36 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=yxIaDKbTZyQioRWP53dehZTWKzvQDJYxDuHpbkUnO68=; b=Lg7Ncl9BKwJAyJXi7A2iDoA+IpbSuZl3Ei4ExaRdfdWbQbSr5CkQR0ZYOAARLWFwmO00 Cr9Zz4oDdEXEwyKEK4XfkiUMIDCRLyYf2Xoonof/kHFHexChf+g2y6Kga/V14kD6da1h bFacYNrAL3Zb+rCK4GzL2ZAW0BrqoDHB2sh1/h9a7PvDY7FcdW3Le5Go/MuqCIft3A6k fip2ECILfsQ6HWY1J+nbpuuyiqlPyiYpMmyemBgB9rdaop59nvWjyBLvSyKZoSnk3Q2C m9mWG1EuzEaWKjLMMxVfzGcsR0gWSKtXwjRHB6Wq41E9PkEgzOagsXjhqylSQCqE/AoS qw== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qgkxmrwhj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 May 2023 07:58:36 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34B7wZ79012400 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 May 2023 07:58:35 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.42; Thu, 11 May 2023 00:58:29 -0700 From: Poovendhan Selvaraj To: , , , , , , , , , , CC: , , , , , , Subject: [PATCH V7 0/2] Enable crashdump collection support for IPQ9574 Date: Thu, 11 May 2023 13:28:12 +0530 Message-ID: <20230511075814.2370-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: 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: y13i4iTRejS1SfTvk_4LZnmxTBwtkXZI X-Proofpoint-GUID: y13i4iTRejS1SfTvk_4LZnmxTBwtkXZI X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-11_04,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 adultscore=0 mlxscore=0 spamscore=0 suspectscore=0 bulkscore=0 clxscore=1011 mlxlogscore=539 priorityscore=1501 malwarescore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305110068 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 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 clearing during shutdown. During crash, dload bit is not cleared, due to which uboot starts crashdump collection. Enable the support for download mode to collect the crashdumps if system crashes, to debug crashes extensively. During the bootup, bootloaders initialize the SMEM. However the bootup after crash, SMEM will not be initialized again. If the memory for the SMEM is not reserved, linux consumes that region, which leads to the loss of SMEM data. So, during the next bootup after crash, bootloaders will hang due to invalid data present in the SMEM region. Due to this, added the SMEM support along with crashdump collection series. This patch series adds the support for crashdump collection. DTS patch depends on the IPQ9574 baseport series https://lore.kernel.org/linux-arm-msm/20230425084010.15581-1-quic_devipriy@quicinc.com/ V7: - [1/2] Sorted the firmware node alphabetically - [2/2] No changes V6 can be found at https://lore.kernel.org/linux-arm-msm/20230328102013.21361-1-quic_poovendh@quicinc.com/ V5 can be found at https://lore.kernel.org/linux-arm-kernel/20230216120012.28357-1-quic_poovendh@quicinc.com/ V4 can be found at https://lore.kernel.org/linux-arm-kernel/20230214051414.10740-1-quic_poovendh@quicinc.com/ V3 can be found at https://lore.kernel.org/linux-arm-msm/20230208053332.16537-1-quic_poovendh@quicinc.com/ Changes in V2: - rebased on linux-next/master - dropped co-developed by tag wherever applicable - V1 can be found at https://lore.kernel.org/linux-arm-kernel/20230113160012.14893-1-quic_poovendh@quicinc.com/ Poovendhan Selvaraj (2): arm64: dts: qcom: ipq9574: Enable the download mode support arm64: dts: qcom: ipq9574: Add SMEM support arch/arm64/boot/dts/qcom/ipq9574.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) base-commit: aabe491169befbe5481144acf575a0260939764a -- 2.17.1