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 4D4C8C636CC for ; Thu, 16 Feb 2023 12:02:06 +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:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ADeaal91tm5VD0u84CJGBKToKtZcr+buPIbFCVDOlzI=; b=MlIXeIr3KWEbgj P4XUBmvQGefRum8ABqLA1laXpBgjZ2D+07aUgEbCcqucOS5A6+RrgKux5uBg8qy2q0UJca4nu9t3v kMTTWEUmxzHTpRfS7aOlxGZyxEFDHM0oHhx6Xnffxdbrn4D3nZ7vzlFFdmHqTRV1R476WR2vWFS56 7xoWMwMEjN/in21MNlTutghuThnVnLp8DJlOxBW1rcciEMW2GJiHdLFAHnrgIV9sWksBqvspbeffA nUKs08ikuKwnWD/y0qpDsKqkvPyQh9GzOHBMhDAhLsFy7BLk9K8MukaYlw3UE0OPL6jzYLYzJogMR xEt1LTE9hTo5g+IXvdcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pScwa-00A3gT-5x; Thu, 16 Feb 2023 12:00:56 +0000 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pScwW-00A3fn-NO for linux-arm-kernel@lists.infradead.org; Thu, 16 Feb 2023 12:00:54 +0000 Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31G9v5BE006060; Thu, 16 Feb 2023 12: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=W8ePcFtZmfge+Cu/kfzfYiGRGfZljIUF6Q7OM1E9kkQ=; b=QIDaQ5Z8GOt0VsU1TIxk9iGzVY1FX1EmdGe740aRfI0ElZsi40LvQquuKbApGG6Y0d97 qDEYfZwkYbP7Y/s0A46CEoOQiwDhqEPaCQz0L/1/lI5+KCQ7WsgxsyTFYwGA6llBbCs9 JPkVJJK0nP24mWU2jsb7bPgeYky56r1M1UikI/INGgArFucKv9GIMmb35uYZZORN4uCH +FzBYWFFuL3Rjzldb/6NnMdmGbK2YKUC8JzGjhu620ItnUMVY41IJfpeMvxrPJU7aDmh cX8O1glAaygYkkxQhn6Qz93rfepX3GSLjDyCljfvHDXEZnchvCnZ4dRVgH+9Sy19plnZ BQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3nsja9092b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 Feb 2023 12:00:39 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 31GC0ctp030979 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 Feb 2023 12: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.41; Thu, 16 Feb 2023 04:00:30 -0800 From: Poovendhan Selvaraj To: , , , , , , , , , , , , , , , , , , , CC: , , , , , , Subject: [PATCH V5 0/5] Enable crashdump collection support for IPQ9574 Date: Thu, 16 Feb 2023 17:30:07 +0530 Message-ID: <20230216120012.28357-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: 8vQeDNHWVkNdYQDcMh_tTfCDSK2kYwKv X-Proofpoint-ORIG-GUID: 8vQeDNHWVkNdYQDcMh_tTfCDSK2kYwKv X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-16_09,2023-02-16_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxlogscore=996 adultscore=0 malwarescore=0 clxscore=1015 impostorscore=0 lowpriorityscore=0 mlxscore=0 bulkscore=0 priorityscore=1501 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302160102 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230216_040052_792026_8851A9E8 X-CRM114-Status: GOOD ( 17.90 ) 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 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-kernel/20230214163116.9924-1-quic_devipriy@quicinc.com/ V5: - change logs are added to the respective patches. 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 (5): dt-bindings: scm: Add compatible for IPQ9574 dt-bindings: mfd: Add the tcsr compatible for IPQ9574 arm64: dts: qcom: ipq9574: Enable the download mode support arm64: dts: qcom: ipq9574: Add SMEM support firmware: scm: Modify only the DLOAD bit in TCSR register for download mode .../bindings/firmware/qcom,scm.yaml | 1 + .../devicetree/bindings/mfd/qcom,tcsr.yaml | 1 + arch/arm64/boot/dts/qcom/ipq9574.dtsi | 25 +++++++++++++++++++ drivers/firmware/qcom_scm.c | 21 ++++++++++++---- 4 files changed, 43 insertions(+), 5 deletions(-) base-commit: 509583475828c4fd86897113f78315c1431edcc3 -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel