GENWQE_PEEK(1)

πŸ“¦
version 4.0.20 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

✨ GENWQE_PEEK πŸ’–

okay bestie, gather round, because we're talking about genwqe_peek β€” a little cutie from the User Commands corner of the manual, section 1, and it's an IBM Hardware Accelerator Tool. yes that's the whole vibe. it peeks at hardware registers and tells you what it saw. main character energy ngl πŸ¦‹


🌸 NAME 🌸

genwqe_peek β€” IBM Hardware Accelerator Tool. πŸ’…

that's it. that's the name section. short, sweet, iconic.


🌈 SYNOPSIS 🌈

genwqe_peek [-h] [-v,--verbose]

she's lowkey minimal in the synopsis and then the DESCRIPTION goes absolutely feral with options. classic. πŸ’€


πŸŽ€ DESCRIPTION πŸŽ€

so here's the whole menu of flags, bestie. every single one, no skips, no cuts, because we don't gatekeep here. 🫢

🌟 the flags 🌟

  • -C, --card <cardno> β€” which card are we peeking at? it can be (0...3) πŸ’³
  • -A, --accelerator-type=GENWQE|CAPI β€” pick your accelerator type: GENWQE or CAPI. heads up though: CAPI is only available for System p ⚠️ (iykyk)
  • -V, --version β€” print version. that's it. she tells you who she is. πŸ‘‘
  • -q, --quiet β€” quiece output. (yes, "quiece" β€” the original says it like that and I'm not gonna gaslight you, we keep it fr fr) 🀫
  • -w, --width <32|64> β€” access width. 64: default 🧚
  • -X, --cpu <id> β€” only run on this CPU. one CPU. exclusive. no sharing bestie. πŸ“Œ
  • -i, --interval <intv> β€” interval in usec, 0: default ⏱️
  • -c, --count <num> β€” number of peeks do be done, 1: default πŸ”’ (yes it says "do be done", we love a grammatically adventurous icon)
  • -e, --must-be <value> β€” compare and exit if not equal 🎯
  • -n, --must-not-be <value> β€” compare and exit if equal 🚫
  • -a, --and-mask <value> β€” mask read value before compare 🎭
  • -p, --psl-bar <bar> β€” access PSL bar (CAPI only) 🧱

and then there's:

<addr> β€” the address you're peeking at, obviously. the whole point of the operation. ✨

πŸ“ Example: πŸ“

genwqe_peek 0x0000 [00000000] 000000021032a178

πŸ’œ for CAPI card (-A CAPI): πŸ’œ

here's the register map, bestie, laid out for you like a lil tour:

  • Reg 0x0000 β€” CAPI Card Version Reg 1 (RO) πŸ‘€
  • Reg 0x0008 β€” CAPI Card Version Reg 2 (RO) πŸ‘€
  • Reg 0x0080 β€” CAPI Card Free Run Timer in 4 nsec (RO) ⏳
  • Reg 0x0180 β€” Queue Work Time in 4 nsec (RO) ⏳
  • Reg 0x1000 ... 0x1028 β€” 6 Fir Registers (RW) πŸ”₯

πŸ‘‘ Only CAPI (debugging): πŸ‘‘

genwqe_peek -ACAPI -C0 --psl-bar=2 --width=64 0x150

that's the debugging-flavoured invocation, and honestly? she ate. 🫢

ngl this tool is very specific and very hardware-coded, so if you're here you probably know exactly why you're here. vibe check: passed. βœ…

so yeah, that's genwqe_peek β€” peek at registers, compare values, mask stuff before comparing, optionally spam it on a loop with -c and -i, and honestly just have a good time with it. πŸ’–

this lil page is from genwqe_peek version 4.0.20, dated August 2025 β€” periodt, that's the sign-off, love u bye πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from