ENUM PCI_EPC_BAR_RSVD_REGION_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum pci_epc_bar_rsvd_region_type(9) ✨

okay so bestie, welcome to the manual page for enum pci_epc_bar_rsvd_region_type(9) β€” yes that's a whole mouthful, it's giving "kernel dev named their kid after a struct" energy, but stay with me because it's actually so cute and simple πŸŽ€


🌸 NAME 🌸

enum pci_epc_bar_rsvd_region_type β€” literally just the type of a fixed subregion behind a BAR. that's it. that's the whole vibe. πŸ’…


✨ SYNOPSIS ✨

here's the whole enum, copy-paste ready, no cap:

enum pci_epc_bar_rsvd_region_type {
    PCI_EPC_BAR_RSVD_DMA_CTRL_MMIO ,
    PCI_EPC_BAR_RSVD_MSIX_TBL_RAM ,
    PCI_EPC_BAR_RSVD_MSIX_PBA_RAM

};

like look at her. three little constants. main character energy tbh πŸ‘‘


πŸ¦‹ Constants πŸ¦‹

every member, decoded for you, no gatekeeping:

  • PCI_EPC_BAR_RSVD_DMA_CTRL_MMIO β€” the integrated DMA controller MMIO window πŸ’–
  • PCI_EPC_BAR_RSVD_MSIX_TBL_RAM β€” the MSI-X table structure ✨
  • PCI_EPC_BAR_RSVD_MSIX_PBA_RAM β€” the MSI-X PBA structure 🌸

πŸ’€ Description πŸ’€

okay this is the part where it gets real, so listen up 🫢

BARs marked BAR_RESERVED are owned by the SoC/EPC hardware and must not be reprogrammed by EPF drivers. like, hands off, not yours, do not touch πŸ”₯ that's the hardware's BAR, she said what she said.

but plot twist β€” some of them still expose fixed subregions that EPFs may want to reference (e.g. embedded doorbell fallback). so they're reserved, but there's a little window of usefulness there, iykyk πŸ’œ

fr fr do not go reprogramming BAR_RESERVED BARs, bestie. that is not the vibe check you want to fail 😭

🌈 SEE ALSO 🌈

go read these next, they're all icons:

  • Kernel file ./include/linux/pci-epc.h
  • struct pci_epc_map(9)
  • enum pci_epc_aux_resource_type(9)
  • struct pci_epc_aux_resource(9)
  • struct pci_epc_ops(9)
  • struct pci_epc_mem_window(9)
  • struct pci_epc_mem(9)
  • struct pci_epc(9)
  • enum pci_epc_bar_type(9)
  • struct pci_epc_bar_rsvd_region(9)
  • struct pci_epc_bar_desc(9)
  • struct pci_epc_features(9)

and that's the page!! πŸŽ€ this icon lives in ./include/linux, the whole thing is from the Kernel API Manual, dated October 2026, and yes the source/version line is that lil duo β€” go off, October 2026, slay 🫢✨ ngl this doc ate and left no crumbs πŸ’…πŸ’–

πŸ“¦ where this page comes from