projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7ad1bf
)
tools/testing/cxl: Fix decoder default state
author
Dan Williams
<dan.j.williams@intel.com>
Tue, 24 May 2022 17:48:59 +0000
(10:48 -0700)
committer
Dan Williams
<dan.j.williams@intel.com>
Sun, 10 Jul 2022 17:29:26 +0000
(10:29 -0700)
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")
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link:
https://lore.kernel.org/r/165603888091.551046.6312322707378021172.stgit@dwillia2-xfh
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
tools/testing/cxl/test/cxl.c
patch
|
blob
|
history
diff --git
a/tools/testing/cxl/test/cxl.c
b/tools/testing/cxl/test/cxl.c
index 91444279f9a2f1083f4207e6c2f3ca2166d926a3..6e086fbc5c5beb5614932704d4f9f733bf193f9d 100644
(file)
--- a/
tools/testing/cxl/test/cxl.c
+++ b/
tools/testing/cxl/test/cxl.c
@@
-466,7
+466,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;