aer_remove(9)
π aer_remove(9) β the Kernel API Manual glow-up β¨
ok so bestie, welcome to aer_remove from the Kernel API Manual β this is the little cleanup queen of the PCI Express world, and honestly she ate π
β¨ NAME β¨
aer_remove β clean up resources π§Ήπ«Ά
like, literally just tidy up and go home, no cap.
πΈ SYNOPSIS πΈ
void aer_remove (struct pcie_device *dev );
π ARGUMENTS π
devβ pointer to thepcie_devdata structure π¦ (yes bestie, that's the whole vibe of this argument, she's just a pointer and she knows it)
π DESCRIPTION π
so here's the tea β β aer_remove gets invoked when the PCI Express bus unloads, or when the AER probe fails π. that's it, that's the whole job. she shows up, cleans up resources, and dips β¨ periodt.
highkey important: this is the cleanup function. she's not out here doing main character work, she's the responsible bestie who makes sure nothing's left lying around when the bus leaves the group chat π§
π SEE ALSO π
girl, there are SO many siblings in this family, it's giving whole extended family at Thanksgiving π«Ά check the kernel file ./drivers/pci/pcie/aer.c and also:
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_probe(9)aer_root_reset(9)pcie_aer_init(9)
and that's the page babes π β brought to you from ./drivers/pci/pcie, dated October 2026. slay, go clean up your resources, iykyk π₯π
π¦ 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