aboutsummaryrefslogtreecommitdiff
path: root/hw/cxl
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2023-11-14 19:06:48 +0300
committerMichael Tokarev <mjt@tls.msk.ru>2023-11-15 11:09:17 +0300
commit487152fa1fdb2ad25a15986d13a5dd43ae9e219f (patch)
tree9b352a49c09a747281ec4cade5bbc8a8b0160634 /hw/cxl
parent2cf91b9ae6df17ac99dd212016e2d204cc2f6a74 (diff)
downloadqemu-487152fa1fdb2ad25a15986d13a5dd43ae9e219f.zip
qemu-487152fa1fdb2ad25a15986d13a5dd43ae9e219f.tar.gz
qemu-487152fa1fdb2ad25a15986d13a5dd43ae9e219f.tar.bz2
hw/cxl: spelling fixes: limitaions, potentialy, intialized
Fixes: 388d6b574e28 "hw/cxl: Use switch statements for read and write of cachemem registers" Fixes: 3314efd276ad "hw/cxl/mbox: Add Physical Switch Identify command." Fixes: 004e3a93b814 "hw/cxl: Add tunneled command support to mailbox for switch cci." Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/cxl')
-rw-r--r--hw/cxl/cxl-component-utils.c4
-rw-r--r--hw/cxl/cxl-mailbox-utils.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/hw/cxl/cxl-component-utils.c b/hw/cxl/cxl-component-utils.c
index d0245cc..29d4774 100644
--- a/hw/cxl/cxl-component-utils.c
+++ b/hw/cxl/cxl-component-utils.c
@@ -81,7 +81,7 @@ static uint64_t cxl_cache_mem_read_reg(void *opaque, hwaddr offset,
return 0;
default:
/*
- * In line with specifiction limitaions on access sizes, this
+ * In line with specification limitaions on access sizes, this
* routine is not called with other sizes.
*/
g_assert_not_reached();
@@ -152,7 +152,7 @@ static void cxl_cache_mem_write_reg(void *opaque, hwaddr offset, uint64_t value,
return;
default:
/*
- * In line with specifiction limitaions on access sizes, this
+ * In line with specification limitaions on access sizes, this
* routine is not called with other sizes.
*/
g_assert_not_reached();
diff --git a/hw/cxl/cxl-mailbox-utils.c b/hw/cxl/cxl-mailbox-utils.c
index b365575..6eff56f 100644
--- a/hw/cxl/cxl-mailbox-utils.c
+++ b/hw/cxl/cxl-mailbox-utils.c
@@ -431,7 +431,7 @@ static CXLRetCode cmd_identify_switch_device(const struct cxl_cmd *cmd,
out = (struct cxl_fmapi_ident_switch_dev_resp_pl *)payload_out;
*out = (struct cxl_fmapi_ident_switch_dev_resp_pl) {
.num_physical_ports = num_phys_ports + 1, /* 1 USP */
- .num_vcss = 1, /* Not yet support multiple VCS - potentialy tricky */
+ .num_vcss = 1, /* Not yet support multiple VCS - potentially tricky */
.active_vcs_bitmask[0] = 0x1,
.total_vppbs = num_phys_ports + 1,
.bound_vppbs = num_phys_ports + 1,