[Skiboot] [PATCH] mambo: Don't probe ECID for DD1.0X on Mambo

Stewart Smith stewart at linux.vnet.ibm.com
Fri Feb 3 12:23:34 AEDT 2017


SCOM doesn't exist, we end up in a sad place (machine check)

Fixes: c9cadb4fe60d4d41fc45a35a1d2ae27e0632c679
Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
---
 hw/xscom.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/hw/xscom.c b/hw/xscom.c
index cca3d7d..d7b8627 100644
--- a/hw/xscom.c
+++ b/hw/xscom.c
@@ -604,7 +604,9 @@ static void xscom_init_chip_info(struct proc_chip *chip)
 	 * On P9 DD1.0, grab the ECID bits to differenciate
 	 * DD1.01, 1.02 etc...
 	 */
-	if (proc_gen == proc_gen_p9 && chip->ec_level == 0x10) {
+	if (chip_quirk(QUIRK_MAMBO_CALLOUTS)) {
+		chip->ec_rev = 0;
+	} else if (proc_gen == proc_gen_p9 && chip->ec_level == 0x10) {
 		uint64_t ecid2 = 0;
 		uint8_t rev;
 		xscom_read(chip->id, 0x18002, &ecid2);
-- 
2.9.3



More information about the Skiboot mailing list