linux/drivers/iommu/intel
Lu Baolu a886d5a7e6 iommu/vt-d: Report real pgsize bitmap to iommu core
The pgsize bitmap is used to advertise the page sizes our hardware supports
to the IOMMU core, which will then use this information to split physically
contiguous memory regions it is mapping into page sizes that we support.

Traditionally the IOMMU core just handed us the mappings directly, after
making sure the size is an order of a 4KiB page and that the mapping has
natural alignment. To retain this behavior, we currently advertise that we
support all page sizes that are an order of 4KiB.

We are about to utilize the new IOMMU map/unmap_pages APIs. We could change
this to advertise the real page sizes we support.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20210720020615.4144323-2-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2021-07-26 13:56:25 +02:00
..
cap_audit.c iommu/vt-d: Move capability check code to cap_audit files 2021-02-04 14:42:00 +01:00
cap_audit.h iommu/vt-d: Move capability check code to cap_audit files 2021-02-04 14:42:00 +01:00
debugfs.c iommu/vt-d: Expose latency monitor data through debugfs 2021-06-10 09:06:13 +02:00
dmar.c iommu/vt-d: Add cache invalidation latency sampling 2021-06-10 09:06:13 +02:00
iommu.c iommu/vt-d: Report real pgsize bitmap to iommu core 2021-07-26 13:56:25 +02:00
irq_remapping.c pci-v5.13-changes 2021-05-05 13:24:11 -07:00
Kconfig iommu/vt-d: Expose latency monitor data through debugfs 2021-06-10 09:06:13 +02:00
Makefile iommu/vt-d: Add common code for dmar latency performance monitors 2021-06-10 09:06:13 +02:00
pasid.c iommu/vt-d: Fix kernel-doc syntax in file header 2021-06-10 09:06:12 +02:00
pasid.h iommu/vt-d: Report right snoop capability when using FL for IOVA 2021-04-07 10:41:30 +02:00
perf.c iommu/vt-d: Fix linker error on 32-bit 2021-06-10 10:33:14 +02:00
perf.h iommu/vt-d: Add common code for dmar latency performance monitors 2021-06-10 09:06:13 +02:00
svm.c iommu/vt-d: Fix out-bounds-warning in intel/svm.c 2021-06-10 09:06:13 +02:00
trace.c