caam_get_era(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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