From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 C9C9C606A683 for ; Fri, 4 Dec 2026 08:45:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.a=rsa-sha256 header.s=mail header.b=Nfi1ikJU Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2F596112DB4; Fri, 4 Dec 2026 08:45:14 +0000 (UTC) Received: from bali.collaboradmins.com (bali.collaboradmins.com [148.251.105.195]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1A034112DBE for ; Fri, 4 Dec 2026 08:45:08 +0000 (UTC) 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-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "dri-devel" X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_2 autolearn=unavailable autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 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