diff mbox series

xive: Fix typos in comments

Message ID 1595285852-29711-1-git-send-email-gromero@linux.ibm.com
State Accepted
Headers show
Series xive: Fix typos in comments | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success Successfully applied on branch master (abe4c4799ffee4be12674ad59fc0bc521b0724f3)
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot success Test snowpatch/job/snowpatch-skiboot on branch master
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot-dco success Signed-off-by present

Commit Message

Gustavo Romero July 20, 2020, 10:57 p.m. UTC
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@linux.ibm.com>
---
 hw/xive.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Cédric Le Goater July 21, 2020, 7:48 a.m. UTC | #1
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@linux.ibm.com>

Reviewed-by: Cédric Le Goater <clg@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;
>
diff mbox series

Patch

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;