diff options
author | Dan Williams | 2023-02-10 01:06:45 -0800 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-11-28 17:07:17 +0000 |
commit | 683b6a7324c6ae689fff167c6a51cad651e17d28 (patch) | |
tree | 12bbd8ec3e59d2b5d56a416b2a0b0f6f390c820a /tools/virtio | |
parent | 8cdc6b8b816da7743bbf8d4a1252a91c74beb02f (diff) |
tools/testing/cxl: Define a fixed volatile configuration to parse
[ Upstream commit 3d8f7ccaa611a743ae3a1e6f605346993d37c513 ]
Take two endpoints attached to the first switch on the first host-bridge
in the cxl_test topology and define a pre-initialized region. This is a
x2 interleave underneath a x1 CXL Window.
$ modprobe cxl_test
$ # cxl list -Ru
{
"region":"region3",
"resource":"0xf010000000",
"size":"512.00 MiB (536.87 MB)",
"interleave_ways":2,
"interleave_granularity":4096,
"decode_state":"commit"
}
Tested-by: Fan Ni <fan.ni@samsung.com>
Reviewed-by: Vishal Verma <vishal.l.verma@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/167602000547.1924368.11613151863880268868.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Stable-dep-of: 98a04c7aced2 ("cxl/region: Fix x1 root-decoder granularity calculations")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/virtio')
0 files changed, 0 insertions, 0 deletions