pci_aer_unma...ernal_errors(9)
π pci_aer_unmask_internal_errors(9) β a whole vibe
okay so first of all, hi bestie, welcome to the Kernel API Manual β¨ the page header technically reads pci_aer_unma...ernal_errors(9) (yes it's truncated, yes it's giving "mom texted the first 20 characters and gave up", we move on π) and the whole thing lives in the Kernel API Manual, which is exactly where you'd expect a function this iconic to be.
β¨ NAME β¨
pci_aer_unmask_internal_errors β literally just unmask internal errors. that's the whole job. she's a one-line queen π
π¦ SYNOPSIS π¦
void pci_aer_unmask_internal_errors (struct pci_dev *dev );
no return value, no drama, just vibes and a void. periodt.
π ARGUMENTS π
devβ pointer to thepci_devdata structure. that's it, that's the whole argument list. she takes one (1) pointer and she's out π«Ά
πΈ DESCRIPTION πΈ
so what she actually does: she unmasks internal errors in the Uncorrectable and Correctable Error Mask registers. both of them. Mask registers, plural, no cap π₯
think of it as taking your phone off Do Not Disturb for error notifications specifically. the errors were always happening, bestie, you just weren't being told about them π anyway the masking is now undone and the errors are free to make themselves known.
β NOTE β
huge caveat incoming, do not skip this: AER must be enabled and supported by the device, and you have to check that in advance β like, before you call her. the manpage literally suggests checking e.g. with pcie_aer_is_native. so do your vibe check first, bestie π
π SEE ALSO π
okay this section ate, it's a whole group chat. first the kernel file this page comes from:
./drivers/pci/pcie/aer.c
and then the entire friend group:
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_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)aer_root_reset(9)pcie_aer_init(9)
like genuinely every single one of them is listed, no gatekeeping π
and that's the page!! you understood the assignment, bestie π
sign-off: this one came out of ./drivers/pci/pcie, dated October 2026, and the footer still says pci_aer_unma...ernal_errors(9) because apparently even the footer is committing to the truncated bit π slay, honestly ππ¦
π¦ 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