[Skiboot] [PATCH 2/3] xive: remove POWER9N DD1 NVT table size workaround

Nicholas Piggin npiggin at gmail.com
Wed Jan 16 14:58:41 AEDT 2019


Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
---
 hw/xive.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/hw/xive.c b/hw/xive.c
index dd5d12eed..05e5531cb 100644
--- a/hw/xive.c
+++ b/hw/xive.c
@@ -1520,11 +1520,7 @@ static bool xive_set_vsd(struct xive *x, uint32_t tbl, uint32_t idx, uint64_t v)
 		  SETFIELD(VST_TABLE_OFFSET, 0ull, idx));
 	if (x->last_reg_error)
 		return false;
-	/* Hack to workaround DD1 issue with NVT in VC in DD1 */
-	if (tbl == VST_TSEL_VPDT)
-		xive_regw(x, VC_VSD_TABLE_DATA, v | VSD_TSIZE);
-	else
-		xive_regw(x, VC_VSD_TABLE_DATA, v);
+	xive_regw(x, VC_VSD_TABLE_DATA, v);
 	if (x->last_reg_error)
 		return false;
 
-- 
2.18.0



More information about the Skiboot mailing list