projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1531a6a
)
x86, intr-remapping: fix free_irte() to clear all the IRTE entries
author
Suresh Siddha
<suresh.b.siddha@intel.com>
Tue, 17 Mar 2009 00:04:58 +0000
(17:04 -0700)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Tue, 17 Mar 2009 22:42:00 +0000
(15:42 -0700)
Impact: fix interrupt table entry leak
Fix the typo which was not clearing all the interrupt remapping table
entries corresponding to an irq.
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
drivers/pci/intr_remapping.c
patch
|
blob
|
history
diff --git
a/drivers/pci/intr_remapping.c
b/drivers/pci/intr_remapping.c
index
a84686b
..
f7ecd85
100644
(file)
--- a/
drivers/pci/intr_remapping.c
+++ b/
drivers/pci/intr_remapping.c
@@
-386,7
+386,7
@@
int free_irte(int irq)
if (!irq_iommu->sub_handle) {
for (i = 0; i < (1 << irq_iommu->irte_mask); i++)
- set_64bit((unsigned long *)
irte
, 0);
+ set_64bit((unsigned long *)
(irte + i)
, 0);
rc = qi_flush_iec(iommu, index, irq_iommu->irte_mask);
}