eeh_pci_enable(9)
π eeh_pci_enable β a Kernel API Manual moment π
okay so bestie, welcome to the eeh_pci_enable(9) page β it lives in the Kernel API Manual and it's genuinely one of those little functions that saves your whole entire day when things go frozen. pull up a chair π
β¨ NAME β¨
eeh_pci_enable β literally just: enable MMIO or DMA transfers for this slot. that's the whole vibe. π
π¦ SYNOPSIS π¦
int eeh_pci_enable (struct eeh_pe *pe , int function );
like, it takes two things and hands you back an int. no cap.
πΈ ARGUMENTS πΈ
peβ the EEH PE. that's your main character right there πfunctionβ the EEH option. this is the lewk you're asking for.
π DESCRIPTION π
okay so here's the tea: this routine should be called to reenable frozen MMIO or DMA so that it would work correctly again. like, unfreeze it, bestie, let it breathe π§
it's useful while doing recovery or log collection on the indicated device β so when you're picking up the pieces or gathering the receipts (logs, the receipts ARE logs), this is the function you want. periodt. π₯
π SEE ALSO π
the kernel file is ./arch/powerpc/kernel/eeh.c and honestly the whole friend group is here, go say hi:
eeh_slot_error_detail(9)eeh_token_to_phys(9)eeh_dev_check_failure(9)eeh_check_failure(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)
π reminder babe: this page is from./arch/powerpc/kernel, dated October 2026, and it's filed undereeh_pci_enable(9). screenshot it, cite it, slay it. π«Ά
hope that helped bestie, mwah πβ¨ππ¦πΈπ
π¦ 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