Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp2880331rwo; Mon, 24 Jul 2023 02:48:08 -0700 (PDT) X-Google-Smtp-Source: APBJJlGwwT33dGWiP2M1Q+CtEv5mQ0125wq3cavPfrPhHWxUnTqz/IMmC8KRJnhEgCBXHxCgPuts X-Received: by 2002:a17:906:3085:b0:974:183a:54b6 with SMTP id 5-20020a170906308500b00974183a54b6mr8480888ejv.33.1690192088126; Mon, 24 Jul 2023 02:48:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690192088; cv=none; d=google.com; s=arc-20160816; b=qCxL6YUO5XWZSUIunqpLL4UB3NHKxXTBzYuVG1QqhlUF/bJj8l/Y8aRzvjbeZEckhF a6ILOGRTZxb92qib8r+cHuGhflHNUmUyOqlqN0+QOtwN1PIyyuo61N8r1ol0utQ2dq0W ZRYtvqdW6kCEuEc26gMEeclYlSXCv0JNC7WsDxGh4a2fvpg6F/0PjlMkGHwADFNvafsC mLaOn3RtA/p2stX6bGhZ8NgJOUhtGyWmA4KPvjm1MiKyLVZ+6Uqr5pFyqdDEqyTDLKuN BXD27mey3Vhb7Ecn6k64DaNxquXlN/QTFJS7Az8+aTP2BlgRzUG5r7BGLqGwQRLpt1nU dWmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=KuFNTbrAD8OdGt96J2eKWKx5O1OjQPwxAOb8NQmVVrk=; fh=1JcMlEUy10sg058koXsW/xU3XzSREWjEOgL96FZYCW4=; b=sRNkSs/D9Obk4imapsxli860VSfPeHoeyZl0LPCNKNfeVv57NhCRHbSBdX/9zHneiq TYU9zf42dxHvEP3EYfYgw31MdaVFm+9S7vwet0WCaqIRY3DnSlYMvw2xwKmrezBX9SFX wR7EWwTQUjBvFzOtzBKLcWk9Ct6j7s9ox/G+f1nmvsyQmelXoH62+PYTySgV4boCyYoC SUNege7snX2oCsPpkbkVJU/mDRgiwCJmxs0hKwsMnwvd8o+Z8ozj0jifVccMatIWVNgB momRhN0wZkpbFws/oY88q7SoQZoe61yZjMalnWaX6gME62eSQFPkB7kLbbjbL8Nj4x7+ Gc0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="OMSi/64L"; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h15-20020a17090619cf00b0098895f19707si5890514ejd.171.2023.07.24.02.47.43; Mon, 24 Jul 2023 02:48:08 -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=@collabora.com header.s=mail header.b="OMSi/64L"; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231819AbjGXIno (ORCPT + 99 others); Mon, 24 Jul 2023 04:43:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231357AbjGXIn3 (ORCPT ); Mon, 24 Jul 2023 04:43:29 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37719CA for ; Mon, 24 Jul 2023 01:43:16 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id A58DF6607029; Mon, 24 Jul 2023 09:43:14 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1690188195; bh=+Va/lv+kY8+mB74j/EALrVluhW0bxzE0CAwbF8R0KO8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=OMSi/64LbAElUJL4T6UTLVQD7Il2GFk+KZ4ei/CZraSh2Wpkigf1azw5E96NQKroI e/DVJNeTJKwdAyd7iijx7YdT9EtJxHUjFejPF0ApdhaofDoCOQ0WXPWbuTX7mJJaAu u0oUpWySsMsScs5+NBFrOhnwo9ljcgTH8ed51Rk+jQBou13STRgZ1eiEDuo3mc03f/ /br4FVRSZ7CknKjli+vyu6KIPQEb82PDCYpvzEnVepvbXlXrH7860++PjplWzkY2XR TK0PqYpsG2/Qm2Zh9etD6pCm2l7bhU75DvqDovULup3ASTYCycoxqle1JErDja/mjh 7FRfTLVwS9yJA== Message-ID: Date: Mon, 24 Jul 2023 10:43:11 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v2] drm/panfrost: Sync IRQ by job's timeout handler Content-Language: en-US To: Dmitry Osipenko , Rob Herring , Steven Price , Boris Brezillon Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, kernel@collabora.com References: <20230723000142.206908-1-dmitry.osipenko@collabora.com> From: AngeloGioacchino Del Regno In-Reply-To: <20230723000142.206908-1-dmitry.osipenko@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 Il 23/07/23 02:01, Dmitry Osipenko ha scritto: > Panfrost IRQ handler may stuck for a long time, for example this happens > when there is a bad HDMI connection and HDMI handler takes a long time to > finish processing, holding Panfrost. Make Panfrost's job timeout handler > to sync IRQ before checking fence signal status in order to prevent > spurious job timeouts due to a slow IRQ processing. > > Signed-off-by: Dmitry Osipenko Reviewed-by: AngeloGioacchino Del Regno Also, on MediaTek MT8192 and MT8195 Chromebooks: Tested-by: AngeloGioacchino Del Regno