Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1988841pxa; Thu, 6 Aug 2020 23:26:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxltLZkOA9d0pJEx9CkXx+L79e1eYVoT7OpUEhSCE2AmHSmUvCaIPOPNVDuD8sbj+17BAu3 X-Received: by 2002:a05:6402:1282:: with SMTP id w2mr7085795edv.183.1596781572313; Thu, 06 Aug 2020 23:26:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596781572; cv=none; d=google.com; s=arc-20160816; b=DHSw0L7Co9SRRBJ/Cp+ZWcn8dmEbYMfQfDBrNfk9PizgaMDp+9YaeZr49nMta5EzFx M7g5P47CaTdO3/NBTCqVbIf+ChJptUZsPl5uzpCwqWE87XoBEhkIvjm2PUzQFdG3FOqh 7t/ShUQUeNxvMtigDLGFCHdW7zOSxQRMbCGbnCkg5jYYJMFjU2jCaxYptvxgETq8U0Nv WocAzncSx/OxQj+Xiu5jvGi92EpWccWUqryUMurpE4XM7giu0Cxyp3h/U5nrR5JTITDm rP9KoDTTYaSX5VSInzbqjKny3wMFoiMQAp+ckZMnlOTOAai4GMGJ/r5nF11rSY5c2APJ QLRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=nXNw5Gxcr2xQfyOqFo89fBp2GfZA33IKj/jjDx8tor8=; b=vY5CRpyt/4TQCxuwJf7FNkwtjYHlCY4fvEfGxpIJIblGY6VGc7bgUVkHmTajt0/Ri6 SiK/jWkkJcBJFaSbW9fOuXwUxO67q40Q/6Yjz+P6LtRdAtfPLb+F/n9biXlgmlmNqjOz fvfohz46eQbSoBGABzcRt7maQ/75vLv7bHIMGTV9t4hM1Vqfy0rKm2PxakF7Ps9UzlOZ AdtKymlJJudp4BfUhI97VtTELnHrNv2SWcMYdU9VxTkxoBeR3o7+XoZT//2FOfTPmu2Y vXeUQ5pNybWsITJEVJGpxA0SqjwVT1kbVq0pwXRkmXeVKZ8rbkXO7hPExWdRtc8KI1Fq 0seg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v24si4571424ejo.749.2020.08.06.23.25.49; Thu, 06 Aug 2020 23:26:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726566AbgHGGZE (ORCPT + 99 others); Fri, 7 Aug 2020 02:25:04 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:62166 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726491AbgHGGZC (ORCPT ); Fri, 7 Aug 2020 02:25:02 -0400 Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 06 Aug 2020 23:25:01 -0700 Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 06 Aug 2020 23:25:00 -0700 Received: from c-mansur-linux.qualcomm.com ([10.204.90.208]) by ironmsg01-blr.qualcomm.com with ESMTP; 07 Aug 2020 11:54:45 +0530 Received: by c-mansur-linux.qualcomm.com (Postfix, from userid 461723) id F308321C70; Fri, 7 Aug 2020 11:54:44 +0530 (IST) From: Mansur Alisha Shaik To: linux-media@vger.kernel.org, stanimir.varbanov@linaro.org Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, vgarodia@codeaurora.org, Mansur Alisha Shaik Subject: [RESEND 0/3] Venus - Handle race conditions in concurrency Date: Fri, 7 Aug 2020 11:54:35 +0530 Message-Id: <1596781478-12216-1-git-send-email-mansur@codeaurora.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The intention of this patchset is to handle race conditions during concurrency usecases like Multiple YouTube browser tabs(approx 50 plus tabs), graphics_Stress, WiFi ON/OFF, Bluetooth ON/OF, and reboot in parallel. --- Resending the fixes by describing more about the issue and correcting typo errors. Mansur Alisha Shaik (3): venus: core: handle race condititon for core ops venus: core: cancel pending work items in workqueue venus: handle use after free for iommu_map/iommu_unmap drivers/media/platform/qcom/venus/core.c | 6 +++++- drivers/media/platform/qcom/venus/firmware.c | 17 +++++++++++++---- drivers/media/platform/qcom/venus/hfi.c | 5 ++++- 3 files changed, 22 insertions(+), 6 deletions(-) -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation