arch/powerpc/perf/hv-gpci.c
Source file repositories/reference/linux-study-clean/arch/powerpc/perf/hv-gpci.c
File Facts
- System
- Linux kernel
- Corpus path
arch/powerpc/perf/hv-gpci.c- Extension
.c- Size
- 30360 bytes
- Lines
- 1065
- Domain
- Architecture Layer
- Bucket
- arch/powerpc
- Inferred role
- Architecture Layer: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/init.hlinux/perf_event.hlinux/sysfs.hasm/firmware.hasm/hvcall.hasm/io.hhv-gpci.hhv-common.h
Detected Declarations
function kernel_version_showfunction cpumask_showfunction systeminfo_gpci_requestfunction processor_bus_topology_showfunction additionalfunction processor_config_showfunction additionalfunction affinity_domain_via_virtual_processor_showfunction additionalfunction affinity_domain_via_domain_showfunction additionalfunction affinity_domain_via_partition_result_parsefunction affinity_domain_via_partition_showfunction additionalfunction single_gpci_requestfunction h_gpci_get_valuefunction h_gpci_event_updatefunction h_gpci_event_startfunction h_gpci_event_stopfunction h_gpci_event_addfunction h_gpci_event_initfunction ppc_hv_gpci_cpu_onlinefunction ppc_hv_gpci_cpu_offlinefunction hv_gpci_cpu_hotplug_initfunction add_sysinfo_interface_filesfunction hv_gpci_initmodule init hv_gpci_init
Annotated Snippet
device_initcall(hv_gpci_init);
Annotation
- Immediate include surface: `linux/init.h`, `linux/perf_event.h`, `linux/sysfs.h`, `asm/firmware.h`, `asm/hvcall.h`, `asm/io.h`, `hv-gpci.h`, `hv-common.h`.
- Detected declarations: `function kernel_version_show`, `function cpumask_show`, `function systeminfo_gpci_request`, `function processor_bus_topology_show`, `function additional`, `function processor_config_show`, `function additional`, `function affinity_domain_via_virtual_processor_show`, `function additional`, `function affinity_domain_via_domain_show`.
- Atlas domain: Architecture Layer / arch/powerpc.
- Implementation status: integration implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.