Boris Brezillon 00bcc23a03 drm/panthor: Let IRQ handlers clear the interrupts themselves
MMU handler needs to be in control of the job interrupt clears because
clearing the interrupt also unblocks the writer/reader that triggered
the fault, and we don't want it to be unblocked until we've had a chance
to process the IRQ.

Since clearing the clearing is just one line, let's make it explicit
instead of doing it in the generic code path.

Note that this commit changes the existing behavior in that the MMU
COMPLETED irqs are no longer cleared, which is fine because they are
masked, so we're not risking an interrupt flood.

Changes in v3:
- Mention the fact we no longer clear MMU COMPLETED irqs
- Add Liviu's R-b

Changes in v2:
- Move the MMU_INT_CLEAR around

Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/20250404080933.2912674-5-boris.brezillon@collabora.com
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
2025-08-28 05:46:56 +02:00
2025-08-13 11:55:09 +08:00
2025-01-10 17:48:57 +08:00
2025-01-10 17:48:57 +08:00
2025-01-10 17:48:57 +08:00
2025-04-15 20:18:39 +02:00

Armbian logo

Purpose of This Repository

This repository contains a customized version of the Linux kernel, maintained by the Armbian team, with specific adaptations for Rockchip SoCs (System-on-Chips) used in a wide range of ARM-based single board computers.

It serves as the base for:

  • Kernel development and maintenance for Armbian-supported devices.
  • Hardware enablement, performance tuning, and stability patches specific to Rockchip-based platforms.
  • Integration with the Armbian build framework to produce ready-to-use OS images.

This repository is intended for developers, testers, and contributors working with the Armbian project and the broader Rockchip ARM ecosystem.

Languages
C 97.2%
Assembly 1.7%
Shell 0.4%
Makefile 0.3%
Python 0.2%