tm_spr_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ tm_spr_set(9) β€” Kernel API Manual πŸ‘‘

✨ NAME ✨

tm_spr_set β€” set the TM related SPR registers πŸ’…

🌸 SYNOPSIS 🌸

int tm_spr_set (struct task_struct *target , const struct user_regset *regset , unsigned int pos , unsigned int count , const void *kbuf , const void __user *ubuf );

πŸ’… ARGUMENTS πŸ’…

okay so here’s the whole cast, bestie 🫢

  • target β€” the target task.
  • regset β€” the user regset structure.
  • pos β€” the buffer position.
  • count β€” number of bytes to copy.
  • kbuf β€” kernel buffer to copy into.
  • ubuf β€” user buffer to copy from.

πŸŽ€ DESCRIPTION πŸŽ€

this function sets transactional memory related SPR registers. no cap, that’s the job. the userspace interface buffer layout is literally this:

struct { u64             tm_tfhar; u64             tm_texasr; u64
       tm_tfiar; };

πŸ¦‹ SEE ALSO πŸ¦‹

peep the kernel file ./arch/powerpc/kernel/ptrace/ptrace-tm.c β€” and these related faves:

xoxo πŸ’– your tm_spr_set(9) page is from ./arch/powerpc/kernel/ptrace, dated October 2026. stay slay, bestie πŸŽ€

πŸ“¦ where this page comes from