ras_eeprom_append(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to ras_eeprom_append(9) β€” direct from the Kernel API Manual β€” and it's literally about appending records to the EEPROM RAS table. The vibe? Kernel-core main character energy with a checksum side quest. πŸ’…βœ¨

🌸 NAME 🌸

ras_eeprom_append is the function, and its whole thing is appending records to the EEPROM RAS table. The NAME line has that little double-dash moment (- -) before the description β€” iconic formatting, honestly β€” but the meaning is still β€œappend records to the EEPROM RAS table.” 🫢

πŸ’– SYNOPSIS πŸ’–

Here's the signature, copied exactly so nobody comes for me:

int ras_eeprom_append (struct ras_core_context *ras_core , struct
       eeprom_umc_record *record , const u32 num );

πŸŽ€ ARGUMENTS πŸŽ€

  • ras_core β€” pointer to the ras_core context. It's the context, bestie, you know the one.
  • record β€” array of records to append. Yes, an array β€” not a single record, don't try it. πŸ™ˆ
  • num β€” number of records in the record array.

πŸ¦‹ DESCRIPTION πŸ¦‹

Append num records to the table, calculate the checksum, and write the table back to EEPROM. The maximum number of records that can be appended is between 1 and control->ras_max_record_count β€” and that's regardless of how many records are already stored in the table. So the cap does not care about the table's current population. 😭

Return 0 on success or if EEPROM is not supported. On error, it returns -errno.

🌈 SEE ALSO 🌈

Kernel file ./drivers/gpu/drm/amd/ras/core/eeprom.c β€” that's the spot, iykyk.

Also peek at these absolute legends:


mwah πŸ’‹ this page is from ./drivers/gpu/drm/amd/ras/core, dated October 2026, and it's all about ras_eeprom_append(9). periodt. 🫢

πŸ“¦ where this page comes from