drivers/edac/skx_base.c
Source file repositories/reference/linux-study-clean/drivers/edac/skx_base.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/edac/skx_base.c- Extension
.c- Size
- 19019 bytes
- Lines
- 716
- Domain
- Driver Families
- Bucket
- drivers/edac
- 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/processor.hasm/cpu_device_id.hasm/intel-family.hasm/mce.hedac_module.hskx_common.h
Detected Declarations
struct munitenum munittypefunction list_for_each_entryfunction get_all_munitsfunction skx_check_eccfunction skx_get_dimm_configfunction skx_show_retry_rd_err_logfunction skx_sad_decodefunction list_for_each_entryfunction skx_do_interleavefunction skx_tad_decodefunction skx_rir_decodefunction skx_bitsfunction skx_bank_bitsfunction skx_mad_decodefunction skx_decodefunction skx_initfunction list_for_each_entryfunction skx_exitmodule init skx_init
Annotated Snippet
module_init(skx_init);
module_exit(skx_exit);
module_param(edac_op_state, int, 0444);
MODULE_PARM_DESC(edac_op_state, "EDAC Error Reporting state: 0=Poll,1=NMI");
MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Tony Luck");
MODULE_DESCRIPTION("MC Driver for Intel Skylake server processors");
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/processor.h`, `asm/cpu_device_id.h`, `asm/intel-family.h`, `asm/mce.h`, `edac_module.h`, `skx_common.h`.
- Detected declarations: `struct munit`, `enum munittype`, `function list_for_each_entry`, `function get_all_munits`, `function skx_check_ecc`, `function skx_get_dimm_config`, `function skx_show_retry_rd_err_log`, `function skx_sad_decode`, `function list_for_each_entry`, `function skx_do_interleave`.
- Atlas domain: Driver Families / drivers/edac.
- 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.