Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1749053pxk; Fri, 2 Oct 2020 19:07:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxaHt+F9cO5albqzu8PmDvBqdng67TQed5L9h4o4fBNP4Vh5r0xwXVsuwj8uvkWMcOJ+KH+ X-Received: by 2002:a17:906:1a11:: with SMTP id i17mr4781611ejf.381.1601690862237; Fri, 02 Oct 2020 19:07:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601690862; cv=none; d=google.com; s=arc-20160816; b=DC4qNZEmscKbI3YFs1Xp9YMLex0tAUnLVcttRun0nGnlqtgh5uKobtSrIqx9hhd2Ts acz9er5l60xD0QuOZojcr33kv9kBBuBuM9LAs44angwFfX+p3gb9hLPkThRHS+1q83Fj iaPRvlr9hcf5OU2EW84Ip/CnwOWWSZPkcJgCuHuINdd5w/6V1hnUUqVqhOGqcrdQ5/L3 tVETEEY9tEs1Bqmaq/8gpzUrFzA8AP453Y5FfdjH1AHdGM6U+xnssKUcyc40YDZLZEh1 /MtOGR8JHdqm9DeAxXIZe/T4WlrOL0ORhJWfAqV8QzhMHBagWBgm39R2iO5qW1SR4xEn 1jmg== 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=0s4DvkL+sK+7z4ftFmBHrMAAkdEvUbDXwQJApok2zps2y34ZoY2YxE/BuLHuc1G6+e 4ZT2l/hXepM9Dly3MsQBM6T76fc53igeIlJrM5edEVr8BMCE2PJj/8bSIKF2hVO0sq6S aFQsB/poSKoeBUBkP0YqWaDIvQYyYiHfCnlmUfPy+2zL82sEvds+4NiYVnmLHhzjBYWY hqnqX8NW0zHuHqEJs5ewpJKljEfbI/OJq/uhrVNYPoC/30cinnhfoHIuG/8TXH4gNMAA 9dVSec9lKHgce6+nP1IV9Fx8cnHkzABbuhJNAM1FD9q449mHA//6O/RZvA/EeLgr8Tq5 gKTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=wISu00jB; 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 q11si2349721edh.208.2020.10.02.19.07.20; Fri, 02 Oct 2020 19:07:42 -0700 (PDT) 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=wISu00jB; 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 S1725843AbgJCCGW (ORCPT + 99 others); Fri, 2 Oct 2020 22:06:22 -0400 Received: from z5.mailgun.us ([104.130.96.5]:29523 "EHLO z5.mailgun.us" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725681AbgJCCGV (ORCPT ); Fri, 2 Oct 2020 22:06:21 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1601690780; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=Yy1YShYoIqM2gl9uWMg2YQQbSpcTlCitlQYEwQYlOoE=; b=wISu00jBV1HLP0G1GI/n8Ayr8LN/q0pzMCnEQFz6GZaAsjDBs8dgvSfMQ8YxikKbvqlzEGMF CKONA1lPhIf4u4Cg7EeZB54Ery2J2fXvsh9P3Th5WkBVhjHGxcHxGnxPEUlq5gJs/2556o/m XfshOR6REq8D06m6zyy6GDQR46E= 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-east-1.postgun.com with SMTP id 5f77dc9c588858a304055a8a (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Sat, 03 Oct 2020 02:06:20 GMT Sender: sidgup=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 8FD09C4339C; Sat, 3 Oct 2020 02:06:19 +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 513AAC433CB; Sat, 3 Oct 2020 02:06:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 513AAC433CB 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 v6 4/4] remoteproc: qcom: Add minidump id for sm8150 modem Date: Fri, 2 Oct 2020 19:05:57 -0700 Message-Id: <1601690757-25726-5-git-send-email-sidgup@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1601690757-25726-1-git-send-email-sidgup@codeaurora.org> References: <1601690757-25726-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