* [PATCH] intel-iommu: Make "Unknown DMAR structure" message more informative
@ 2009-09-24 0:01 Roland Dreier
0 siblings, 0 replies; only message in thread
From: Roland Dreier @ 2009-09-24 0:01 UTC (permalink / raw)
To: Jesse Barnes, David Woodhouse; +Cc: linux-kernel
We might as well print the type of the DMAR structure we don't know how
to handle when skipping it. Then someone getting this message has a
chance of telling whether the structure is just bogus, or if there
really is something valid that the kernel doesn't know how to handle.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
---
drivers/pci/dmar.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c
index 14bbaa1..d199bca 100644
--- a/drivers/pci/dmar.c
+++ b/drivers/pci/dmar.c
@@ -461,7 +461,8 @@ parse_dmar_table(void)
break;
default:
printk(KERN_WARNING PREFIX
- "Unknown DMAR structure type\n");
+ "Unknown DMAR structure type %d\n",
+ entry_header->type);
ret = 0; /* for forward compatibility */
break;
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-09-24 0:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-24 0:01 [PATCH] intel-iommu: Make "Unknown DMAR structure" message more informative Roland Dreier
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.