[Skiboot] [PATCH] xive: Fix typos in comments

Cédric Le Goater clg at kaod.org
Tue Jul 21 17:48:59 AEST 2020


On 7/21/20 12:57 AM, Gustavo Romero wrote:
> Fix a typo in comment about Presentation Controller Base Address Register
> and another typo about code to configure the queue overflows.
> 
> Signed-off-by: Gustavo Romero <gromero at linux.ibm.com>

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


> ---
>  hw/xive.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/hw/xive.c b/hw/xive.c
> index 8d6095c..2e0b198 100644
> --- a/hw/xive.c
> +++ b/hw/xive.c
> @@ -82,7 +82,7 @@
>   * Similarily, for MMIO access, the BARs support what is called "set
>   * translation" which allows the BAR to be divided into a certain
>   * number of sets. The VC BAR (ESBs, ENDs, ...) supports 64 sets and
> - * the PC BAT supports 16. Each "set" can be routed to a specific
> + * the PC BAR supports 16. Each "set" can be routed to a specific
>   * block and offset within a block.
>   *
>   * For now, we will not use much of that functionality. We will use a
> @@ -1398,7 +1398,7 @@ static bool xive_set_local_tables(struct xive *x)
>  			  VSD_INDIRECT | SETFIELD(VSD_TSIZE, 0ull, 4)))
>  		return false;
>  
> -	/* Setup quue overflows */
> +	/* Setup queue overflows */
>  	for (i = 0; i < VC_QUEUE_OVF_COUNT; i++) {
>  		u64 addr = ((uint64_t)x->q_ovf) + i * PAGE_SIZE;
>  		u64 cfg, sreg, sregx;
> 



More information about the Skiboot mailing list