Commit 92946bc72f2e74c3281b7fc12be9704d455fb3ed
Committed by
David Woodhouse
1 parent
b2be05273a
Exists in
master
and in
4 other branches
panic: Add taint flag TAINT_FIRMWARE_WORKAROUND ('I')
This taint flag will initially be used when warning about invalid ACPI DMAR tables. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Showing 3 changed files with 6 additions and 0 deletions Side-by-side Diff
Documentation/oops-tracing.txt
... | ... | @@ -260,6 +260,9 @@ |
260 | 260 | |
261 | 261 | 11: 'C' if a staging driver has been loaded. |
262 | 262 | |
263 | + 12: 'I' if the kernel is working around a severe bug in the platform | |
264 | + firmware (BIOS or similar). | |
265 | + | |
263 | 266 | The primary reason for the 'Tainted: ' string is to tell kernel |
264 | 267 | debuggers if this is a clean kernel or if anything unusual has |
265 | 268 | occurred. Tainting is permanent: even if an offending module is |
include/linux/kernel.h
kernel/panic.c
... | ... | @@ -178,6 +178,7 @@ |
178 | 178 | { TAINT_OVERRIDDEN_ACPI_TABLE, 'A', ' ' }, |
179 | 179 | { TAINT_WARN, 'W', ' ' }, |
180 | 180 | { TAINT_CRAP, 'C', ' ' }, |
181 | + { TAINT_FIRMWARE_WORKAROUND, 'I', ' ' }, | |
181 | 182 | }; |
182 | 183 | |
183 | 184 | /** |
... | ... | @@ -194,6 +195,7 @@ |
194 | 195 | * 'A' - ACPI table overridden. |
195 | 196 | * 'W' - Taint on warning. |
196 | 197 | * 'C' - modules from drivers/staging are loaded. |
198 | + * 'I' - Working around severe firmware bug. | |
197 | 199 | * |
198 | 200 | * The string is overwritten by the next call to print_tainted(). |
199 | 201 | */ |