arch/powerpc/sysdev/fsl_rio.c
Source file repositories/reference/linux-study-clean/arch/powerpc/sysdev/fsl_rio.c
File Facts
- System
- Linux kernel
- Corpus path
arch/powerpc/sysdev/fsl_rio.c- Extension
.c- Size
- 19985 bytes
- Lines
- 764
- 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/init.hlinux/extable.hlinux/types.hlinux/dma-mapping.hlinux/interrupt.hlinux/of.hlinux/of_address.hlinux/of_irq.hlinux/platform_device.hlinux/delay.hlinux/slab.hlinux/io.hlinux/uaccess.hasm/machdep.hasm/rio.hfsl_rio.h
Detected Declarations
function fsl_rio_mcheck_exceptionfunction fsl_local_config_readfunction fsl_local_config_writefunction fsl_rio_config_readfunction fsl_rio_config_writefunction fsl_rio_inbound_mem_initfunction fsl_map_inb_memfunction fsl_unmap_inb_memfunction fsl_rio_port_error_handlerfunction fsl_rio_infofunction fsl_rio_setupfunction fsl_of_rio_rpn_probefunction fsl_of_rio_rpn_initmodule init fsl_of_rio_rpn_initexport fsl_rio_mcheck_exception
Annotated Snippet
subsys_initcall(fsl_of_rio_rpn_init);
Annotation
- Immediate include surface: `linux/init.h`, `linux/extable.h`, `linux/types.h`, `linux/dma-mapping.h`, `linux/interrupt.h`, `linux/of.h`, `linux/of_address.h`, `linux/of_irq.h`.
- Detected declarations: `function fsl_rio_mcheck_exception`, `function fsl_local_config_read`, `function fsl_local_config_write`, `function fsl_rio_config_read`, `function fsl_rio_config_write`, `function fsl_rio_inbound_mem_init`, `function fsl_map_inb_mem`, `function fsl_unmap_inb_mem`, `function fsl_rio_port_error_handler`, `function fsl_rio_info`.
- 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.