]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[IA64] 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)
committerTony Luck <tony.luck@intel.com>
Tue, 15 Dec 2009 00:38:43 +0000 (16:38 -0800)
commite2a465675dc089e9a56ba2fa2a5fbd9bd8844d18
treeaeeb04a79d8b3fef52ca900bd0fcc7bdab26e51c
parent9ee27c76393394c7fb1ddeca3f1622d4537185a0
[IA64] fix SBA IOMMU to handle allocation failure properly

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>
arch/ia64/hp/common/sba_iommu.c