On Sun, Nov 09, 2025 at 06:11:18PM -0800, Alison Schofield wrote: > cxl-translate.sh performs 2 types of testing of the CXL Driver's > address translation capabilities: > > 1. Parameterized test vectors: > The cxl-translate.sh unit test feeds trusted data sets to a kernel > test module: cxl_translate. That module accesses the CXL region > driver's address translation functions. The trusted samples are either > from the CXL Driver Writers Guide[1] or from another verified source > ie a spreadsheet reviewed by CXL developers. > > 2. Internal validation testing: > The unit test also kicks off internal tests of the cxl_translate > module that validate parameters and exercise address translation > with randomly generated valid parameters. > > [1] > https://www.intel.com/content/www/us/en/content-details/643805/cxl-memory-device-sw-guide.html > > Signed-off-by: Alison Schofield <[email protected]> > Tested-by: Dave Jiang <[email protected]> > [ marc: reviewed scripting only, not the test logic ] > Reviewed-by: Marc Herbert <[email protected]> >
Applied to: https://github.com/pmem/ndctl/commits/pending
