pdc_pci_config_read(9)
π pdc_pci_config_read π
Okay bestie, welcome to the Kernel API Manual β yes that's the vibe, we're in the big official handbook today. This little entry is all about pdc_pci_config_read and it's honestly such a niche icon. Let's get into it π
β¨ NAME β¨
pdc_pci_config_read β read PCI config space.
Like, that's it. That's the whole job. Read the PCI config space. Slay π«Ά
πΈ SYNOPSIS πΈ
unsigned int pdc_pci_config_read (void *hpa , unsigned long cfg_addr );
Yes the spacing is a little feral (void *hpa , with the space before the comma, we don't judge, that's just how it came out of the manual) β copy it exactly if you're quoting it, iykyk π
π¦ ARGUMENTS π¦
hpaβ the token from PDC that says which PCI device we're talking about. Think of it as the device's little name tag at the party πcfg_addrβ the configuration space address you wanna read from. Point at the thing, get the thing β¨
π DESCRIPTION π
Read PCI Configuration space before linux PCI subsystem is running.
That's the whole description, and ngl the "before" is doing so much work in that sentence. The Linux PCI subsystem is not up yet, it's still in bed, hair in a towel β and you are out here reading config space anyway. Main character energy fr fr π₯
β οΈ Lowkey important: this is a pre-subsystem situation. The emphasis on before is not decoration, bestie β don't expect the normal PCI machinery to have your back here π
π SEE ALSO π
The docs also point you at the kernel file ./arch/parisc/kernel/firmware.c, plus this absolutely iconic roster of friends. Look at this list. It's giving reunion tour. Observe π
f_extend(9)convert_to_wide(9)set_firmware_width(9)pdc_emergency_unlock(9)pdc_add_valid(9)pdc_instr(9)pdc_chassis_info(9)pdc_pat_chassis_send_log(9)pdc_chassis_disp(9)__pdc_cpu_rendezvous(9)pdc_cpu_rendezvous_lock(9)pdc_cpu_rendezvous_unlock(9)pdc_pat_get_PDC_entrypoint(9)pdc_chassis_warn(9)pdc_coproc_cfg(9)pdc_iodc_read(9)pdc_system_map_find_mods(9)pdc_system_map_find_addrs(9)pdc_model_info(9)pdc_model_sysmodel(9)pdc_model_versions(9)pdc_model_cpuid(9)pdc_model_capabilities(9)pdc_model_platform_info(9)pdc_cache_info(9)pdc_spaceid_bits(9)pdc_btlb_info(9)pdc_mem_map_hpa(9)pdc_lan_station_id(9)pdc_stable_read(9)pdc_stable_write(9)pdc_stable_get_size(9)pdc_stable_verify_contents(9)pdc_stable_initialize(9)pdc_get_initiator(9)pdc_pci_irt_size(9)pdc_pci_irt(9)pdc_pci_config_write(9)pdc_tod_read(9)pdc_pim_toc11(9)pdc_pim_toc20(9)pdc_tod_set(9)pdc_iodc_print(9)pdc_iodc_getc(9)pdc_pat_cell_get_number(9)pdc_pat_cell_module(9)pdc_pat_cell_info(9)pdc_pat_cpu_get_number(9)pdc_pat_get_irt_size(9)pdc_pat_get_irt(9)pdc_pat_pd_get_addr_map(9)pdc_pat_pd_get_pdc_revisions(9)pdc_pat_pd_get_platform_counter(9)pdc_pat_io_pci_cfg_read(9)pdc_pat_io_pci_cfg_write(9)pdc_pat_mem_pdt_info(9)pdc_pat_mem_pdt_cell_info(9)pdc_pat_mem_read_cell_pdt(9)pdc_pat_mem_read_pd_pdt(9)pdc_pat_mem_get_dimm_phys_location(9)
Sixty of them. Sixty!! Not me counting. Okay I counted. Obsessed with the commitment honestly π
And that's the page, bestie β no notes, ate and left no crumbs π
Cute little sign-off for the record books: this one lives over in ./arch/parisc/kernel, it's dated October 2026, it belongs to the Kernel API Manual, and the page itself answers to pdc_pci_config_read(9). Byeeee πβ¨
π¦ 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