From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=148.251.105.195 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796373909; b=iJXmkgu9RNS4ks2x01ibwGbv/KVoq2hS4OlipFdccoZTNoDQvu1xeWE0fC9qfDTX78rs Q8SyiVWGfxAawGfczI6aRZ7sksjB/ZZlsn3xXZd/adI+Nl6PMcZ39CX5uaBAbD6PfDQzi qE/0DcjQ/MXcf2IY0VPvcrpLiZYY7FDIoUGuKym9Y90CSmumjKAyTLxlXXkf506Bv+haU 5b7BGayCQPyP88H0fcYgJDiAdx1p7b1wyHBXFsy+REohZXwiVjYfxwRQwBE17/0C73OL+ +WsxG+eLE8Mrq0lMyv2Bgbe21m7W/lFgAJYfRt/AvFrC1QJ6rvHpNXkR8jcBgCty8lA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796373909; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:In-Reply-To:References:Organization:X-Mailer:MIME-Version: Content-Type:Content-Transfer-Encoding; bh=T2AlzyDXo4grkjIOnUSkyzGCUt8jdj6wIHZfzjJyon8=; b=bIYJkAMWVAnHQ3F9EtjT8jWvOfCS9UuE8nJFQ2N2ZeBToQ+EjnayaaNNOoQkFO8grSCS 2nsLwG/am92UAiod3+4iFP4s8qvsTzJtRr14On6eFlHOehfBy+JZUmB3gtTrKxeSC5Ts6 s37SccfZ9fQ/OOoAsdU+CG08ZSt06/S8dWgvEQURjOFsUDq73y3atNt296EghzMQFFFlO Gwj+MtkYy7Cm/yaA4oQYJIwrn+l20zDobCPqMt0entFxHhtzXyO/xINw3W7xS1ciCW3YY d+YFb1XGLd6f9e3haxLHUN3BtC8CbPvjHgyAil8Su2sVhGfiADQPkUgFbsdzz/DF48g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass header.d=collabora.com header.i=@collabora.com header.a=rsa-sha256 header.s=mail header.b=Nfi1ikJU; arc=none smtp.remote-ip=148.251.105.195 Received: from bali.collaboradmins.com (bali.collaboradmins.com [148.251.105.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 92482606A698 for ; Fri, 4 Dec 2026 08:45:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 92482606A698 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, unprotected) header.d=collabora.com header.i=@collabora.com header.a=rsa-sha256 header.s=mail header.b=Nfi1ikJU DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1796373906; bh=iK4MQWTPCGQo2ghCR/j66tlC+EavNHmmfLb1BWDI9Dk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Nfi1ikJULyE22WngrM14VVCVEHxdUb4/wqtpWtGD22vczwitWPcI/+XqbET/Lt176 Vis+EiNB9SLgOhb7FjsQ30z/xsSE4M6BQ3ovIgHIHmzgo/knCUG82ujWir8hYaB2xy OMo6kFKNydvQf5qE1ceqMZeHVcfQURv3d29+B9LUmFO2vJb8DOIKm2wHQ7vZB+BbUG vh2g4lACuNkypJ5a5E+TX6AdPHlX2gPY5JcsPM+9sd89Fu+ItkEsR/jRmVRLJ33TQ1 xIDz2emci+QEhyl49oBkajcjec0MWkcGP2r8q+e/zMp9/8BNGADA5lhY7iQvGiTjmq RI97R7Lpk9ijw== Received: from fedora1.home (unknown [100.64.0.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange secp256r1 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bbrezillon) by bali.collaboradmins.com (Postfix) with ESMTPSA id 1CAC517E03CC; Fri, 04 Dec 2026 09:45:06 +0100 (CET) Date: Fri, 4 Dec 2026 09:45:01 +0100 From: Boris Brezillon To: Thomas Zimmermann Cc: Steven Price , Liviu Dudau , =?UTF-8?B?QWRyacOhbg==?= Larumbe , Akash Goel , Maarten Lankhorst , Maxime Ripard , David Airlie , Simona Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/5] drm/panthor: Fix partial unmaps, again Message-ID: <20261204094501.61a852a5@fedora1.home> In-Reply-To: <8283c7ee-6692-43d4-926a-b3aeb872f16e@suse.de> References: <20260924-panthor-fix-partial-unmap-v2-0-59a68a1f9e14@collabora.com> <8283c7ee-6692-43d4-926a-b3aeb872f16e@suse.de> Organization: Collabora X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; x86_64-redhat-linux-gnu) X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi Thomas, On Fri, 4 Dec 2026 08:59:54 +0100 Thomas Zimmermann wrote: > Hi > > Am 24.09.26 um 13:04 schrieb Boris Brezillon: > > The first patch is just a theoretical perf improvement to avoid > > unnecessary unmap+map caused by false positive returned by > > iova_mapped_as_huge_page(). The second patch is a fix for a real > > bug when iova_mapped_as_huge_page() is called on an imported BO. > > The last 2 patches are just consolidating the logic to make things > > clearer. > > > > Signed-off-by: Boris Brezillon > > --- > > Changes in v2: > > - Add a commit dropping a redundant panthor_fix_sparse_map_offset() call > > - Collect R-bs > > - Link to v1: https://patch.msgid.link/20260917-panthor-fix-partial-unmap-v1-0-c7008f15fea3@collabora.com > > > > --- > > Boris Brezillon (5): > > drm/panthor: Avoid false positives in iova_mapped_as_huge_page() > > drm/panthor: Fix iova_mapped_as_huge_page() for imported BOs > > drm/panthor: Consolidate the is-huge-page-mapping test > > drm/panthor: Actually check huge-page mapping on sparse regions > > drm/panthor: Remove redundant panthor_fix_sparse_map_offset() call > > I've found this entire series in drm-misc-fixes while preparing the PR > today. To be honest, it's a bit too large for -fixes IMO. 3 of these > patches didn't even have a Fixes tag. Rule of thumb is that patches in > -fixes should have a Fixes tag. They should also be easy to cherry-pick > and backport into older releases. Patches with too many dependencies > aren't backportable. They better go into regular feature PRs. I made sure the fixes don't depend on the non-fixes changes and I thought the rest of the changes (mostly cleanups) were simple enough to be okay to push to drm-misc-fixes as well, but fair enough. What's the plan here? Will you drop those changes from drm-misc-fixes (this implies force-pushing which I know DRM maintainers try to avoid). Will you revert? Can you let me know when you've reverted/dropped the changes so I can queue those to drm-misc-next before the branching point (we're at -rc5 already)? Sorry again for the inconvenience, I'll try to make sure this doesn't happen again. Regards, Boris