[Skiboot] [PATCH] opal-api: Drop diagnostics data type symbol for PHB5

Frederic Barrat fbarrat at linux.ibm.com
Mon Oct 25 23:42:12 AEDT 2021


All PHB5 error registers read when getting the PHB diagnostics data
have the exact same definitions as on PHB4, so we don't need any new
type. OPAL_PHB_ERROR_DATA_TYPE_PHB5 is not used in skiboot. It's
never been imported on linux, so it is safe to remove the symbol.

Signed-off-by: Frederic Barrat <fbarrat at linux.ibm.com>
---
 include/opal-api.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/opal-api.h b/include/opal-api.h
index 348fda8c..80c8aa21 100644
--- a/include/opal-api.h
+++ b/include/opal-api.h
@@ -800,7 +800,6 @@ enum {
 enum {
 	OPAL_PHB_ERROR_DATA_TYPE_PHB3 = 2,
 	OPAL_PHB_ERROR_DATA_TYPE_PHB4 = 3,
-	OPAL_PHB_ERROR_DATA_TYPE_PHB5 = 3 /* TODO change this */
 };
 
 enum {
-- 
2.31.1



More information about the Skiboot mailing list