Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4023655pxj; Tue, 8 Jun 2021 04:48:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzMmpSLea5x8eiLS4ihXLaTKtXVkOtxrCMmAliUcnzYhD0oZgbpRdugKStE02CGLI++3ty X-Received: by 2002:a17:906:7203:: with SMTP id m3mr22371837ejk.381.1623152881167; Tue, 08 Jun 2021 04:48:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623152881; cv=none; d=google.com; s=arc-20160816; b=T/MxvvtjJbLQFI0gjy455EOGPRogd2zbZVopzx4obOiXK/PxI1hbljyzyJASnnmp02 Xwb0Xg28ueTHjSB9s/49sxCqq6hIDNParvxg/XU+vHiCJBipNKikJsz6L8r1zcNrfa73 EjCrRNn6FNDSrOZRCjuzlv0fAFB7j1r/JP0BLNPrbS0LMIaGyIj/Eb9/pfcelhiYF0T7 VuIAJJQ95IzcUN5OiIDWbsjZi700+dyYpo4jikNbUJbuMfkbmr/l8wdPkuGI2Tbq350Z gZHqkh1UBbeIHFcWrYYuHFOefJMpbuRllxlfj0qEHRSy4B+JgeEi6RyBfl1s9MI8flcz wNnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=65A8swxG6F/ylZkbgWYzbxA0ZkKEGw9/dd1+oL9pTwE=; b=rSXt9c6eqgj2whB1AGzj5tsPA7CXJnIX5n+ahMqMsG36SudW6NtGr2L1Dx+mqwhgGt lgCQMZnNqKRsPx0UiKNLo/RX8joETNDISKlrIivxwB5MOHgPfd9dkBZxFNCrV1zSr/Id zOtwaOoJXVdta0CeNRXcyrZ3FyuePtK5QW6yYSWSzs2FqQVrmXHORev1DFhu4++h2EvD 06HB8FZk02tT+FyclKV1F7HKbsPFHGno730WN6HL7pkDLNqvaTujcklYGiZ/Ho4+Y8bG /WYCrHzA2l/lv/rJB0mQxUWRCIXuTk7aXgdnfhGkHtBBj8G+jzi1orLOFXLUVBcbTvA4 +rDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kcgHRx7F; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r2si15137600ejp.248.2021.06.08.04.47.36; Tue, 08 Jun 2021 04:48:01 -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; dkim=pass header.i=@linaro.org header.s=google header.b=kcgHRx7F; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232198AbhFHLpf (ORCPT + 99 others); Tue, 8 Jun 2021 07:45:35 -0400 Received: from mail-ed1-f49.google.com ([209.85.208.49]:39588 "EHLO mail-ed1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232146AbhFHLpe (ORCPT ); Tue, 8 Jun 2021 07:45:34 -0400 Received: by mail-ed1-f49.google.com with SMTP id dj8so24139859edb.6 for ; Tue, 08 Jun 2021 04:43:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=65A8swxG6F/ylZkbgWYzbxA0ZkKEGw9/dd1+oL9pTwE=; b=kcgHRx7Fut0ZIyND9s9iBNEwwWtFn1Ujj0GtMhNPnfIFh8cO6bu+xyZs+dUeG35X0E wAuK6peHjb/7oXjVSRtajwSpkNEWHcuT5E8XHfaW67jAwKQfbKLbqM38gUocQLotVLQ+ IrtM4g8eWVmSxfQintTUpcTFGLa2AyyVZGY6s5s7gb/J0Rv8UI5VkcPoXR+HDlaODv4X qyI5HGyX+PNcH/vDex5ImOWEewbLkX5kh7MjudnX2pNu7FuFDcMqI+SdEIzIgoBzEsPH Sahl6REdq9wzYfjWWvKQ7KD0MiIudWhRlhyvHAv0dckZ+Msq9Q3wNZY3zhOJc2V3ttIV VovQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=65A8swxG6F/ylZkbgWYzbxA0ZkKEGw9/dd1+oL9pTwE=; b=JMXbQrzHd3MJ268m+c5apcmQq8Grwd8tEuCN50grCH/Ie/T0J9aP1tWYCbEu9sCcOg 59TMqUIRX4HyIFOxQx7wcB3uoz1IMbZBfpThfcfhxBigLaI3aBdtUVOtNHjCnfXggs6O i9VZNJbmcid9gJvqv+Uugv6I3L5OKX21kvuCvoksH5YODMs3wJPbbg3pEbE+nlSsr9H0 sYzYX5OmgQT3dDS1Dsp5oU/BnHWUds5QrT4smMFEf0Ehn3r+iKvviuRVqRaXswhIWoPg O0VlG2IIlpcImzdW+aedV3Airn3I8jmVFat/iB9zU77TH1aG36t6cxGkv21n9QPAPfJg URqA== X-Gm-Message-State: AOAM531KPRedRWVgkG4flqYXoADAboBUPALzWtWHEO2fj2IlPA9kcDua TEb3HEZJQbJIViZlFpZPTH6W2g== X-Received: by 2002:aa7:db93:: with SMTP id u19mr24987185edt.227.1623152548257; Tue, 08 Jun 2021 04:42:28 -0700 (PDT) Received: from localhost.localdomain (hst-221-104.medicom.bg. [84.238.221.104]) by smtp.gmail.com with ESMTPSA id x4sm8754740edq.23.2021.06.08.04.42.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jun 2021 04:42:27 -0700 (PDT) From: Stanimir Varbanov To: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Vikash Garodia , Mansur Alisha Shaik , Stanimir Varbanov Subject: [PATCH v2 0/5] Venus fatal error handling Date: Tue, 8 Jun 2021 14:41:51 +0300 Message-Id: <20210608114156.87018-1-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changes since v1: * replace pm_runtime_get_sync with pm_runtime_resume_and_get in 1/5. regards, Stan Stanimir Varbanov (5): venus: venc: Use pmruntime autosuspend venus: Make sys_error flag an atomic bitops venus: hfi: Check for sys error on session hfi functions venus: helpers: Add helper to mark fatal vb2 error venus: Handle fatal errors during encoding and decoding drivers/media/platform/qcom/venus/core.c | 13 ++- drivers/media/platform/qcom/venus/core.h | 6 +- drivers/media/platform/qcom/venus/helpers.c | 16 ++- drivers/media/platform/qcom/venus/helpers.h | 1 + drivers/media/platform/qcom/venus/hfi.c | 48 +++++++- drivers/media/platform/qcom/venus/vdec.c | 18 ++- drivers/media/platform/qcom/venus/venc.c | 116 ++++++++++++++++++-- 7 files changed, 201 insertions(+), 17 deletions(-) -- 2.25.1