x86/iommu/intel: Increase the number of iommus supported to MAX_IO_APICS
authorMike Travis <travis@sgi.com>
Mon, 5 Mar 2012 23:05:16 +0000 (15:05 -0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 6 Mar 2012 08:00:02 +0000 (09:00 +0100)
commit1b198bb04ad72669d4bd6575fc9945ed595bfee0
tree648ccc3d5520b23f1ef919251e824828e15a3090
parenteae460b6590bb924d4e528d6cc7ccd4d993ff8dd
x86/iommu/intel: Increase the number of iommus supported to MAX_IO_APICS

The number of IOMMUs supported should be the same as the number
of IO APICS.  This limit comes into play when the IOMMUs are
identity mapped, thus the number of possible IOMMUs in the
"static identity" (si) domain should be this same number.

Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Jack Steiner <steiner@sgi.com>
Cc: Jack Steiner <steiner@sgi.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Chris Wright <chrisw@sous-sol.org>
Cc: Daniel Rahn <drahn@suse.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Joerg Roedel <joerg.roedel@amd.com>
[ Fixed printk format string, cleaned up the code ]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/n/tip-ixcmp0hfp0a3b2lfv3uo0p0x@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/iommu/intel-iommu.c