STRUCT ECC_ERROR_INFO(9)
π struct ecc_error_info(9) π
okay so bestie, welcome to the Kernel API Manual page for struct ecc_error_info(9) β yes that's the one, we're doing kernel structs today and honestly? iconic of us. π
β¨ NAME β¨
struct ecc_error_info β literally just the ECC error log info, that's the whole vibe. it's the little container that holds onto what went wrong when the memory got all glitchy. π¦
πΈ SYNOPSIS πΈ
here's the whole struct, copied exactly, no cap:
struct ecc_error_info {
u32 addr;
u32 fault_lo;
u32 fault_hi;
};
like. it's three u32s and a dream. π
π Members π
addrβ the address where this fault got generated. that's the crime scene bestie, that's where it happened. πfault_loβ the generated fault data, but just the lower 32-bit half of it. the bottom half gets its own moment. πfault_hiβ and here's the upper 32-bit of that same generated fault data. split clean down the middle, both halves main characters. β¨
ngl the lo/hi split is very much giving "we ran out of bits so we used two fields" energy, and honestly? respect. π«Ά
π₯ SEE ALSO π₯
- the kernel file
./drivers/edac/zynqmp_edac.c struct ecc_status(9)struct edac_priv(9)get_error_info(9)handle_error(9)intr_handler(9)get_eccstate(9)write_fault_count(9)
go read all of those too, they're the friend group and this struct is nothing without them fr fr π
and that's the page!! huge shoutout to ./drivers/edac for hosting all this, dated October 2026 β mwah, love you, mean it, bye bestie!! ππ§π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms