tm_spr_set(9)
π 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:
tm_cgpr_active(9)tm_cgpr_get(9)tm_cfpr_active(9)tm_cfpr_get(9)tm_cfpr_set(9)tm_cvmx_active(9)tm_cvmx_get(9)tm_cvmx_set(9)tm_cvsx_active(9)tm_cvsx_get(9)tm_cvsx_set(9)tm_spr_active(9)tm_spr_get(9)
xoxo π your tm_spr_set(9) page is from ./arch/powerpc/kernel/ptrace, dated October 2026. stay slay, bestie π
π¦ 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