Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1443AD10399 for ; Wed, 26 Nov 2025 09:50:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DE27610E58C; Wed, 26 Nov 2025 09:50:41 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=collabora.com header.i=@collabora.com header.b="KN1y1i6+"; dkim-atps=neutral Received: from bali.collaboradmins.com (bali.collaboradmins.com [148.251.105.195]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2DE5210E58B for ; Wed, 26 Nov 2025 09:50:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1764150638; bh=SgDKDjfiTyNkD9VaYZzx00vNyUhSBKqCBdyy+ZCy5bs=; h=From:To:Cc:Subject:Date:From; b=KN1y1i6+zIJ5VPfm8ZF5KBVHMSty4vo4A4XGXsuUu32ML2G2SAqbsSjrxBrtN7Hj5 InzX7XSw4bMLioYsmyre0ZRHdZXjqR/zg+X+ou1iHNZjiCtph7W3pLJW+uPYjh5fJe MJm3Dr5dFUi0e62nrFIMJHKKn6j+ElLNYEgLdrhYs9QES5UfyUMDEN1NHM8wREdG0x eKtt70rCrka9+WotQkWypk/OYdLVao9y/cVCgd9LwTR5IhjFN9brRRR+CYqcczsycH fIywbwHwZ4yz1bfbTzfk8ya7EyQ/Ab5BaR4afIg/wsWPEhtiP0T9RRTKda6t9ygs7+ 84rgtrgJz72bA== Received: from fedora (unknown [IPv6:2a01:e0a:2c:6930:a2a7:f53:ebb0:945e]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bbrezillon) by bali.collaboradmins.com (Postfix) with ESMTPSA id 6519717E129C; Wed, 26 Nov 2025 10:50:38 +0100 (CET) From: Boris Brezillon To: Boris Brezillon , Steven Price , Liviu Dudau , =?UTF-8?q?Adri=C3=A1n=20Larumbe?= Cc: dri-devel@lists.freedesktop.org, Akash Goel , Karunika Choo , kernel@collabora.com Subject: [PATCH v3 0/6] drm/panthor: Misc fixes Date: Wed, 26 Nov 2025 10:50:23 +0100 Message-ID: <20251126095029.3579267-1-boris.brezillon@collabora.com> X-Mailer: git-send-email 2.51.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hello, This is a set of fixes for bugs I ran into while looking at [1]. Hopefully that's enough to recover from AS_ACTIVE bit stuck situations, but it'd be good to understand why the MMU block is completely blocked in some cases and try to come up with better mitigations than a full GPU reset. Check each patch for a detailed changelog. Regards, Boris [1]https://gitlab.freedesktop.org/panfrost/linux/-/issues/57 Boris Brezillon (6): drm/panthor: Always wait after sending a command to an AS drm/panthor: Kill lock_region() drm/panthor: Recover from panthor_gpu_flush_caches() failures drm/panthor: Add support for atomic page table updates drm/panthor: Make panthor_vm_[un]map_pages() more robust drm/panthor: Relax a check in panthor_sched_pre_reset() drivers/gpu/drm/panthor/panthor_gpu.c | 19 +- drivers/gpu/drm/panthor/panthor_mmu.c | 280 +++++++++++++----------- drivers/gpu/drm/panthor/panthor_sched.c | 2 - 3 files changed, 166 insertions(+), 135 deletions(-) -- 2.51.1