summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2019-01-16 13:58:41 +1000
committerStewart Smith <stewart@linux.ibm.com>2019-01-25 13:55:48 -0600
commit3b4ae3a2e2a56e1166be9176445fe7fcdee1fca2 (patch)
treee920e29b405d5b8ab8dbe2d92020f0ddd933c6aa /hw
parent3500a606c6db64d6e6305d660817a5606a8583d2 (diff)
downloadblackbird-skiboot-3b4ae3a2e2a56e1166be9176445fe7fcdee1fca2.tar.gz
blackbird-skiboot-3b4ae3a2e2a56e1166be9176445fe7fcdee1fca2.zip
xive: remove POWER9N DD1 NVT table size workaround
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/xive.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/hw/xive.c b/hw/xive.c
index 515f154d..dd6df099 100644
--- a/hw/xive.c
+++ b/hw/xive.c
@@ -1521,11 +1521,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;
OpenPOWER on IntegriCloud