diff options
author | Joerg Roedel <[email protected]> | 2015-01-07 15:31:36 +0800 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2015-01-15 11:24:23 +0100 |
commit | 69cf1d8a1286a7bfbeec497b69c43cc7ebb2a787 (patch) | |
tree | 8d8062607fc72a455e7e789c5ec3e41ae80cf7ff /lib/mpi/mpiutil.c | |
parent | 2966d9566beb39c53477c96525820b9415de7a7d (diff) |
iommu/vt-d: Allocate IRQ remapping data structures only for all IOMMUs
IRQ remapping is only supported when all IOMMUs in the
system support it. So check if all IOMMUs in the system
support IRQ remapping before doing the allocations.
[Jiang]
1) Rebased to v3.19.
2) Remove redundant check of ecap_ir_support(iommu->ecap) in function
intel_enable_irq_remapping().
Signed-off-by: Joerg Roedel <[email protected]>
Signed-off-by: Jiang Liu <[email protected]>
Tested-by: Joerg Roedel <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: [email protected]
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Yinghai Lu <[email protected]>
Cc: Borislav Petkov <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions