aer_root_reset(9)
π aer_root_reset(9) π
okay so bestie, welcome to the Kernel API Manual, section 9 β yes we're in kernel-functions land, pull up a chair π¦ this one's short but she's important.
β¨ NAME β¨
aer_root_reset β reset the Root Port hierarchy, an RCEC, or an RCiEP πΈ
Like, she resets things. Hierarchy things. Root Port things. RCEC things. RCiEP things. It's giving "clean slate era" β¨
π«Ά SYNOPSIS π«Ά
pci_ers_result_t aer_root_reset (struct pci_dev *dev );
that's it. that's the whole signature. pci_ers_result_t goes in, and pci_ers_result_t comes out β she returns a pci_ers_result_t and takes exactly one arg, no cap π
π ARGUMENTS π
devβ a pointer to a Root Port, RCEC, or RCiEP. that's the whole list, bestie, don't try to hand her anything else π
π DESCRIPTION π
So basically π β this function gets invoked by the Port Bus driver when performing reset. That's the entire vibe. Port Bus driver says "we're doing a reset," and aer_root_reset is the one who shows up. main character energy fr fr π₯
She resets the Root Port hierarchy, the RCEC, or the RCiEP β whichever one that dev pointer is pointing at. and yes, "reset" here means reset, not "politely ask to restart" π
π¦ SEE ALSO π¦
Kernel file ./drivers/pci/pcie/aer.c β go read the source, iykyk π and also all of these icons:
enable_ecrc_checking(9)disable_ecrc_checking(9)pcie_set_ecrc_checking(9)pcie_ecrc_get_policy(9)pci_aer_raw_clear_status(9)add_error_device(9)is_error_source(9)find_source_device(9)pci_aer_unmask_internal_errors(9)pci_aer_handle_error(9)aer_get_device_error_info(9)aer_isr_one_error_type(9)aer_isr_one_error(9)aer_isr(9)aer_irq(9)aer_enable_rootport(9)aer_disable_rootport(9)aer_remove(9)aer_probe(9)pcie_aer_init(9)
literally the whole AER friend group π go say hi.
no warnings, no bugs, no exit-status drama on this page β she's a short queen and she knows it π
and that's the page, bestie β¨π«Ά this cutie lives in ./drivers/pci/pcie and ships with the Kernel API Manual β datestamped October 2026 because we stay current πΈ mwah, go reset something responsibly ππ
π¦ 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