mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] Add Agilex5 SMMU support for service layer and FPGA manager
@ 2025-12-17  5:56 adrianhoyin.ng
  2025-12-17  5:56 ` [PATCH 1/2] firmware: stratix10-svc: Add SMMU support for Agilex5 adrianhoyin.ng
  2025-12-17  5:56 ` [PATCH 2/2] fpga: stratix10-soc: Add persistent SMMU-aware DMA handling " adrianhoyin.ng
  0 siblings, 2 replies; 5+ messages in thread
From: adrianhoyin.ng @ 2025-12-17  5:56 UTC (permalink / raw)
  To: dinguyen, mdf, yilun.xu, trix, linux-fpga, linux-kernel; +Cc: adrianhoyin.ng

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

This series adds SMMU support required for reliable FPGA configuration on
Intel Agilex5 SoCs.

On Agilex5, DDR starts at a high physical address and is inaccessible to
the Secure Device Manager (SDM) without SMMU translation. The existing
service layer and FPGA manager drivers do not handle cases where the
SMMU remaps physical addresses to IOVAs, leading to translation faults or
configuration timeouts when SMMU is enabled.

These changes make Agilex5 support SMMU by enabling SMMU-backed buffer
allocation and IOVA remapping in the service layer, and making the FPGA
manager SMMU-aware with DMA mapping and persistent buffer allocation to
avoid repeated IOMMU operations. Together, they ensure robust FPGA
configuration on Agilex5 while maintaining the existing behaviour for
Stratix10 and Agilex7.

Adrian Ng Ho Yin (2):
  firmware: stratix10-svc: Add SMMU support for Agilex5
  fpga: stratix10-soc: Add persistent SMMU-aware DMA handling for
    Agilex5

 drivers/firmware/stratix10-svc.c | 160 ++++++++++++++++++++++++++++---
 drivers/fpga/stratix10-soc.c     |  67 +++++++++----
 2 files changed, 192 insertions(+), 35 deletions(-)

-- 
2.49.GIT


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

end of thread, other threads:[~2025-12-19 15:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-17  5:56 [PATCH 0/2] Add Agilex5 SMMU support for service layer and FPGA manager adrianhoyin.ng
2025-12-17  5:56 ` [PATCH 1/2] firmware: stratix10-svc: Add SMMU support for Agilex5 adrianhoyin.ng
2025-12-19 14:44   ` Xu Yilun
2025-12-17  5:56 ` [PATCH 2/2] fpga: stratix10-soc: Add persistent SMMU-aware DMA handling " adrianhoyin.ng
2025-12-19 15:09   ` Xu Yilun

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®