]> git.ipfire.org Git - people/arne_f/kernel.git/commit
fix SBA IOMMU to handle allocation failure properly
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Tue, 17 Nov 2009 22:44:35 +0000 (14:44 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 13 Aug 2010 20:20:15 +0000 (13:20 -0700)
commit588809a6ee34603235a0101e41f116e998e0ea9e
treec72c496b6596a32b68680e5f781b94ec73de312f
parentf40bf5f2fcef9e3123faf09cb33a5b0066e55b2d
fix SBA IOMMU to handle allocation failure properly

commit e2a465675dc089e9a56ba2fa2a5fbd9bd8844d18 upstream.

It's possible that SBA IOMMU might fail to find I/O space under heavy
I/Os.  SBA IOMMU panics on allocation failure but it shouldn't; drivers
can handle the failure.  The majority of other IOMMU drivers don't panic
on allocation failure.

This patch fixes SBA IOMMU path to handle allocation failure properly.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Acked-by: Leonardo Chiquitto <lchiquitto@novell.com>
Acked-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/ia64/hp/common/sba_iommu.c