STRUCT XE_RAS_MEMORY_ERROR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct xe_ras_memory_error(9) β€” Kernel API Manual πŸ’–

okay so bestie, welcome to the manual page for struct xe_ras_memory_error β€” it lives in the Kernel API Manual and it's literally all about Device memory error details ✨ buckle up, this one's short and sweet but we're gonna be so thorough about it πŸŽ€


🌸 NAME 🌸

struct xe_ras_memory_error β€” Device memory error details πŸ’…


✨ SYNOPSIS ✨

here's the whole shape of it, no cap, copy it exactly:

struct xe_ras_memory_error {
    u8 category;
    u8 reserved[7];
    u64 reserved1;
    u64 sw_address;
    u32 reserved2[10];
 };

that's it. that's the struct. she's got one (1) job and a whole lot of reserving going on πŸ™ˆ


πŸ¦‹ Members πŸ¦‹

okay so let's go through her little fields one by one, bestie:

  • category β€” Device memory error category πŸ”₯ this is the one that actually tells you something, the main character of the struct fr fr
  • reserved β€” Reserved for future use πŸ‘‘ (yes bestie, they're saving seats for later)
  • reserved1 β€” Reserved for future use πŸ’€ also saving seats
  • sw_address β€” Software address where error occurred πŸ“ like, this is where it all went down, iykyk
  • reserved2 β€” Reserved for future use 🫢 more seats, still saved
ngl the reserved fields are reserved for future use. all three of them. don't go putting your own stuff in there, that's not the vibe πŸ’…

🌈 SEE ALSO 🌈

so if you wanna go down the rabbit hole (and honestly? obsessed), check out the Kernel file ./drivers/gpu/drm/xe/xe_ras_types.h enum, plus all these siblings:

  • xe_ras_recovery_action(9)
  • struct xe_ras_error_common(9)
  • struct xe_ras_error_unit(9)
  • struct xe_ras_error_cause(9)
  • struct xe_ras_error_product(9)
  • struct xe_ras_error_class(9)
  • struct xe_ras_threshold_crossed(9)
  • struct xe_ras_get_counter_request(9)
  • struct xe_ras_get_counter_response(9)
  • struct xe_ras_clear_counter_request(9)
  • struct xe_ras_clear_counter_response(9)
  • struct xe_ras_error_array(9)
  • struct xe_ras_get_soc_error(9)
  • struct xe_ras_compute_error(9)
  • struct xe_ras_soc_error_source(9)
  • struct xe_ras_soc_error(9)
  • struct xe_ras_csc_error(9)
  • struct xe_ras_ieh_error(9)
  • struct xe_ras_get_health_request(9)
  • struct xe_ras_get_health_response(9)
  • struct xe_ras_set_health_request(9)
  • struct xe_ras_set_health_response(9)

like, the whole friend group πŸ§šπŸ’œ go say hi.


that's the whole page bestie, you ate that πŸ“ mwah πŸ’‹

signed off with love from ./drivers/gpu/drm/xe, dated October 2026, and yes this whole thing is struct xe_ras_memory_error(9) β€” periodt πŸ’…βœ¨
πŸ“¦ where this page comes from