pnv_eeh_get_log(9)
β¨ pnv_eeh_get_log(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one is a little function with a big job, and we're gonna get into it. no gatekeeping here, periodt.
πΈ NAME πΈ
pnv_eeh_get_log β it retrieves the error log. that's the vibe. that's the whole thing. π
π¦ SYNOPSIS π¦
int pnv_eeh_get_log (struct eeh_pe *pe , int severity , char *drv_log ,
unsigned long len );
like, look at her. four arguments, returns an int. main character energy fr fr π
π ARGUMENTS π
peβ the EEH PE. yes queen, that's the one we're pulling the log from π«Άseverityβ tells you whether you're getting the temporary or permanent error log. pick your fighter πdrv_logβ the driver log, which gets combined with the retrieved error log. they're getting blended together, no cap πlenβ the length ofdrv_log. gotta know how much log you're working with, obviously β¨
π DESCRIPTION π
So what does it do? It retrieves the temporary or permanent error from the PE. That's it. That's the whole plot. π
Lowkey iconic in its simplicity ngl. You hand it a PE, you tell it which flavor of error log you want (temporary or permanent), you give it a driver log and that log's length, and it goes and gets the error from the PE so the driver log can be combined with it. slay π
π₯ SEE ALSO π₯
- Kernel file
./arch/powerpc/platforms/powernv/eeh-powernv.cπ pnv_eeh_post_init(9)pnv_eeh_probe(9)pnv_eeh_set_option(9)pnv_eeh_get_state(9)pnv_eeh_reset(9)pnv_eeh_configure_bridge(9)pnv_eeh_next_error(9)eeh_powernv_init(9)
go read the whole friend group, bestie, they all hang out together π§ββοΈ
and that's the page!! mwah π
source location: ./arch/powerpc/platforms/powernv πΈ dated October 2026 π kernel api manual, but make it cute π ok bye ily π«Ά
π¦ 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