Skip to content

Commit

Permalink
xive: remove POWER9N DD1 NVT table size workaround
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
npiggin authored and stewartsmith committed Jan 25, 2019
1 parent 3500a60 commit 3b4ae3a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions hw/xive.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 3b4ae3a

Please sign in to comment.