diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-11-07 13:21:11 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-11-07 13:21:11 -0500 |
commit | 0faf996f4dd02a361158a705afcc31284d732276 (patch) | |
tree | 9d0907fced6600cdd0d9cef78f532838220157f7 /drivers/iommu | |
parent | ee360d688c8e37f81c92039f76bebaddbe36befe (diff) | |
parent | 45c9f78b25ad9ce6cdf259ac4b652e6783adcb23 (diff) |
Merge branch 'acpica'
* acpica: (35 commits)
ACPICA: Add __init for ACPICA initializers/finalizers.
ACPICA: Cleanup asmlinkage for ACPICA APIs.
ACPICA: Update acpidump related header file changes.
ACPICA: Update compilation environment settings.
ACPICA: Fix cached object deletion code.
ACPICA: Remove dead AOPOBJ_INVALID check.
ACPICA: Cleanup useless memset invocations.
ACPICA: Fix an ACPI_ALLOCATE_ZEROED() reversal.
ACPICA: Fix wrong object length returned by acpi_ut_get_simple_object_size().
ACPICA: Add new statistics interface.
ACPICA: Update DMAR table definitions.
ACPICA: Update RSDP table definitions.
ACPICA: Update namespace dump code.
ACPICA: Update check for setting the ANOBJ_IS_EXTERNAL flag.
ACPICA: Update default space handlers.
ACPICA: Update version to 20130927.
ACPICA: Update aclinux.h for new OSL override mechanism.
ACPICA: Add support to allow host OS to redefine individual OSL prototypes.
ACPICA: Simplify configuration of global ACPI_REDUCED_HARDWARE macro.
ACPICA: Fix indentation issues for macro invocations.
...
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | drivers/iommu/dmar.c | 4 | ||||
-rw-r--r-- | drivers/iommu/intel_irq_remapping.c | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/iommu/dmar.c b/drivers/iommu/dmar.c index 785675a56a10..900946950230 100644 --- a/drivers/iommu/dmar.c +++ b/drivers/iommu/dmar.c | |||
@@ -88,7 +88,7 @@ static int __init dmar_parse_one_dev_scope(struct acpi_dmar_device_scope *scope, | |||
88 | pr_warn("Device scope bus [%d] not found\n", scope->bus); | 88 | pr_warn("Device scope bus [%d] not found\n", scope->bus); |
89 | break; | 89 | break; |
90 | } | 90 | } |
91 | pdev = pci_get_slot(bus, PCI_DEVFN(path->dev, path->fn)); | 91 | pdev = pci_get_slot(bus, PCI_DEVFN(path->device, path->function)); |
92 | if (!pdev) { | 92 | if (!pdev) { |
93 | /* warning will be printed below */ | 93 | /* warning will be printed below */ |
94 | break; | 94 | break; |
@@ -99,7 +99,7 @@ static int __init dmar_parse_one_dev_scope(struct acpi_dmar_device_scope *scope, | |||
99 | } | 99 | } |
100 | if (!pdev) { | 100 | if (!pdev) { |
101 | pr_warn("Device scope device [%04x:%02x:%02x.%02x] not found\n", | 101 | pr_warn("Device scope device [%04x:%02x:%02x.%02x] not found\n", |
102 | segment, scope->bus, path->dev, path->fn); | 102 | segment, scope->bus, path->device, path->function); |
103 | *dev = NULL; | 103 | *dev = NULL; |
104 | return 0; | 104 | return 0; |
105 | } | 105 | } |
diff --git a/drivers/iommu/intel_irq_remapping.c b/drivers/iommu/intel_irq_remapping.c index f71673dbb23d..ab86902fd9ff 100644 --- a/drivers/iommu/intel_irq_remapping.c +++ b/drivers/iommu/intel_irq_remapping.c | |||
@@ -686,12 +686,12 @@ static void ir_parse_one_hpet_scope(struct acpi_dmar_device_scope *scope, | |||
686 | * Access PCI directly due to the PCI | 686 | * Access PCI directly due to the PCI |
687 | * subsystem isn't initialized yet. | 687 | * subsystem isn't initialized yet. |
688 | */ | 688 | */ |
689 | bus = read_pci_config_byte(bus, path->dev, path->fn, | 689 | bus = read_pci_config_byte(bus, path->device, path->function, |
690 | PCI_SECONDARY_BUS); | 690 | PCI_SECONDARY_BUS); |
691 | path++; | 691 | path++; |
692 | } | 692 | } |
693 | ir_hpet[ir_hpet_num].bus = bus; | 693 | ir_hpet[ir_hpet_num].bus = bus; |
694 | ir_hpet[ir_hpet_num].devfn = PCI_DEVFN(path->dev, path->fn); | 694 | ir_hpet[ir_hpet_num].devfn = PCI_DEVFN(path->device, path->function); |
695 | ir_hpet[ir_hpet_num].iommu = iommu; | 695 | ir_hpet[ir_hpet_num].iommu = iommu; |
696 | ir_hpet[ir_hpet_num].id = scope->enumeration_id; | 696 | ir_hpet[ir_hpet_num].id = scope->enumeration_id; |
697 | ir_hpet_num++; | 697 | ir_hpet_num++; |
@@ -714,13 +714,13 @@ static void ir_parse_one_ioapic_scope(struct acpi_dmar_device_scope *scope, | |||
714 | * Access PCI directly due to the PCI | 714 | * Access PCI directly due to the PCI |
715 | * subsystem isn't initialized yet. | 715 | * subsystem isn't initialized yet. |
716 | */ | 716 | */ |
717 | bus = read_pci_config_byte(bus, path->dev, path->fn, | 717 | bus = read_pci_config_byte(bus, path->device, path->function, |
718 | PCI_SECONDARY_BUS); | 718 | PCI_SECONDARY_BUS); |
719 | path++; | 719 | path++; |
720 | } | 720 | } |
721 | 721 | ||
722 | ir_ioapic[ir_ioapic_num].bus = bus; | 722 | ir_ioapic[ir_ioapic_num].bus = bus; |
723 | ir_ioapic[ir_ioapic_num].devfn = PCI_DEVFN(path->dev, path->fn); | 723 | ir_ioapic[ir_ioapic_num].devfn = PCI_DEVFN(path->device, path->function); |
724 | ir_ioapic[ir_ioapic_num].iommu = iommu; | 724 | ir_ioapic[ir_ioapic_num].iommu = iommu; |
725 | ir_ioapic[ir_ioapic_num].id = scope->enumeration_id; | 725 | ir_ioapic[ir_ioapic_num].id = scope->enumeration_id; |
726 | ir_ioapic_num++; | 726 | ir_ioapic_num++; |