public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iommu: dmar -- remove warning for HPET scope type
@ 2013-04-23 18:26 Linn Crosetto
  2013-04-24  9:31 ` [tip:x86/mm] x86/iommu/dmar: Remove " tip-bot for Linn Crosetto
  2013-04-24 17:54 ` [PATCH] iommu: dmar -- remove " Joerg Roedel
  0 siblings, 2 replies; 3+ messages in thread
From: Linn Crosetto @ 2013-04-23 18:26 UTC (permalink / raw)
  To: joro, mingo, ddutile, suresh.b.siddha; +Cc: linux-kernel, Linn Crosetto

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 <linn@hp.com>
---
 drivers/iommu/dmar.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/iommu/dmar.c b/drivers/iommu/dmar.c
index e5cdaf8..b8008f6 100644
--- 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;
-- 
1.7.11.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-04-24 17:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-23 18:26 [PATCH] iommu: dmar -- remove warning for HPET scope type Linn Crosetto
2013-04-24  9:31 ` [tip:x86/mm] x86/iommu/dmar: Remove " tip-bot for Linn Crosetto
2013-04-24 17:54 ` [PATCH] iommu: dmar -- remove " Joerg Roedel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox