Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp761483pxb; Thu, 19 Nov 2020 13:10:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJxos4uEM+7pDPq+67v0EGd1vEC/OSmZbfXZqFOgCflcaxJm33jUWo4NZIIybOidMXm7wjFT X-Received: by 2002:a17:906:86ca:: with SMTP id j10mr8326856ejy.507.1605820222854; Thu, 19 Nov 2020 13:10:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605820222; cv=none; d=google.com; s=arc-20160816; b=QNeh30qCOnq2rSk7EcLPG4ypqF4hg83MPI2cJIF3Na0y0ife3PTBzPWZFvgh+WD1wU wxAkMeNya6uh+rn/AE4j1OKdNdg8xV0f256iyuJc3gKHTLvLu6QXe70KHchkF349pZ/z RYUgxxp/+ZHj9cs2pwO8d8VI0q5yom7H+prGtUd34A8GK6No+LCYje7to7N8ePwRiexh padvUOdLGGtITyZe/FiE4UclQNdv+DAl74mqc9lmjZQx/wi/Znfou86qwzsk4EvIDU5c 3L+lHWoy331XwYGiCqi7jrbv9Q5jf6/hHZ0CD25K4kJhMNNI7gkGOHuL3R6VK42WDij/ 2mzA== 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=lwagEK2rGEN9xgfP7v3iFqV+ZCBDN0gDho4DkTCttxY=; b=lgcXYp0W6Yvy6uAgn8m0lnVOgf/KnYQRX4W7yuzK+xqYFMK9cEnmQAtB1M2R1PcEY+ gtkH59WmyWsFofQ7hAw45oNBIGAQJeMz5OKjsBMl/5copLoDamUDnQ9bzPdfB9wp3GUL wTAHkENLe/ifr4BLXJSCwsUPtBm4DV7bX3k9klVVQFm6RkNBzcydxxRzgAlj0hx7X3p+ +8vaWB4M1qxS4GQPKBxsNTMBtpk7JwUn1Gdm+PqgKxB2CJelSYvib9gP/XoMjoiah6sj P15zvZ/bSJVQO+7KsE2J9OcuwduPX9sm1w3P7GXTqBn9K6/URXMpqQS9pZWIyqns9Un4 VWBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=DftMmLkD; 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 gg12si509563ejb.395.2020.11.19.13.10.00; Thu, 19 Nov 2020 13:10:22 -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=DftMmLkD; 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 S1726521AbgKSVGG (ORCPT + 99 others); Thu, 19 Nov 2020 16:06:06 -0500 Received: from z5.mailgun.us ([104.130.96.5]:11016 "EHLO z5.mailgun.us" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726515AbgKSVGA (ORCPT ); Thu, 19 Nov 2020 16:06:00 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1605819960; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=lwagEK2rGEN9xgfP7v3iFqV+ZCBDN0gDho4DkTCttxY=; b=DftMmLkDxAwFQlVEWDagsfEX1Wsni/BpXBbIP7Q8nC9Fo99qx14YXj/PAqtju/xUpZNjTJYi DuiTCt/VSFZqmPcpmL8rqiF4o2IA5lVJHEBRF4kmJKEuFTERYR21ukx0178gCC/j6i7tg+tM TFTrHgURRXu8x+JnhXOzj6+yGFU= X-Mailgun-Sending-Ip: 104.130.96.5 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-n01.prod.us-west-2.postgun.com with SMTP id 5fb6de33e714ea65018adb41 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 19 Nov 2020 21:05:55 GMT Sender: sidgup=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id A75EBC43469; Thu, 19 Nov 2020 21:05:55 +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 4E2BAC43461; Thu, 19 Nov 2020 21:05:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 4E2BAC43461 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 v8 4/4] remoteproc: qcom: Add minidump id for sm8150 modem Date: Thu, 19 Nov 2020 13:05:35 -0800 Message-Id: <1605819935-10726-5-git-send-email-sidgup@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1605819935-10726-1-git-send-email-sidgup@codeaurora.org> References: <1605819935-10726-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 ca05c2ef..e61ef88 100644 --- a/drivers/remoteproc/qcom_q6v5_pas.c +++ b/drivers/remoteproc/qcom_q6v5_pas.c @@ -630,6 +630,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