pbus_size_io(9)
pbus_size_io(9) π
okay so bestie, we're in the Kernel API Manual and this is pbus_size_io(9) β the function that sizes the I/O window of a given bus. π«Ά
πΈ NAME πΈ
pbus_size_io β Size the I/O window of a given bus. β¨
β¨ SYNOPSIS β¨
void pbus_size_io (struct pci_bus *bus , resource_size_t add_size ,
struct list_head *realloc_head );
π ARGUMENTS π
busβ the bus. πadd_sizeβ additional I/O window. βrealloc_headβ track the additional I/O window on this list. π
π¦ DESCRIPTION π¦
okay so sizing the I/O windows of the PCI-PCI bridge is literally trivial, because those windows have 1K or 4K granularity, and the I/O ranges of non-bridge PCI devices are limited to 256 bytes. π
β οΈ but we absolutely must be careful with the ISA aliasing though β that's the one that can sneak up on you. π
π SEE ALSO π
Kernel file ./drivers/pci/setup-bus.c is right there, and you also gotta peek at these:
pci_dev_res_add_to_list(9)pbus_select_window_for_type(9)pbus_select_window(9)reassign_resources_sorted(9)assign_requested_resources_sorted(9)pbus_size_mem(9)
xoxo bestie π β signed from source/version ./drivers/pci, dated October 2026, and this whole page is literally pbus_size_io(9). periodt. π
π¦ 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