early_root_info_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to early_root_info_init(9) from the Kernel API Manual ✨ this is a tiny kernel page and we're gonna read every detail together, no cap.

🌸 NAME 🌸

early_root_info_init β€” that's the function name, and the original NAME line has no extra description after the dash. It's giving mysterious minimal icon behavior πŸ’…

✨ SYNOPSIS ✨

int early_root_info_init (void );

Yep, that's the whole signature. int return type, and void right there in the parens. Iconic.

πŸŽ€ ARGUMENTS πŸŽ€

  • void β€” no arguments. Zero args, no stress, just vibes 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this one is called before pcibios_scan_root and pci_scan_bus β€” literally before both of them, bestie, that's the timeline.

It fills the mp_bus_to_cpumask array based according to the LDT Bus Number Registers found in the northbridge. That's the technical tea β˜• and ngl we are not inventing extra lore here.

πŸ’œ SEE ALSO πŸ’œ

  • Kernel file ./arch/x86/pci/amd_bus.c β€” go look there for the source-adjacent stuff πŸ‘€

cute sign-off time πŸŽ€ this page's source/version line is ./arch/x86/pci, and the date on it is October 2026. mwah πŸ’‹ stay early, stay root, stay info-init'd πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from