run_translation_test(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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_MATH or XOR_MATH). pick your math vibe πŸ”₯
  • expect_hpa β€” -- undescribed -- oop 😭 the source literally leaves this one undescribed, so that's all we got, bestie.

🌸 RETURN 🌸

  • 0 on success, -1 on 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