[Skiboot] [PATCH] phb4: Update inits so cfg_wr_timeout is Fatal

Russell Currey ruscur at russell.cc
Mon Apr 30 15:13:59 AEST 2018


The hardware documentation incorrectly had a bit missing.

This fixes a niche bug in escalation (which is necessary on
pre-DD2.2) that can cause a checkstop due to a NCU timeout.

Signed-off-by: Russell Currey <ruscur at russell.cc>
---
 hw/phb4.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/phb4.c b/hw/phb4.c
index 50e1be1c..3ee702e2 100644
--- a/hw/phb4.c
+++ b/hw/phb4.c
@@ -4463,7 +4463,7 @@ static void phb4_init_errors(struct phb4 *p)
 	out_be64(p->regs + 0x0d08,	0x0000000000000000ull);
 	out_be64(p->regs + 0x0d18,	0xffffff0fffffffffull);
 	out_be64(p->regs + 0x0d28,	0x0000400a00000000ull);
-	out_be64(p->regs + 0x0d30,	0xdff7bd01f7ddfff0ull); /* XXX CAPI has diff. value */
+	out_be64(p->regs + 0x0d30,	0xdff7bd05f7ddfff0ull); /* XXX CAPI has diff. value */
 	out_be64(p->regs + 0x0d40,	0x0000000000000000ull);
 	out_be64(p->regs + 0x0d48,	0x0000000000000000ull);
 	out_be64(p->regs + 0x0d50,	0x0000000000000000ull);
-- 
2.14.1



More information about the Skiboot mailing list