mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
hw/cxl: spelling fixes: limitaions, potentialy, intialized
Fixes:388d6b574e
"hw/cxl: Use switch statements for read and write of cachemem registers" Fixes:3314efd276
"hw/cxl/mbox: Add Physical Switch Identify command." Fixes:004e3a93b8
"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>
This commit is contained in:
parent
2cf91b9ae6
commit
487152fa1f
3 changed files with 4 additions and 4 deletions
|
@ -81,7 +81,7 @@ static uint64_t cxl_cache_mem_read_reg(void *opaque, hwaddr offset,
|
||||||
return 0;
|
return 0;
|
||||||
default:
|
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.
|
* routine is not called with other sizes.
|
||||||
*/
|
*/
|
||||||
g_assert_not_reached();
|
g_assert_not_reached();
|
||||||
|
@ -152,7 +152,7 @@ static void cxl_cache_mem_write_reg(void *opaque, hwaddr offset, uint64_t value,
|
||||||
return;
|
return;
|
||||||
default:
|
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.
|
* routine is not called with other sizes.
|
||||||
*/
|
*/
|
||||||
g_assert_not_reached();
|
g_assert_not_reached();
|
||||||
|
|
|
@ -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 *)payload_out;
|
||||||
*out = (struct cxl_fmapi_ident_switch_dev_resp_pl) {
|
*out = (struct cxl_fmapi_ident_switch_dev_resp_pl) {
|
||||||
.num_physical_ports = num_phys_ports + 1, /* 1 USP */
|
.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,
|
.active_vcs_bitmask[0] = 0x1,
|
||||||
.total_vppbs = num_phys_ports + 1,
|
.total_vppbs = num_phys_ports + 1,
|
||||||
.bound_vppbs = num_phys_ports + 1,
|
.bound_vppbs = num_phys_ports + 1,
|
||||||
|
|
|
@ -403,7 +403,7 @@ struct CXLType3Dev {
|
||||||
CXLComponentState cxl_cstate;
|
CXLComponentState cxl_cstate;
|
||||||
CXLDeviceState cxl_dstate;
|
CXLDeviceState cxl_dstate;
|
||||||
CXLCCI cci; /* Primary PCI mailbox CCI */
|
CXLCCI cci; /* Primary PCI mailbox CCI */
|
||||||
/* Always intialized as no way to know if a VDM might show up */
|
/* Always initialized as no way to know if a VDM might show up */
|
||||||
CXLCCI vdm_fm_owned_ld_mctp_cci;
|
CXLCCI vdm_fm_owned_ld_mctp_cci;
|
||||||
CXLCCI ld0_cci;
|
CXLCCI ld0_cci;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue