summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/pci-gart_64.c
diff options
context:
space:
mode:
authorFUJITA Tomonori2009-04-15 11:22:41 +0200
committerIngo Molnar2009-04-15 12:22:37 +0200
commite6a1a89d572c31b62d6dcf11a371c7323852d9b2 (patch)
treebca6ff9d83ae6820c3dd4270e165705c12b66f56 /arch/x86/kernel/pci-gart_64.c
parentx86: calgary: remove IOMMU_DEBUG (diff)
downloadkernel-qcow2-linux-e6a1a89d572c31b62d6dcf11a371c7323852d9b2.tar.gz
kernel-qcow2-linux-e6a1a89d572c31b62d6dcf11a371c7323852d9b2.tar.xz
kernel-qcow2-linux-e6a1a89d572c31b62d6dcf11a371c7323852d9b2.zip
dma-debug: add dma_debug_resize_entries() to adjust the number of dma_debug_entries
We use a static value for the number of dma_debug_entries. It can be overwritten by a kernel command line option. Some IOMMUs (e.g. GART) can't set an appropriate value by a kernel command line option because they can't know such value until they finish initializing up their hardware. This patch adds dma_debug_resize_entries() enables IOMMUs to adjust the number of dma_debug_entries anytime. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Acked-by: Joerg Roedel <joerg.roedel@amd.com> Cc: fujita.tomonori@lab.ntt.co.jp Cc: akpm@linux-foundation.org LKML-Reference: <20090415182234R.fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/pci-gart_64.c')
0 files changed, 0 insertions, 0 deletions