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 39017C05027 for ; Thu, 2 Feb 2023 15:05:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4EC8110E570; Thu, 2 Feb 2023 15:05:21 +0000 (UTC) Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6296F10E539 for ; Thu, 2 Feb 2023 15:05:19 +0000 (UTC) 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 312DD1jE027862; Thu, 2 Feb 2023 15:05:16 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=sxYzHVbx3RS2Tz3g5+P2GOSYZPZWCycpwBVu5pyZTBc=; b=m7whVrgvGX2AlfCTj9UGVmV3aQfladVDgBHMgEvmhCNZJDgTyFdBd+F25ZSLLY4ctPah QWOjMRk0mmIwC/NIMmKFKEzwwi7h+DuI9lGnF8KaCRlCEfikaC9zkbL+gmS+Nboknc7w KpBlzK0FNvbzwyO2B9IXBH0oeJD+An4aehY0KIsMKU2Sx9D+D0AEIoM1mAAoLBKWk0qz OSpUjiA4TlmEbd0vWfjazhpoBqgiLmQdCx7yCiQ6R7+RRDit3WNzmiVGqEK/4XE1XOYA vtt/uaDmz9QSJTypW44klv118RwlURZsgxY+6dqAiFs8CvW2PIUHNwHA+hd56j1BBLkq yA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3nfn5j3625-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 02 Feb 2023 15:05:16 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 312F5F1k007528 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 2 Feb 2023 15:05:15 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.986.36; Thu, 2 Feb 2023 07:05:14 -0800 Message-ID: <18116252-fe7c-e9b0-e251-78960aeeac3c@quicinc.com> Date: Thu, 2 Feb 2023 08:05:14 -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 2/4] accel/ivpu: Send VPU_JSM_MSG_CONTEXT_DELETE when deleting context Content-Language: en-US To: Stanislaw Gruszka , References: <20230202092114.2637452-1-stanislaw.gruszka@linux.intel.com> <20230202092114.2637452-3-stanislaw.gruszka@linux.intel.com> From: Jeffrey Hugo In-Reply-To: <20230202092114.2637452-3-stanislaw.gruszka@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: DxS_0TXseSVdAKo2m5OF7OLi5khXY5qn X-Proofpoint-GUID: DxS_0TXseSVdAKo2m5OF7OLi5khXY5qn X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-02-02_04,2023-02-02_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 clxscore=1015 adultscore=0 mlxscore=0 impostorscore=0 bulkscore=0 priorityscore=1501 spamscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302020136 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: , Cc: Andrzej Kacprowski , Oded Gabbay , Jacek Lawrynowicz Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 2/2/2023 2:21 AM, Stanislaw Gruszka wrote: > From: Andrzej Kacprowski > > The VPU_JSM_MSG_CONTEXT_DELETE will remove any resources associated > with the SSID, that included any blobs create by the user space > application. > > The command can also remove doorbell registrations, but since this > does not work in HW scheduling case, we do not depend on this > capability and unregister the doorbells explicitly. > > Signed-off-by: Andrzej Kacprowski > Signed-off-by: Stanislaw Gruszka Reviewed-by: Jeffrey Hugo