]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
intel-iommu: Flush unmaps at domain_exit
authorJitendra Bhivare <jitendra.bhivare@gmail.com>
Fri, 6 Sep 2013 17:47:51 +0000 (23:17 +0530)
committerWilly Tarreau <w@1wt.eu>
Mon, 19 May 2014 05:53:13 +0000 (07:53 +0200)
commit92e440881b51eebcb2ffaca0742cfc874d7cc891
tree34812e68d1e9463483a6b7403bbc7f4dbe87d1a5
parent030edd6218d2752c65bf2055e1caeb2a17e6485a
intel-iommu: Flush unmaps at domain_exit

Backported Alex Williamson's commit to 2.6.32.y
http://git.kernel.org/linus/7b668357810ecb5fdda4418689d50f5d95aea6a8

It resolves the following assert when module is immediately reloaded.

kernel BUG at drivers/pci/iova.c:155!
<snip>
Call Trace:
[<ffffffff812645c5>] intel_alloc_iova+0xb5/0xe0
[<ffffffff8126725e>] __intel_map_single+0xbe/0x210
[<ffffffff812674ae>] intel_alloc_coherent+0xae/0x120
[<ffffffffa035f909>] be_queue_alloc+0xb9/0x140 [be2net]
[<ffffffffa035fa5a>] be_rx_qs_create+0xca/0x370 [be2net]
<snip>

The issue is reproducible in 2.6.32.60 and also gets resolved
by passing intel-iommu=strict to kernel.

Signed-off-by: Jitendra Bhivare <jitendra.bhivare@gmail.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/pci/intel-iommu.c