Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp29623070rwd; Wed, 5 Jul 2023 15:00:03 -0700 (PDT) X-Google-Smtp-Source: APBJJlF1OfyinAmOrfiMLgpFNzXOJuFMTZx56HDlzIDa3nRgYR/DZhrLD+PNg2b8D0qRKeAhycoK X-Received: by 2002:a05:6808:1a17:b0:3a3:a8ce:c659 with SMTP id bk23-20020a0568081a1700b003a3a8cec659mr13250290oib.1.1688594402754; Wed, 05 Jul 2023 15:00:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688594402; cv=none; d=google.com; s=arc-20160816; b=dG6xcQI/fT3Th1OuKzkxYdBp5dwIdF8AO9UgvCI//joZRUP2hlxz+mREdssAXsFHUF iUUKilK0yj24o0SePH7XCrNrOHOefOHeRl8R197ee4g3atBgCU66AzxD/1IFwARxaOK9 xNWmdTZghbQUPkbet/vcYOB3blDNa7FGvDIp+ZSa2tbHaTrD+FWwg8Zq625yZdVS6a24 yhy5f3vJfpQPvWERjzXlD7CrRIPm8sGyf6R+arJoGz/AZ6PSqRWMszvFFUZB1H5iPMJt DBB5erOp+eyu8hebIRvcfJuF/FXpVUe/5e2sLnojxg5zLbopamFEtDS2n7J0VJScb8+j TOmg== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ozDQ/nWTTo5EDSP8FIv01suWzNxMzz5834fa5I/iIbM=; fh=N7MpUiJCyOb8l80VsCWVqK2KP/gKI68rdN/umZcGLrY=; b=f1mKxcQwKSZjDY7TaAv3UObnqr5GlUDyW0CTKKD60nHEYKwKF4OPOmPCmD3NduoDl7 q8NlkbSGuWNMa9J9P1vOGCW/EO/2Ia/zRbAuXsKOvsxmheP3tYClgAsLK1kO4xmkhXsV U3VvREdACYLPm/2KSZdikjhUoiW7EkTCo7AKG1moxhbppTeiBiW/talL9qb5dzwUE0ch YkXt/azdK+U3noCrbYVD5KwIdZgEG3JHdlAPueHVOWkd8zxqfidQdlSmXENLHQQFozK+ TkIXRaBRjNl6Dw7JvhIzNj/02R6dGWnKwUIZfXEz+kweloOgQD8wD3Ne8lerRq0vOOIE 0RIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=HpycgMuq; 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 u24-20020a656718000000b00557523b8fa1si33379pgf.880.2023.07.05.14.59.50; Wed, 05 Jul 2023 15:00:02 -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=HpycgMuq; 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 S231754AbjGEVpK (ORCPT + 99 others); Wed, 5 Jul 2023 17:45:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229634AbjGEVpI (ORCPT ); Wed, 5 Jul 2023 17:45:08 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62EF01997; Wed, 5 Jul 2023 14:45:07 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 365Lbv9r020939; Wed, 5 Jul 2023 21:44:55 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=ozDQ/nWTTo5EDSP8FIv01suWzNxMzz5834fa5I/iIbM=; b=HpycgMuqjvE0lmiEUtT9tXUrmrzasz50/3sKvoVvLIjK2gMGNZxXiCMn5cs5A+ix5iRq hUJCvmvipfwTk5vyoKuOzsYKzN/I/Z7b5v15w9J9rKOPS2qdVJj6U+30powZHSPYuT1D KRaXX33KSLWERHqXv8hbvVVWXHAwNW1cfFTE7tiSqFVpzlR0R7DdCdjel33rwirBUdAo zAKowb/lbZgkH8HEqFGfBxOJ9T+fw34CVA/sha9GCfFP9IHpJ90Jp9Hw9MK2/Nxj8ePK SJYVlf2nfSaYnfl5FBlka1BfkUm54c+IU1M1PaYpivK3Q1rBdmOdB5GGO/2jbB2Sv0MA Ag== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rmxy9297c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Jul 2023 21:44:55 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 365LisQ1031775 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 5 Jul 2023 21:44:54 GMT Received: from [10.110.19.132] (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; Wed, 5 Jul 2023 14:44:54 -0700 Message-ID: Date: Wed, 5 Jul 2023 14:44:53 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v2 1/5] drm/msm: Update dev core dump to not print backwards Content-Language: en-US To: Ryan McCann , Rob Clark , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter CC: Rob Clark , , , , , References: <20230622-devcoredump_patch-v2-0-9e90a87d393f@quicinc.com> <20230622-devcoredump_patch-v2-1-9e90a87d393f@quicinc.com> From: Abhinav Kumar In-Reply-To: <20230622-devcoredump_patch-v2-1-9e90a87d393f@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-GUID: IH6EdwZHNCbzWvsdeDG1RCzOo9gCT_oq X-Proofpoint-ORIG-GUID: IH6EdwZHNCbzWvsdeDG1RCzOo9gCT_oq 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-05_11,2023-07-05_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxlogscore=929 suspectscore=0 clxscore=1015 bulkscore=0 lowpriorityscore=0 priorityscore=1501 spamscore=0 malwarescore=0 adultscore=0 phishscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307050197 X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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/5/2023 12:30 PM, Ryan McCann wrote: > Device core dump add block method adds hardware blocks to dumping queue > with stack behavior which causes the hardware blocks to be printed in > reverse order. Change the addition to dumping queue data structure > from "list_add" to "list_add_tail" for FIFO queue behavior. > > Fixes: 98659487b845 ("drm/msm: add support to take dpu snapshot") > Reviewed-by: Dmitry Baryshkov > Signed-off-by: Ryan McCann > --- > drivers/gpu/drm/msm/disp/msm_disp_snapshot_util.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Abhinav Kumar