arch/powerpc/platforms/powernv/vas.c
Source file repositories/reference/linux-study-clean/arch/powerpc/platforms/powernv/vas.c
File Facts
- System
- Linux kernel
- Corpus path
arch/powerpc/platforms/powernv/vas.c- Extension
.c- Size
- 5301 bytes
- Lines
- 254
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- 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/module.hlinux/kernel.hlinux/export.hlinux/types.hlinux/slab.hlinux/platform_device.hlinux/of_platform.hlinux/of_address.hlinux/of.hlinux/irqdomain.hlinux/interrupt.hasm/prom.hasm/xive.hvas.h
Detected Declarations
function vas_irq_fault_window_setupfunction init_vas_instancefunction for_each_possible_cpufunction list_for_eachfunction chip_to_vas_idfunction for_each_possible_cpufunction vas_probefunction vas_initfunction for_each_compatible_nodemodule init vas_initexport chip_to_vas_id
Annotated Snippet
device_initcall(vas_init);
Annotation
- Immediate include surface: `linux/module.h`, `linux/kernel.h`, `linux/export.h`, `linux/types.h`, `linux/slab.h`, `linux/platform_device.h`, `linux/of_platform.h`, `linux/of_address.h`.
- Detected declarations: `function vas_irq_fault_window_setup`, `function init_vas_instance`, `function for_each_possible_cpu`, `function list_for_each`, `function chip_to_vas_id`, `function for_each_possible_cpu`, `function vas_probe`, `function vas_init`, `function for_each_compatible_node`, `module init vas_init`.
- Atlas domain: Architecture Layer / arch/powerpc.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.