eeh_token_to_phys(9)
β¨ eeh_token_to_phys(9) β¨
okay so real talk, we're deep in the Kernel API Manual rn and this page is genuinely a little one β like, one function, one job, one vibe. it is eeh_token_to_phys and she is here to do exactly what her name says π
πΈ NAME πΈ
eeh_token_to_phys β convert EEH address token to phys address
like. that's it. that's the whole arc. and honestly? iconic π
π¦ SYNOPSIS π¦
unsigned long eeh_token_to_phys (unsigned long token );
yes bestie, that trailing space before the ) is real, it's in the original, do not come for me π copy it exactly if you're copying it.
π ARGUMENTS π
tokenβ the I/O token, and per the manpage it should be an address in the form0xA....β so like, it's giving hex, it's giving0xAprefix, that's the shape you're handing over π«Ά
β DESCRIPTION β
so the whole point: this routine should be called to convert a virtual I/O address to a physical one. that's the assignment. that's the function. no cap, no extra steps, no secret side quests listed here π
bestie note: the manpage says should be called and says the token should be in the 0xA.... form β that's the documented expectation, so don't be out here improvising arguments and then acting surprised, okay? π
π₯ SEE ALSO π₯
okay this is the part where the page absolutely ate β the description is tiny but the SEE ALSO list is a whole friend group π
kernel file: ./arch/powerpc/kernel/eeh.c
and then, in order, the whole squad:
eeh_slot_error_detail(9)eeh_dev_check_failure(9)eeh_check_failure(9)eeh_pci_enable(9)pcibios_set_pcie_reset_state(9)eeh_set_dev_freset(9)eeh_pe_reset_full(9)eeh_save_bars(9)eeh_init(9)eeh_probe_device(9)eeh_remove_device(9)eeh_dev_open(9)eeh_dev_release(9)eeh_iommu_group_to_pe(9)eeh_pe_set_option(9)eeh_pe_get_state(9)eeh_pe_reset(9)eeh_pe_configure(9)eeh_pe_inject_err(9)
twenty of them. not nineteen. not twenty-one. twenty. i counted, because that's the kind of bestie i am π§
and that's the page!! short, sweet, extremely to the point, main character energy in like four lines of prose π
sign-off time π β this one lives under ./arch/powerpc/kernel, dated October 2026, and it's filed as eeh_token_to_phys(9). go convert some addresses, bestie, you're gonna slay β¨π
π¦ 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