Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205212
b: refs/heads/master
c: 6c54aab
h: refs/heads/master
v: v3
  • Loading branch information
Kulikov Vasiliy authored and Joerg Roedel committed Jul 19, 2010
1 parent 9111201 commit 7414be4
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 323f99cbc35c52a65dea9d072b3ecf1e662240d2
refs/heads/master: 6c54aabd5e687092557f4881ce2d4013b971f293
3 changes: 1 addition & 2 deletions trunk/arch/x86/kernel/amd_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -2609,8 +2609,7 @@ int __init amd_iommu_init_passthrough(void)

pt_domain->mode |= PAGE_MODE_NONE;

while ((dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) {

for_each_pci_dev(dev) {
if (!check_device(&dev->dev))
continue;

Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/pci/intel-iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -3698,8 +3698,6 @@ static int intel_iommu_domain_has_cap(struct iommu_domain *domain,

if (cap == IOMMU_CAP_CACHE_COHERENCY)
return dmar_domain->iommu_snooping;
if (cap == IOMMU_CAP_INTR_REMAP)
return intr_remapping_enabled;

return 0;
}
Expand Down
1 change: 0 additions & 1 deletion trunk/include/linux/iommu.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ struct iommu_domain {
};

#define IOMMU_CAP_CACHE_COHERENCY 0x1
#define IOMMU_CAP_INTR_REMAP 0x2 /* isolates device intrs */

struct iommu_ops {
int (*domain_init)(struct iommu_domain *domain);
Expand Down

0 comments on commit 7414be4

Please sign in to comment.