Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3183981iog; Mon, 27 Jun 2022 10:54:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sneoY/zK0Yg07HFimSzp5nOjXGkgzTxXytCCfvih4NYrgMwC+5Y0zKtkHFGAoeBZwyB6eP X-Received: by 2002:aa7:d353:0:b0:435:6a15:139f with SMTP id m19-20020aa7d353000000b004356a15139fmr18359128edr.19.1656352450426; Mon, 27 Jun 2022 10:54:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656352450; cv=none; d=google.com; s=arc-20160816; b=peBnm5x1zYwAeFP/JnrcRSUm7A9ozaWMF31NyXSQaSpJIPkLW8wL0qyoaPJCM+y+tr Tb/halV/FluZcid1ypkY8R55OBIaV5WSoUdZKmYD7pbG1uR7pfX119N8V9q8mL1kgLY/ OV39v3uqaxmdbEZPmCTCwNbgmI53XrII3zYlTtnTKus88v6+qNTM4LLC8HUIWND04aI6 0eQZblRi+RKR01X6ExQ7pQnMw1peDUWy3Z/JBWvSWSaNjlFbyTBynTIAHpjV7mdutvpq GdTacgc5irv+OMhzMbDzBBJPR3R8TByokqfwsD3jF3+8DG55UKziVGejbRQQmqQOfN9n k5FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=v+dkrP2udNa9sOxtusDdTPKwT59IDya3j7lSRZunhgo=; b=I77ZBW8dL7Iy3bjtb20X8vH3JW3XtYt/oAFgluIPCPM56r9oKkUMJAd/D/z7V/PVqS Z+PNRYjUv7oAXVlGetGWyzv01YgE/vyJYDeyxhDLJifO9DE310Clf4LLs7QlUmdtMXH8 BWXnP4XyFvlkwQNbDZlyQv6/6uGhAITCm5aKdvl3i6GCOlJYwRCc8afBRx3czdp/5fPg q9zjJ6fUNkdytgVT1lpH8nb0KHqhdZLv7sMjaWFOJEvOb/rjKnYHRJDRQvV1fNWX8YPt YKNmlVGgYfW/gYIW+Jd74nvOdU2D895IrqaBD34i8LLsmAittHPMsDRTFVSoWXUNMGSt T7zQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vanguardiasur-com-ar.20210112.gappssmtp.com header.s=20210112 header.b=hq0YjRdG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q5-20020a056402032500b004357f88fcd8si290072edw.182.2022.06.27.10.53.43; Mon, 27 Jun 2022 10:54:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@vanguardiasur-com-ar.20210112.gappssmtp.com header.s=20210112 header.b=hq0YjRdG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239401AbiF0Ro4 (ORCPT + 99 others); Mon, 27 Jun 2022 13:44:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239312AbiF0Roy (ORCPT ); Mon, 27 Jun 2022 13:44:54 -0400 Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5845ADEEA for ; Mon, 27 Jun 2022 10:44:50 -0700 (PDT) Received: by mail-oi1-x232.google.com with SMTP id be10so13823988oib.7 for ; Mon, 27 Jun 2022 10:44:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vanguardiasur-com-ar.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=v+dkrP2udNa9sOxtusDdTPKwT59IDya3j7lSRZunhgo=; b=hq0YjRdG9AhL2dAGsQRZXNGTdvU4mcLdbhoK6/QbH1g+a5rBIVlYtl9tqXCIkSN4U7 gtiV3/f9XovWSBq7G2K/20G4aSKDGIAEMqx5wtUkiv9cyWQFtBf72eEAFyJs7jTlNHZQ VITvQB+1q0n+jtiPp7xYaVdO7JZ2APg24MQxs0ZeTqGMaGDwQCYywXfru6wL/haAQPy+ EEHt0s7ggb3g21vp3p+IGbKiZ243SeRZandqU9a2nIooRpNeR++J0jsS02uulYlsX5dq bec4pW4+j4Zxz4vHNfKpFxciD8P/KaR+1qBhctFCb7IUiRQ1Rz2mHZqrXV5sgdpPiOim lofA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=v+dkrP2udNa9sOxtusDdTPKwT59IDya3j7lSRZunhgo=; b=ajbYmmFP9jyoeuBaPcICt5+3iyL054qhcicQwbjZlb1Fd7PWvfawZpYPdVkvilYfT/ FqOjFE3UO5Q1+Rmmd2ivS7iMfT0FvGCgIu0LPguL0TrR5+LrzzTNT9A23/CsnCtnoM8W shBOp6gZWXjsOyXmTMJw1TjM287+ypWWe4cbokPSOpVeqnakyzkkjjFPYQQNCy+Z9JPr AqlPHNfYmcLqDmkfkngDxLYOOQazB3NcQVGuN5LvcFWe6QiKZJa5JLbXRBRyJp1u6hwI Uk/nXFQVpr7QtpZ0RDBNPfJImQCMJQXYqRx7kPDyU+t8MEoO0ktMk4sdkGFSOCwF5Y1E Kv6Q== X-Gm-Message-State: AJIora/dJOb6XAImqukEWK6jltGtXIQS1DuHzO9GChgUczdrR/VrKUdM lB1D5gRX/LWJED8i319CeHC1SQ== X-Received: by 2002:aca:f03:0:b0:335:4760:d9c8 with SMTP id 3-20020aca0f03000000b003354760d9c8mr8262390oip.128.1656351889745; Mon, 27 Jun 2022 10:44:49 -0700 (PDT) Received: from eze-laptop ([190.190.187.68]) by smtp.gmail.com with ESMTPSA id k19-20020a056870d39300b0010200e2828fsm7424768oag.30.2022.06.27.10.44.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jun 2022 10:44:48 -0700 (PDT) Date: Mon, 27 Jun 2022 14:44:43 -0300 From: Ezequiel Garcia To: Brian Norris Cc: Nicolas Dufresne , linux-media@vger.kernel.org, Mauro Carvalho Chehab , Greg Kroah-Hartman , Hans Verkuil , Boris Brezillon , kernel@collabora.com, Mauro Carvalho Chehab , linux-rockchip@lists.infradead.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 1/5] media: rkvdec: Disable H.264 error detection Message-ID: References: <20220610125215.240539-1-nicolas.dufresne@collabora.com> <20220610125215.240539-2-nicolas.dufresne@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Hans, On Fri, Jun 10, 2022 at 09:39:19AM -0700, Brian Norris wrote: > On Fri, Jun 10, 2022 at 08:52:11AM -0400, Nicolas Dufresne wrote: > > Quite often, the HW get stuck in error condition if a stream error > > was detected. As documented, the HW should stop immediately and self > > reset. There is likely a problem or a miss-understanding of the self > > self reset mechanism, as unless we make a long pause, the next command > > will then report an error even if there is no error in it. > > > > Disabling error detection fixes the issue, and let the decoder continue > > after an error. This patch is safe for backport into older kernels. > > > > Fixes: cd33c830448b ("media: rkvdec: Add the rkvdec driver") > > Signed-off-by: Nicolas Dufresne > > This is effectively how ChromeOS previously was using this hardware for > years. When moving to the upstream/staging driver, this started giving > us problems. This fix is helpful; we'd rather sacrifice error detection > for now, to avoid hanging the hardware in error cases ;) > > Reviewed-by: Brian Norris > Tested-by: Brian Norris Reviewed-by: Ezequiel Garcia Given this is stable material, looks like we should queue it, while the rest of the series is still being discussed. Thanks, Ezequiel