From patchwork Fri Aug 7 06:24:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mansur Alisha Shaik X-Patchwork-Id: 11704917 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AB8CF138C for ; Fri, 7 Aug 2020 06:25:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A038C22CB3 for ; Fri, 7 Aug 2020 06:25:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726536AbgHGGZD (ORCPT ); Fri, 7 Aug 2020 02:25:03 -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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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(-)