tools/testing/cxl: require 64-bit
authorLuis Chamberlain <mcgrof@kernel.org>
Mon, 19 Dec 2022 19:50:50 +0000 (11:50 -0800)
committerDan Williams <dan.j.williams@intel.com>
Wed, 25 Jan 2023 21:04:39 +0000 (13:04 -0800)
commitf45d63c1218636f77b9c3c53318c56ecd27dc8ec
treef940429b5281b44a53d4a3144054a21b3ba1928d
parent852db33c6c180a48268eca52e25b267ed32de3ab
tools/testing/cxl: require 64-bit

size_t is limited to 32-bits and so the gen_pool_alloc() using
the size of SZ_64G would map to 0, triggering a low allocation
which is not expected. Force the dependency on 64-bit for cxl_test
as that is what it was designed for.

This issue was found by build test reports when converting this
driver as a proper upstream driver.

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/20221219195050.325959-1-mcgrof@kernel.org
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
tools/testing/cxl/config_check.c