hw/cxl: Support Back Invalidation
cover hw/cxl: Support Back Invalidation
Hello,
The following allows support for component basic back invalidation discovery and config, by exposing the BI routing table and decoder registers. Instead of going the type2[1] route, this series proposes adding support for type3 hdm-db, which allows a more direct way of supporting BI in qemu.
Caveats/RFC: Just as in Ira's series, there is the question about the whole topology allowing BI, not just the endpoint device. That series left the rest of topology (dsp, rp) non-BI capable, for which any kernel counterpart testing would fail when using type2, but at the same time is also consistent with flit 68B when not using a type2 device.
This series blindly enables BI capabilities for ports even when no type3 hdm-db is being used. While it is handy, it is inconsistent with the driver seeing 68B and the BI registers in such cases. I've been going back and forth with possible workarounds, but don't really have a good answer, and this will ultimately affect not only BI but all goodies that come with 256B flit. Any suggestions welcome.
Patch 1: is lifted from Ira's series with some small (but non-trivial) changes. Patch 2: adds BI decoder/rt register support.
Testing wise, this has passed relevant kernel side BI register IO flows and setup.
Applies against branch 'origin/cxl-2025-07-03' from the jic23 repository.
Thanks!
[1] https://lore.kernel.org/linux-cxl/[email protected]/
Davidlohr Bueso (1):
hw/cxl: Support Type3 HDM-DB
Ira Weiny (1):
hw/cxl: Refactor component register initialization
hw/cxl/cxl-component-utils.c | 206 ++++++++++++++++++++++++--------- hw/mem/cxl_type3.c | 5 +- include/hw/cxl/cxl_component.h | 87 +++++++++++--- include/hw/cxl/cxl_device.h | 3 + 4 files changed, 232 insertions(+), 69 deletions(-)
--
2.39.5
PATCH 1/2 hw/cxl: Refactor component register initialization
From: Ira Weiny <[email protected]>
CXL 3.2 8.2.4 Table 8-22 defines which capabilities are mandatory, not permitted, or optional for each type of device.
cxl_component_register_init_common() uses a rather odd 'fall through' mechanism to define each component register set. This assumes that any device or capability being added builds on the previous devices capabilities. This is not true as there are mutually exclusive capabilities defined. For example, downstream ports can not have snoop but it can have Back Invalidate capable decoders.
Refactor this code to make it easier to add individual capabilities as defined by a device type. Any capability which is not specified by the type is left NULL'ed out which complies with the packed nature of the register array.
Update all spec references to 3.2.
No functional changes should be seen with this patch.
--- hw/cxl/cxl-component-utils.c | 75 +++++++++++----------------------- include/hw/cxl/cxl_component.h | 33 ++++++++++----- 2 files changed, 46 insertions(+), 62 deletions(-)
hw/cxl/cxl-component-utils.c +24 -51
@@ -289,32 +289,6 @@ void cxl_component_register_init_common(uint32_t *reg_state, {int caps =0 ; -/* -* In CXL 2.0 the capabilities required for each CXL component are such -* that, with the ordering chosen here, a single number can be used to -* define which capabilities should be provided. -*/ -switch (type) { -case CXL2_DOWNSTREAM_PORT : -case CXL2_DEVICE : -/* RAS, Link */ - caps =2 ; -break ; -case CXL2_UPSTREAM_PORT : -case CXL2_TYPE3_DEVICE : -case CXL2_LOGICAL_DEVICE : -/* + HDM */ - caps =3 ; -break ; -case CXL2_ROOT_PORT : -case CXL2_RC : -/* + Extended Security, + Snoop */ - caps =5 ; -break ; -default : -abort (); - } -memset (reg_state,0 ,CXL2_COMPONENT_CM_REGION_SIZE );/* CXL Capability Header Register */
@@ -322,11 +296,12 @@ void cxl_component_register_init_common(uint32_t *reg_state,ARRAY_FIELD_DP32 (reg_state,CXL_CAPABILITY_HEADER ,VERSION ,CXL_CAPABILITY_VERSION );ARRAY_FIELD_DP32 (reg_state,CXL_CAPABILITY_HEADER ,CACHE_MEM_VERSION ,1 ); -ARRAY_FIELD_DP32 (reg_state,CXL_CAPABILITY_HEADER ,ARRAY_SIZE , caps);#define init_cap_reg (reg, id, version) \ do { \ - int which = R_CXL_##reg##_CAPABILITY_HEADER; \ + int which = CXL_##reg##_CAP_HDR_IDX; \ + if (CXL_##reg##_CAP_HDR_IDX > caps) \ + caps = CXL_##reg##_CAP_HDR_IDX; \ reg_state[which] = FIELD_DP32(reg_state[which], \ CXL_##reg##_CAPABILITY_HEADER, ID, id); \ reg_state[which] = \
@@ -337,37 +312,35 @@ void cxl_component_register_init_common(uint32_t *reg_state, CXL_##reg##_REGISTERS_OFFSET); \ } while (0) +/* CXL r3.2 8.2.4 Table 8-22 */ switch (type) { -case CXL2_DEVICE : -case CXL2_TYPE3_DEVICE : -case CXL2_LOGICAL_DEVICE :case CXL2_ROOT_PORT : +case CXL2_RC : +/* + Extended Security, + Snoop */ +init_cap_reg (EXTSEC ,6 ,1 ); +init_cap_reg (SNOOP ,8 ,1 ); +/* fallthrough */ case CXL2_UPSTREAM_PORT : +case CXL2_TYPE3_DEVICE : +case CXL2_LOGICAL_DEVICE : +/* + HDM */ +init_cap_reg (HDM ,5 ,1 ); +hdm_init_common (reg_state, write_msk, type); +/* fallthrough */ case CXL2_DOWNSTREAM_PORT : -init_cap_reg (RAS ,2 ,CXL_RAS_CAPABILITY_VERSION ); -ras_init_common (reg_state, write_msk); +case CXL2_DEVICE : +/* RAS, Link */ +if (type !=CXL2_RC ) { +init_cap_reg (RAS ,2 ,2 ); +ras_init_common (reg_state, write_msk); + } +init_cap_reg (LINK ,4 ,2 );break ;default : -break ; - } - -init_cap_reg (LINK ,4 ,CXL_LINK_CAPABILITY_VERSION ); - -if (caps <3 ) { -return ; - } - -if (type !=CXL2_ROOT_PORT ) { -init_cap_reg (HDM ,5 ,CXL_HDM_CAPABILITY_VERSION ); -hdm_init_common (reg_state, write_msk, type); - } -if (caps <5 ) { -return ; +abort (); } -init_cap_reg (EXTSEC ,6 ,CXL_EXTSEC_CAP_VERSION ); -init_cap_reg (SNOOP ,8 ,CXL_SNOOP_CAP_VERSION ); - +ARRAY_FIELD_DP32 (reg_state,CXL_CAPABILITY_HEADER ,ARRAY_SIZE , caps);#undef init_cap_reg }
include/hw/cxl/cxl_component.h +22 -11
@@ -32,10 +32,20 @@ enum reg_type { };/* -* Capability registers are defined at the top of the CXL.cache/mem region and -* are packed. For our purposes we will always define the caps in the same -* order. -* CXL r3.1 Table 8-22: CXL_CAPABILITY_ID Assignment for details. +* CXL r3.2 - 8.2.4 Table 8-22 and 8-23 +* +* Capability registers are defined at the top of the CXL.cache/mem region. +* They are defined to be packed and at variable offsets. However, NULL +* capabilities can be added to the packed array. To facilitate easier access +* within the QEMU code, define these at specified offsets. Then NULL out any +* capabilities for devices which don't (or can't) have a particular capability +* (see cxl_component_register_init_common). NULL capabilities are to be +* ignored by software. +* +* 'offsets' are based on index's which can then be used to report the array +* size in CXL Capability Header Register (index/offset 0). +* +* See CXL r3.2 Table 8-25 for an example of allowing a 'NULL' header. */ /* CXL r3.1 Section 8.2.4.1: CXL Capability Header Register */
@@ -46,16 +56,17 @@ REG32(CXL_CAPABILITY_HEADER, 0) FIELD(CXL_CAPABILITY_HEADER, CACHE_MEM_VERSION, 20, 4) FIELD(CXL_CAPABILITY_HEADER, ARRAY_SIZE, 24, 8) -#define CXLx_CAPABILITY_HEADER (type, offset) \ - REG32(CXL_##type##_CAPABILITY_HEADER, offset) \ +#define CXLx_CAPABILITY_HEADER (type, idx) \ + enum { CXL_##type##_CAP_HDR_IDX = idx }; \ + REG32(CXL_##type##_CAPABILITY_HEADER, (idx * 0x4)) \ FIELD(CXL_##type##_CAPABILITY_HEADER, ID, 0, 16) \ FIELD(CXL_##type##_CAPABILITY_HEADER, VERSION, 16, 4) \ FIELD(CXL_##type##_CAPABILITY_HEADER, PTR, 20, 12) -CXLx_CAPABILITY_HEADER(RAS, 0x4) -CXLx_CAPABILITY_HEADER(LINK, 0x8) -CXLx_CAPABILITY_HEADER(HDM, 0xc) -CXLx_CAPABILITY_HEADER(EXTSEC, 0x10) -CXLx_CAPABILITY_HEADER (SNOOP ,0x14 ) +CXLx_CAPABILITY_HEADER(RAS, 1) +CXLx_CAPABILITY_HEADER(LINK, 2) +CXLx_CAPABILITY_HEADER(HDM, 3) +CXLx_CAPABILITY_HEADER(EXTSEC, 4) +CXLx_CAPABILITY_HEADER (SNOOP ,5 )/* * Capability structures contain the actual registers that the CXL component
Signature · 1 line
2.39.5
PATCH 2/2 hw/cxl: Support Type3 HDM-DB
In reply to Davidlohr BuesoAdd basic plumbing for memory expander devices that support Back Invalidation. This introduces a 'hdm-db=on|off' parameter and exposes the relevant BI RT/Decoder component cachemem registers.
--- hw/cxl/cxl-component-utils.c | 135 +++++++++++++++++++++++++++++++-- hw/mem/cxl_type3.c | 5 +- include/hw/cxl/cxl_component.h | 54 ++++++++++++- include/hw/cxl/cxl_device.h | 3 + 4 files changed, 188 insertions(+), 9 deletions(-)
hw/cxl/cxl-component-utils.c +129 -6
@@ -71,10 +71,40 @@ static uint64_t cxl_cache_mem_read_reg(void *opaque, hwaddr offset,case 4 :if (cregs->special_ops && cregs->special_ops->read) {return cregs->special_ops->read (cxl_cstate, offset,4 ); - }else { -QEMU_BUILD_BUG_ON (sizeof (*cregs->cache_mem_registers) !=4 ); -return cregs->cache_mem_registers[offset /4 ]; } + +QEMU_BUILD_BUG_ON (sizeof (*cregs->cache_mem_registers) !=4 ); + +if (offset ==A_CXL_BI_RT_STATUS || + offset ==A_CXL_BI_DECODER_STATUS ) { +int type; +uint64_t started; + + type = (offset ==A_CXL_BI_RT_STATUS ) ? +CXL_BISTATE_RT :CXL_BISTATE_DECODER ; + started = cxl_cstate->bi_state[type].last_commit; + +if (started) { +uint32_t val, *cache_mem = cregs->cache_mem_registers; +uint64_t now; +int set; + + val = cregs->cache_mem_registers[offset /4 ]; + now =qemu_clock_get_ms (QEMU_CLOCK_VIRTUAL ); +/* arbitrary 100 ms to do the commit */ + set = !!(now >= started +100 ); + +if (offset ==A_CXL_BI_RT_STATUS ) { + val =FIELD_DP32 (val,CXL_BI_RT_STATUS ,COMMITTED , set); + }else { + val =FIELD_DP32 (val,CXL_BI_DECODER_STATUS ,COMMITTED , + set); + } +stl_le_p ((uint8_t *)cache_mem + offset, val); + } + } + +return cregs->cache_mem_registers[offset /4 ];case 8 :qemu_log_mask (LOG_UNIMP ,"CXL 8 byte cache mem registers not implemented\n" );
@@ -123,6 +153,47 @@ static void dumb_hdm_handler(CXLComponentState *cxl_cstate, hwaddr offset, } } +static void dumb_bi_handler (CXLComponentState *cxl_cstate,hwaddr offset, +uint32_t value) +{ +ComponentRegisters *cregs = &cxl_cstate->crb; +uint32_t sts, *cache_mem = cregs->cache_mem_registers; +bool to_commit = false; +int type; + +switch (offset) { +case A_CXL_BI_RT_CTRL : + to_commit =FIELD_EX32 (value,CXL_BI_RT_CTRL ,COMMIT ); +if (to_commit) { + sts =cxl_cache_mem_read_reg (cxl_cstate, +R_CXL_BI_RT_STATUS ,4 ); + sts =FIELD_DP32 (sts,CXL_BI_RT_STATUS ,COMMITTED ,0 ); +stl_le_p ((uint8_t *)cache_mem +R_CXL_BI_RT_STATUS , sts); + type =CXL_BISTATE_RT ; + } +break ; +case A_CXL_BI_DECODER_CTRL : + to_commit =FIELD_EX32 (value,CXL_BI_DECODER_CTRL ,COMMIT ); +if (to_commit) { + sts =cxl_cache_mem_read_reg (cxl_cstate, +R_CXL_BI_DECODER_STATUS ,4 ); + sts =FIELD_DP32 (sts,CXL_BI_DECODER_STATUS ,COMMITTED ,0 ); +stl_le_p ((uint8_t *)cache_mem +R_CXL_BI_DECODER_STATUS , sts); + type =CXL_BISTATE_DECODER ; + } +break ; +default : +break ; + } + +if (to_commit) { + cxl_cstate->bi_state[type].last_commit = +qemu_clock_get_ms (QEMU_CLOCK_VIRTUAL ); + } + +stl_le_p ((uint8_t *)cache_mem + offset, value); +} +static void cxl_cache_mem_write_reg (void *opaque,hwaddr offset,uint64_t value,unsigned size) {
@@ -146,6 +217,9 @@ static void cxl_cache_mem_write_reg(void *opaque, hwaddr offset, uint64_t value,if (offset >=A_CXL_HDM_DECODER_CAPABILITY && offset <=A_CXL_HDM_DECODER3_TARGET_LIST_HI ) {dumb_hdm_handler (cxl_cstate, offset, value); + }else if (offset ==A_CXL_BI_RT_CTRL || + offset ==A_CXL_BI_DECODER_CTRL ) { +dumb_bi_handler (cxl_cstate, offset, value); }else { cregs->cache_mem_registers[offset /4 ] = value; }
@@ -248,7 +322,7 @@ static void hdm_init_common(uint32_t *reg_state, uint32_t *write_msk,ARRAY_FIELD_DP32 (reg_state,CXL_HDM_DECODER_CAPABILITY ,INTERLEAVE_4K ,1 );ARRAY_FIELD_DP32 (reg_state,CXL_HDM_DECODER_CAPABILITY ,POISON_ON_ERR_CAP ,0 ); -if (type ==CXL2_TYPE3_DEVICE ) { +if (type ==CXL2_TYPE3_DEVICE || type ==CXL3_TYPE3_DEVICE ) { ARRAY_FIELD_DP32(reg_state, CXL_HDM_DECODER_CAPABILITY, 3_6_12_WAY, 1); ARRAY_FIELD_DP32(reg_state, CXL_HDM_DECODER_CAPABILITY, 16_WAY, 1); }else {
@@ -260,7 +334,8 @@ static void hdm_init_common(uint32_t *reg_state, uint32_t *write_msk, UIO_DECODER_COUNT, 0);ARRAY_FIELD_DP32 (reg_state,CXL_HDM_DECODER_CAPABILITY ,MEMDATA_NXM_CAP ,0 );ARRAY_FIELD_DP32 (reg_state,CXL_HDM_DECODER_CAPABILITY , -SUPPORTED_COHERENCY_MODEL ,0 );/* Unknown */ +SUPPORTED_COHERENCY_MODEL , + type ==CXL3_TYPE3_DEVICE ?3 :0 );/* host+dev or Unknown */ ARRAY_FIELD_DP32 (reg_state,CXL_HDM_DECODER_GLOBAL_CONTROL ,HDM_DECODER_ENABLE ,0 ); write_msk[R_CXL_HDM_DECODER_GLOBAL_CONTROL ] =0x3 ;
@@ -271,7 +346,7 @@ static void hdm_init_common(uint32_t *reg_state, uint32_t *write_msk, write_msk[R_CXL_HDM_DECODER0_SIZE_HI + i * hdm_inc] =0xffffffff ; write_msk[R_CXL_HDM_DECODER0_CTRL + i * hdm_inc] =0x13ff ;if (type ==CXL2_DEVICE || - type ==CXL2_TYPE3_DEVICE || + type ==CXL2_TYPE3_DEVICE || type ==CXL3_TYPE3_DEVICE || type ==CXL2_LOGICAL_DEVICE ) { write_msk[R_CXL_HDM_DECODER0_TARGET_LIST_LO + i * hdm_inc] =0xf0000000 ;
@@ -283,6 +358,37 @@ static void hdm_init_common(uint32_t *reg_state, uint32_t *write_msk, } } +static void bi_rt_init_common (uint32_t *reg_state,uint32_t *write_msk) +{ +/* switch usp must commit the new BI-ID, timeout of 2secs */ +ARRAY_FIELD_DP32 (reg_state,CXL_BI_RT_CAPABILITY ,EXPLICIT_COMMIT ,1 ); + +ARRAY_FIELD_DP32 (reg_state,CXL_BI_RT_CTRL ,COMMIT ,0 ); + write_msk[R_CXL_BI_RT_CTRL ] =0xffffffff ; + +ARRAY_FIELD_DP32 (reg_state,CXL_BI_RT_STATUS ,COMMITTED ,0 ); +ARRAY_FIELD_DP32 (reg_state,CXL_BI_RT_STATUS ,ERR_NOT_COMMITTED ,0 ); +ARRAY_FIELD_DP32 (reg_state,CXL_BI_RT_STATUS ,COMMIT_TMO_SCALE ,0x6 ); +ARRAY_FIELD_DP32 (reg_state,CXL_BI_RT_STATUS ,COMMIT_TMO_BASE ,0x2 ); +} + +static void bi_decoder_init_common (uint32_t *reg_state,uint32_t *write_msk) +{ +ARRAY_FIELD_DP32 (reg_state,CXL_BI_DECODER_CAPABILITY ,HDM_D ,0 ); +/* switch dsp must commit the new BI-ID, timeout of 2secs */ +ARRAY_FIELD_DP32 (reg_state,CXL_BI_DECODER_CAPABILITY ,EXPLICIT_COMMIT ,1 ); + +ARRAY_FIELD_DP32 (reg_state,CXL_BI_DECODER_CTRL ,BI_FW ,0 ); +ARRAY_FIELD_DP32 (reg_state,CXL_BI_DECODER_CTRL ,BI_ENABLE ,0 ); +ARRAY_FIELD_DP32 (reg_state,CXL_BI_DECODER_CTRL ,COMMIT ,0 ); + write_msk[R_CXL_BI_DECODER_CTRL ] =0xffffffff ; + +ARRAY_FIELD_DP32 (reg_state,CXL_BI_DECODER_STATUS ,COMMITTED ,0 ); +ARRAY_FIELD_DP32 (reg_state,CXL_BI_DECODER_STATUS ,ERR_NOT_COMMITTED ,0 ); +ARRAY_FIELD_DP32 (reg_state,CXL_BI_DECODER_STATUS ,COMMIT_TMO_SCALE ,0x6 ); +ARRAY_FIELD_DP32 (reg_state,CXL_BI_DECODER_STATUS ,COMMIT_TMO_BASE ,0x2 ); +} +void cxl_component_register_init_common (uint32_t *reg_state,uint32_t *write_msk,enum reg_type type)
@@ -323,6 +429,7 @@ void cxl_component_register_init_common(uint32_t *reg_state,case CXL2_UPSTREAM_PORT :case CXL2_TYPE3_DEVICE :case CXL2_LOGICAL_DEVICE : +case CXL3_TYPE3_DEVICE :/* + HDM */ init_cap_reg (HDM ,5 ,1 );hdm_init_common (reg_state, write_msk, type);
@@ -340,6 +447,22 @@ void cxl_component_register_init_common(uint32_t *reg_state,abort (); } +/* back invalidate */ +switch (type) { +case CXL2_UPSTREAM_PORT : +init_cap_reg (BI_RT ,11 ,CXL_BI_RT_CAP_VERSION ); +bi_rt_init_common (reg_state, write_msk); +break ; +case CXL2_ROOT_PORT : +case CXL2_DOWNSTREAM_PORT : +case CXL3_TYPE3_DEVICE : +init_cap_reg (BI_DECODER ,12 ,CXL_BI_DECODER_CAP_VERSION ); +bi_decoder_init_common (reg_state, write_msk); +break ; +default : +break ; + } +ARRAY_FIELD_DP32 (reg_state,CXL_CAPABILITY_HEADER ,ARRAY_SIZE , caps);#undef init_cap_reg }
hw/mem/cxl_type3.c +4 -1
@@ -1501,8 +1501,10 @@ void ct3d_reset(DeviceState *dev)uint32_t *reg_state = ct3d->cxl_cstate.crb.cache_mem_registers;uint32_t *write_msk = ct3d->cxl_cstate.crb.cache_mem_regs_write_mask; +pcie_cap_fill_link_ep_usp (PCI_DEVICE (dev), ct3d->width, ct3d->speed); -cxl_component_register_init_common (reg_state, write_msk,CXL2_TYPE3_DEVICE ); +cxl_component_register_init_common (reg_state, write_msk, + ct3d->hdmdb ?CXL3_TYPE3_DEVICE :CXL2_TYPE3_DEVICE );cxl_device_register_init_t3 (ct3d,CXL_T3_MSIX_MBOX );/*
@@ -1541,6 +1543,7 @@ static const Property ct3_props[] = {DEFINE_PROP_PCIE_LINK_WIDTH ("x-width" , CXLType3Dev, width,PCIE_LINK_WIDTH_16 ),DEFINE_PROP_UINT16 ("chmu-port" , CXLType3Dev, cxl_dstate.chmu[0 ].port,0 ), + DEFINE_PROP_BOOL("hdm-db", CXLType3Dev, hdmdb, 0), };static uint64_t get_lsa_size (CXLType3Dev *ct3d)
include/hw/cxl/cxl_component.h +52 -2
80 lines not on this page · raw message
include/hw/cxl/cxl_device.h +3 -0
@@ -840,6 +840,9 @@ struct CXLType3Dev {CXLMemSparingReadAttrs rank_sparing_attrs;CXLMemSparingWriteAttrs rank_sparing_wr_attrs; +/* BI flows */ +bool hdmdb; +struct dynamic_capacity {HostMemoryBackend *host_dc;AddressSpace host_dc_as;
Signature · 1 line
2.39.5
Quoted 13 lines · On Tue, 29 Jul 2025 09:54:39 -0700 Davidlohr Bueso <[email protected]> wrote:
Hello,
The following allows support for component basic back invalidation discovery and config, by exposing the BI routing table and decoder registers. Instead of going the type2[1] route, this series proposes adding support for type3 hdm-db, which allows a more direct way of supporting BI in qemu.
Caveats/RFC: Just as in Ira's series, there is the question about the whole topology allowing BI, not just the endpoint device. That series left the rest of topology (dsp, rp) non-BI capable, for which any kernel counterpart testing would fail when using type2, but at the same time is also consistent with flit 68B when not using a type2 device.
Quoted 5 lines
This series blindly enables BI capabilities for ports even when no type3 hdm-db is being used. While it is handy, it is inconsistent with the driver seeing 68B and the BI registers in such cases. I've been going back and forth with possible workarounds, but don't really have a good answer, and this will ultimately affect not only BI but all goodies that come with 256B flit. Any suggestions welcome.
Hi Davidlohr,
We probably need to make this work like link width. That would push the control to the downstream port side and effectively 'trains' the link (really simple negotiation of capabilities). I don't think we care about more capable device plugged into a less capable upstream port, so a simple property for the type 3 device (and switch USP) should do the job. If we want to do the optimized flits we'll need a little more.
So in short, make RP and downstream port always BI and 256bit flit capable, but 'fake' the training so if they are plugged into a EP or switch USP they report whatever that was configured for.
So alongside your hdm-db property in patch 2, have a 256bit-flit property. Both of those have to apply for type 3 and the switch USP.
Then we sanity check the combination works (i.e. hdm-db only if 256 bit flit)
I think we need this fine grained control because we want to poke the corners where only parts of the tree are BI capable.
So, precursor patch to enable 256bit flit mode then this stuff on top.
Jonathan
Quoted 28 lines
Patch 1: is lifted from Ira's series with some small (but non-trivial) changes. Patch 2: adds BI decoder/rt register support.
Testing wise, this has passed relevant kernel side BI register IO flows and setup.
Applies against branch 'origin/cxl-2025-07-03' from the jic23 repository.
Thanks!
[1] https://lore.kernel.org/linux-cxl/[email protected]/
Davidlohr Bueso (1):
hw/cxl: Support Type3 HDM-DBIra Weiny (1):
hw/cxl: Refactor component register initializationhw/cxl/cxl-component-utils.c | 206 ++++++++++++++++++++++++--------- hw/mem/cxl_type3.c | 5 +- include/hw/cxl/cxl_component.h | 87 +++++++++++--- include/hw/cxl/cxl_device.h | 3 + 4 files changed, 232 insertions(+), 69 deletions(-)--
2.39.5