drivers/cpuidle/cpuidle-pseries.c
Source file repositories/reference/linux-study-clean/drivers/cpuidle/cpuidle-pseries.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/cpuidle/cpuidle-pseries.c- Extension
.c- Size
- 12651 bytes
- Lines
- 482
- Domain
- Driver Families
- Bucket
- drivers/cpuidle
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/kernel.hlinux/module.hlinux/init.hlinux/moduleparam.hlinux/cpuidle.hlinux/cpu.hlinux/notifier.hasm/paca.hasm/reg.hasm/machdep.hasm/firmware.hasm/runlatch.hasm/idle.hasm/plpar_wrappers.hasm/rtas.hasm/time.h
Detected Declarations
struct xcede_latency_recordstruct xcede_latency_payloadstruct xcede_latency_parameterfunction snooze_loopfunction check_and_cede_processorfunction parse_cede_parametersfunction dedicated_cede_loopfunction shared_cede_loopfunction pseries_cpuidle_cpu_onlinefunction pseries_cpuidle_cpu_deadfunction pseries_cpuidle_driver_initfunction fixup_cede0_latencyfunction CEDEfunction pseries_idle_probefunction pseries_processor_idle_initmodule init pseries_processor_idle_init
Annotated Snippet
device_initcall(pseries_processor_idle_init);
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/module.h`, `linux/init.h`, `linux/moduleparam.h`, `linux/cpuidle.h`, `linux/cpu.h`, `linux/notifier.h`, `asm/paca.h`.
- Detected declarations: `struct xcede_latency_record`, `struct xcede_latency_payload`, `struct xcede_latency_parameter`, `function snooze_loop`, `function check_and_cede_processor`, `function parse_cede_parameters`, `function dedicated_cede_loop`, `function shared_cede_loop`, `function pseries_cpuidle_cpu_online`, `function pseries_cpuidle_cpu_dead`.
- Atlas domain: Driver Families / drivers/cpuidle.
- 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.