All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] irqchip/gic-v3: Add Altera Agilex5 address bus
@ 2025-07-04  8:49 adrianhoyin.ng
  2025-07-04  8:49 ` [PATCH v2 1/1] irqchip/gic-v3: Add Altera Agilex5 address bus width limitation workaround adrianhoyin.ng
  0 siblings, 1 reply; 3+ messages in thread
From: adrianhoyin.ng @ 2025-07-04  8:49 UTC (permalink / raw)
  To: maz, tglx, catalin.marinas, will, linux-arm-kernel, linux-kernel
  Cc: adrianhoyin.ng

From: Adrian Ng Ho Yin <adrianhoyin.ng@altera.com>

Agilex5 address bus width for the ACE-lite interface is only 32 bits.
Hence the GIC600 SoC integration for Agilex5 can only access the first
32bit of the physical address space.

Add quirk to configure the gfp flag to allocate memory within 32bit
addressable range. As the 0x0201743b GIC600 ID is not specific to
Altera, of_machine_is_compatible() is added.

Add config in arm64 Kconfig to enable quirk.

change log:
v2: - Reworked implementation to reuse existing infrastructure as
      requested by Marc Zyngier.

    - Add new config in arm64 Kconfig to enable quirk.

    - Dropped dt and binding changes.
---
v1: - https://lore.kernel.org/all/cover.1747368554.git.adrianhoyin.ng@altera.com/

Adrian Ng Ho Yin (1):
  irqchip/gic-v3: Add Altera Agilex5 address bus width limitation
    workaround

 arch/arm64/Kconfig               | 10 ++++++++++
 drivers/irqchip/irq-gic-v3-its.c | 18 ++++++++++++++++++
 2 files changed, 28 insertions(+)

-- 
2.49.GIT



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-07-04 11:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-04  8:49 [PATCH v2 0/1] irqchip/gic-v3: Add Altera Agilex5 address bus adrianhoyin.ng
2025-07-04  8:49 ` [PATCH v2 1/1] irqchip/gic-v3: Add Altera Agilex5 address bus width limitation workaround adrianhoyin.ng
2025-07-04 11:29   ` Marc Zyngier

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.