From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bali.collaboradmins.com (bali.collaboradmins.com [148.251.105.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 309BF3B1EFC for ; Thu, 25 Jun 2026 12:40:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.251.105.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782391233; cv=none; b=HWdimcwyrb80oxdMMkObn0ITD4p3P3w3liFKuQk5D77GnNf+U2w6skeapFXqQjx/vCGitzewMgHw1L6JimYxQ83wkoHiSBwT9X7lr0Ob+lHCWtDSQ82PfnSis0hzHaxh9kfdp+mQAnqTXea7x6C3t2fwXi4V6F0v26r1po9OGZ8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782391233; c=relaxed/simple; bh=U/9uURAqeOPvchWGcfqGa/gIuEM9tjr7Dkjj8Z708jM=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=LWqzGYAET2PnFeitWkg6K0nns2GfnV8Yaiih+Wcn2dUPS021qz8Fo7qyzBJ77qC5FhLntILDIimSd82xQUpM0+Zns90o8gYUuLceKfIm3ENYXmqaM8UHYkNvEizguxE9Ncpt9CwdO6KwAiwedvSULkhNV6r5OubA7qhuPaaVRsE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=g7++DTVO; arc=none smtp.client-ip=148.251.105.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="g7++DTVO" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1782391230; bh=U/9uURAqeOPvchWGcfqGa/gIuEM9tjr7Dkjj8Z708jM=; h=From:Subject:Date:To:Cc:From; b=g7++DTVOWTiVoGs7MyV+2FQQI2drBj1243TzRRDjGXJFlbcK+eZxmnsNRFb6Kogc4 Kc5T+UrOUo3mLe5ffY0jzTSM6rtKmzp+2UYkbTmMTDMYDu/PbGzNpVW/ZNqJ4CLFJT 3H/uuF6sqOdEq2DKm/JGOKBvWyQgXWRtchhQ9IlUh5F83w1U/ebbnmsTTVadfyRMVZ r++4VHiJVN5KgzlgV6qbsLwmhaYYqqDtyDF/0cYdEV51cz63EYP5MiM9b9iau5LbrL QNV4oKG6NLoGnraEX0y6bUa+dRX67sMCXMZNZqQh7ZETSAGueNjYA+rjxUpH22pNUS 6SbUR+xTWbOjw== Received: from fedora-2.home (unknown [100.64.0.11]) (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 95F2417E0909; Thu, 25 Jun 2026 14:40:29 +0200 (CEST) From: Boris Brezillon Subject: [PATCH 00/11] drm/panthor: Misc fixes for bugs found by shashiko Date: Thu, 25 Jun 2026 14:40:26 +0200 Message-Id: <20260625-panthor-misc-fixes-v1-0-b67ed973fea6@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAAAAAAAC/yWMQQqDMBBFryKzbiDGVtCrFBdx/NZZJNpMLAXx7 g11+d7n/YMUSaDUVwclfERljQXqW0W8+PiCkakwOeta27qH2XzMy5pMEGUzyxdq0Lh7zWgxW0s l3BL+Q+mew8UJ771850vS6BWG1xAk9xVPGB3z1HUNaDjPH8Js1gyUAAAA X-Change-ID: 20260625-panthor-misc-fixes-e3241ce6ef00 To: Steven Price , Liviu Dudau Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Nicolas Frattaroli , Chia-I Wu , Karunika Choo , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Boris Brezillon , sashiko-bot@kernel.org X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1782391229; l=1879; i=boris.brezillon@collabora.com; s=20260429; h=from:subject:message-id; bh=U/9uURAqeOPvchWGcfqGa/gIuEM9tjr7Dkjj8Z708jM=; b=5tCy137h53xJZkNVDb//tHUbxj3uJK6YE+x4GS6xBXvh4LKWxfeWXdWlxF00pc52YzCn6w1SS 9Nvj5VJH7ezCB8xviQYxJ+tHy4eyLX96gS1sOknM6eWs2WRr6tueSLW X-Developer-Key: i=boris.brezillon@collabora.com; a=ed25519; pk=eN+ORdOgQY7d5U+0kA8h5bf67XdD8bhKbjD/TCHexSY= This is a collection of fixes for bugs found by shashiko during the review of [1] and the previous iterations. Because shashiko keeps finding new issues at each new submission, I decided to extract the fixes out of this series. [1]https://lore.kernel.org/dri-devel/20260625-panthor-signal-from-irq-v5-0-8836a74e0ef9@collabora.com/ Signed-off-by: Boris Brezillon --- Boris Brezillon (11): drm/panthor: Always use the IRQ-safe variant when acquiring the fence lock drm/panthor: Keep the reset work disabled until everything is initialized drm/panthor: Fix UAF on works queued to panthor_cleanup_wq drm/panthor: Fix potential invalid pointer deref in group_process_tiler_oom() drm/panthor: Fix theoretical IOMEM access in suspended state drm/panthor: Don't overrule pending immediate ticks in sched_resume_tick() drm/panthor: Fix panthor_pwr_unplug() drm/panthor: Drop a needless check in panthor_fw_unplug() drm/panthor: Fix a leak when a group is evicted before the tiler OOM is serviced drm/panthor: Interrupt group start/resumption if group_bind_locked() fails drm/panthor: Keep interrupts masked until they are needed drivers/gpu/drm/panthor/panthor_device.c | 9 +++ drivers/gpu/drm/panthor/panthor_device.h | 17 +++-- drivers/gpu/drm/panthor/panthor_fw.c | 6 +- drivers/gpu/drm/panthor/panthor_gpu.c | 3 +- drivers/gpu/drm/panthor/panthor_mmu.c | 9 ++- drivers/gpu/drm/panthor/panthor_pwr.c | 10 +-- drivers/gpu/drm/panthor/panthor_sched.c | 108 +++++++++++++++++-------------- 7 files changed, 97 insertions(+), 65 deletions(-) --- base-commit: cdeb2ccd993ed8647adbbda2c3b103aa717fd6f7 change-id: 20260625-panthor-misc-fixes-e3241ce6ef00 Best regards, -- Boris Brezillon