Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1492765rdh; Fri, 24 Nov 2023 14:21:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IGtnDoMsRoqT/D+NeFImYp1wwOt35yZpqZyHYOqKkGe7js6xm8lPkAUUvzBlLlqJbP8vhzo X-Received: by 2002:a17:903:11c8:b0:1cc:4e9f:d27 with SMTP id q8-20020a17090311c800b001cc4e9f0d27mr4209775plh.1.1700864519507; Fri, 24 Nov 2023 14:21:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700864519; cv=none; d=google.com; s=arc-20160816; b=LfGoxwX/bHx+oQ6Ek0fLdQhgmO06jCylgysCflzjAPn6HPNQc/RIKR+s8GVpLzWLHY MMmugy5kWzdjxfrspHTcsZxwdUAaQnZE5nqnz1OkSpdVQF0SecZe/ZC45bdV6UlWiMlk bQHdC3ax7eNgkBuNQZP7wVjEjdWKO9P423m0G8niW3Cx+pxVu4A8+ZXnMyP0MhKMjPGp OCkFmUguSDigf6XcFcDXkDkZwZHKx4fxEVH8M1e4grh2E295/IXNJ5gocv60pGsnS2GT kS8tQ8zYDLaTi0xm1ug4QidpOQswNgrJFH4NsVJ5PC6H3nEOUci80/YQr51W7Zvml4O6 XM5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=618pEiTrNfBVqKTnWpLsCzc77uSsX+fq1jAKbYWC2JM=; fh=rxs3vuaxTEbDPyqEuqHlUTAdsjZJxeRheFqgoSifI+0=; b=XezkxFq+8mySZMQfwzzakcA3EYuoYurtR+M6jT/FcSPt5Is21fvAdZSodDmTvRDSQs HQxlbEfcz+2Fgwn8DfBTjz7ZPVTpUxMhC+YFv2fkNHTB72YFJ5QbFd2dmANLFSOX2eQk p5w8yCUOG2XaB2/8Mw7+I2fu4pUUFPv3B7jaQZugsG/6CETD7WZypgje+bx/dd8/N+Xf CxpiVBaM/6mwTGA6B7FkurgF/DdvdSFXESZLEDONxP6qadvB5Z2V20zPC7FgegKCqUIH Xna1sbSDiu0Lp16JDg7YSytyGU7TSho4ctZoiBzKHny4egvC9YvmmYLkGyH3LUXCoLpa V88Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="Db+OXBw/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id n18-20020a170902f61200b001bbf293f45esi4698398plg.625.2023.11.24.14.21.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 14:21:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="Db+OXBw/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 7C2FC8277E5E; Fri, 24 Nov 2023 14:21:55 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231636AbjKXWVe (ORCPT + 99 others); Fri, 24 Nov 2023 17:21:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231553AbjKXWVY (ORCPT ); Fri, 24 Nov 2023 17:21:24 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03145198D; Fri, 24 Nov 2023 14:21:30 -0800 (PST) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AOLHrl9014972; Fri, 24 Nov 2023 22:21:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=618pEiTrNfBVqKTnWpLsCzc77uSsX+fq1jAKbYWC2JM=; b=Db+OXBw/IwAa5+O9bUdjguCJ628mkF+Hp0bl1ew5xLyHRvPqlKFnp1noi6vOUbwrVryA eP/MrjbwhP5N2Vw7Kd5HR5QlKvMP94t99xVQ6eotRcLlmar3YESx40K/fptPb5MJV6Ev lvhanQ/7kTS0lANiN+OByki1zfscJN49TAiSaIFi9RkVD4wQYCrOBOEH7pJpZBI2ROyJ y/FalSjmMbDyvoTNYAFTF/PWBa0I2vEY9IXYipn4rjLpvCQUM383t6sotJP7uSnrJ/O6 ZtHL3uwnH1L/FtEdLPYbm7g8SwugTMQexCeDrjS2QQ5wULfHyN2/d8J85VbyShmObnWs Jg== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uj6emuseq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 24 Nov 2023 22:21:06 +0000 Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AOML5SC017917 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 24 Nov 2023 22:21:05 GMT Received: from hu-mojha-hyd.qualcomm.com (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Fri, 24 Nov 2023 14:20:53 -0800 From: Mukesh Ojha To: , , , , , , , , , , , , , , , , CC: , , , , , , , , , Mukesh Ojha Subject: [Patch v6 05/12] remoteproc: qcom_q6v5_pas: Use qcom_rproc_minidump() Date: Sat, 25 Nov 2023 03:49:48 +0530 Message-ID: <1700864395-1479-6-git-send-email-quic_mojha@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1700864395-1479-1-git-send-email-quic_mojha@quicinc.com> References: <1700864395-1479-1-git-send-email-quic_mojha@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: YPRs0icNZHe-KK-5-JSfE-tGZTVJvqOL X-Proofpoint-GUID: YPRs0icNZHe-KK-5-JSfE-tGZTVJvqOL X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-24_09,2023-11-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 clxscore=1015 spamscore=0 bulkscore=0 priorityscore=1501 impostorscore=0 suspectscore=0 phishscore=0 lowpriorityscore=0 mlxscore=0 mlxlogscore=999 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311240174 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 24 Nov 2023 14:21:55 -0800 (PST) Now, as all the minidump specific data structure is moved to minidump specific files and implementation wise qcom_rproc_minidump() and qcom_minidump() exactly same and the name qcom_rproc_minidump make more sense as it happen to collect the minidump for the remoteproc processors. So, let's use qcom_rproc_minidump() and we will be removing qcom_minidump() and minidump related stuff from driver/remoteproc/qcom_common.c . Signed-off-by: Mukesh Ojha --- drivers/remoteproc/Kconfig | 1 + drivers/remoteproc/qcom_q6v5_pas.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig index 48845dc8fa85..cea960749e2c 100644 --- a/drivers/remoteproc/Kconfig +++ b/drivers/remoteproc/Kconfig @@ -166,6 +166,7 @@ config QCOM_PIL_INFO config QCOM_RPROC_COMMON tristate + select QCOM_RPROC_MINIDUMP config QCOM_Q6V5_COMMON tristate diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c index 913a5d2068e8..a39fa75a7162 100644 --- a/drivers/remoteproc/qcom_q6v5_pas.c +++ b/drivers/remoteproc/qcom_q6v5_pas.c @@ -25,6 +25,7 @@ #include #include #include +#include #include "qcom_common.h" #include "qcom_pil_info.h" @@ -131,7 +132,7 @@ static void adsp_minidump(struct rproc *rproc) if (rproc->dump_conf == RPROC_COREDUMP_DISABLED) return; - qcom_minidump(rproc, adsp->minidump_id, adsp_segment_dump); + qcom_rproc_minidump(rproc, adsp->minidump_id, adsp_segment_dump); } static int adsp_pds_enable(struct qcom_adsp *adsp, struct device **pds, -- 2.7.4