Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp21105pxb; Tue, 5 Oct 2021 22:03:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzxJWid73o4q4Ex54ioYwJvUV8Hyq/q9lieo3XSTWzdULpBaAPfJxh/e5uZyKRZTmK+EoQ X-Received: by 2002:a62:6203:0:b0:44c:7649:90b0 with SMTP id w3-20020a626203000000b0044c764990b0mr9400918pfb.21.1633496601228; Tue, 05 Oct 2021 22:03:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633496601; cv=none; d=google.com; s=arc-20160816; b=FIa768wRcphiDu/9ukJ3dJicp2tstDfwpugR0o/061hc7G5WFLf2lILWwhi2kptouU D6rML+UoN6YaGlqteQ8aYxGdSvL6vyXMmC50BBn1R7R42Gq/F41t080HxkKWpaE1OsQg ZMqVuZyLX6lZVrqDjbRB69tL1IFq+DxJiW/fbH1DkXDCm0fiZERi3yq8z3eS+7H79iGc dg2PVoV8fo1kx7Mq+SwVQuFOwL0dxIP/IQ8hBLC/CABKCmCoNgy7z+H3dc4RdlDe70f7 Tth3HpV2ZcQrSZ/EM5X3Eb+SvsU2oGSp+9rW+sruwYOMjWb3UM135pbQ2EDzNa7+Ov02 uO4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :sender:dkim-signature; bh=asupr90LKsNaEFoWBmYQd4HeemIExSGhJTwTT6Jn+b0=; b=Ptzlm7ievnIyg2DSDgxCb30eoGTnTM0Fxzd4m3ShKpw2WloCZ6FD0e+3O3bQD5j0x8 mh/GPzKTCATSuYM+HrgwC7LtJjMuuERG74vKIZEHbF5EeDY3lglUhNKNqG7c4GK1f2xH fQnk386x8dsleIPySIF3H48oD8bDHDx3oEyfdFCmRZI/iOdB8R2otNahuZeiGm4Tqmqy RzSuWFwIlIzMDHgh7MIzZTPNdjrITxvrzpAFiBHkYfHl078ywLI+NCpPsG/B2TA1XKnk exseHyMF7xF4I/Cwts9v1GQeQlKzUW46gVPh+Bh8X5CB77H9okXtQ+MRCVNWBAtES+Hw YfUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=QKUqXOEQ; 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 h3si25353256plo.18.2021.10.05.22.02.26; Tue, 05 Oct 2021 22:03:21 -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=@mg.codeaurora.org header.s=smtp header.b=QKUqXOEQ; 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 S230331AbhJFFCw (ORCPT + 99 others); Wed, 6 Oct 2021 01:02:52 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:51315 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229621AbhJFFCv (ORCPT ); Wed, 6 Oct 2021 01:02:51 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1633496460; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=asupr90LKsNaEFoWBmYQd4HeemIExSGhJTwTT6Jn+b0=; b=QKUqXOEQJpp5IvNsVzrK966TrEsSkVXW6RlL+KOJaUlllIn5zRNzkDVuzVMwyX7IcfgudagS Q6RIMiyZpZlEIPGzVEsiTBp6JDAuerzy9PpBiXQxxcxveRJGHel+4Xb8ylZaioV0I8kMiBYn ffrGUeFVfZGo1tcl2rIMb74Qj5k= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n03.prod.us-west-2.postgun.com with SMTP id 615d2d77ff0285fb0a057398 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 06 Oct 2021 05:00:39 GMT Sender: vgarodia=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 8817CC4360C; Wed, 6 Oct 2021 05:00:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: vgarodia) by smtp.codeaurora.org (Postfix) with ESMTPSA id E84C8C4338F; Wed, 6 Oct 2021 05:00:37 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 06 Oct 2021 10:30:37 +0530 From: vgarodia@codeaurora.org To: Stanimir Varbanov Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Mansur Alisha Shaik Subject: Re: [PATCH v2 0/5] Venus fatal error handling In-Reply-To: <20210608114156.87018-1-stanimir.varbanov@linaro.org> References: <20210608114156.87018-1-stanimir.varbanov@linaro.org> Message-ID: X-Sender: vgarodia@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-06-08 17:11, Stanimir Varbanov wrote: > 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(-) Tested-by: Vikash Garodia