Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp482868pxb; Tue, 3 Nov 2020 05:00:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJw24S/24IBWSt/INdPiru1/CGT+QqWIsaR+BNJNUg+uu+iuqZ1nRsVdgnfS6nCKImDyENjF X-Received: by 2002:aa7:d9d3:: with SMTP id v19mr13751518eds.67.1604408412823; Tue, 03 Nov 2020 05:00:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604408412; cv=none; d=google.com; s=arc-20160816; b=EEFRssDodUMyZKHJusaMjoQkIV0jdEnWAhOmLNJ3sDxUZU61SUcX+10rw/Va3B+CCi +GzR4FkDZT9HUF2fnNgRuEycK6H/n7k769dm3xlfqYHP0rQyr0DoYd6oIJhOQmfjVhLJ DtAf0rngT4Vl1Nsp1xAikIa43n/Gy0BYsfxgfFMFD19ltTmWDdsetETzEMHGUPhu915g LrXqKYCmqwCJOSt5oHg+za5N+Cqhkt+OJQ7ff98CnOqkHqUvNnXzMVE5RoFLM1wDLviq 5cRu7lgu/YA+4NiRTUdgycj7VXczmbuRNsrFmPKEPXpmD7cWTV7M4jsTCVFJCEvJQu9u wv1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dmarc-filter:sender:dkim-signature; bh=Yy1YShYoIqM2gl9uWMg2YQQbSpcTlCitlQYEwQYlOoE=; b=rywPEI+Z48lyZwvihS7eopDVOxZyiQyHCuEH1lq1zPOFkUz8Qgr+sJ/LpmfB1+PdFo PAQcIHooGaJgCFr8c1LAOg8uHHVgZWmLSBSUkXMt4vJuJ8tnuGa2eHEHdXEqfF1SgCx5 Uv0MWe79y+80J0HcJvbnX6Di9bhG2PRPG1HrmxS4kvEdHafTZd/yvV+rj5IQEziJRlmB JRub2yl25zbL2QQUCaJ9NbYs38wce0/DZYwkiXxLb8oFkZDQI99aBSDjb5On8ALx3r8H C6bOPwwDevN7OmFvJqNnnE7GjtpAuYfHem5TmyddyikoaRV5b7zoAtNYXhcgbEusdAxp Xctg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=xS8wsbrJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u15si5180702edj.102.2020.11.03.04.59.50; Tue, 03 Nov 2020 05:00:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=xS8wsbrJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729110AbgKCM63 (ORCPT + 99 others); Tue, 3 Nov 2020 07:58:29 -0500 Received: from m42-4.mailgun.net ([69.72.42.4]:25017 "EHLO m42-4.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729009AbgKCM62 (ORCPT ); Tue, 3 Nov 2020 07:58:28 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1604408307; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=Yy1YShYoIqM2gl9uWMg2YQQbSpcTlCitlQYEwQYlOoE=; b=xS8wsbrJ8n37V6xnizLA9ifAVj4klMqMeSkCbOjPeaCR0O7wHe+Ub+JwY2N/0J0h8Sq49sKq i7YSuOnZf099IxX/B/CPfmcn2AC/7fUH8UEWY/B+vLwhOBDpBXEEci3Sfgpfp9lQoxYx+dP5 40ABKZoKf0t1PTkjoopKTGxmAdk= X-Mailgun-Sending-Ip: 69.72.42.4 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n05.prod.us-east-1.postgun.com with SMTP id 5fa153eb8646b0f268f352c9 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 03 Nov 2020 12:58:19 GMT Sender: sidgup=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id E6DFDC4A61D; Tue, 3 Nov 2020 09:19:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from sidgup-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sidgup) by smtp.codeaurora.org (Postfix) with ESMTPSA id 7534CC38545; Tue, 3 Nov 2020 09:19:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 7534CC38545 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=sidgup@codeaurora.org From: Siddharth Gupta To: agross@kernel.org, bjorn.andersson@linaro.org, ohad@wizery.com, linux-remoteproc@vger.kernel.org Cc: Siddharth Gupta , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, tsoni@codeaurora.org, psodagud@codeaurora.org, rishabhb@codeaurora.org, linux-doc@vger.kernel.org Subject: [PATCH v7 4/4] remoteproc: qcom: Add minidump id for sm8150 modem Date: Tue, 3 Nov 2020 01:19:20 -0800 Message-Id: <1604395160-12443-5-git-send-email-sidgup@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1604395160-12443-1-git-send-email-sidgup@codeaurora.org> References: <1604395160-12443-1-git-send-email-sidgup@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add minidump id for modem in sm8150 chipset so that the regions to be included in the coredump generated upon a crash is based on the minidump tables in SMEM instead of those in the ELF header. Signed-off-by: Siddharth Gupta --- drivers/remoteproc/qcom_q6v5_pas.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c index 349f725..23f4532 100644 --- a/drivers/remoteproc/qcom_q6v5_pas.c +++ b/drivers/remoteproc/qcom_q6v5_pas.c @@ -707,6 +707,7 @@ static const struct adsp_data mpss_resource_init = { .crash_reason_smem = 421, .firmware_name = "modem.mdt", .pas_id = 4, + .minidump_id = 3, .has_aggre2_clk = false, .auto_boot = false, .active_pd_names = (char*[]){ -- Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project