All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven Price <steven.price@arm.com>
To: "Boris Brezillon" <boris.brezillon@collabora.com>,
	"Liviu Dudau" <liviu.dudau@arm.com>,
	"Adrián Larumbe" <adrian.larumbe@collabora.com>
Cc: dri-devel@lists.freedesktop.org, kernel@collabora.com
Subject: Re: [PATCH v2 5/5] drm/panthor: Don't update MMU_INT_MASK in panthor_mmu_irq_handler()
Date: Wed, 2 Apr 2025 11:20:22 +0100	[thread overview]
Message-ID: <ad80f27d-8502-4b5a-9fe5-a052d558170f@arm.com> (raw)
In-Reply-To: <20250401182348.252422-6-boris.brezillon@collabora.com>

On 01/04/2025 19:23, Boris Brezillon wrote:
> Interrupts are automatically unmasked in
> panthor_mmu_irq_threaded_handler() when the handler returns. Unmasking
> prematurely might generate spurious interrupts if the IRQ line is
> shared.
> 
> Changes in v2:
> - New patch
> 
> Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>

Reviewed-by: Steven Price <steven.price@arm.com>

> ---
>  drivers/gpu/drm/panthor/panthor_mmu.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/panthor/panthor_mmu.c b/drivers/gpu/drm/panthor/panthor_mmu.c
> index 4ac95a31907d..7a7993016314 100644
> --- a/drivers/gpu/drm/panthor/panthor_mmu.c
> +++ b/drivers/gpu/drm/panthor/panthor_mmu.c
> @@ -1719,7 +1719,6 @@ static void panthor_mmu_irq_handler(struct panthor_device *ptdev, u32 status)
>  		 * re-enabled.
>  		 */
>  		ptdev->mmu->irq.mask = new_int_mask;
> -		gpu_write(ptdev, MMU_INT_MASK, new_int_mask);
>  
>  		if (ptdev->mmu->as.slots[as].vm)
>  			ptdev->mmu->as.slots[as].vm->unhandled_fault = true;


      parent reply	other threads:[~2025-04-02 10:20 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-01 18:23 [PATCH v2 0/5] drm/panthor: Misc fixes Boris Brezillon
2025-04-01 18:23 ` [PATCH v2 1/5] drm/panthor: Fix GPU_COHERENCY_ACE[_LITE] definitions Boris Brezillon
2025-04-02 10:19   ` Steven Price
2025-04-01 18:23 ` [PATCH v2 2/5] drm/panthor: Call panthor_gpu_coherency_init() after PM resume() Boris Brezillon
2025-04-02 10:20   ` Steven Price
2025-04-01 18:23 ` [PATCH v2 3/5] drm/panthor: Update panthor_mmu::irq::mask when needed Boris Brezillon
2025-04-02 10:20   ` Steven Price
2025-04-01 18:23 ` [PATCH v2 4/5] drm/panthor: Let IRQ handlers clear the interrupts themselves Boris Brezillon
2025-04-01 20:36   ` Liviu Dudau
2025-04-02 10:20   ` Steven Price
2025-04-02 10:52     ` Boris Brezillon
2025-04-02 10:58     ` Boris Brezillon
2025-04-02 11:03       ` Steven Price
2025-04-01 18:23 ` [PATCH v2 5/5] drm/panthor: Don't update MMU_INT_MASK in panthor_mmu_irq_handler() Boris Brezillon
2025-04-01 20:38   ` Liviu Dudau
2025-04-02 10:20   ` Steven Price [this message]

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=ad80f27d-8502-4b5a-9fe5-a052d558170f@arm.com \
    --to=steven.price@arm.com \
    --cc=adrian.larumbe@collabora.com \
    --cc=boris.brezillon@collabora.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=kernel@collabora.com \
    --cc=liviu.dudau@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.