aboutsummaryrefslogtreecommitdiff
path: root/hw/xive.c
diff options
context:
space:
mode:
authorGustavo Romero <gromero@linux.ibm.com>2020-07-20 18:57:32 -0400
committerOliver O'Halloran <oohall@gmail.com>2020-08-07 16:00:20 +1000
commitea62e75605f6d6446f03c1b9522c9dff46abe2e3 (patch)
treedf97b890469eb30fa10b3754000b6771a82bacc8 /hw/xive.c
parent15f56c8ddc150819e532becf026419c2d5e0bc66 (diff)
downloadskiboot-ea62e75605f6d6446f03c1b9522c9dff46abe2e3.zip
skiboot-ea62e75605f6d6446f03c1b9522c9dff46abe2e3.tar.gz
skiboot-ea62e75605f6d6446f03c1b9522c9dff46abe2e3.tar.bz2
xive: Fix typos in comments
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> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'hw/xive.c')
-rw-r--r--hw/xive.c4
1 files 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;