Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9225055rwp; Thu, 20 Jul 2023 01:14:11 -0700 (PDT) X-Google-Smtp-Source: APBJJlG7pXQwrofrrr26iW4/yQ0iWImNKinp4rV3TYKDlOSbObeS48YYJl46DGp7UBrzI6rY4tfE X-Received: by 2002:a05:6402:60c:b0:51e:1bf3:f4ac with SMTP id n12-20020a056402060c00b0051e1bf3f4acmr4211792edv.27.1689840851048; Thu, 20 Jul 2023 01:14:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689840851; cv=none; d=google.com; s=arc-20160816; b=FZdRSscvHpFsPKUi7RSmyLrQyBnkefGKrkvsp6T2DBOlbZu6CS0E4gPy1j51HWLe76 iABE5n786kzMiTp06koFnqHnrkxyHmoIKGsid2Mk58vwmwtfXhdp0NvNDkf0g1cXGnUp f5RWB5cbtRpMvMQ5Jo/kkIxIN48AIsQh4fgXzUKz2wFC/DfIIL4m0WICZe2xKN54rcKZ M4HTwho1zq3O/N2VgPBnutx0wE088u/PNI/1Dk/lgeH64q0FFFDXHiHzq63a8ZwHcsdL JxxIoNWp6u3R4mTARciBgd0rEkR8+yyvMCoIIHBo4Md/kJnmQdJxPxvy9lReBQ+zjnYt PNNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=4u4VWKXuJbXsLHbL79Tc193Y4xrHuR7CkmDTmMtEJlA=; fh=gqWxjWjewcfddGCfqK8FmF1kLncfqJbgl65bnB3NMbw=; b=raTo3kfVUBPxPfi5/b7AGVooiOPWTtXMJvLRa1x+j1MNoucy2FPf/X7fvNZm6uVSLn nqCcfQrFFESURu3hI2Ny6X5USqRvGqdoucx17i9YlRwBNjGN4I181PeVnnSsJHLuoDib hJ5jlbhvIo7bg1OgwCTqz5mPEu1TbQ93/pbvWdXB87a9bafkDsLQG/r2WVx+EDzhlAaf gQVzWGmPAlb2ZhQw8RXEYkzbnuHMZNlIgLr7y7G3zzC/niwPlHzwPQjFMFmTXuY9mQUF Ps2Of+z8pLlzqBKx8VEycA8oFaKYzLD3Pw0Nfu1TgppMAgBep5X3WX9xHJziQJ7R2bH5 A1VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Z3VQV5Rl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g13-20020aa7d1cd000000b0051dec0e4eccsi483730edp.47.2023.07.20.01.13.46; Thu, 20 Jul 2023 01:14:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Z3VQV5Rl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229888AbjGTHJk (ORCPT + 99 others); Thu, 20 Jul 2023 03:09:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231530AbjGTHJF (ORCPT ); Thu, 20 Jul 2023 03:09:05 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DEA02737; Thu, 20 Jul 2023 00:08:46 -0700 (PDT) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36K5Nb39004008; Thu, 20 Jul 2023 07:08:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=4u4VWKXuJbXsLHbL79Tc193Y4xrHuR7CkmDTmMtEJlA=; b=Z3VQV5RlMSRrsg4fBcpe6l7DE9NCHGyrLYjFfEhltdQzOPGxeZx6Q21B0KgoxEUK9CUM /Hl7rwFug/zwOM2+z9hmrMA3tn5uasR9INAiUvevk6cGykGVIOcfveXibBewV9amgRG+ ZZ8c4nuCezTVIGPx9jRHaem4BZlhbQedQ04JGVPVgq8UbfEeHm2dLzzXMvt7JKx4+bHJ sMvwuxiIVKms2MiKR8cVtjO0QsryPCNIWpeQ7uot3VylGAp7jSrWpQoNuQ6QPqu2qKpi K4C8/fPU9WajrY0Anav+P5SDDa7hASCzvoGo05ij8LXQlneaBPEYYavQQbCfqCiiV8H7 bQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rxxqv06en-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 20 Jul 2023 07:08:42 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36K78f63003563 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 20 Jul 2023 07:08:41 GMT Received: from [10.216.19.45] (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.1118.30; Thu, 20 Jul 2023 00:08:36 -0700 Message-ID: <796e321f-1119-19a3-8910-71061d04e5c2@quicinc.com> Date: Thu, 20 Jul 2023 12:38:33 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.0 Subject: Re: [PATCH V5 0/3] Introduce the read-modify-write API to collect To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Elliot Berman , "Mukesh Ojha" , Kalle Valo , Loic Poulain , , , CC: , , , References: <20230720070408.1093698-1-quic_kathirav@quicinc.com> Content-Language: en-US From: Kathiravan T In-Reply-To: <20230720070408.1093698-1-quic_kathirav@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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-ORIG-GUID: YCZLJqqoOpsQyl4b_R0Llu70RnTbo9Gt X-Proofpoint-GUID: YCZLJqqoOpsQyl4b_R0Llu70RnTbo9Gt X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-19_16,2023-07-19_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxscore=0 spamscore=0 priorityscore=1501 suspectscore=0 bulkscore=0 adultscore=0 impostorscore=0 lowpriorityscore=0 phishscore=0 malwarescore=0 mlxlogscore=611 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307200058 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/20/2023 12:34 PM, Kathiravan T wrote: $subject is messed up, it should be "Introduce the read-modify-write API to collect the crashdump on IPQ chipsets". Will correct it in next spin or let me know if I need to respin. > On IPQ platforms, to collect the crashdump, we need to just modify the > DLOAD bit in the TCSR register. Current infrastructure, overwrites the > entire regiter value when enabling the crashdump feature, which leads to > crashdump not gets collected. This series introduce the > qcom_scm_io_update_field API to achieve the same. > > Intially this approach is posted by Poovendhan[1], later Mukesh > integrated this patch in his minidump support series[2]. Based on the > current feedback on the minidump series, seems it will take sometime to > get into a good shape, in the meantime these patches doesn't have any > dependency with the minidump series. As discussed with the Mukesh[3], > posting these 3 patches to enable the crashdump on IPQ chipsets. > > Since the current version of minidump series is V4, I'm posting this as > a V5. Please let me know if this should be V1. > > [1] > https://lore.kernel.org/linux-arm-msm/20230113160012.14893-4-quic_poovendh@quicinc.com/ > > [2] > https://lore.kernel.org/linux-arm-msm/1676990381-18184-3-git-send-email-quic_mojha@quicinc.com/ > > [3] > https://lore.kernel.org/linux-arm-msm/d77f5601-2b08-a7c7-1400-7ab68b8add3a@quicinc.com/ > > > Mukesh Ojha (3): > firmware: qcom_scm: provide a read-modify-write function > pinctrl: qcom: Use qcom_scm_io_update_field() > firmware: scm: Modify only the download bits in TCSR register > > drivers/firmware/qcom_scm.c | 26 ++++++++++++++++++++++++-- > drivers/pinctrl/qcom/pinctrl-msm.c | 12 +++++------- > include/linux/firmware/qcom/qcom_scm.h | 2 ++ > 3 files changed, 31 insertions(+), 9 deletions(-) >