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 37417D116EA for ; Fri, 28 Nov 2025 08:49:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CCDCC10E73B; Fri, 28 Nov 2025 08:48:56 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=collabora.com header.i=@collabora.com header.b="KxS6v2xG"; dkim-atps=neutral Received: from bali.collaboradmins.com (bali.collaboradmins.com [148.251.105.195]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4A3F810E5CB for ; Fri, 28 Nov 2025 08:48:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1764319733; bh=FIoYKNBRaCtheQlZwXnnlvt6RkRz4aFY3XiW39L5WGc=; h=From:To:Cc:Subject:Date:From; b=KxS6v2xGhxLHrJCmIyQW7jrNEzx8CqU0I8cb/f+lE8kXEdCGI4ca47nttbrLOKI3Z NxSfGS4I30iD7udpkJb0WnvGYBnbFYqotCU1MmlW0SVZ/aSThiy9xYy7sN7V1ryFCb HY39AESzq+zIuqWIOjaBF91rac4MLXe0v06PwbSTwHxq1YQ/ijjbtDt6jPRMv7qYNn nKbqFhWAY/JuiLe11UEWsjr0WjIsHpQdprAOnpuJtn1In3iTaHTzrP9YUslezbSDEb rOYDc48ganpSY+V7e8eiQypXeG/CvPm+ja8BFRc/NHtpNtvAtVeZsF89UqKYBvc4yD WOdk7KrSfWDAQ== 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 980C217E0EDB; Fri, 28 Nov 2025 09:48:53 +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 v4 0/6] drm/panthor: Misc fixes Date: Fri, 28 Nov 2025 09:48:34 +0100 Message-ID: <20251128084841.3804658-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. This v4 is here to address a conflict caused by other panthor patches being merged before this one. 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