[Skiboot] [PATCH 20/61] prd: Add base P10 support

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Mon Jul 19 23:19:31 AEST 2021


From: Oliver O'Halloran <oohall at gmail.com>

Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
 hw/prd.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/hw/prd.c b/hw/prd.c
index 761d0a42b..45d765457 100644
--- a/hw/prd.c
+++ b/hw/prd.c
@@ -740,6 +740,11 @@ void prd_init(void)
 		prd_ipoll_status_reg = PRD_P9_IPOLL_REG_STATUS;
 		prd_ipoll_mask = PRD_P9_IPOLL_MASK;
 		break;
+	case proc_gen_p10: /* IPOLL regs are the same for p9 and p10 */
+		prd_ipoll_mask_reg = PRD_P9_IPOLL_REG_MASK;
+		prd_ipoll_status_reg = PRD_P9_IPOLL_REG_STATUS;
+		prd_ipoll_mask = PRD_P9_IPOLL_MASK;
+		break;
 	default:
 		assert(0);
 	}
-- 
2.31.1



More information about the Skiboot mailing list