arch/sparc/kernel/pci_schizo.c
Source file repositories/reference/linux-study-clean/arch/sparc/kernel/pci_schizo.c
File Facts
- System
- Linux kernel
- Corpus path
arch/sparc/kernel/pci_schizo.c- Extension
.c- Size
- 48934 bytes
- Lines
- 1512
- Domain
- Architecture Layer
- Bucket
- arch/sparc
- 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.
- 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/kernel.hlinux/types.hlinux/pci.hlinux/init.hlinux/slab.hlinux/export.hlinux/interrupt.hlinux/of.hlinux/of_platform.hlinux/platform_device.hlinux/property.hlinux/numa.hasm/iommu.hasm/irq.hasm/pstate.hasm/prom.hasm/upa.hpci_impl.hiommu_common.h
Detected Declarations
enum schizo_error_typefunction Copyrightfunction __schizo_check_stc_error_pbmfunction schizo_check_iommu_error_pbmfunction schizo_check_iommu_errorfunction schizo_ue_intrfunction schizo_ce_intrfunction schizo_pcierr_intr_otherfunction schizo_pcierr_intrfunction schizo_safarierr_intrfunction pbm_routes_this_inofunction PortIDfunction schizo_register_error_handlersfunction pbm_config_busmasteringfunction schizo_scan_busfunction schizo_pbm_strbuf_initfunction schizo_pbm_iommu_initfunction schizo_pbm_hw_initfunction schizo_pbm_initfunction portid_comparefunction __schizo_initfunction schizo_probefunction schizo_initmodule init schizo_init
Annotated Snippet
subsys_initcall(schizo_init);
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/types.h`, `linux/pci.h`, `linux/init.h`, `linux/slab.h`, `linux/export.h`, `linux/interrupt.h`, `linux/of.h`.
- Detected declarations: `enum schizo_error_type`, `function Copyright`, `function __schizo_check_stc_error_pbm`, `function schizo_check_iommu_error_pbm`, `function schizo_check_iommu_error`, `function schizo_ue_intr`, `function schizo_ce_intr`, `function schizo_pcierr_intr_other`, `function schizo_pcierr_intr`, `function schizo_safarierr_intr`.
- Atlas domain: Architecture Layer / arch/sparc.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
- 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.