caam_get_era(9)
π caam_get_era β a Kernel API Manual moment (section 9, bestie) π
okay so picture this: it's giving kernel docs, it's giving crypto, and you're about to find out what era we're living in. literally. no cap.
β¨ NAME β¨
caam_get_era β returns the ERA of the SEC on the SoC, based on the "sec-era" optional property in the DTS. π
real talk: this property gets updated by u-boot. and if that property isn't passed in? bestie, don't worry β an attempt to retrieve the CAAM era via register reads will be made instead. the function's got a backup plan, we love a resourceful icon. π
πΈ SYNOPSIS πΈ
int caam_get_era (struct caam_perfmon __iomem *perfmon );
π¦ ARGUMENTS π¦
perfmonβ the Performance Monitor Registers. that's the whole vibe. that's what you're handing over. π«Ά
π SEE ALSO π
- Kernel file
./drivers/crypto/caam/ctrl.cβ go read it, iykyk π
π quick vibe check: "sec-era" is optional in the DTS. not mandatory. optional. so if it's missing, the register-read fallback kicks in β that's not a bug, that's just the plot. π
and that's the whole page, bestie β short and slay. β¨
signing off from the ./drivers/crypto/caam source, version October 2026 β mwah, go touch some registers ππ§ββοΈ
π¦ 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