iommu/vt-d: Move EIM detection to intel_prepare_irq_remapping
authorJoerg Roedel <jroedel@suse.de>
Fri, 12 Jun 2015 12:15:49 +0000 (14:15 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 16 Jun 2015 08:59:35 +0000 (10:59 +0200)
commit23256d0b350014a05c1edf0f355546aa1ff2eb55
tree1228890320b1a1eb68fbcbc89f00f8d64d70e2d6
parent8939ddf6d65264cf9f014ffd7c9bff02ad9626e6
iommu/vt-d: Move EIM detection to intel_prepare_irq_remapping

We need this to be detected already when we program the irq
remapping table pointer to hardware.

Tested-by: ZhenHua Li <zhen-hual@hp.com>
Tested-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel_irq_remapping.c