get_eccstate(9)
πΈ get_eccstate(9) πΈ
okay so welcome to the Kernel API Manual bestie, this is the page for get_eccstate(9) and honestly it's a short one but it ate π
β¨ NAME β¨
get_eccstate β Return the ECC status π«Ά
β¨ SYNOPSIS β¨
bool get_eccstate (void __iomem *base );
like yes that's the whole signature, she's lowkey minimal and iconic for it π
β¨ ARGUMENTS β¨
baseβ Pointer to the OCM base address π literally just hands over where the OCM lives and we go from there
β¨ DESCRIPTION β¨
Get the ECC enable/disable status π₯ that's it, that's the whole vibe β you're checking whether ECC is turned on or off, no cap.
β¨ RETURN β¨
ECC status 0/1. π so it's giving boolean, obviously, 0 = one thing and 1 = the other, that's the whole range, periodt.
β¨ SEE ALSO β¨
if you're going down the rabbit hole (and you know you are π) check these out:
- Kernel file
./drivers/edac/zynqmp_edac.c struct ecc_error_info(9)struct ecc_status(9)struct edac_priv(9)get_error_info(9)handle_error(9)intr_handler(9)write_fault_count(9)
ngl this one's short but she's still main character energy π read the whole family of pages together, iykyk π
mwah π that's the page!! it ships out of ./drivers/edac and it's dated October 2026 β go be obsessed with ECC status bestie, ily, bye π¦π
π¦ 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