The 'enabled' state is reserved for committed decoders. By default,
cxl_test decoders are uncommitted at init time.

Fixes: 7c7d68db0254 ("tools/testing/cxl: Enumerate mock decoders")
Signed-off-by: Dan Williams <[email protected]>
---
 tools/testing/cxl/test/cxl.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/testing/cxl/test/cxl.c b/tools/testing/cxl/test/cxl.c
index c396f20a57dd..51d517fa62ee 100644
--- a/tools/testing/cxl/test/cxl.c
+++ b/tools/testing/cxl/test/cxl.c
@@ -479,7 +479,6 @@ static int mock_cxl_enumerate_decoders(struct cxl_hdm 
*cxlhdm)
                        .end = -1,
                };
 
-               cxld->flags = CXL_DECODER_F_ENABLE;
                cxld->interleave_ways = min_not_zero(target_count, 1);
                cxld->interleave_granularity = SZ_4K;
                cxld->target_type = CXL_DECODER_EXPANDER;


Reply via email to