aboutsummaryrefslogtreecommitdiff
path: root/include/platform.h
diff options
context:
space:
mode:
authorVipin K Parashar <vipin@linux.vnet.ibm.com>2016-08-07 00:38:00 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-08-25 14:58:39 +1000
commit51b9eeb66ebbd1706248d8f2277afa9b7dcdbc3b (patch)
treecb33e49500b1499cbcb6af23b871c4fdf73c082c /include/platform.h
parenta0a22b9883741b53c85fcea08a94bbdac892a9a3 (diff)
downloadskiboot-51b9eeb66ebbd1706248d8f2277afa9b7dcdbc3b.zip
skiboot-51b9eeb66ebbd1706248d8f2277afa9b7dcdbc3b.tar.gz
skiboot-51b9eeb66ebbd1706248d8f2277afa9b7dcdbc3b.tar.bz2
lpc: Log LPC SYNC errors as unrecoverable ones for manufacturing
High volume of SYNC errors onto LPC bus cause degraded system performance and are likely due to bad hardware present onto system. Thus once LPC SYNC errors cross a certain threshold, OPAL should log them onto BMC as unrecoverable errors in manufacturing mode. This will help manufacturing screen bad parts, causing such errors. Cc: stable Signed-off-by: Vipin K Parashar <vipin@linux.vnet.ibm.com> [stewart@linux.vnet.ibm.com: s/mfg/manufacturing/] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/platform.h')
-rw-r--r--include/platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h
index 062a941..334c0a4 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -175,6 +175,8 @@ extern struct platform __platforms_end;
extern struct platform platform;
+extern bool manufacturing_mode;
+
#define DECLARE_PLATFORM(name)\
static const struct platform __used __section(".platforms") name ##_platform