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

Cédric Le Goater clg at fr.ibm.com
Wed Jan 16 17:32:49 AEDT 2019


On 1/16/19 4:58 AM, Nicholas Piggin wrote:
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>


Reviewed-by: Cédric Le Goater <clg at kaod.org>

Thanks,

C.

> ---
>  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;
> 



More information about the Skiboot mailing list