xqemu/hw/i386
Jason Wang d66b969b0d intel_iommu: large page support
Current intel_iommu only supports 4K page which may not be sufficient
to cover guest working set. This patch tries to enable 2M and 1G mapping
for intel_iommu. This is also useful for future device IOTLB
implementation to have a better hit rate.

Major work is adding a page mask field on IOTLB entry to make it
support large page. And also use the slpte level as key to do IOTLB
lookup. MAMV was increased to 18 to support direct invalidation for 1G
mapping.

Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2016-02-06 20:44:10 +02:00
..
kvm x86: Clean up includes 2016-01-29 15:07:22 +00:00
xen x86: Clean up includes 2016-01-29 15:07:22 +00:00
Makefile.objs pc: acpi: remove unused ASL templates and related blobs/utils 2016-01-09 23:20:19 +02:00
acpi-build.c pc: set the OEM fields in the RSDT and the FADT from the SLIC 2016-02-06 20:44:10 +02:00
acpi-build.h pc: Remove compat fields from PcGuestInfo 2016-02-06 20:44:09 +02:00
intel_iommu.c intel_iommu: large page support 2016-02-06 20:44:10 +02:00
intel_iommu_internal.h intel_iommu: large page support 2016-02-06 20:44:10 +02:00
kvmvapic.c x86: Clean up includes 2016-01-29 15:07:22 +00:00
multiboot.c x86: Clean up includes 2016-01-29 15:07:22 +00:00
multiboot.h refer to FWCfgState explicitly 2013-06-02 18:14:02 +03:00
pc.c pc: Eliminate PcGuestInfo struct 2016-02-06 20:44:10 +02:00
pc_piix.c pc: Remove PcGuestInfo.isapc_ram_fw field 2016-02-06 20:44:09 +02:00
pc_q35.c pc: Remove PcGuestInfo.isapc_ram_fw field 2016-02-06 20:44:09 +02:00
pc_sysfw.c x86: Clean up includes 2016-01-29 15:07:22 +00:00
pci-assign-load-rom.c x86: Clean up includes 2016-01-29 15:07:22 +00:00