[Skiboot] [PATCH 1/3] errorlog : Fixes duplicate use of SRC component ID's

Mukesh Ojha mukesh02 at linux.vnet.ibm.com
Tue Jun 21 19:43:53 AEST 2016


Same SRC component id was used for two components. This patch fixes it and allocate
them unused component id's.

Signed-off-by: Mukesh Ojha <mukesh02 at linux.vnet.ibm.com>

---
 include/errorlog.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/errorlog.h b/include/errorlog.h
index b8fca7d..153f3f2 100644
--- a/include/errorlog.h
+++ b/include/errorlog.h
@@ -195,7 +195,7 @@ struct opal_err_info {
 
 /* SAPPHIRE SRC componenet ID*/
 #define OPAL_CU				0x1000
-#define OPAL_CN				0x2000
+#define OPAL_SE				0x2000
 #define OPAL_CE				0x3000
 #define OPAL_CH				0x4000
 #define OPAL_EL				0x5000
@@ -209,7 +209,6 @@ struct opal_err_info {
 #define OPAL_OP				0xd000
 #define OPAL_PH				0xe000
 #define OPAL_PS				0xf000
-#define OPAL_VP				0x1000
 #define OPAL_XS				0x1100
 #define OPAL_PC				0x1200
 #define OPAL_MI				0x1300
@@ -219,7 +218,8 @@ struct opal_err_info {
 #define OPAL_MF				0x1700
 #define OPAL_DU				0x1800
 #define OPAL_LE				0x1900
-#define OPAL_SE				0x2000
+#define OPAL_CN				0x1a00
+#define OPAL_VP				0x1b00
 #define OPAL_SL				0x2100
 #define OPAL_FP				0x2200
 #define OPAL_IC				0x2300
-- 
2.7.4



More information about the Skiboot mailing list