arch/powerpc/sysdev/fsl_msi.c
Source file repositories/reference/linux-study-clean/arch/powerpc/sysdev/fsl_msi.c
File Facts
- System
- Linux kernel
- Corpus path
arch/powerpc/sysdev/fsl_msi.c- Extension
.c- Size
- 15811 bytes
- Lines
- 614
- 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- 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/irq.hlinux/msi.hlinux/pci.hlinux/slab.hlinux/of.hlinux/of_address.hlinux/of_irq.hlinux/platform_device.hlinux/property.hlinux/interrupt.hlinux/irqdomain.hlinux/seq_file.hsysdev/fsl_soc.hasm/hw_irq.hasm/ppc-pci.hasm/mpic.hasm/fsl_hcalls.hfsl_msi.hfsl_pci.h
Detected Declarations
struct fsl_msi_featurestruct fsl_msi_cascade_datafunction fsl_msi_readfunction fsl_msi_end_irqfunction fsl_msi_host_mapfunction fsl_msi_init_allocatorfunction fsl_teardown_msi_irqsfunction msi_for_each_descfunction fsl_compose_msi_msgfunction fsl_setup_msi_irqsfunction msi_for_each_descfunction fsl_msi_cascadefunction fsl_of_msi_removefunction fsl_msi_setup_hwirqfunction fsl_of_msi_probefunction fsl_of_msi_initmodule init fsl_of_msi_init
Annotated Snippet
subsys_initcall(fsl_of_msi_init);
Annotation
- Immediate include surface: `linux/irq.h`, `linux/msi.h`, `linux/pci.h`, `linux/slab.h`, `linux/of.h`, `linux/of_address.h`, `linux/of_irq.h`, `linux/platform_device.h`.
- Detected declarations: `struct fsl_msi_feature`, `struct fsl_msi_cascade_data`, `function fsl_msi_read`, `function fsl_msi_end_irq`, `function fsl_msi_host_map`, `function fsl_msi_init_allocator`, `function fsl_teardown_msi_irqs`, `function msi_for_each_desc`, `function fsl_compose_msi_msg`, `function fsl_setup_msi_irqs`.
- Atlas domain: Architecture Layer / arch/powerpc.
- Implementation status: integration implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.