fsl_upm_run_pattern(9)
π
fsl_upm_run_pattern β the girlies in the Kernel API Manual said it's my turn to run a pattern
okay so bestie, real talk β we're in the Kernel API Manual section 9 today, and the star of the show is fsl_upm_run_pattern. yes it's a mouthful, no I will not be pronouncing it out loud, but it's giving powerpc realness and honestly? obsessed. π¦
β¨ NAME β¨
fsl_upm_run_pattern β literally just actually running an UPM pattern. that's it. that's the whole vibe. no cap. π
πΈ SYNOPSIS πΈ
int fsl_upm_run_pattern (struct fsl_upm *upm , void __iomem *io_base ,
u32 mar );
look at her. three little arguments. main character energy fr fr. π
π§ ARGUMENTS π§
upmβ a pointer to thestruct fsl_upmyou already got your hands on viafsl_upm_find. like, you can't just have one, you have to go get it first, iykyk.io_baseβ the remapped pointer to exactly where the memory access should happen. this is the spot. the location. the moment. πmarβ theMARregister content during pattern execution. yes it's a whole thing, keep reading.
π DESCRIPTION π
so what does she do? this function triggers a dummy write to the memory specified by io_base, and the way that works is that the UPM pattern actually gets executed. like, the pattern is real now. it's happening. not a drill. π₯
β οΈ bestie pls note: how mar gets used depends on the pre-programmed AMX bits in the UPM RAM. so it's not a one-size-fits-all situation, it's giving situationship with your hardware config. don't come for me if you skipped that part. π
π SEE ALSO π
- Kernel file
./arch/powerpc/sysdev/fsl_lbc.c fsl_lbc_addr(9)fsl_lbc_find(9)fsl_upm_find(9)
go read those too, bestie, it's called β¨*enrichment*β¨ π
okay that's the whole page, mwah π β brought to you by ./arch/powerpc/sysdev, dated October 2026, straight out of the Kernel API Manual. slay, stay safe, and remember to fsl_upm_find before you fsl_upm_run_pattern. 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