linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* PRI support in arm-smmu-v3 driver
@ 2025-11-25  8:52 Pavan Kondeti
  2025-11-25 18:00 ` Will Deacon
  0 siblings, 1 reply; 4+ messages in thread
From: Pavan Kondeti @ 2025-11-25  8:52 UTC (permalink / raw)
  To: linux-arm-kernel, iommu, jean-philippe

Hi

I am trying to understand IO fault handling in Linux w/ SMMUv3. While reading
the code, I understand that SVA domain creation allows taking IO pagefaults.
arm_smmu_enable_iopf() checks if the master support stall upon fault
feature or not. How do we handle page faults for PCIe devices, for which 
transactions cannot safely be stalled? IIUC, The PRI handling in the
driver i.e arm_smmu_priq_thread()->arm_smmu_handle_ppr() is not doing
anything. In the SVA support for SMMUv3 series v7, I see the support for
PRI via "Add support for PRI" patch [1] but it is not merged. 

Can you please clarify if we can support SVA with PCIe devices w/o
pinning the memory?

[1]
https://lore.kernel.org/all/20200519175502.2504091-25-jean-philippe@linaro.org/

Thansk,
Pavan


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

end of thread, other threads:[~2025-12-04 18:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-25  8:52 PRI support in arm-smmu-v3 driver Pavan Kondeti
2025-11-25 18:00 ` Will Deacon
2025-11-25 18:03   ` Jason Gunthorpe
2025-12-04 18:19     ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).