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 15E68C3DA6E for ; Fri, 5 Jan 2024 16:38:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6283C10E624; Fri, 5 Jan 2024 16:38:10 +0000 (UTC) Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by gabe.freedesktop.org (Postfix) with ESMTPS id 861A610E624 for ; Fri, 5 Jan 2024 16:38:08 +0000 (UTC) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 405FAMfX025610; Fri, 5 Jan 2024 16:38:01 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=6QikpF41h6OkEDQIFmaIxJuDwPl5GY3Gq9B85K5Q/DE=; b=Ap iCYkYHsXJNsbaCqlxwb8DSeHr0bAF9Lz4MIVBvJRNnKwkVwA3jSCihW0qX42RzR2 uOKBOoNcsH3VyVHwLoWnjf8WBr2/CVyk0P8NSFpJIfejYYVGPLHt2hL0kgUrfvoy 3XRlRkGp8VZkeIl2Zknmm96tWHbXx+UagStcm6LE+ZgbZ57ezfhoxwXFWT5z40lM bgaLYdT4jbjpYINxRTlKzBQI7492AoFQ2Iq6LyS+bO75uV8dE7pfQt81bGz8ql+p JLbRHNbJeFlFdRx88loD65F7K7/LUYOVlBcuNWuscxCWbZgs5TNv8qwjpt+r4L0P IwSysnzsMsTNUjmrOD0w== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ve9901h4b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 05 Jan 2024 16:38:00 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 405GbxI7006146 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 5 Jan 2024 16:37:59 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.1118.40; Fri, 5 Jan 2024 08:37:59 -0800 Message-ID: Date: Fri, 5 Jan 2024 09:37:58 -0700 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 07/10] accel/ivpu: Free buffer sgt on unbind Content-Language: en-US To: Jacek Lawrynowicz , References: <20240105112218.351265-1-jacek.lawrynowicz@linux.intel.com> <20240105112218.351265-8-jacek.lawrynowicz@linux.intel.com> From: Jeffrey Hugo In-Reply-To: <20240105112218.351265-8-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: nasanex01b.na.qualcomm.com (10.46.141.250) 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: N2vdsrU-a2gnjLgFIZww7gFpksB9Xv_X X-Proofpoint-ORIG-GUID: N2vdsrU-a2gnjLgFIZww7gFpksB9Xv_X X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxscore=0 lowpriorityscore=0 mlxlogscore=492 impostorscore=0 spamscore=0 priorityscore=1501 phishscore=0 bulkscore=0 suspectscore=0 malwarescore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401050137 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 1/5/2024 4:22 AM, Jacek Lawrynowicz wrote: > Call dma_unmap() on all buffers before to VPU is unbinded to avoid to -> the ? > "device driver has pending DMA allocations while released from device" > warning when DMA-API debug is enabled. > > Signed-off-by: Jacek Lawrynowicz Reviewed-by: Jeffrey Hugo