mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Zimmermann <tzimmermann@suse.de>
To: "Boris Brezillon" <boris.brezillon@collabora.com>,
	"Steven Price" <steven.price@arm.com>,
	"Liviu Dudau" <liviu.dudau@arm.com>,
	"Adrián Larumbe" <adrian.larumbe@collabora.com>,
	"Akash Goel" <akash.goel@arm.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
	dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 0/5] drm/panthor: Fix partial unmaps, again
Date: Fri, 4 Dec 2026 08:59:54 +0100	[thread overview]
Message-ID: <8283c7ee-6692-43d4-926a-b3aeb872f16e@suse.de> (raw)
In-Reply-To: <20260924-panthor-fix-partial-unmap-v2-0-59a68a1f9e14@collabora.com>

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 <boris.brezillon@collabora.com>
> ---
> 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.

Best regards
Thomas

>
>   drivers/gpu/drm/panthor/panthor_mmu.c | 112 +++++++++++++++++++++++-----------
>   1 file changed, 77 insertions(+), 35 deletions(-)
> ---
> base-commit: 45585c3aa285854face65293acc95eff73063d6d
> change-id: 20260916-panthor-fix-partial-unmap-a52034f21184
>
> Best regards,
> --
> Boris Brezillon <boris.brezillon@collabora.com>
>

-- 
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com
GF: Stefan Gaiser, Jochen Jaser, Abhinav Puri, (HRB 36809, AG Nürnberg)



  parent reply	other threads:[~2026-12-04  7:59 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-24 11:04 Boris Brezillon
2026-09-24 11:04 ` [PATCH v2 1/5] drm/panthor: Avoid false positives in iova_mapped_as_huge_page() Boris Brezillon
2026-10-05 10:27   ` Steven Price
2026-09-24 11:04 ` [PATCH v2 2/5] drm/panthor: Fix iova_mapped_as_huge_page() for imported BOs Boris Brezillon
2026-10-05 10:28   ` Steven Price
2026-12-03  9:46     ` Boris Brezillon
2026-12-03 14:50       ` Steven Price
2026-09-24 11:04 ` [PATCH v2 3/5] drm/panthor: Consolidate the is-huge-page-mapping test Boris Brezillon
2026-10-05 10:50   ` Steven Price
2026-09-24 11:04 ` [PATCH v2 4/5] drm/panthor: Actually check huge-page mapping on sparse regions Boris Brezillon
2026-10-01 23:04   ` Adrián Larumbe
2026-10-05 11:03   ` Steven Price
2026-10-05 11:53     ` Boris Brezillon
2026-10-05 15:31       ` Steven Price
2026-10-05 15:48         ` Boris Brezillon
2026-09-24 11:04 ` [PATCH v2 5/5] drm/panthor: Remove redundant panthor_fix_sparse_map_offset() call Boris Brezillon
2026-10-05 11:03   ` Steven Price
2026-10-01 22:49 ` [PATCH v2 0/5] drm/panthor: Fix partial unmaps, again Adrián Larumbe
2026-12-03  9:43 ` Boris Brezillon
2026-12-04  7:59 ` Thomas Zimmermann [this message]
2026-12-04  8:45   ` Boris Brezillon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8283c7ee-6692-43d4-926a-b3aeb872f16e@suse.de \
    --to=tzimmermann@suse.de \
    --cc=adrian.larumbe@collabora.com \
    --cc=airlied@gmail.com \
    --cc=akash.goel@arm.com \
    --cc=boris.brezillon@collabora.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liviu.dudau@arm.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=steven.price@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®