run_translation_test(9)
π NAME π
okay so bestie, welcome to the run_translation_test(9) page from the Kernel API Manual β¨ run_translation_test β execute forward and reverse translations. That's the whole vibe: forward, reverse, translations, both directions. periodt π
β¨ SYNOPSIS β¨
int run_translation_test (u64 dpa , int pos , u8 r_eiw , u16 r_eig , u8
hb_ways , int math , u64 expect_hpa );
π ARGUMENTS π
dpaβ device physical address. address-core, no cap πposβ expected position in region interleave. the position bestie, as expected β¨r_eiwβ region encoded interleave ways. region encoded, interleave ways, iconic πr_eigβ region encoded interleave granularity. granularity era π¦hb_waysβ host bridge interleave ways. host bridge, interleave ways, main character energy πmathβ interleave arithmetic (MODULO_MATHorXOR_MATH). pick your math vibe π₯expect_hpaβ-- undescribed --oop π the source literally leaves this one undescribed, so that's all we got, bestie.
πΈ RETURN πΈ
0on success,-1on failure π. That's it: success gets a cute zero, failure gets a minus one.
π¦ SEE ALSO π¦
Kernel file ./tools/testing/cxl/test/cxl_translate.c is the main-character file to check, plus these besties: to_hpa(9), to_dpa(9), to_pos(9), parse_test_vector(9). iykyk π¦
mwah π this page's source/version is ./tools/testing/cxl/test, and the date is October 2026 β that's the footer vibe folded into this cute sign-off instead of copied. k bye bestie π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms