rtas_ibm_platform_dump(9)
β¨ rtas_ibm_platform_dump(9) β bestie edition β¨
okay so welcome to the Kernel API Manual page for rtas_ibm_platform_dump(9), where the assignment is literally "call ibm,platform-dump to fill a work area buffer" and we are going to understand it. π
πΈ NAME πΈ
rtas_ibm_platform_dump β call ibm,platform-dump to fill a work area buffer. That's the whole vibe, no cap. π
π SYNOPSIS π
int rtas_ibm_platform_dump (struct ibm_platform_dump_params *params ,
phys_addr_t buf_addr , u32 buf_length );
π«Ά ARGUMENTS π«Ά
paramsβ seestruct ibm_platform_dump_params. πbuf_addrβ address of the dump buffer (work_area). πbuf_lengthβ length of the buffer in bytes (min. 1024). π’
π« DESCRIPTION π«
It calls ibm,platform-dump until it errors or successfully deposits data into the supplied work area. It handles RTAS retry statuses, and maps RTAS error statuses to reasonable errno values. Very "I got this, bestie" of it. β¨
You can request multiple dumps with different dump IDs at the same time, but not with the same dump ID β that's prevented with the check in the ioctl code (papr_platform_dump_create_handle). π«
The caller should inspect params.status to determine whether more calls are needed to complete the sequence. Yes, it's a whole "check the vibe as you go" situation. π
π΄ CONTEXT π΄
May sleep. Literally may sleep β plan accordingly. π€
π₯ RETURN π₯
-veon error0for dump complete1for continue dump
π SEE ALSO π
- Kernel file
./arch/powerpc/platforms/pseries/papr-platform-dump.c struct ibm_platform_dump_params(9)papr_platform_dump_create_handle(9)
Cute sign-off: this page lives in the ./arch/powerpc/platforms/pseries corner of the Kernel API Manual, dated October 2026, and it's titled rtas_ibm_platform_dump(9) β periodt. π
β¨
π¦ 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