]> git.ipfire.org Git - thirdparty/qemu.git/commit
spapr_pci: Warn when RAM page size is not enabled in IOMMU page mask
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Tue, 28 Mar 2017 08:13:49 +0000 (19:13 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 26 Apr 2017 02:00:41 +0000 (12:00 +1000)
commita01f3432dd005fc3f216fe3e2b88dc986f0474a9
tree20d5f5f25d731747ba694f5bc9ce39eadb2a6dc6
parent3dc410ae83e6cb76c81ea30a05d62596092b3165
spapr_pci: Warn when RAM page size is not enabled in IOMMU page mask

If a page size used by QEMU is not enabled in the PHB IOMMU page mask,
in-kernel acceleration of TCE handling won't be enabled and performance
might be slower than expected.

This prints a warning if system page size is not enabled. This should
print a warning if huge pages are enabled but sphb.pgsz still uses
the default value of 4K|64K.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_pci.c