summaryrefslogtreecommitdiff
path: root/tools/intel_error_decode.c
diff options
context:
space:
mode:
authorMika Kuoppala <mika.kuoppala@intel.com>2015-03-23 11:35:14 +0200
committerMika Kuoppala <mika.kuoppala@intel.com>2015-03-26 10:00:06 +0200
commit0a2ef9c3490eda9b5e28c936bbe7655ff7a05bd7 (patch)
tree22ee7dabeb349016f26756587cf77b2270605856 /tools/intel_error_decode.c
parent1cfcca66ec79feb9dbfcad7b7849eddaf026d2cf (diff)
tools/intel_error_decode: Add ERROR decodings for gen8
Add ERROR decodings for gen8 Reviewed-by: Michel Thierry <michel.thierry@intel.com> Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Diffstat (limited to 'tools/intel_error_decode.c')
-rw-r--r--tools/intel_error_decode.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/intel_error_decode.c b/tools/intel_error_decode.c
index 035b17f1..fb4a2a4b 100644
--- a/tools/intel_error_decode.c
+++ b/tools/intel_error_decode.c
@@ -288,10 +288,29 @@ static void print_snb_error(unsigned int reg)
printf(" Cacheline containing a PD was marked as invalid\n");
}
+static void print_bdw_error(unsigned int reg, unsigned int devid)
+{
+ print_ivb_error(reg, devid);
+
+ if (reg & (1 << 10))
+ printf(" Non WB memory type for Advanced Context\n");
+ if (reg & (1 << 11))
+ printf(" PASID not enabled\n");
+ if (reg & (1 << 12))
+ printf(" PASID boundary violation\n");
+ if (reg & (1 << 13))
+ printf(" PASID not valid\n");
+ if (reg & (1 << 14))
+ printf(" PASID was zero for untranslated request\n");
+ if (reg & (1 << 15))
+ printf(" Context was not marked as present when doing DMA\n");
+}
+
static void
print_error(unsigned int reg, unsigned int devid)
{
switch (intel_gen(devid)) {
+ case 8: return print_bdw_error(reg, devid);
case 7: return print_ivb_error(reg, devid);
case 6: return print_snb_error(reg);
}