All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] iommu/amd: Honor IVINFO[PAsize] for paging domains
@ 2026-10-19 13:08 Ankit Soni
  2026-10-19 13:08 ` [PATCH 1/2] iommu/amd: Move page-table setup into init_pgtable_params() Ankit Soni
  2026-10-19 13:08 ` [PATCH 2/2] iommu/amd: Adhere to IVINFO[PAsize] for output address limits Ankit Soni
  0 siblings, 2 replies; 3+ messages in thread
From: Ankit Soni @ 2026-10-19 13:08 UTC (permalink / raw)
  To: iommu
  Cc: vasant.hegde, suravee.suthikulpanit, joro, will, robin.murphy,
	linux-kernel

The AMD IOMMU driver hardcodes a 52-bit output address size when it
creates paging domains. This series honors the PAsize reported in ACPI
IVRS IVinfo instead, so maps cannot exceed what firmware or a VM
advertises. Patch 1 moves page-table setup into init_pgtable_params()
after the IVHD walk, with no functional change intended. Patch 2 uses that
helper for PAsize and applies it to paging domains.

Ankit Soni (2):
  iommu/amd: Move page-table setup into init_pgtable_params()
  iommu/amd: Adhere to IVINFO[PAsize] for output address limits

 drivers/iommu/amd/amd_iommu.h       |  1 +
 drivers/iommu/amd/amd_iommu_types.h |  1 +
 drivers/iommu/amd/init.c            | 95 ++++++++++++++++-------------
 drivers/iommu/amd/iommu.c           |  4 +-
 4 files changed, 58 insertions(+), 43 deletions(-)


base-commit: 90201351a862182bdabfc1ad1c97b1e1b6ed5931
-- 
2.43.0


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

end of thread, other threads:[~2026-10-19 13:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-19 13:08 [PATCH 0/2] iommu/amd: Honor IVINFO[PAsize] for paging domains Ankit Soni
2026-10-19 13:08 ` [PATCH 1/2] iommu/amd: Move page-table setup into init_pgtable_params() Ankit Soni
2026-10-19 13:08 ` [PATCH 2/2] iommu/amd: Adhere to IVINFO[PAsize] for output address limits Ankit Soni

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.