Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 87138CDD1D4 for ; Fri, 27 Sep 2024 20:27:08 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 10AA610ED15; Fri, 27 Sep 2024 20:27:08 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=quicinc.com header.i=@quicinc.com header.b="kYqu2bXI"; dkim-atps=neutral Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1B93B10ED15 for ; Fri, 27 Sep 2024 20:27:07 +0000 (UTC) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 48RHZiMa002825; Fri, 27 Sep 2024 20:27:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= I+KFyuFD5ef4/dHuXudZIctrfEwzy7KijQHfi7znAwA=; b=kYqu2bXIjauEhId1 ziOvnc+vzMmWdMDoHmvjHz3uA5wyygOI0Cih4csnBabx9IEyOgj1Lm585wf9LEBK v5PMRjpX1J6N8gZUXkNDyQZPFJSMlbPpRYT1fU8js8QB8VWYmYKxbMpx+2yCZM5f rkptlYNe/kyfQIBSTj+Au9IbVajEBSmktQsdmE74fInjvfg+PLAdboDK2lcxZQQy wMohnHcbRwnVKBEfWwm2dqfdkOBLcgE+PlvFEq6tZnC9zs1tMPYz2wnO/ygMGS0Y dvyVT/MRmJDBNO75YCdd+7XV2zbhBoxo4UW38qMqdnZCoFjaqQwBSmfsfP+hM6ow y7sE7A== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 41sqakuk8y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 27 Sep 2024 20:27:04 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 48RKR3li031701 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 27 Sep 2024 20:27:03 GMT Received: from [10.226.59.182] (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.1544.9; Fri, 27 Sep 2024 13:27:03 -0700 Message-ID: <2808a37e-00d8-d233-4668-157a09896bdb@quicinc.com> Date: Fri, 27 Sep 2024 14:27:02 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: [PATCH 03/29] accel/ivpu: Reset fw log on cold boot Content-Language: en-US To: Jacek Lawrynowicz , CC: , Tomasz Rusinowicz References: <20240924081754.209728-1-jacek.lawrynowicz@linux.intel.com> <20240924081754.209728-4-jacek.lawrynowicz@linux.intel.com> From: Jeffrey Hugo In-Reply-To: <20240924081754.209728-4-jacek.lawrynowicz@linux.intel.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: A824wiFJWr8KKZkRByTUv5F_ZOe5un6i X-Proofpoint-GUID: A824wiFJWr8KKZkRByTUv5F_ZOe5un6i X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 priorityscore=1501 bulkscore=0 impostorscore=0 suspectscore=0 phishscore=0 adultscore=0 clxscore=1015 malwarescore=0 lowpriorityscore=0 mlxlogscore=999 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2408220000 definitions=main-2409270149 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 9/24/2024 2:17 AM, Jacek Lawrynowicz wrote: > From: Tomasz Rusinowicz > > Add ivpu_fw_log_reset() that resets the read_index of all FW logs > on cold boot so logs are properly read. > > Signed-off-by: Tomasz Rusinowicz > Reviewed-by: Jacek Lawrynowicz > Signed-off-by: Jacek Lawrynowicz Reviewed-by: Jeffrey Hugo