projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26bfc54
)
x86/iommu/dmar: Remove warning for HPET scope type
author
Linn Crosetto
<
[email protected]
>
Tue, 23 Apr 2013 18:26:45 +0000
(12:26 -0600)
committer
Ingo Molnar
<
[email protected]
>
Wed, 24 Apr 2013 06:45:47 +0000
(08:45 +0200)
ACPI_DMAR_SCOPE_TYPE_HPET is parsed by
ir_parse_ioapic_hpet_scope() and should not be flagged as an
unsupported type.
Signed-off-by: Linn Crosetto <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Ingo Molnar <
[email protected]
>
drivers/iommu/dmar.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/dmar.c
b/drivers/iommu/dmar.c
index e5cdaf87822c3a5e53b07feedb47c33ffc5d2d09..b8008f679bc72074b4156b85dc65ecce74824d44 100644
(file)
--- a/
drivers/iommu/dmar.c
+++ b/
drivers/iommu/dmar.c
@@
-129,7
+129,8
@@
int __init dmar_parse_dev_scope(void *start, void *end, int *cnt,
if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_ENDPOINT ||
scope->entry_type == ACPI_DMAR_SCOPE_TYPE_BRIDGE)
(*cnt)++;
- else if (scope->entry_type != ACPI_DMAR_SCOPE_TYPE_IOAPIC) {
+ else if (scope->entry_type != ACPI_DMAR_SCOPE_TYPE_IOAPIC &&
+ scope->entry_type != ACPI_DMAR_SCOPE_TYPE_HPET) {
pr_warn("Unsupported device scope\n");
}
start += scope->length;